HomeSort by relevance Sort by last modified time
    Searched refs:TypeLoc (Results 1 - 25 of 67) 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++ -*-===//
11 /// \brief Defines the clang::TypeLoc interface and its subclasses.
32 #define TYPELOC(Class, Base) \
33 class Class##TypeLoc;
38 /// A client should use the TypeLoc subclasses through castAs()/getAs()
40 class TypeLoc {
48 /// \brief Convert to the specified TypeLoc type, asserting that this TypeLoc
56 TypeLoc& tl = t;
61 /// \brief Convert to the specified TypeLoc type, returning a null TypeLoc i
    [all...]
ASTTypeTraits.h 24 #include "clang/AST/TypeLoc.h"
179 KIND_TO_KIND_ID(TypeLoc)
278 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) {
279 auto TLA = getUnchecked<TypeLoc>();
280 auto TLB = Other.getUnchecked<TypeLoc>();
310 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind))
311 return getUnchecked<TypeLoc>() == Other.getUnchecked<TypeLoc>();
339 if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) {
340 auto TL = Val.getUnchecked<TypeLoc>();
    [all...]
NestedNameSpecifier.h 31 class TypeLoc;
318 TypeLoc getTypeLoc() const;
385 /// \param TL The TypeLoc that describes the type preceding the '::'.
388 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
RecursiveASTVisitor.h 38 #include "clang/AST/TypeLoc.h"
174 /// Traverse*TypeLoc() based on the argument type's getTypeClass() property.
178 bool TraverseTypeLoc(TypeLoc TL);
384 // FIXME: revamp to take TypeLoc's rather than Types.
407 // Declare Traverse*() for all concrete TypeLoc classes.
409 #define TYPELOC(CLASS, BASE) bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
411 // The above header #undefs ABSTRACT_TYPELOC and TYPELOC upon exit.
413 // Define WalkUpFrom*() and empty Visit*() for all TypeLoc classes
    [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"
25 // TypeLoc Implementation
32 #define TYPELOC(CLASS, PARENT) \
33 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
40 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) {
49 #define TYPELOC(CLASS, PARENT)
    [all...]
ASTTypeTraits.cpp 30 { NKI_None, "TypeLoc" },
122 else if (const TypeLoc *TL = get<TypeLoc>())
148 if (const TypeLoc *TL = get<TypeLoc>())
Android.mk 82 TypeLoc.cpp \
NestedNameSpecifier.cpp 20 #include "clang/AST/TypeLoc.h"
347 // The "void*" that points at the TypeLoc data.
348 // Note: the 'template' keyword is part of the TypeLoc.
412 // The "void*" that points at the TypeLoc data.
413 // Note: the 'template' keyword is part of the TypeLoc.
415 TypeLoc TL(Qualifier->getAsType(), TypeData);
424 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const {
429 // The "void*" that points at the TypeLoc data.
432 return TypeLoc(Qualifier->getAsType(), TypeData);
537 TypeLoc TL,
    [all...]
Comment.cpp 238 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc();
294 TypeLoc TL = MaybeFunctionTSI->getTypeLoc().getUnqualifiedLoc();
OpenMPClause.cpp 447 SourceLocation TypeLoc) {
452 TypeModifier, Type, TypeLoc, StartLoc, LParenLoc, EndLoc, VL.size());
456 Clause->setMapLoc(TypeLoc);
  /external/clang/lib/Sema/
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, nullptr).getNextTypeLoc().getType()
    [all...]
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, nullptr).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...]
  /external/clang/lib/ARCMigrate/
TransARCAssign.cpp 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc();
  /external/clang/unittests/AST/
ASTContextParentMapTest.cpp 42 MatchVerifier<TypeLoc> Verifier;
45 typeLoc(hasParent(typeLoc(hasParent(functionDecl()))))));
51 nestedNameSpecifierLoc(hasParent(typeLoc()))));
SourceLocationTest.cpp 202 class TemplateAngleBracketLocRangeVerifier : public RangeVerifier<TypeLoc> {
204 SourceRange getRange(const TypeLoc &Node) override {
227 class UnaryTransformTypeLocParensRangeVerifier : public RangeVerifier<TypeLoc> {
229 SourceRange getRange(const TypeLoc &Node) override {
  /external/clang/unittests/Tooling/
RecursiveASTVisitorTestTypeLocVisitor.cpp 19 bool VisitTypeLoc(TypeLoc TypeLocation) {
  /external/clang/lib/ASTMatchers/
ASTMatchFinder.cpp 54 // nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc).
55 // For \c QualType and \c TypeLoc it is possible to implement
127 else if (const TypeLoc *T = DynNode.get<TypeLoc>())
170 // We assume that the TypeLoc, contained QualType and contained Type all are
172 bool TraverseTypeLoc(TypeLoc TypeLocNode) {
182 // The TypeLoc is matched inside traverse.
228 bool baseTraverse(TypeLoc TypeLocNode) {
371 bool TraverseTypeLoc(TypeLoc TypeNode);
473 } else if (auto *N = Node.get<TypeLoc>()) {
    [all...]
  /external/clang/include/clang/ASTMatchers/
ASTMatchersInternal.h 749 std::is_same<T, TypeLoc>::value ||
822 std::is_base_of<TypeLoc, T>::value ||
838 std::is_base_of<TypeLoc, T>::value ||
854 std::is_base_of<TypeLoc, T>::value,
    [all...]
ASTMatchers.h 126 typedef internal::Matcher<TypeLoc> TypeLocMatcher;
184 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc>
186 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) {
205 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc>
207 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc)) {
230 /// Usable as: Matcher<Decl>, Matcher<Stmt>, Matcher<TypeLoc>
232 AST_POLYMORPHIC_SUPPORTED_TYPES(Decl, Stmt, TypeLoc),
    [all...]
ASTMatchFinder.h 210 std::vector<std::pair<TypeLocMatcher, MatchCallback *>> TypeLoc;
ASTMatchersMacros.h 363 /// the corresponding \c TypeLoc.
367 // FIXME: add a matcher for TypeLoc derived classes using its custom casting
394 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \
398 TypeLoc, \
  /external/clang/tools/libclang/
CursorVisitor.h 254 #define TYPELOC(CLASS, PARENT) \
255 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
IndexBody.cpp 31 bool TraverseTypeLoc(TypeLoc TL) {
IndexTypeSourceInfo.cpp 105 void IndexingContext::indexTypeLoc(TypeLoc TL,

Completed in 130 milliseconds

1 2 3