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

/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2196 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2197 const char *startBuf = SM->getCharacterData(DeclLoc);
2209 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2215 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
3924 SourceLocation DeclLoc = FD->getLocation(); local
3928 const char *startBuf = SM->getCharacterData(DeclLoc);
3935 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
3936 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4025 SourceLocation DeclLoc = ND->getLocation(); local
4175 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
[all...]
H A DRewriteModernObjC.cpp2285 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); local
2286 const char *startBuf = SM->getCharacterData(DeclLoc);
2298 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString);
4780 SourceLocation DeclLoc = FD->getLocation(); local
4784 const char *startBuf = SM->getCharacterData(DeclLoc);
4791 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf);
4792 assert((DeclLoc.isValid()) && "Invalid DeclLoc");
4881 SourceLocation DeclLoc = ND->getLocation(); local
5028 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));
1248 SourceLocation DeclLoc = Tok.getLocation(); local
1249 SourceLocation DeclEndLoc = DeclLoc;
1296 DeclLoc, DeclEndLoc, D,
/external/clang/lib/Sema/
H A DSemaInit.cpp3438 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, argument
3501 return CandidateSet.BestViableFunction(S, DeclLoc, Best);
3715 SourceLocation DeclLoc = Initializer->getLocStart();
3718 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1,
4051 SourceLocation DeclLoc = Initializer->getLocStart();
4056 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true))
4088 = S.CompareReferenceRelationship(DeclLoc, T1,
4210 SourceLocation DeclLoc = Initializer->getLocStart(); local
4219 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, DerivedToBase,
4621 SourceLocation DeclLoc local
[all...]
H A DSemaType.cpp1251 SourceLocation DeclLoc = declarator.getIdentifierLoc(); local
1252 if (DeclLoc.isInvalid())
1253 DeclLoc = DS.getLocStart();
1328 S.Diag(DeclLoc, diag::ext_missing_declspec)
1338 S.Diag(DeclLoc, diag::err_missing_type_specifier)
1346 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type)
1350 S.Diag(DeclLoc, diag::ext_missing_type_specifier)
1726 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS);
H A DSemaDeclObjC.cpp3834 SourceLocation DeclLoc(IDecl->getLocation());
3835 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc));
3836 Diag(DeclLoc, diag::warn_objc_root_class_missing)
3842 DeclLoc, LookupOrdinaryName);
H A DSemaLookup.cpp4985 SourceLocation DeclLoc,
5005 PP.getModuleHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) {
5038 Diag(DeclLoc, DiagID);
H A DSemaOverload.cpp4161 QualType DeclType, SourceLocation DeclLoc,
4168 OverloadCandidateSet CandidateSet(DeclLoc, OverloadCandidateSet::CSK_Normal);
4205 DeclLoc,
4238 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) {
4287 SourceLocation DeclLoc,
4316 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase,
4374 S.isCompleteType(DeclLoc, T2) &&
4376 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4437 T2->isRecordType() && S.isCompleteType(DeclLoc, T2) &&
4438 FindConversionForRefInit(S, ICS, DeclType, DeclLoc,
4160 FindConversionForRefInit(Sema &S, ImplicitConversionSequence &ICS, QualType DeclType, SourceLocation DeclLoc, Expr *Init, QualType T2, bool AllowRvalues, bool AllowExplicit) argument
4286 TryReferenceInit(Sema &S, Expr *Init, QualType DeclType, SourceLocation DeclLoc, bool SuppressUserConversions, bool AllowExplicit) argument
[all...]
H A DSemaTemplate.cpp1633 /// \param DeclLoc The location of the declaration itself.
1659 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS,
1770 Diag(DeclLoc, diag::err_specialize_member_of_template)
1792 Diag(DeclLoc, diag::err_template_spec_needs_header)
1937 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters)
1658 MatchTemplateParametersToScopeSpecifier( SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, TemplateIdAnnotation *TemplateId, ArrayRef<TemplateParameterList *> ParamLists, bool IsFriend, bool &IsExplicitSpecialization, bool &Invalid) argument
H A DSemaDecl.cpp13817 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, argument
13839 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc);
13842 DeclLoc, DeclLoc, nullptr,
13845 DeclLoc),
/external/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp27 SourceLocation DeclLoc; member in class:__anon3678::IndexingDeclVisitor
33 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { }
96 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC);
/external/clang/lib/AST/
H A DASTContext.cpp141 SourceLocation DeclLoc;
146 DeclLoc = D->getLocStart();
148 DeclLoc = D->getLocation();
149 if (DeclLoc.isMacroID()) {
154 DeclLoc = D->getLocStart();
161 if (SourceMgr.isMacroArgExpansion(DeclLoc) &&
163 DeclLoc = SourceMgr.getExpansionLoc(DeclLoc);
170 if (DeclLoc.isInvalid() || !DeclLoc
[all...]
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp3205 SourceLocation DeclLoc; local
3206 RecordLocation Loc = DeclCursorForID(ID, DeclLoc);
3221 ASTDeclReader Reader(*this, Loc, ID, DeclLoc, Record,Idx);
/external/clang/include/clang/Sema/
H A DSema.h1896 SourceLocation DeclLoc, ArrayRef<Module *> Modules,
5732 SourceLocation DeclStartLoc, SourceLocation DeclLoc,

Completed in 541 milliseconds