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

/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
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);
4019 SourceLocation DeclLoc = FD->getLocation(); local
4023 const char *startBuf = SM->getCharacterData(DeclLoc);
4030 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4031 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4123 SourceLocation DeclLoc = ND->getLocation(); local
4276 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
H A DRewriteModernObjC.cpp2350 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2351 const char *startBuf = SM->getCharacterData(DeclLoc);
2363 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2369 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4981 SourceLocation DeclLoc = FD->getLocation(); local
4985 const char *startBuf = SM->getCharacterData(DeclLoc);
4992 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4993 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
5085 SourceLocation DeclLoc = ND->getLocation(); local
5235 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExprCXX.cpp234 SourceLocation DeclLoc = Tok.getLocation(); local
237 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc);
243 SS.SetInvalid(SourceRange(DeclLoc, CCLoc));
1070 SourceLocation DeclLoc = Tok.getLocation(); local
1071 SourceLocation DeclEndLoc = DeclLoc;
1110 DeclLoc, DeclEndLoc, D,
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaInit.cpp3013 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, argument
3081 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3282 SourceLocation DeclLoc = Initializer->getLocStart();
3285 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1,
3533 SourceLocation DeclLoc = Initializer->getLocStart();
3538 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
3570 = S.CompareReferenceRelationship(DeclLoc, T1,
3693 SourceLocation DeclLoc = Initializer->getLocStart(); local
3702 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, DerivedToBase,
4113 SourceLocation DeclLoc local
[all...]
H A DSemaType.cpp704 SourceLocation DeclLoc = declarator.getIdentifierLoc(); local
705 if (DeclLoc.isInvalid())
706 DeclLoc = DS.getLocStart();
787 S.Diag(DeclLoc, diag::ext_missing_declspec)
797 S.Diag(DeclLoc, diag::err_missing_type_specifier)
805 S.Diag(DeclLoc, diag::ext_missing_type_specifier)
942 S.Diag(DeclLoc, diag::err_invalid_protocol_qualifiers)
1183 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS);
H A DSemaDeclObjC.cpp2657 SourceLocation DeclLoc(IDecl->getLocation());
2658 SourceLocation SuperClassLoc(PP.getLocForEndOfToken(DeclLoc));
2659 Diag(DeclLoc, diag::warn_objc_root_class_missing)
2665 DeclLoc, LookupOrdinaryName);
H A DSemaOverload.cpp4031 QualType DeclType, SourceLocation DeclLoc,
4038 OverloadCandidateSet CandidateSet(DeclLoc);
4078 DeclLoc,
4111 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4160 SourceLocation DeclLoc,
4189 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase,
4246 !S.RequireCompleteType(DeclLoc, T2, 0) &&
4248 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4318 T2->isRecordType() && !S.RequireCompleteType(DeclLoc, T2, 0) &&
4319 FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4030 FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, QualType DeclType, SourceLocation DeclLoc, Expr *Init, QualType T2, bool AllowRvalues, bool AllowExplicit) argument
4159 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, SourceLocation DeclLoc, bool SuppressUserConversions, bool AllowExplicit) argument
[all...]
H A DSemaTemplate.cpp1574 /// \param DeclLoc The location of the declaration itself.
1597 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS,
1775 Diag(DeclLoc, diag::err_specialize_member_of_template)
1817 Diag(DeclLoc, diag::err_template_spec_needs_header)
1855 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters)
1909 Diag(DeclLoc, diag::err_specialize_member_of_template)
1596 MatchTemplateParametersToScopeSpecifier( SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, ArrayRef<TemplateParameterList *> ParamLists, bool IsFriend, bool &IsExplicitSpecialization, bool &Invalid) argument
H A DSemaDecl.cpp11754 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, argument
11776 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc);
11779 DeclLoc, DeclLoc, 0,
11782 DeclLoc),
/freebsd-10.2-release/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp132 SourceLocation DeclLoc;
137 DeclLoc = D->getLocStart();
139 DeclLoc = D->getLocation();
143 if (DeclLoc.isMacroID() && isa<TypedefDecl>(D))
144 DeclLoc = D->getLocStart();
149 if (DeclLoc.isInvalid() || !DeclLoc.isFileID())
159 SourceMgr, SourceRange(DeclLoc), false,
182 std::pair<FileID, unsigned> DeclLocDecomp = SourceMgr.getDecomposedLoc(DeclLoc);
/freebsd-10.2-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h5120 SourceLocation DeclStartLoc, SourceLocation DeclLoc,

Completed in 249 milliseconds