/external/clang/tools/libclang/ |
IndexTypeSourceInfo.cpp | 31 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { 32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(), 37 bool VisitTagTypeLoc(TagTypeLoc TL) { 38 TagDecl *D = TL.getDecl(); 40 if (TL.isDefinition()) { 45 if (D->getLocation() == TL.getNameLoc()) 48 IndexCtx.handleReference(D, TL.getNameLoc(), 53 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { 54 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc() [all...] |
IndexBody.cpp | 29 bool TraverseTypeLoc(TypeLoc TL) { 30 IndexCtx.indexTypeLoc(TL, 0, ParentDC);
|
CIndex.cpp | 336 bool VisitTagTypeLoc(TagTypeLoc TL); 337 bool VisitArrayTypeLoc(ArrayTypeLoc TL); 338 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false); 497 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), 499 TL != TLEnd; ++TL) { 500 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true)) 638 TypeLoc TL = SpecType->getTypeLoc(); 640 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) { 717 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens() [all...] |
IndexingContext.h | 99 void indexTypeLoc(TypeLoc TL, const NamedDecl *Parent,
|
/external/clang/lib/Index/ |
ASTVisitor.h | 120 void Visit(TypeLoc TL) { 121 for (; TL; TL = TL.getNextTypeLoc()) 122 BaseTypeLocVisitor::Visit(TL); 125 void VisitArrayLoc(ArrayTypeLoc TL) { 126 BaseTypeLocVisitor::VisitArrayTypeLoc(TL); 127 if (TL.getSizeExpr()) 128 Visit(TL.getSizeExpr()); 131 void VisitFunctionTypeLoc(FunctionTypeLoc TL) { [all...] |
DeclReferenceMap.cpp | 33 void VisitTypedefTypeLoc(TypedefTypeLoc TL); 34 void VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL); 57 void RefMapper::VisitTypedefTypeLoc(TypedefTypeLoc TL) { 58 NamedDecl *ND = TL.getTypedefNameDecl(); 59 Map.insert(std::make_pair(ND, ASTLocation(CurrentDecl, ND, TL.getNameLoc()))); 62 void RefMapper::VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { 63 NamedDecl *ND = TL.getIFaceDecl(); 64 Map.insert(std::make_pair(ND, ASTLocation(CurrentDecl, ND, TL.getNameLoc())));
|
/external/clang/lib/AST/ |
TypeLoc.cpp | 36 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { 37 if (TL.isNull()) return SourceRange(); 38 return TypeLocRanger().Visit(TL); 73 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { 74 return NextLoc().Visit(TL); 80 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, 83 switch (TL.getTypeLocClass()) { 87 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ 89 TL = TLCasted.getNextTypeLoc(); \ 90 if (!TL) return; [all...] |
NestedNameSpecifier.cpp | 377 TypeLoc TL(Qualifier->getAsType(), TypeData); 378 return SourceRange(TL.getBeginLoc(), 509 TypeLoc TL, 513 TL.getTypePtr()); 516 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity);
|
/frameworks/base/services/sensorservice/ |
traits.h | 42 namespace TL { 63 }; // namespace TL 104 enum { isStdUnsignedInt = TL::IndexOf<UnsignedInts, T>::value >= 0 }; 105 enum { isStdSignedInt = TL::IndexOf<SignedInts, T>::value >= 0 }; 106 enum { isStdIntegral = TL::IndexOf<OtherInts, T>::value >= 0 || isStdUnsignedInt || isStdSignedInt }; 107 enum { isStdFloat = TL::IndexOf<Floats, T>::value >= 0 };
|
/external/clang/include/clang/AST/ |
RecursiveASTVisitor.h | 170 bool TraverseTypeLoc(TypeLoc TL); 326 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 331 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } 332 bool VisitTypeLoc(TypeLoc TL) { return true; } 336 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) { 337 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()); 339 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; } 340 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) { 341 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc()) [all...] |
TypeLoc.h | 159 static bool classof(const TypeLoc *TL) { return true; } 162 static void initializeImpl(ASTContext &Context, TypeLoc TL, SourceLocation Loc); 163 static TypeLoc getNextTypeLocImpl(TypeLoc TL); 164 static TypeLoc IgnoreParensImpl(TypeLoc TL); 165 static SourceRange getLocalSourceRangeImpl(TypeLoc TL); 188 static bool classof(const TypeLoc *TL) { 189 return !TL->getType().hasLocalQualifiers(); 191 static bool classof(const UnqualTypeLoc *TL) { return true; } 233 static bool classof(const TypeLoc *TL) { 234 return TL->getType().hasLocalQualifiers() [all...] |
NestedNameSpecifier.h | 360 /// \param TL The TypeLoc that describes the type preceding the '::'. 363 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
/external/clang/lib/Sema/ |
TreeTransform.h | 301 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 499 TemplateSpecializationTypeLoc TL, 504 DependentTemplateSpecializationTypeLoc TL, 510 DependentTemplateSpecializationTypeLoc TL, 535 QualType TransformReferenceType(TypeLocBuilder &TLB, ReferenceTypeLoc TL); [all...] |
SemaType.cpp | [all...] |
SemaTemplateVariadic.cpp | 49 bool VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { 50 if (TL.getTypePtr()->isParameterPack()) 51 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); 121 bool TraverseTypeLoc(TypeLoc TL) { 122 if (!TL.getType().isNull() && 123 TL.getType()->containsUnexpandedParameterPack()) 124 return inherited::TraverseTypeLoc(TL); 327 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, 329 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL); [all...] |
SemaTemplateInstantiate.cpp | [all...] |
SemaCXXScopeSpec.cpp | 588 SubstTemplateTypeParmTypeLoc TL 590 TL.setNameLoc(IdentifierLoc); 592 SubstTemplateTypeParmPackTypeLoc TL 594 TL.setNameLoc(IdentifierLoc); [all...] |
SemaDeclCXX.cpp | 764 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc(); 765 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla) 766 << TL.getSourceRange() << TL.getType() [all...] |
SemaExceptionSpec.cpp | 232 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens(); 233 if (const FunctionTypeLoc *FTLoc = dyn_cast<FunctionTypeLoc>(&TL))
|
/external/clang/lib/Serialization/ |
ASTWriter.cpp | 418 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { 421 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { 422 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record); 423 if (TL.needsExtraLocalData()) { 424 Record.push_back(TL.getWrittenTypeSpec()); 425 Record.push_back(TL.getWrittenSignSpec()); 426 Record.push_back(TL.getWrittenWidthSpec()); 427 Record.push_back(TL.hasModeAttr()); 430 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) { 431 Writer.AddSourceLocation(TL.getNameLoc(), Record) [all...] |
ASTReader.cpp | [all...] |
/external/clang/lib/ARCMigrate/ |
TransAutoreleasePool.cpp | 270 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) { 271 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation()); 274 bool VisitTagTypeLoc(TagTypeLoc TL) { 275 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation());
|
/external/skia/samplecode/ |
SamplePatch.cpp | 86 const int TL = 0; 99 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) + 101 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) + 104 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) + 108 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
|
/external/clang/include/clang/Lex/ |
Preprocessor.h | 229 TokenLexer* TL, const DirectoryLookup *D) 231 TheTokenLexer(TL), TheDirLookup(D) {} [all...] |
/external/clang/lib/Lex/ |
TokenLexer.cpp | 529 Lexer TL(SourceMgr.getLocForStartOfFile(LocFileID), 537 bool isInvalid = !TL.LexFromRawLexer(Result);
|