Searched refs:TypeLoc (Results 1 - 25 of 52) sorted by relevance

123

/external/clang/include/clang/AST/
H A DTypeLocVisitor.h1 //===--- 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 DTypeLoc.h1 //===--- 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
58 TypeLoc() : Ty(0), Data(0) { } function in class:clang::TypeLoc
59 TypeLoc(QualType ty, void *opaqueData) function in class:clang::TypeLoc
61 TypeLoc(const Type *ty, void *opaqueData) function in class:clang::TypeLoc
113 /// \brief Get the next TypeLoc pointed by this TypeLoc,
[all...]
H A DNestedNameSpecifier.h30 class TypeLoc;
301 TypeLoc getTypeLoc() const;
367 /// \param TL The TypeLoc that describes the type preceding the '::'.
370 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
H A DRecursiveASTVisitor.h32 #include "clang/AST/TypeLoc.h"
177 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
181 bool TraverseTypeLoc(TypeLoc TL);
320 // FIXME: revamp to take TypeLoc's rather than Types.
347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
351 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
353 bool VisitTypeLoc(TypeLoc TL) { return true; }
368 bool WalkUpFrom##CLASS##TypeLoc(CLAS
[all...]
/external/clang/lib/AST/
H A DTypeLoc.cpp1 //===--- TypeLoc.cpp - Type Source Info Wrapper -----------------*- C++ -*-===//
10 // This file defines the TypeLoc subclasses implementations.
22 // TypeLoc Implementation
30 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) {
47 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
55 unsigned TypeLoc
[all...]
H A DAndroid.mk76 TypeLoc.cpp \
H A DNestedNameSpecifier.cpp20 #include "clang/AST/TypeLoc.h"
314 // The "void*" that points at the TypeLoc data.
315 // Note: the 'template' keyword is part of the TypeLoc.
378 // The "void*" that points at the TypeLoc data.
379 // Note: the 'template' keyword is part of the TypeLoc.
381 TypeLoc TL(Qualifier->getAsType(), TypeData);
390 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const {
395 // The "void*" that points at the TypeLoc data.
398 return TypeLoc(Qualifier->getAsType(), TypeData);
505 TypeLoc T
[all...]
H A DComment.cpp253 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc();
/external/clang/lib/Sema/
H A DTypeLocBuilder.h18 #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 = cast<TyLocType>(TypeLoc(T, 0)).getLocalDataSize();
117 /// returns a \c TypeLoc referrin
[all...]
H A DTreeTransform.h303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
519 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T);
2508 TypeLoc TransformTypeInObjectScope(TypeLoc TL,
2720 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType,
3282 TypeLoc TL = DI->getTypeLoc();
3294 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) {
3298 case TypeLoc::CLASS: \
3299 return getDerived().Transform##CLASS##Type(TLB, cast<CLASS##TypeLoc>(T));
3369 TypeLoc
[all...]
H A DSemaTemplateVariadic.cpp20 #include "clang/AST/TypeLoc.h"
131 bool TraverseTypeLoc(TypeLoc TL) {
376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL,
/external/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
H A DTransGCAttrs.cpp64 TypeLoc TL = TInfo->getTypeLoc();
251 TypeLoc TL = TInfo->getTypeLoc();
/external/clang/tools/libclang/
H A DRecursiveASTVisitor.h32 #include "clang/AST/TypeLoc.h"
170 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
174 bool TraverseTypeLoc(TypeLoc TL);
315 // FIXME: revamp to take TypeLoc's rather than Types.
342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
346 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
348 bool VisitTypeLoc(TypeLoc TL) { return true; }
363 bool WalkUpFrom##CLASS##TypeLoc(CLAS
[all...]
H A DCursorVisitor.h252 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
H A DIndexBody.cpp32 bool TraverseTypeLoc(TypeLoc TL) {
H A DIndexTypeSourceInfo.cpp106 void IndexingContext::indexTypeLoc(TypeLoc TL,
H A DIndexingContext.h392 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp94 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc).
95 // For \c QualType and \c TypeLoc it is possible to implement
315 bool TraverseTypeLoc(TypeLoc TypeNode);
553 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLoc) { argument
554 match(TypeLoc.getType());
556 TraverseTypeLoc(TypeLoc);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp295 LocTy TypeLoc = Lex.getLoc(); local
307 if (ParseStructDefinition(TypeLoc, "",
313 return Error(TypeLoc, "non-struct types may not be recursive");
1269 SMLoc TypeLoc = Lex.getLoc();
1338 return Error(TypeLoc, "void type only allowed for function results");
1437 LocTy TypeLoc = Lex.getLoc();
1446 return Error(TypeLoc, "argument can not have void type");
1454 return Error(TypeLoc, "invalid type for function argument");
1456 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name));
1466 TypeLoc
[all...]
H A DLLParser.h230 bool ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
/external/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp468 SMLoc TypeLoc; local
470 TypeLoc = getLexer().getLoc();
485 return Error(TypeLoc, "unsupported attribute in '.type' directive");
/external/clang/unittests/Tooling/
H A DRecursiveASTVisitorTest.cpp16 bool VisitTypeLoc(TypeLoc TypeLocation) {
/external/clang/include/clang/Sema/
H A DInitialization.h35 class TypeLoc;
/external/clang/include/clang/Serialization/
H A DASTWriter.h550 void AddTypeLoc(TypeLoc TL, RecordDataImpl &Record);

Completed in 1415 milliseconds

123