| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2196 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local 3923 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 3934 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 3935 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs() 3943 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 3944 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() 4024 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local 4063 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() 4064 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl() 4175 if (DeclLoc.isInvalid()) in RewriteByRefVar() [all …]
|
| H A D | RewriteModernObjC.cpp | 4774 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local 4785 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs() 4794 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs() 4795 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs() 4875 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local 4914 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() 4915 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl() 5023 if (DeclLoc.isInvalid()) in RewriteByRefVar() 5026 DeclLoc = ND->getLocation(); in RewriteByRefVar() 5122 DeclLoc = ND->getLocation(); in RewriteByRefVar() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 218 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier() local 226 AnnotateExistingDecltypeSpecifier(DS, DeclLoc, EndLoc); in ParseOptionalCXXScopeSpecifier() 231 SS.SetInvalid(SourceRange(DeclLoc, CCLoc)); in ParseOptionalCXXScopeSpecifier() 1106 SourceLocation DeclLoc = Tok.getLocation(); in ParseLambdaExpressionAfterIntroducer() local 1236 SourceLocation DeclEndLoc = DeclLoc; in ParseLambdaExpressionAfterIntroducer() 1280 /*DeclsInPrototype=*/None, DeclLoc, DeclEndLoc, D, in ParseLambdaExpressionAfterIntroducer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 3697 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, in ResolveConstructorOverload() argument 3802 return CandidateSet.BestViableFunction(S, DeclLoc, Best); in ResolveConstructorOverload() 4062 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceListInitialization() local 4065 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2, dummy1, in TryReferenceListInitialization() 4400 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryRefInitWithConversionFunction() local 4405 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) in TryRefInitWithConversionFunction() 4438 = S.CompareReferenceRelationship(DeclLoc, T1, cv3T3, in TryRefInitWithConversionFunction() 4526 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceInitializationCore() local 4965 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryUserDefinedConversion() local 4973 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion() [all …]
|
| H A D | SemaType.cpp | 1237 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType() local 1238 if (DeclLoc.isInvalid()) in ConvertDeclSpecToType() 1239 DeclLoc = DS.getBeginLoc(); in ConvertDeclSpecToType() 1320 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType() 1330 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType() 1338 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type) in ConvertDeclSpecToType() 1342 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType() 1707 QualType Qualified = S.BuildQualifiedType(Result, DeclLoc, TypeQuals, &DS); in ConvertDeclSpecToType()
|
| H A D | SemaOverload.cpp | 4392 QualType DeclType, SourceLocation DeclLoc, in FindConversionForRefInit() argument 4400 DeclLoc, OverloadCandidateSet::CSK_InitByUserDefinedConversion); in FindConversionForRefInit() 4437 DeclLoc, in FindConversionForRefInit() 4470 switch (CandidateSet.BestViableFunction(S, DeclLoc, Best)) { in FindConversionForRefInit() 4519 SourceLocation DeclLoc, in TryReferenceInit() argument 4548 = S.CompareReferenceRelationship(DeclLoc, T1, T2, DerivedToBase, in TryReferenceInit() 4605 S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 4607 if (FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit() 4668 T2->isRecordType() && S.isCompleteType(DeclLoc, T2) && in TryReferenceInit() 4669 FindConversionForRefInit(S, ICS, DeclType, DeclLoc, in TryReferenceInit()
|
| H A D | SemaDeclObjC.cpp | 4016 SourceLocation DeclLoc(IDecl->getLocation()); in ActOnAtEnd() local 4017 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd() 4018 Diag(DeclLoc, diag::warn_objc_root_class_missing) in ActOnAtEnd() 4024 DeclLoc, LookupOrdinaryName); in ActOnAtEnd()
|
| H A D | SemaLookup.cpp | 5070 SourceLocation DeclLoc, in diagnoseMissingImport() argument 5098 UseLoc, Modules[0], DeclLoc)) { in diagnoseMissingImport() 5131 Diag(DeclLoc, DiagID); in diagnoseMissingImport()
|
| H A D | SemaTemplate.cpp | 2548 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier() argument 2659 Diag(DeclLoc, diag::err_specialize_member_of_template) in MatchTemplateParametersToScopeSpecifier() 2681 Diag(DeclLoc, diag::err_template_spec_needs_header) in MatchTemplateParametersToScopeSpecifier() 2826 Diag(DeclLoc, diag::err_template_spec_needs_template_parameters) in MatchTemplateParametersToScopeSpecifier()
|
| H A D | SemaDecl.cpp | 15687 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, in ActOnLastBitfield() argument 15709 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc); in ActOnLastBitfield() 15712 DeclLoc, DeclLoc, nullptr, in ActOnLastBitfield() 15715 DeclLoc), in ActOnLastBitfield()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 191 SourceLocation DeclLoc; in getRawCommentForDeclNoCache() local 196 DeclLoc = D->getBeginLoc(); in getRawCommentForDeclNoCache() 198 DeclLoc = D->getLocation(); in getRawCommentForDeclNoCache() 199 if (DeclLoc.isMacroID()) { in getRawCommentForDeclNoCache() 204 DeclLoc = D->getBeginLoc(); in getRawCommentForDeclNoCache() 211 if (SourceMgr.isMacroArgExpansion(DeclLoc) && in getRawCommentForDeclNoCache() 213 DeclLoc = SourceMgr.getExpansionLoc(DeclLoc); in getRawCommentForDeclNoCache() 220 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in getRawCommentForDeclNoCache() 230 SourceMgr, SourceRange(DeclLoc), LangOpts.CommentOpts, false); in getRawCommentForDeclNoCache() 252 std::pair<FileID, unsigned> DeclLocDecomp = SourceMgr.getDecomposedLoc(DeclLoc); in getRawCommentForDeclNoCache()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 3617 SourceLocation DeclLoc; in ReadDeclRecord() local 3618 RecordLocation Loc = DeclCursorForID(ID, DeclLoc); in ReadDeclRecord() 3631 ASTDeclReader Reader(*this, Record, Loc, ID, DeclLoc); in ReadDeclRecord()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 2157 SourceLocation DeclLoc, ArrayRef<Module *> Modules, 6244 SourceLocation DeclStartLoc, SourceLocation DeclLoc,
|