Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h260 const NoteTag *getNoteTag(NoteTag::Callback &&Cb, bool IsPrunable = false) {
272 *getNoteTag(std::function<std::string(PathSensitiveBugReport &)> &&Cb,
274 return getNoteTag(
287 const NoteTag *getNoteTag(std::function<std::string()> &&Cb,
289 return getNoteTag([Cb](BugReporterContext &,
300 const NoteTag *getNoteTag(StringRef Note, bool IsPrunable = false) {
301 return getNoteTag(
314 const NoteTag *getNoteTag(
317 return getNoteTag(
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DCastValueChecker.cpp105 static const NoteTag *getNoteTag(CheckerContext &C, in getNoteTag() function
114 return C.getNoteTag( in getNoteTag()
139 static const NoteTag *getNoteTag(CheckerContext &C, in getNoteTag() function
145 return C.getNoteTag( in getNoteTag()
256 getNoteTag(C, CastInfo, CastToTy, Object, CastSucceeds, IsKnownCast)); in addCastTransition()
319 getNoteTag(C, CastInfo, CastToTy, Call.getArgExpr(0), true, in addInstanceOfTransition()
333 getNoteTag(C, CastToTyVec, Call.getArgExpr(0), IsAnyKnown)); in addInstanceOfTransition()
365 C.getNoteTag("Assuming null pointer is passed into cast", in evalNullParamNullReturn()
H A DCXXSelfAssignmentChecker.cpp56 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
66 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string { in checkBeginFunction()
H A DSmartPtrModeling.cpp392 State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in evalCall()
408 C.addTransition(State, C.getNoteTag([ThisRegion, TrackingExpr, in evalCall()
613 State, C.getNoteTag([ThisRegion, TrackingExpr](PathSensitiveBugReport &BR, in handleReset()
649 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleRelease()
690 C.addTransition(State, C.getNoteTag([FirstThisRegion, SecondThisRegion]( in handleSwap()
754 C.addTransition(State, C.getNoteTag([ThisRegion](PathSensitiveBugReport &BR, in handleAssignOp()
793 C.getNoteTag([ThisRegion, OtherSmartPtrRegion, IsArgValNull]( in updateMovedSmartPointers()
817 C.addTransition(State, C.getNoteTag([OtherSmartPtrRegion, in updateMovedSmartPointers()
887 C.addTransition(NullState, C.getNoteTag( in handleBoolConversion()
900 C.getNoteTag( in handleBoolConversion()
H A DReturnValueChecker.cpp102 const NoteTag *CallTag = C.getNoteTag( in checkPostCall()
149 const NoteTag *CallTag = C.getNoteTag( in checkEndFunction()
H A DStringChecker.cpp86 C.addTransition(NotNull, Null ? C.getNoteTag(Callback) : nullptr); in checkPreCall()
H A DDebugContainerModeling.cpp101 C.getNoteTag( in analyzerContainerDataField()
H A DMIGChecker.cpp215 C.getNoteTag([this, PVD](PathSensitiveBugReport &BR) -> std::string { in checkPostCall()
H A DErrnoModeling.cpp268 return C.getNoteTag([Message](PathSensitiveBugReport &BR) -> std::string { in getErrnoNoteTag()
H A DStreamChecker.cpp398 return C.getNoteTag(NoteFn{&BT_ResourceLeak, StreamSym, Message}); in constructNoteTag()
403 return C.getNoteTag([this, StreamSym](PathSensitiveBugReport &BR) { in constructSetEofNoteTag()
H A DFuchsiaHandleChecker.cpp484 T = C.getNoteTag([this, Notes{std::move(Notes)}]( in checkPostCall()
H A DContainerModeling.cpp709 return C.getNoteTag( in getChangeTag()
H A DStdLibraryFunctionsChecker.cpp1029 const NoteTag *Tag = C.getNoteTag( in checkPostCall()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DBugReportInterestingnessTest.cpp67 C.addTransition(nullptr, C.getNoteTag([Sym](PathSensitiveBugReport &BR) { in handleInteresting()
77 C.addTransition(nullptr, C.getNoteTag([Sym](PathSensitiveBugReport &BR) { in handleNotInteresting()
87 C.addTransition(nullptr, C.getNoteTag([Sym](PathSensitiveBugReport &BR) { in handleCheck()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp103 C.getNoteTag([SymbolicEnvPtrRegion, FunctionName]( in REGISTER_SET_WITH_PROGRAMSTATE()
125 Note = C.getNoteTag([PrevReg, FD](PathSensitiveBugReport &BR, in postPreviousReturnInvalidatingCall()
153 C.getNoteTag([MR](PathSensitiveBugReport &BR, llvm::raw_ostream &Out) { in postPreviousReturnInvalidatingCall()