/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2196 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local 2197 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl() 2209 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl() 2215 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl() 3924 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 3928 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs() 3935 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 3936 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs() 3944 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 3945 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() [all …]
|
D | RewriteModernObjC.cpp | 2285 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local 2286 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteTypeOfDecl() 2298 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl() 2304 ReplaceText(DeclLoc, endBuf-startBuf-1, TypeAsString); in RewriteTypeOfDecl() 4780 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 4784 const char *startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerFunctionArgs() 4791 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 4792 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs() 4800 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 4801 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() [all …]
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 259 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier() local 264 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc); in ParseOptionalCXXScopeSpecifier() 269 SS.SetInvalid(SourceRange(DeclLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier() 1248 SourceLocation DeclLoc = Tok.getLocation(); in ParseLambdaExpressionAfterIntroducer() local 1249 SourceLocation DeclEndLoc = DeclLoc; in ParseLambdaExpressionAfterIntroducer() 1296 DeclLoc, DeclEndLoc, D, in ParseLambdaExpressionAfterIntroducer()
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 27 SourceLocation DeclLoc; member in __anon1f1212030111::IndexingDeclVisitor 33 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor() 96 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 3438 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, in ResolveConstructorOverload() argument 3501 return CandidateSet.BestViableFunction(S, DeclLoc, Best); in ResolveConstructorOverload() 3715 SourceLocation DeclLoc = Initializer->getLocStart(); in TryReferenceListInitialization() local 3718 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1, in TryReferenceListInitialization() 4051 SourceLocation DeclLoc = Initializer->getLocStart(); in TryRefInitWithConversionFunction() local 4056 = CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) in TryRefInitWithConversionFunction() 4088 = S.CompareReferenceRelationship(DeclLoc, T1, in TryRefInitWithConversionFunction() 4210 SourceLocation DeclLoc = Initializer->getLocStart(); in TryReferenceInitializationCore() local 4219 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, DerivedToBase, in TryReferenceInitializationCore() 4621 SourceLocation DeclLoc = Initializer->getLocStart(); in TryUserDefinedConversion() local [all …]
|
D | SemaType.cpp | 1251 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType() local 1252 if (DeclLoc.isInvalid()) in ConvertDeclSpecToType() 1253 DeclLoc = DS.getLocStart(); in ConvertDeclSpecToType() 1328 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType() 1338 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType() 1346 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type) in ConvertDeclSpecToType() 1350 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType() 1726 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS); in ConvertDeclSpecToType()
|
D | SemaDeclObjC.cpp | 3834 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd() local 3835 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd() 3836 Diag(DeclLoc, diag::warn_objc_root_class_missing) in ActOnAtEnd() 3842 DeclLoc, LookupOrdinaryName); in ActOnAtEnd()
|
D | SemaOverload.cpp | 4161 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument 4168 OverloadCandidateSet CandidateSet(DeclLoc, OverloadCandidateSet::CSK_Normal); in FindConversionForRefInit() 4205 DeclLoc, in FindConversionForRefInit() 4238 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best, true)) { in FindConversionForRefInit() 4287 SourceLocation DeclLoc, in TryReferenceInit() argument 4316 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase, in TryReferenceInit() 4374 S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 4376 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit() 4437 T2->isRecordType() && S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 4438 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
|
D | SemaLookup.cpp | 4985 SourceLocation DeclLoc, in diagnoseMissingImport() argument 5005 PP.getModuleHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport() 5038 Diag(DeclLoc, DiagID); in diagnoseMissingImport()
|
D | SemaTemplate.cpp | 1659 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier() argument 1770 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier() 1792 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier() 1937 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
|
D | SemaDecl.cpp | 13817 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, in ActOnLastBitfield() argument 13839 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc); in ActOnLastBitfield() 13842 DeclLoc, DeclLoc, nullptr, in ActOnLastBitfield() 13845 DeclLoc), in ActOnLastBitfield()
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 141 SourceLocation DeclLoc; in getRawCommentForDeclNoCache() local 146 DeclLoc = D->getLocStart(); in getRawCommentForDeclNoCache() 148 DeclLoc = D->getLocation(); in getRawCommentForDeclNoCache() 149 if (DeclLoc.isMacroID()) { in getRawCommentForDeclNoCache() 154 DeclLoc = D->getLocStart(); in getRawCommentForDeclNoCache() 161 if (SourceMgr.isMacroArgExpansion(DeclLoc) && in getRawCommentForDeclNoCache() 163 DeclLoc = SourceMgr.getExpansionLoc(DeclLoc); in getRawCommentForDeclNoCache() 170 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in getRawCommentForDeclNoCache() 180 SourceMgr, SourceRange(DeclLoc), false, in getRawCommentForDeclNoCache() 203 std::pair<FileID, unsigned> DeclLocDecomp = SourceMgr.getDecomposedLoc(DeclLoc); in getRawCommentForDeclNoCache()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 3205 SourceLocation DeclLoc; in ReadDeclRecord() local 3206 RecordLocation Loc = DeclCursorForID(ID, DeclLoc); in ReadDeclRecord() 3221 ASTDeclReader Reader(*this, Loc, ID, DeclLoc, Record,Idx); in ReadDeclRecord()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1896 SourceLocation DeclLoc, ArrayRef<Module *> Modules, 5732 SourceLocation DeclStartLoc, SourceLocation DeclLoc,
|