HomeSort by relevance Sort by last modified time
    Searched refs:TypeLoc (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/clang/include/clang/AST/
TypeLocVisitor.h 1 //===--- TypeLocVisitor.h - Visitor for TypeLoc subclasses ------*- C++ -*-===//
16 #include "clang/AST/TypeLoc.h"
29 RetTy Visit(TypeLoc TyLoc) {
32 #define TYPELOC(CLASS, PARENT) \
33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
42 #define TYPELOC(CLASS, PARENT) \
43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc);
49 #define TYPELOC(CLASS, PARENT)
    [all...]
TypeLoc.h 1 //===--- TypeLoc.h - Type Source Info Wrapper -------------------*- C++ -*-===//
10 // This file defines the TypeLoc interface and subclasses.
31 #define TYPELOC(Class, Base) \
32 class Class##TypeLoc;
37 /// A client should use the TypeLoc subclasses through cast/dyn_cast in order to
39 class TypeLoc {
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
    [all...]
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);
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,
RecursiveASTVisitor.h 32 #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.
346 #define TYPELOC(CLASS, BASE) \
347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
349 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit.
351 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL);
    [all...]
  /external/clang/lib/AST/
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
30 #define TYPELOC(CLASS, PARENT) \
31 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
38 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) {
47 #define TYPELOC(CLASS, PARENT)
    [all...]
Android.mk 78 TypeLoc.cpp \
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 TL,
    [all...]
Comment.cpp 240 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc();
  /external/clang/lib/Sema/
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 referring into the AST context
    [all...]
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
TransGCAttrs.cpp 64 TypeLoc TL = TInfo->getTypeLoc();
250 TypeLoc TL = TInfo->getTypeLoc();
  /external/clang/include/clang/ASTMatchers/
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> > { \
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 ||
    [all...]
ASTMatchers.h 113 typedef internal::Matcher<TypeLoc> TypeLocMatcher;
1169 const internal::VariadicAllOfMatcher<TypeLoc> typeLoc;
    [all...]
  /external/clang/lib/ASTMatchers/
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 TypeLocNode)
    [all...]
  /external/clang/tools/libclang/
RecursiveASTVisitor.h 32 #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.
341 #define TYPELOC(CLASS, BASE) \
342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
344 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit.
346 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL);
    [all...]
CursorVisitor.h 251 #define TYPELOC(CLASS, PARENT) \
252 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
IndexBody.cpp 31 bool TraverseTypeLoc(TypeLoc TL) {
IndexTypeSourceInfo.cpp 105 void IndexingContext::indexTypeLoc(TypeLoc TL,
IndexingContext.h 387 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
  /external/llvm/lib/AsmParser/
LLParser.cpp 352 LocTy TypeLoc = Lex.getLoc();
364 if (ParseStructDefinition(TypeLoc, "",
370 return Error(TypeLoc, "non-struct types may not be recursive");
    [all...]
LLParser.h 255 bool ParseStructDefinition(SMLoc TypeLoc, StringRef Name,
  /external/llvm/lib/MC/MCParser/
ELFAsmParser.cpp 479 SMLoc TypeLoc;
481 TypeLoc = getLexer().getLoc();
496 return Error(TypeLoc, "unsupported attribute in '.type' directive");
  /external/clang/unittests/Tooling/
RecursiveASTVisitorTest.cpp 16 bool VisitTypeLoc(TypeLoc TypeLocation) {

Completed in 460 milliseconds

1 2 3