HomeSort by relevance Sort by last modified time
    Searched full:typeloc (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /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...]
TypeLocNodes.def 1 //===-- TypeLocNodes.def - Metadata about TypeLoc wrappers ------*- C++ -*-===//
10 // This file defines the TypeLoc info database. Each node is
15 // TYPELOC(Class, Base) - A TypeLoc subclass. If UNQUAL_TYPELOC is
25 # define UNQUAL_TYPELOC(Class, Base) TYPELOC(Class, Base)
32 TYPELOC(Qualified, TypeLoc)
41 #undef TYPELOC
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...]
RecursiveASTVisitor.h 34 #include "clang/AST/TypeLoc.h"
179 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
183 bool TraverseTypeLoc(TypeLoc TL);
330 // FIXME: revamp to take TypeLoc's rather than Types.
356 #define TYPELOC(CLASS, BASE) \
357 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
359 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit.
361 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
362 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL);
    [all...]
ASTTypeTraits.h 24 #include "clang/AST/TypeLoc.h"
115 KIND_TO_KIND_ID(TypeLoc)
261 NestedNameSpecifierLoc, QualType, TypeLoc>
303 TypeLoc, void> : public ValueConverter<TypeLoc> {};
NestedNameSpecifier.h 30 class TypeLoc;
304 TypeLoc getTypeLoc() const;
370 /// \param TL The TypeLoc that describes the type preceding the '::'.
373 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
  /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...]
CMakeLists.txt 57 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...]
Android.mk 80 TypeLoc.cpp \
ASTTypeTraits.cpp 28 { NKI_None, "TypeLoc" },
  /external/clang/lib/Sema/
TypeLocBuilder.h 19 #include "clang/AST/TypeLoc.h"
65 /// Pushes a copy of the given TypeLoc onto this builder. The builder
67 void pushFullCopy(TypeLoc L);
69 /// Pushes space for a typespec TypeLoc. Invalidates any TypeLocs
94 /// Pushes space for a new TypeLoc of the given type. Invalidates
97 TyLocType Loc = TypeLoc(T, 0).castAs<TyLocType>();
116 /// returns a \c TypeLoc referring into the AST context.
117 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) {
125 return TypeLoc(T, Mem);
130 TypeLoc pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment)
    [all...]
TypeLocBuilder.cpp 19 void TypeLocBuilder::pushFullCopy(TypeLoc L) {
23 SmallVector<TypeLoc, 4> TypeLocs;
24 TypeLoc CurTL = L;
31 TypeLoc CurTL = TypeLocs[e-i-1];
34 #define TYPELOC(CLASS, PARENT) \
35 case TypeLoc::CLASS: { \
36 CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \
63 TypeLoc TypeLocBuilder::pushImpl(QualType T, size_t LocalSize, unsigned LocalAlignment) {
65 QualType TLast = TypeLoc(T, 0).getNextTypeLoc().getType()
    [all...]
  /external/chromium_org/tools/clang/rewrite_scoped_array/
RewriteScopedArray.cpp 44 const clang::TypeLoc type_location =
45 *result.Nodes.getNodeAs<clang::TypeLoc>("loc");
  /external/clang/unittests/AST/
SourceLocationTest.cpp 158 class TemplateAngleBracketLocRangeVerifier : public RangeVerifier<TypeLoc> {
160 virtual SourceRange getRange(const TypeLoc &Node) {
183 class UnaryTransformTypeLocParensRangeVerifier : public RangeVerifier<TypeLoc> {
185 virtual SourceRange getRange(const TypeLoc &Node) {
  /external/clang/tools/libclang/
RecursiveASTVisitor.h 34 #include "clang/AST/TypeLoc.h"
172 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
176 bool TraverseTypeLoc(TypeLoc TL);
317 // FIXME: revamp to take TypeLoc's rather than Types.
343 #define TYPELOC(CLASS, BASE) \
344 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
346 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit.
348 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes.
349 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL);
    [all...]
CursorVisitor.h 251 #define TYPELOC(CLASS, PARENT) \
252 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
IndexTypeSourceInfo.cpp 105 void IndexingContext::indexTypeLoc(TypeLoc TL,
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 50 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc).
51 // For \c QualType and \c TypeLoc it is possible to implement
126 else if (const TypeLoc *T = DynNode.get<TypeLoc>())
169 // We assume that the TypeLoc, contained QualType and contained Type all are
171 bool TraverseTypeLoc(TypeLoc TypeLocNode) {
181 // The TypeLoc is matched inside traverse.
230 bool baseTraverse(TypeLoc TypeLocNode) {
367 bool TraverseTypeLoc(TypeLoc TypeNode);
717 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLocNode)
    [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/chromium_org/tools/clang/plugins/
ChromeClassTester.h 12 #include "clang/AST/TypeLoc.h"
  /external/clang/include/clang/ASTMatchers/
ASTMatchersMacros.h 300 /// the corresponding \c TypeLoc.
303 // FIXME: add a matcher for TypeLoc derived classes using its custom casting
328 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \
332 TypeLoc, internal::TypeLocMatcher##MatcherName##Getter, \
ASTMatchersInternal.h 604 llvm::is_same<T, TypeLoc>::value ||
678 llvm::is_base_of<TypeLoc, T>::value ||
695 llvm::is_base_of<TypeLoc, T>::value ||
776 QualType, Type, TypeLoc, CXXCtorInitializer> AllNodeBaseTypes;
790 TypeLoc, QualType> AdaptativeDefaultToTypes;
    [all...]
  /external/clang/docs/tools/
dump_ast_matchers.py 157 # FIXME: re-enable once we have implemented casting on the TypeLoc
159 # add_matcher('TypeLoc', '%sLoc' % name, 'Matcher<%sLoc>...' % inner,
179 add_matcher('%sLoc' % result_type, '%sLoc' % name, 'Matcher<TypeLoc>',

Completed in 556 milliseconds

1 2 3 4