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

1 2

  /external/clang/tools/libclang/
IndexTypeSourceInfo.cpp 31 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) {
32 IndexCtx.handleReference(TL.getTypedefNameDecl(), TL.getNameLoc(),
42 bool VisitTagTypeLoc(TagTypeLoc TL) {
43 TagDecl *D = TL.getDecl();
47 if (TL.isDefinition()) {
52 if (D->getLocation() == TL.getNameLoc())
55 IndexCtx.handleReference(D, TL.getNameLoc(),
60 bool VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) {
61 IndexCtx.handleReference(TL.getIFaceDecl(), TL.getNameLoc()
    [all...]
CIndex.cpp 479 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(),
481 TL != TLEnd; ++TL) {
482 if (Visit(MakeCXCursor(*TL, tu, RegionOfInterest), true))
633 TypeLoc TL = SpecType->getTypeLoc();
635 = dyn_cast<TemplateSpecializationTypeLoc>(&TL)) {
712 TypeLoc TL = TSInfo->getTypeLoc().IgnoreParens();
713 FunctionTypeLoc *FTL = dyn_cast<FunctionTypeLoc>(&TL);
719 (!FTL && Visit(TL)))
    [all...]
IndexBody.cpp 32 bool TraverseTypeLoc(TypeLoc TL) {
33 IndexCtx.indexTypeLoc(TL, Parent, ParentDC);
CursorVisitor.h 244 bool VisitTagTypeLoc(TagTypeLoc TL);
245 bool VisitArrayTypeLoc(ArrayTypeLoc TL);
246 bool VisitFunctionTypeLoc(FunctionTypeLoc TL, bool SkipResultType = false);
Indexing.cpp 470 for (ASTUnit::top_level_iterator TL = Unit.top_level_begin(),
472 TL != TLEnd; ++TL) {
473 IdxCtx.indexTopLevelDecl(*TL);
IndexingContext.cpp 163 TypeLoc TL;
165 TL = Base.getTypeSourceInfo()->getTypeLoc();
166 if (TL.isNull())
169 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL))
170 TL = QL->getUnqualifiedLoc();
172 if (const ElaboratedTypeLoc *EL = dyn_cast<ElaboratedTypeLoc>(&TL))
174 if (const DependentNameTypeLoc *DL = dyn_cast<DependentNameTypeLoc>(&TL))
177 DTL = dyn_cast<DependentTemplateSpecializationTypeLoc>(&TL))
    [all...]
  /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(),
501 TypeLoc TL,
505 TL.getTypePtr());
508 SavePointer(TL.getOpaqueData(), Buffer, BufferSize, BufferCapacity);
  /external/clang/lib/ARCMigrate/
TransGCAttrs.cpp 40 bool VisitAttributedTypeLoc(AttributedTypeLoc TL) {
41 handleAttr(TL);
63 TypeLoc TL = TInfo->getTypeLoc();
64 while (TL) {
65 if (const QualifiedTypeLoc *QL = dyn_cast<QualifiedTypeLoc>(&TL)) {
66 TL = QL->getUnqualifiedLoc();
68 Attr = dyn_cast<AttributedTypeLoc>(&TL)) {
71 TL = Attr->getModifiedLoc();
72 } else if (const ArrayTypeLoc *Arr = dyn_cast<ArrayTypeLoc>(&TL)) {
73 TL = Arr->getElementLoc()
    [all...]
TransAutoreleasePool.cpp 266 bool VisitTypedefTypeLoc(TypedefTypeLoc TL) {
267 return checkRef(TL.getBeginLoc(), TL.getTypedefNameDecl()->getLocation());
270 bool VisitTagTypeLoc(TagTypeLoc TL) {
271 return checkRef(TL.getBeginLoc(), TL.getDecl()->getLocation());
  /external/clang/include/clang/AST/
RecursiveASTVisitor.h 176 bool TraverseTypeLoc(TypeLoc TL);
342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL);
347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); }
348 bool VisitTypeLoc(TypeLoc TL) { return true; }
352 bool WalkUpFromQualifiedTypeLoc(QualifiedTypeLoc TL) {
353 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc());
355 bool VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { return true; }
356 bool WalkUpFromUnqualTypeLoc(UnqualTypeLoc TL) {
357 return getDerived().VisitUnqualTypeLoc(TL.getUnqualifiedLoc())
    [all...]
TypeLoc.h 162 static bool classof(const TypeLoc *TL) { return true; }
165 static void initializeImpl(ASTContext &Context, TypeLoc TL,
167 static TypeLoc getNextTypeLocImpl(TypeLoc TL);
168 static TypeLoc IgnoreParensImpl(TypeLoc TL);
169 static SourceRange getLocalSourceRangeImpl(TypeLoc TL);
192 static bool classof(const TypeLoc *TL) {
193 return !TL->getType().hasLocalQualifiers();
195 static bool classof(const UnqualTypeLoc *TL) { return true; }
237 static bool classof(const TypeLoc *TL) {
238 return TL->getType().hasLocalQualifiers()
    [all...]
NestedNameSpecifier.h 367 /// \param TL The TypeLoc that describes the type preceding the '::'.
370 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
  /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/lib/Sema/
TreeTransform.h 306 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL);
526 FunctionProtoTypeLoc TL,
535 TemplateSpecializationTypeLoc TL,
540 DependentTemplateSpecializationTypeLoc TL,
546 DependentTemplateSpecializationTypeLoc TL,
572 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()));
128 bool TraverseTypeLoc(TypeLoc TL) {
129 if (!TL.getType().isNull() &&
130 TL.getType()->containsUnexpandedParameterPack())
131 return inherited::TraverseTypeLoc(TL);
337 void Sema::collectUnexpandedParameterPacks(TypeLoc TL,
339 CollectUnexpandedParameterPacksVisitor(Unexpanded).TraverseTypeLoc(TL);
    [all...]
SemaTemplateInstantiate.cpp     [all...]
SemaDeclCXX.cpp 768 TypeLoc TL = TN->getTypeSourceInfo()->getTypeLoc();
769 SemaRef.Diag(TL.getBeginLoc(), diag::err_constexpr_vla)
770 << TL.getSourceRange() << TL.getType()
    [all...]
SemaCXXScopeSpec.cpp 620 SubstTemplateTypeParmTypeLoc TL
622 TL.setNameLoc(IdentifierLoc);
624 SubstTemplateTypeParmPackTypeLoc TL
626 TL.setNameLoc(IdentifierLoc);
    [all...]
  /external/clang/lib/Serialization/
ASTWriter.cpp 420 void TypeLocWriter::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) {
423 void TypeLocWriter::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) {
424 Writer.AddSourceLocation(TL.getBuiltinLoc(), Record);
425 if (TL.needsExtraLocalData()) {
426 Record.push_back(TL.getWrittenTypeSpec());
427 Record.push_back(TL.getWrittenSignSpec());
428 Record.push_back(TL.getWrittenWidthSpec());
429 Record.push_back(TL.hasModeAttr());
432 void TypeLocWriter::VisitComplexTypeLoc(ComplexTypeLoc TL) {
433 Writer.AddSourceLocation(TL.getNameLoc(), Record)
    [all...]
ASTReader.cpp     [all...]
  /external/skia/samplecode/
SamplePatch.cpp 93 const int TL = 0;
106 SkScalar x0 = SkScalarMul(UV, edge[TL].fX) + SkScalarMul(uV, edge[TR].fX) +
108 SkScalar y0 = SkScalarMul(UV, edge[TL].fY) + SkScalarMul(uV, edge[TR].fY) +
111 SkScalar x = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fX) +
115 SkScalar y = SkScalarMul(SK_Scalar1 - v, edge[TL+iu].fY) +
  /libcore/luni/src/test/java/libcore/java/util/
EnumSetTest.java 105 HF, TA, W, RE, OS, IR, PT, AU, HG, TL, PB, BI, PO, AT, RN, FR, RA, AC, TH, PA, U, NP, PU,
  /external/clang/include/clang/Lex/
Preprocessor.h 247 TokenLexer* TL, const DirectoryLookup *D)
249 TheTokenLexer(TL), TheDirLookup(D) {}
    [all...]

Completed in 208 milliseconds

1 2