clang
6.0.0
|
#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"
#include "clang/Basic/OpenCLImageTypes.def"
Go to the source code of this file.
Macros | |
#define | GENERIC_IMAGE_TYPE(ImgType, Id) case TST_##ImgType##_t: |
Functions | |
static std::pair< unsigned, unsigned > | getDepthAndIndex (NamedDecl *ND) |
Retrieve the depth and index of a parameter pack. More... | |
static void | CheckFoldOperand (Sema &S, Expr *E) |
#define GENERIC_IMAGE_TYPE | ( | ImgType, | |
Id | |||
) | case TST_##ImgType##_t: |
Definition at line 1089 of file SemaTemplateVariadic.cpp.
Referenced by clang::Sema::ActOnCXXFoldExpr().
|
static |
Retrieve the depth and index of a parameter pack.
Definition at line 31 of file SemaTemplateVariadic.cpp.
References clang::TemplateParmPosition::getDepth(), clang::TemplateTypeParmType::getDepth(), clang::FunctionDecl::getDescribedFunctionTemplate(), clang::TemplateParmPosition::getIndex(), clang::TypeSpecTypeLoc::getNameLoc(), clang::InheritingConcreteTypeLoc< Base, Derived, TypeClass >::getTypePtr(), clang::TemplateTypeParmType::isParameterPack(), and clang::T.