Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2196 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 …]
DRewriteModernObjC.cpp2285 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/
DParseExprCXX.cpp259 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/
DCXIndexDataConsumer.cpp27 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/
DSemaInit.cpp3438 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 …]
DSemaType.cpp1251 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()
DSemaDeclObjC.cpp3834 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()
DSemaOverload.cpp4161 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()
DSemaLookup.cpp4985 SourceLocation DeclLoc, in diagnoseMissingImport() argument
5005 PP.getModuleHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
5038 Diag(DeclLoc, DiagID); in diagnoseMissingImport()
DSemaTemplate.cpp1659 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()
DSemaDecl.cpp13817 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/
DASTContext.cpp141 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/
DASTReaderDecl.cpp3205 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/
DSema.h1896 SourceLocation DeclLoc, ArrayRef<Module *> Modules,
5732 SourceLocation DeclStartLoc, SourceLocation DeclLoc,