/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | TypeLocVisitor.h | 1 //===--- TypeLocVisitor.h - Visitor for TypeLoc subclasses ------*- C++ -*-===// 16 #include "clang/AST/TypeLoc.h" 29 RetTy Visit(TypeLoc TyLoc) { 33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); 50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 RetTy VisitTypeLoc(TypeLoc TyLo [all...] |
H A D | TypeLoc.h | 1 //===--- TypeLoc.h - Type Source Info Wrapper -------------------*- C++ -*-===// 10 // This file defines the TypeLoc interface and subclasses. 32 class Class##TypeLoc; 37 /// A client should use the TypeLoc subclasses through cast/dyn_cast in order to 39 class TypeLoc { class in namespace:clang 47 /// \brief Convert to the specified TypeLoc type, asserting that this TypeLoc 53 TypeLoc& tl = t; 58 /// \brief Convert to the specified TypeLoc type, returning a null TypeLoc i 81 TypeLoc() : Ty(0), Data(0) { } function in class:clang::TypeLoc 82 TypeLoc(QualType ty, void *opaqueData) function in class:clang::TypeLoc 84 TypeLoc(const Type *ty, void *opaqueData) function in class:clang::TypeLoc 182 isKind(const TypeLoc&) argument [all...] |
H A D | ASTTypeTraits.h | 20 #include "clang/AST/TypeLoc.h" 93 TypeLoc> Storage; 179 template<> struct DynTypedNode::BaseConverter<TypeLoc, void> { 180 static const TypeLoc *get(NodeTypeTag Tag, const char Storage[]) { 182 return reinterpret_cast<const TypeLoc*>(Storage); 185 static DynTypedNode create(const TypeLoc &Node) { 188 new (Result.Storage.buffer) TypeLoc(Node);
|
H A D | NestedNameSpecifier.h | 30 class TypeLoc; 300 TypeLoc getTypeLoc() const; 366 /// \param TL The TypeLoc that describes the type preceding the '::'. 369 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
H A D | RecursiveASTVisitor.h | 33 #include "clang/AST/TypeLoc.h" 178 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property. 182 bool TraverseTypeLoc(TypeLoc TL); 321 // FIXME: revamp to take TypeLoc's rather than Types. 348 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 352 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes. 353 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 354 bool VisitTypeLoc(TypeLoc TL) { return true; } 369 bool WalkUpFrom##CLASS##TypeLoc(CLAS [all...] |
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | TypeLoc.cpp | 1 //===--- TypeLoc.cpp - Type Source Info Wrapper -----------------*- C++ -*-===// 10 // This file defines the TypeLoc subclasses implementations. 14 #include "clang/AST/TypeLoc.h" 23 // TypeLoc Implementation 31 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 48 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLo [all...] |
H A D | NestedNameSpecifier.cpp | 20 #include "clang/AST/TypeLoc.h" 311 // The "void*" that points at the TypeLoc data. 312 // Note: the 'template' keyword is part of the TypeLoc. 375 // The "void*" that points at the TypeLoc data. 376 // Note: the 'template' keyword is part of the TypeLoc. 378 TypeLoc TL(Qualifier->getAsType(), TypeData); 387 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { 392 // The "void*" that points at the TypeLoc data. 395 return TypeLoc(Qualifier->getAsType(), TypeData); 502 TypeLoc T [all...] |
H A D | Comment.cpp | 240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 19 #include "clang/AST/TypeLoc.h" 60 /// Pushes a copy of the given TypeLoc onto this builder. The builder 62 void pushFullCopy(TypeLoc L) { 64 TypeLoc Copy = pushFullUninitializedImpl(L.getType(), Size); 70 TypeLoc pushFullUninitialized(QualType T) { 71 return pushFullUninitializedImpl(T, TypeLoc::getFullDataSizeForType(T)); 74 /// Pushes space for a typespec TypeLoc. Invalidates any TypeLocs 97 /// Pushes space for a new TypeLoc of the given type. Invalidates 100 size_t LocalSize = TypeLoc(T, 0).castAs<TyLocType>().getLocalDataSize(); 117 /// returns a \c TypeLoc referrin [all...] |
H A D | TreeTransform.h | 303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 528 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T); 2563 TypeLoc TransformTypeInObjectScope(TypeLoc TL, 2835 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, 3349 TypeLoc TL = DI->getTypeLoc(); 3361 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) { 3365 case TypeLoc::CLASS: \ 3367 T.castAs<CLASS##TypeLoc>()); 3449 TypeLoc [all...] |
H A D | SemaTemplateVariadic.cpp | 15 #include "clang/AST/TypeLoc.h" 131 bool TraverseTypeLoc(TypeLoc TL) { 376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL,
|
H A D | SemaTemplateInstantiate.cpp | 1520 TypeSourceInfo *Sema::SubstType(TypeLoc TL, 1533 // FIXME: Make a copy of the TypeLoc data here, so that we can 1572 TypeLoc TL = T->getTypeLoc().IgnoreParens(); 1616 TypeLoc TL = T->getTypeLoc(); 1641 TypeLoc OldTL = OldDI->getTypeLoc();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
|
H A D | TransGCAttrs.cpp | 64 TypeLoc TL = TInfo->getTypeLoc(); 250 TypeLoc TL = TInfo->getTypeLoc();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 274 /// the corresponding \c TypeLoc. 277 // FIXME: add a matcher for TypeLoc derived classes using its custom casting 320 const internal::Matcher<TypeLoc> &InnerMatcher) \ 329 const internal::Matcher<TypeLoc> InnerMatcher; \ 334 Polymorphic##MatcherName##TypeLocMatcher, internal::Matcher<TypeLoc>,\ 336 Polymorphic##MatcherName##TypeLocMatcher, TypeLoc> > { \
|
H A D | ASTMatchersInternal.h | 504 llvm::is_same<T, TypeLoc>::value || 578 llvm::is_base_of<TypeLoc, T>::value || 595 llvm::is_base_of<TypeLoc, T>::value || 1171 class TypeLocTypeMatcher : public MatcherInterface<TypeLoc> { 1176 virtual bool matches(const TypeLoc &Node, 1218 explicit TypeLocTraverseMatcher(const Matcher<TypeLoc> &InnerMatcher, 1219 TypeLoc (T::*TraverseFunction)() const) 1225 TypeLoc NextNode = (Node.*TraverseFunction)(); 1232 const Matcher<TypeLoc> InnerMatcher; 1233 TypeLoc ( [all...] |
H A D | ASTMatchers.h | 113 typedef internal::Matcher<TypeLoc> TypeLocMatcher; 1181 const internal::VariadicAllOfMatcher<TypeLoc> typeLoc; 2755 inline internal::BindableMatcher<TypeLoc> loc( 2757 return internal::BindableMatcher<TypeLoc>( 2933 /// Note: There is no \c TypeLoc for the deduced type and thus no 3246 /// given \c TypeLoc. 3257 internal::Matcher<TypeLoc>, InnerMatcher) {
|
/freebsd-10.0-release/lib/clang/libclangast/ |
H A D | Makefile | 60 TypeLoc.cpp \
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 39 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc). 40 // For \c QualType and \c TypeLoc it is possible to implement 103 else if (const TypeLoc *T = DynNode.get<TypeLoc>()) 140 // We assume that the TypeLoc, contained QualType and contained Type all are 142 bool TraverseTypeLoc(TypeLoc TypeLocNode) { 152 // The TypeLoc is matched inside traverse. 201 bool baseTraverse(TypeLoc TypeLocNode) { 326 bool TraverseTypeLoc(TypeLoc TypeNode); 639 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLocNod [all...] |
/freebsd-10.0-release/contrib/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 352 LocTy TypeLoc = Lex.getLoc(); local 364 if (ParseStructDefinition(TypeLoc, "", 370 return Error(TypeLoc, "non-struct types may not be recursive"); 1547 SMLoc TypeLoc = Lex.getLoc(); 1616 return Error(TypeLoc, "void type only allowed for function results"); 1717 LocTy TypeLoc = Lex.getLoc(); 1726 return Error(TypeLoc, "argument can not have void type"); 1734 return Error(TypeLoc, "invalid type for function argument"); 1737 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, 1749 TypeLoc [all...] |
H A D | LLParser.h | 255 bool ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
|
/freebsd-10.0-release/contrib/llvm/lib/MC/MCParser/ |
H A D | ELFAsmParser.cpp | 500 SMLoc TypeLoc; local 502 TypeLoc = getLexer().getLoc(); 517 return Error(TypeLoc, "unsupported attribute in '.type' directive");
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Initialization.h | 36 class TypeLoc;
|
H A D | DeclSpec.h | 40 class TypeLoc; 91 /// \param TL The TypeLoc that describes the type preceding the '::'. 94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 567 void AddTypeLoc(TypeLoc TL, RecordDataImpl &Record);
|