Searched refs:DeclLoc (Results 1 - 11 of 11) sorted by relevance

/external/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2311 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2312 const char *startBuf = SM->getCharacterData(DeclLoc);
2324 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2330 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4874 SourceLocation DeclLoc = FD->getLocation(); local
4878 const char *startBuf = SM->getCharacterData(DeclLoc);
4885 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4886 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4976 SourceLocation DeclLoc = ND->getLocation(); local
5126 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
H A DRewriteObjC.cpp2199 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2200 const char *startBuf = SM->getCharacterData(DeclLoc);
2212 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2218 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3952 SourceLocation DeclLoc = FD->getLocation(); local
3956 const char *startBuf = SM->getCharacterData(DeclLoc);
3963 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
3964 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4054 SourceLocation DeclLoc = ND->getLocation(); local
4207 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
/external/clang/lib/Parse/
H A DParseExprCXX.cpp259 SourceLocation DeclLoc = Tok.getLocation(); local
264 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc);
269 SS.SetInvalid(SourceRange(DeclLoc, CCLoc));
1180 SourceLocation DeclLoc = Tok.getLocation(); local
1181 SourceLocation DeclEndLoc = DeclLoc;
1228 DeclLoc, DeclEndLoc, D,
/external/clang/lib/Sema/
H A DSemaInit.cpp3171 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, argument
3239 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3441 SourceLocation DeclLoc = Initializer->getLocStart();
3444 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1,
3734 SourceLocation DeclLoc = Initializer->getLocStart();
3739 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3771 = S.CompareReferenceRelationship(DeclLoc, T1,
3894 SourceLocation DeclLoc = Initializer->getLocStart(); local
3903 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, DerivedToBase,
4313 SourceLocation DeclLoc local
[all...]
H A DSemaType.cpp704 SourceLocation DeclLoc = declarator.getIdentifierLoc(); local
705 if (DeclLoc.isInvalid())
706 DeclLoc = DS.getLocStart();
789 S.Diag(DeclLoc, diag::ext_missing_declspec)
799 S.Diag(DeclLoc, diag::err_missing_type_specifier)
807 S.Diag(DeclLoc, diag::ext_missing_type_specifier)
947 S.Diag(DeclLoc, diag::err_invalid_protocol_qualifiers)
1188 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS);
H A DSemaDeclObjC.cpp2736 SourceLocation DeclLoc(IDecl->getLocation());
2737 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc));
2738 Diag(DeclLoc, diag::warn_objc_root_class_missing)
2744 DeclLoc, LookupOrdinaryName);
H A DSemaOverload.cpp4046 QualType DeclType, SourceLocation DeclLoc,
4053 OverloadCandidateSet CandidateSet(DeclLoc, OverloadCandidateSet::CSK_Normal);
4090 DeclLoc,
4123 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4172 SourceLocation DeclLoc,
4201 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase,
4259 !S.RequireCompleteType(DeclLoc, T2, 0) &&
4261 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4322 T2->isRecordType() && !S.RequireCompleteType(DeclLoc, T2, 0) &&
4323 FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4045 FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, QualType DeclType, SourceLocation DeclLoc, Expr *Init, QualType T2, bool AllowRvalues, bool AllowExplicit) argument
4171 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, SourceLocation DeclLoc, bool SuppressUserConversions, bool AllowExplicit) argument
[all...]
H A DSemaTemplate.cpp1604 /// \param DeclLoc The location of the declaration itself.
1630 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS,
1741 Diag(DeclLoc, diag::err_specialize_member_of_template)
1763 Diag(DeclLoc, diag::err_template_spec_needs_header)
1908 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters)
1629 MatchTemplateParametersToScopeSpecifier( SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId, ArrayRef<TemplateParameterList *> ParamLists, bool IsFriend, bool &IsExplicitSpecialization, bool &Invalid) argument
H A DSemaDecl.cpp12765 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, argument
12787 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc);
12790 DeclLoc, DeclLoc, nullptr,
12793 DeclLoc),
/external/clang/lib/AST/
H A DASTContext.cpp140 SourceLocation DeclLoc;
145 DeclLoc = D->getLocStart();
147 DeclLoc = D->getLocation();
148 if (DeclLoc.isMacroID()) {
153 DeclLoc = D->getLocStart();
160 if (SourceMgr.isMacroArgExpansion(DeclLoc) &&
162 DeclLoc = SourceMgr.getExpansionLoc(DeclLoc);
169 if (DeclLoc.isInvalid() || !DeclLoc
[all...]
/external/clang/include/clang/Sema/
H A DSema.h5340 SourceLocation DeclStartLoc, SourceLocation DeclLoc,

Completed in 2967 milliseconds