Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2205 SourceLocation DeclLoc = ND->getTypeSpecStartLoc(); in RewriteTypeOfDecl() local
3921 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
3932 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
3933 assert((DeclLoc.isValid()) && "Invalid DeclLoc"); in RewriteBlockPointerFunctionArgs()
3941 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
3942 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4022 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4061 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4062 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
4173 if (DeclLoc.isInvalid()) in RewriteByRefVar()
[all …]
H A DRewriteModernObjC.cpp4767 SourceLocation DeclLoc = FD->getLocation(); in RewriteBlockPointerFunctionArgs() local
4778 DeclLoc = DeclLoc.getLocWithOffset(startArgList-startBuf); in RewriteBlockPointerFunctionArgs()
4787 DeclLoc = DeclLoc.getLocWithOffset(argPtr-startArgList); in RewriteBlockPointerFunctionArgs()
4788 ReplaceText(DeclLoc, 1, "*"); in RewriteBlockPointerFunctionArgs()
4868 SourceLocation DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl() local
4907 DeclLoc = ND->getLocation(); in RewriteBlockPointerDecl()
4908 startBuf = SM->getCharacterData(DeclLoc); in RewriteBlockPointerDecl()
5016 if (DeclLoc.isInvalid()) in RewriteByRefVar()
5019 DeclLoc = ND->getLocation(); in RewriteByRefVar()
5115 DeclLoc = ND->getLocation(); in RewriteByRefVar()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp3925 ResolveConstructorOverload(Sema &S, SourceLocation DeclLoc, in ResolveConstructorOverload() argument
4028 return CandidateSet.BestViableFunction(S, DeclLoc, Best); in ResolveConstructorOverload()
4304 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceListInitialization() local
4306 = S.CompareReferenceRelationship(DeclLoc, cv1T1, cv2T2); in TryReferenceListInitialization()
4656 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryRefInitWithConversionFunction() local
4661 = CandidateSet.BestViableFunction(S, DeclLoc, Best)) in TryRefInitWithConversionFunction()
4692 S.CompareReferenceRelationship(DeclLoc, T1, cv3T3, &RefConv); in TryRefInitWithConversionFunction()
4788 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryReferenceInitializationCore() local
5280 SourceLocation DeclLoc = Initializer->getBeginLoc(); in TryUserDefinedConversion() local
5288 if (S.isCompleteType(DeclLoc, SourceType)) { in TryUserDefinedConversion()
[all …]
H A DSemaType.cpp1273 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType() local
1274 if (DeclLoc.isInvalid()) in ConvertDeclSpecToType()
1275 DeclLoc = DS.getBeginLoc(); in ConvertDeclSpecToType()
1355 S.Diag(DeclLoc, diag::ext_missing_declspec) in ConvertDeclSpecToType()
1365 S.Diag(DeclLoc, diag::err_missing_type_specifier) in ConvertDeclSpecToType()
1375 S.Diag(DeclLoc, diag::err_missing_actual_pipe_type) in ConvertDeclSpecToType()
1379 S.Diag(DeclLoc, diag::ext_missing_type_specifier) in ConvertDeclSpecToType()
1850 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.cpp5372 SourceLocation DeclLoc, in diagnoseMissingImport() argument
5381 Diag(DeclLoc, diag::note_unreachable_entity) << (int)MIK; in diagnoseMissingImport()
5397 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.cpp17201 void Sema::ActOnLastBitfield(SourceLocation DeclLoc, in ActOnLastBitfield() argument
17223 Expr * BW = IntegerLiteral::Create(Context, Zero, Context.IntTy, DeclLoc); in ActOnLastBitfield()
17226 DeclLoc, DeclLoc, nullptr, in ActOnLastBitfield()
17229 DeclLoc), in ActOnLastBitfield()
/freebsd-13.1/contrib/llvm-project/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.cpp14925 SourceLocation DeclLoc = VD->getLocation(); in EvaluateAsInitializer() local
14948 return CheckConstantExpression(Info, DeclLoc, DeclTy, Value, in EvaluateAsInitializer()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3789 SourceLocation DeclLoc; in ReadDeclRecord() local
3790 RecordLocation Loc = DeclCursorForID(ID, DeclLoc); in ReadDeclRecord()
3809 ASTDeclReader Reader(*this, Record, Loc, ID, DeclLoc); in ReadDeclRecord()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2961 SourceLocation DeclLoc, ArrayRef<Module *> Modules,
7596 SourceLocation DeclStartLoc, SourceLocation DeclLoc,