clang API Documentation
#include "clang/Sema/Sema.h"
#include "TypeLocBuilder.h"
#include "clang/AST/Expr.h"
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/ParsedTemplate.h"
#include "clang/Sema/ScopeInfo.h"
#include "clang/Sema/SemaInternal.h"
#include "clang/Sema/Template.h"
Go to the source code of this file.
Functions | |
static std::pair< unsigned, unsigned > | getDepthAndIndex (NamedDecl *ND) |
Retrieve the depth and index of a parameter pack. | |
static void | CheckFoldOperand (Sema &S, Expr *E) |
static void CheckFoldOperand | ( | Sema & | S, |
Expr * | E | ||
) | [static] |
Definition at line 939 of file SemaTemplateVariadic.cpp.
References clang::FixItHint::CreateInsertion(), clang::Sema::Diag(), clang::Expr::getExprLoc(), clang::Stmt::getLocEnd(), clang::Stmt::getLocStart(), clang::Stmt::getSourceRange(), and clang::Expr::IgnoreImpCasts().
Referenced by clang::Sema::ActOnCXXFoldExpr().
static std::pair<unsigned, unsigned> getDepthAndIndex | ( | NamedDecl * | ND | ) | [static] |
Retrieve the depth and index of a parameter pack.
Definition at line 532 of file SemaTemplateVariadic.cpp.
References clang::TemplateParmPosition::getDepth(), and clang::TemplateParmPosition::getIndex().
Referenced by clang::Sema::CheckParameterPacksForExpansion(), and clang::Sema::getNumArgumentsInExpansion().