Searched defs:ASTContext (Results 1 - 4 of 4) sorted by relevance

/external/clang/lib/AST/
H A DMangle.cpp14 #include "clang/AST/ASTContext.h"
65 static CCMangling getCallingConvMangling(const ASTContext &Context,
99 const ASTContext &ASTContext = getASTContext(); local
101 CCMangling CC = getCallingConvMangling(ASTContext, D);
138 const ASTContext &ASTContext = getASTContext(); local
139 CCMangling CC = getCallingConvMangling(ASTContext, D);
181 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) /
H A DASTContext.cpp1 //===--- ASTContext.cpp - Context to hold long-lived AST nodes ------------===//
10 // This file implements the ASTContext interface.
14 #include "clang/AST/ASTContext.h"
47 unsigned ASTContext::NumImplicitDefaultConstructors;
48 unsigned ASTContext::NumImplicitDefaultConstructorsDeclared;
49 unsigned ASTContext::NumImplicitCopyConstructors;
50 unsigned ASTContext::NumImplicitCopyConstructorsDeclared;
51 unsigned ASTContext::NumImplicitMoveConstructors;
52 unsigned ASTContext::NumImplicitMoveConstructorsDeclared;
53 unsigned ASTContext
729 ASTContext::ASTContext(LangOptions &LOpts, SourceManager &SM, function in class:ASTContext
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp78 auto &ASTContext = RD->getASTContext();
79 const ASTRecordLayout &RL = ASTContext.getASTRecordLayout(RD);
82 CharUnits BaselinePad = calculateBaselinePad(RD, ASTContext, RL);
85 CharUnits OptimalPad = calculateOptimalPad(RD, ASTContext, RL);
167 const ASTContext &ASTContext,
170 CharUnits Offset = ASTContext.toCharUnitsFromBits(RL.getFieldOffset(0));
176 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType());
178 CharUnits FieldOffset = ASTContext.toCharUnitsFromBits(FieldOffsetBits);
203 const ASTContext
166 calculateBaselinePad(const RecordDecl *RD, const ASTContext &ASTContext, const ASTRecordLayout &RL) argument
202 calculateOptimalPad(const RecordDecl *RD, const ASTContext &ASTContext, const ASTRecordLayout &RL) argument
[all...]
/external/clang/include/clang/AST/
H A DASTContext.h1 //===--- ASTContext.h - Context to hold long-lived AST nodes ----*- C++ -*-===//
11 /// \brief Defines the clang::ASTContext interface.
92 class ASTContext : public RefCountedBase<ASTContext> { class in namespace:clang
93 ASTContext &this_() { return *this; }
112 mutable llvm::ContextualFoldingSet<FunctionProtoType, ASTContext&>
121 mutable llvm::ContextualFoldingSet<TemplateSpecializationType, ASTContext&>
127 ASTContext&>
144 ASTContext&>
422 /// this ASTContext objec
[all...]

Completed in 107 milliseconds