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

/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp2247 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2248 const char *startBuf = SM->getCharacterData(DeclLoc);
2260 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2266 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4716 SourceLocation DeclLoc = FD->getLocation(); local
4720 const char *startBuf = SM->getCharacterData(DeclLoc);
4727 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4728 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4820 SourceLocation DeclLoc = ND->getLocation(); local
4970 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
H A DRewriteObjC.cpp2236 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2237 const char *startBuf = SM->getCharacterData(DeclLoc);
2249 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2255 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4033 SourceLocation DeclLoc = FD->getLocation(); local
4037 const char *startBuf = SM->getCharacterData(DeclLoc);
4044 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4045 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4137 SourceLocation DeclLoc = ND->getLocation(); local
4290 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
/external/clang/lib/Parse/
H A DParseExprCXX.cpp175 SourceLocation DeclLoc = Tok.getLocation(); local
178 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc);
184 SS.SetInvalid(SourceRange(DeclLoc, CCLoc));
759 SourceLocation DeclLoc, DeclEndLoc; local
762 DeclLoc = T.getOpenLocation();
826 DeclLoc, DeclEndLoc, D,
835 SourceLocation DeclLoc = Tok.getLocation(); local
836 SourceLocation DeclEndLoc = DeclLoc;
872 DeclLoc, DeclEndLoc, D,
/external/clang/lib/Sema/
H A DSemaInit.cpp2742 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, argument
2802 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3019 SourceLocation DeclLoc = Initializer->getLocStart();
3022 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1,
3237 SourceLocation DeclLoc = Initializer->getLocStart();
3242 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3249 S.MarkFunctionReferenced(DeclLoc, Function);
3275 = S.CompareReferenceRelationship(DeclLoc, T1,
3347 SourceLocation DeclLoc = Initializer->getLocStart(); local
3356 = S.CompareReferenceRelationship(DeclLoc, cv1T
3741 SourceLocation DeclLoc = Initializer->getLocStart(); local
[all...]
H A DSemaType.cpp588 SourceLocation DeclLoc = declarator.getIdentifierLoc(); local
589 if (DeclLoc.isInvalid())
590 DeclLoc = DS.getLocStart();
666 S.Diag(DeclLoc, diag::ext_missing_declspec)
678 S.Diag(DeclLoc, diag::err_missing_type_specifier)
686 S.Diag(DeclLoc, diag::ext_missing_type_specifier)
813 S.Diag(DeclLoc, diag::err_invalid_protocol_qualifiers)
H A DSemaOverload.cpp3936 QualType DeclType, SourceLocation DeclLoc,
3943 OverloadCandidateSet CandidateSet(DeclLoc);
3982 DeclLoc,
4013 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4029 S.MarkFunctionReferenced(DeclLoc, Best->Function);
4064 SourceLocation DeclLoc,
4093 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase,
4150 !S.RequireCompleteType(DeclLoc, T2, 0) &&
4152 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4222 T2->isRecordType() && !S.RequireCompleteType(DeclLoc, T
3935 FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, QualType DeclType, SourceLocation DeclLoc, Expr *Init, QualType T2, bool AllowRvalues, bool AllowExplicit) argument
4063 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, SourceLocation DeclLoc, bool SuppressUserConversions, bool AllowExplicit) argument
[all...]
H A DSemaDeclObjC.cpp2393 SourceLocation DeclLoc(IDecl->getLocation());
2394 SourceLocation SuperClassLoc(PP.getLocForEndOfToken(DeclLoc));
2395 Diag(DeclLoc, diag::warn_objc_root_class_missing)
2401 DeclLoc, LookupOrdinaryName);
H A DSemaTemplate.cpp1577 /// \param DeclLoc The location of the declaration itself.
1603 SourceLocation DeclLoc,
1785 Diag(DeclLoc, diag::err_specialize_member_of_template)
1827 Diag(DeclLoc, diag::err_template_spec_needs_header)
1865 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters)
1920 Diag(DeclLoc, diag::err_specialize_member_of_template)
1602 MatchTemplateParametersToScopeSpecifier(SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, TemplateParameterList **ParamLists, unsigned NumParamLists, bool IsFriend, bool &IsExplicitSpecialization, bool &Invalid) argument
H A DSemaDecl.cpp9858 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, argument
9880 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc);
9883 DeclLoc, DeclLoc, 0,
9886 DeclLoc),
/external/clang/lib/AST/
H A DASTContext.cpp114 SourceLocation DeclLoc;
119 DeclLoc = D->getLocStart();
121 DeclLoc = D->getLocation();
125 if (DeclLoc.isInvalid() || !DeclLoc.isFileID())
134 RawComment CommentAtDeclLoc(SourceMgr, SourceRange(DeclLoc));
156 std::pair<FileID, unsigned> DeclLocDecomp = SourceMgr.getDecomposedLoc(DeclLoc);
/external/clang/include/clang/Sema/
H A DSema.h4623 SourceLocation DeclLoc,

Completed in 622 milliseconds