Home
last modified time | relevance | path

Searched refs:CastLoc (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp97 MacroArgUsageVisitor(SourceLocation CastLoc, const SourceManager &SM) in MacroArgUsageVisitor() argument
98 : CastLoc(CastLoc), SM(SM), Visited(false), CastFound(false), in MacroArgUsageVisitor()
100 assert(CastLoc.isFileID()); in MacroArgUsageVisitor()
129 if (SM.getFileLoc(S->getBeginLoc()) != CastLoc) in VisitStmt()
154 SourceLocation CastLoc; member in clang::tidy::modernize::__anon88c842860111::MacroArgUsageVisitor
271 SourceLocation CastLoc = CE->getBeginLoc(); in allArgUsesValid() local
276 if (!getMacroAndArgLocations(CastLoc, ArgLoc, MacroLoc)) in allArgUsesValid()
291 MacroArgUsageVisitor ArgUsageVisitor(SM.getFileLoc(CastLoc), SM); in allArgUsesValid()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp339 SourceLocation CastLoc = E->getExprLoc(); in transformObjCToNonObjCCast() local
340 if (CastLoc.isMacroID()) { in transformObjCToNonObjCCast()
341 StringRef MacroName = Lexer::getImmediateMacroName(CastLoc, in transformObjCToNonObjCCast()
/external/llvm-project/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp336 SourceLocation CastLoc = E->getExprLoc(); in transformObjCToNonObjCCast() local
337 if (CastLoc.isMacroID()) { in transformObjCToNonObjCCast()
338 StringRef MacroName = Lexer::getImmediateMacroName(CastLoc, in transformObjCToNonObjCCast()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3176 SourceLocation CastLoc, in BuildCXXCastArgument() argument
3189 if (S.RequireNonAbstractType(CastLoc, Ty, in BuildCXXCastArgument()
3193 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs)) in BuildCXXCastArgument()
3196 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl, in BuildCXXCastArgument()
3198 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()
3202 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method), in BuildCXXCastArgument()
3215 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
3216 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp3884 SourceLocation CastLoc, in BuildCXXCastArgument() argument
3897 if (S.RequireNonAbstractType(CastLoc, Ty, in BuildCXXCastArgument()
3901 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs)) in BuildCXXCastArgument()
3904 S.CheckConstructorAccess(CastLoc, Constructor, FoundDecl, in BuildCXXCastArgument()
3906 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()
3910 CastLoc, Ty, FoundDecl, cast<CXXConstructorDecl>(Method), in BuildCXXCastArgument()
3923 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ nullptr, FoundDecl); in BuildCXXCastArgument()
3924 if (S.DiagnoseUseOfDecl(Method, CastLoc)) in BuildCXXCastArgument()