Home
last modified time | relevance | path

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

/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
3935 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
3946 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
3947 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
3955 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
3956 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4036 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4075 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4076 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4187 if (DeclLoc.isInvalid()) in RewriteByRefVar()
[all …]
H A DRewriteModernObjC.cpp4780 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4791 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4800 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4801 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4881 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4920 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4921 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5029 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5032 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5128 DeclLoc = ND->getLocation(); in RewriteByRefVar()
[all …]
/netbsd/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXIndexDataConsumer.cpp26 SourceLocation DeclLoc; member in __anonb4f33a390111::IndexingDeclVisitor
32 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor()
95 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl()
97 DataConsumer.handleObjCMethod(D, DeclLoc); in VisitObjCMethodDecl()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaInit.cpp3923 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, in ResolveConstructorOverload() argument
4026 return CandidateSet.BestViableFunction(S, DeclLoc, Best); in ResolveConstructorOverload()
4302 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceListInitialization() local
4304 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2); in TryReferenceListInitialization()
4654 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryRefInitWithConversionFunction() local
4659 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) in TryRefInitWithConversionFunction()
4690 S.CompareReferenceRelationship(DeclLoc, T1, cv3T3, &RefConv); in TryRefInitWithConversionFunction()
4786 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceInitializationCore() local
5278 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryUserDefinedConversion() local
5286 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion()
[all …]
H A DSemaType.cpp1272 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType() local
1273 if (DeclLoc.isInvalid()) in ConvertDeclSpecToType()
1274 DeclLoc = DS.getBeginLoc(); in ConvertDeclSpecToType()
1354 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType()
1364 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType()
1374 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type) in ConvertDeclSpecToType()
1378 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType()
1826 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS); in ConvertDeclSpecToType()
H A DSemaDeclObjC.cpp4119 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd() local
4120 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
4121 Diag(DeclLoc, diag::warn_objc_root_class_missing) in ActOnAtEnd()
4127 DeclLoc, LookupOrdinaryName); in ActOnAtEnd()
H A DSemaOverload.cpp4612 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument
4619 DeclLoc, OverloadCandidateSet::CSK_InitByUserDefinedConversion); in FindConversionForRefInit()
4647 DeclLoc, in FindConversionForRefInit()
4680 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best)) { in FindConversionForRefInit()
4729 SourceLocation DeclLoc, in TryReferenceInit() argument
4757 S.CompareReferenceRelationship(DeclLoc, T1, T2, &RefConv); in TryReferenceInit()
4827 S.isCompleteType(DeclLoc, T2) && in TryReferenceInit()
4829 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
4875 T2->isRecordType() && S.isCompleteType(DeclLoc, T2) && in TryReferenceInit()
4876 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
H A DSemaLookup.cpp5362 SourceLocation DeclLoc, in diagnoseMissingImport() argument
5371 Diag(DeclLoc, diag::note_unreachable_entity) << (int)MIK; in diagnoseMissingImport()
5387 PP.getHeaderToIncludeForDiagnostics(UseLoc, DeclLoc)) { in diagnoseMissingImport()
H A DSemaTemplate.cpp3056 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier() argument
3168 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier()
3191 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier()
3338 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
H A DSemaDecl.cpp17144 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, in ActOnLastBitfield() argument
17166 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc); in ActOnLastBitfield()
17169 DeclLoc, DeclLoc, nullptr, in ActOnLastBitfield()
17172 DeclLoc), in ActOnLastBitfield()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DASTContext.cpp176 const SourceLocation DeclLoc = D->getLocation(); in getDeclLocForCommentSearch() local
177 if (DeclLoc.isMacroID()) { in getDeclLocForCommentSearch()
189 if (SourceMgr.isMacroArgExpansion(DeclLoc) && in getDeclLocForCommentSearch()
191 return SourceMgr.getExpansionLoc(DeclLoc); in getDeclLocForCommentSearch()
194 return DeclLoc; in getDeclLocForCommentSearch()
279 const SourceLocation DeclLoc = getDeclLocForCommentSearch(D, SourceMgr); in getRawCommentForDeclNoCache() local
283 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in getRawCommentForDeclNoCache()
294 const FileID File = SourceMgr.getDecomposedLoc(DeclLoc).first; in getRawCommentForDeclNoCache()
299 return getRawCommentForDeclNoCacheImpl(D, DeclLoc, *CommentsInThisFile); in getRawCommentForDeclNoCache()
514 const SourceLocation DeclLoc = getDeclLocForCommentSearch(D, SourceMgr); in attachCommentsToJustParsedDecls() local
[all …]
H A DExprConstant.cpp14889 SourceLocation DeclLoc = VD->getLocation(); in EvaluateAsInitializer() local
14912 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/netbsd/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp215 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier() local
223 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc); in ParseOptionalCXXScopeSpecifier()
228 SS.SetInvalid(SourceRange(DeclLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier()
/netbsd/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp3762 SourceLocation DeclLoc; in ReadDeclRecord() local
3763 RecordLocation Loc = DeclCursorForID(ID, DeclLoc); in ReadDeclRecord()
3782 ASTDeclReader Reader(*this, Record, Loc, ID, DeclLoc); in ReadDeclRecord()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h2925 SourceLocation DeclLoc, ArrayRef<Module *> Modules,
7526 SourceLocation DeclStartLoc, SourceLocation DeclLoc,