|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/FoldingSet.h 221 static void Profile(const T &X, FoldingSetNodeID &ID) {
224 static void Profile(T &X, FoldingSetNodeID &ID) {
232 static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
240 static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
250 : public DefaultFoldingSetTrait<T> {};
329 inline void Add(const T &x) { FoldingSetTrait<T>::Profile(x, *this); }
329 inline void Add(const T &x) { FoldingSetTrait<T>::Profile(x, *this); }
include/llvm/ADT/SmallVector.h 75 AlignedCharArrayUnion<T> FirstEl;
114 using value_type = T;
115 using iterator = T *;
116 using const_iterator = const T *;
121 using reference = T &;
122 using const_reference = const T &;
123 using pointer = T *;
124 using const_pointer = const T *;
259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
264 static void destroy_range(T *, T *) {}
264 static void destroy_range(T *, T *) {}
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
302 void push_back(const T &Elt) {
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
316 using SuperClass = SmallVectorTemplateBase<T>;
357 void resize(size_type N, const T &NV) {
374 LLVM_NODISCARD T pop_back_val() {
397 void append(size_type NumInputs, const T &Elt) {
405 void append(std::initializer_list<T> IL) {
412 void assign(size_type NumElts, const T &Elt) {
429 void assign(std::initializer_list<T> IL) {
467 iterator insert(iterator I, T &&Elt) {
497 iterator insert(iterator I, const T &Elt) {
526 iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
637 void insert(iterator I, std::initializer_list<T> IL) {
820 AlignedCharArrayUnion<T> InlineElts[N];
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
846 explicit SmallVector(size_t Size, const T &Value = T())
865 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
884 SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/Support/AlignOf.h 30 T t;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
tools/clang/include/clang/Analysis/PathDiagnostic.h 210 static PathDiagnosticLocation create(const Decl *D,
216 static PathDiagnosticLocation createBegin(const Decl *D,
222 static PathDiagnosticLocation
229 static PathDiagnosticLocation createBegin(const Stmt *S,
237 static PathDiagnosticLocation createEnd(const Stmt *S,
243 static PathDiagnosticLocation createOperatorLoc(const BinaryOperator *BO,
245 static PathDiagnosticLocation createConditionalColonLoc(
251 static PathDiagnosticLocation createMemberLoc(const MemberExpr *ME,
256 static PathDiagnosticLocation createBeginBrace(const CompoundStmt *CS,
261 static PathDiagnosticLocation createEndBrace(const CompoundStmt *CS,
266 static PathDiagnosticLocation createDeclBegin(const LocationContext *LC,
271 static PathDiagnosticLocation createDeclEnd(const LocationContext *LC,
275 static PathDiagnosticLocation create(const ProgramPoint &P,
279 static PathDiagnosticLocation createSingleLocation(
280 const PathDiagnosticLocation &PDL);
289 bool operator==(const PathDiagnosticLocation &X) const {
293 bool operator!=(const PathDiagnosticLocation &X) const {
337 PathDiagnosticLocation Start, End;
340 PathDiagnosticLocationPair(const PathDiagnosticLocation &start,
341 const PathDiagnosticLocation &end)
344 const PathDiagnosticLocation &getStart() const { return Start; }
345 const PathDiagnosticLocation &getEnd() const { return End; }
347 void setStart(const PathDiagnosticLocation &L) { Start = L; }
348 void setEnd(const PathDiagnosticLocation &L) { End = L; }
414 virtual PathDiagnosticLocation getLocation() const = 0;
472 PathDiagnosticLocation Pos;
475 PathDiagnosticSpotPiece(const PathDiagnosticLocation &pos,
485 PathDiagnosticLocation getLocation() const override { return Pos; }
500 PathDiagnosticEventPiece(const PathDiagnosticLocation &pos,
543 const PathDiagnosticLocation &callReturnPos)
551 PathDiagnosticLocation callEnter;
552 PathDiagnosticLocation callEnterWithin;
553 PathDiagnosticLocation callReturn;
566 PathDiagnosticLocation getLocation() const override { return callEnter; }
600 PathDiagnosticControlFlowPiece(const PathDiagnosticLocation &startPos,
601 const PathDiagnosticLocation &endPos,
607 PathDiagnosticControlFlowPiece(const PathDiagnosticLocation &startPos,
608 const PathDiagnosticLocation &endPos)
615 PathDiagnosticLocation getStartLocation() const {
621 PathDiagnosticLocation getEndLocation() const {
627 void setStartLocation(const PathDiagnosticLocation &L) {
631 void setEndLocation(const PathDiagnosticLocation &L) {
637 PathDiagnosticLocation getLocation() const override {
668 PathDiagnosticMacroPiece(const PathDiagnosticLocation &pos)
691 PathDiagnosticNotePiece(const PathDiagnosticLocation &Pos, StringRef S,
707 PathDiagnosticPopUpPiece(const PathDiagnosticLocation &Pos, StringRef S,
737 PathDiagnosticLocation Loc;
744 PathDiagnosticLocation UniqueingLoc;
754 StringRef category, PathDiagnosticLocation LocationToUnique,
828 PathDiagnosticLocation getLocation() const {
832 void setLocation(PathDiagnosticLocation NewLoc) {
837 PathDiagnosticLocation getUniqueingLoc() const {
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h 173 virtual PathDiagnosticLocation getLocation() const = 0;
189 virtual PathDiagnosticLocation getUniqueingLocation() const = 0;
201 void addNote(StringRef Msg, const PathDiagnosticLocation &Pos,
252 PathDiagnosticLocation Location;
256 BasicBugReport(const BugType &bt, StringRef desc, PathDiagnosticLocation l)
263 PathDiagnosticLocation getLocation() const override {
272 PathDiagnosticLocation getUniqueingLocation() const override {
355 PathDiagnosticLocation UniqueingLocation;
391 PathDiagnosticLocation LocationToUnique,
413 PathDiagnosticLocation getUniqueingLocation() const override {
426 PathDiagnosticLocation getLocation() const override;
620 StringRef BugStr, PathDiagnosticLocation Loc,
626 StringRef BugStr, PathDiagnosticLocation Loc,
tools/clang/lib/Analysis/PathDiagnostic.cpp 122 PathDiagnosticLocation LocationToUnique, const Decl *DeclToUnique,
506 static PathDiagnosticLocation
526 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
537 return PathDiagnosticLocation::createEnd(CallerBody, SM, CallerCtx);
538 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM);
549 return PathDiagnosticLocation::createEnd(Dtor.getBindTemporaryExpr(), SM,
563 PathDiagnosticLocation
569 PathDiagnosticLocation
577 PathDiagnosticLocation
587 PathDiagnosticLocation
593 PathDiagnosticLocation
600 PathDiagnosticLocation
614 PathDiagnosticLocation
621 PathDiagnosticLocation
628 PathDiagnosticLocation
641 PathDiagnosticLocation
648 PathDiagnosticLocation
657 return PathDiagnosticLocation::createBegin(
668 return PathDiagnosticLocation::createBegin(
675 return PathDiagnosticLocation::createEnd(S, SMng, P.getLocationContext());
693 return PathDiagnosticLocation::createBegin(RS, SMng,
720 PathDiagnosticLocation PathDiagnosticLocation::createSingleLocation(
721 const PathDiagnosticLocation &PDL) {
834 PathDiagnosticLocation pos = getLocationForCaller(CE.getCalleeContext(),
857 callEnterWithin = PathDiagnosticLocation::createBegin(Callee, SM);
tools/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp 134 PathDiagnosticLocation::createBegin(CS->getStmt(), SM, LC));
tools/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp 222 PathDiagnosticLocation Loc =
223 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
247 PathDiagnosticLocation Loc =
248 PathDiagnosticLocation::createBegin(LenArg, BR.getSourceManager(), AC);
tools/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp 64 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC);
96 PathDiagnosticLocation Loc(CE, BR.getSourceManager(), AC);
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp 241 PathDiagnosticLocation DLoc =
242 PathDiagnosticLocation::createBegin(D, BR.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp 68 PathDiagnosticLocation MethDLoc =
69 PathDiagnosticLocation::createBegin(MethDerived,
tools/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp 317 PathDiagnosticLocation FSLoc =
318 PathDiagnosticLocation::createBegin(FS, BR.getSourceManager(), AC);
357 PathDiagnosticLocation CELoc =
358 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
399 PathDiagnosticLocation CELoc =
400 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
440 PathDiagnosticLocation CELoc =
441 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
478 PathDiagnosticLocation CELoc =
479 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
518 PathDiagnosticLocation CELoc =
519 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
559 PathDiagnosticLocation CELoc =
560 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
631 PathDiagnosticLocation CELoc =
632 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
678 PathDiagnosticLocation CELoc =
679 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
706 PathDiagnosticLocation CELoc =
707 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
794 PathDiagnosticLocation CELoc =
795 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
868 PathDiagnosticLocation CELoc =
869 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
893 PathDiagnosticLocation CELoc =
894 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
913 PathDiagnosticLocation CELoc =
914 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
984 PathDiagnosticLocation CELoc =
985 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
tools/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp 64 PathDiagnosticLocation ELoc =
65 PathDiagnosticLocation::createBegin(E, BR.getSourceManager(), AC);
tools/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp 99 static PathDiagnosticLocation makeLocation(const StmtSequence &S,
102 return PathDiagnosticLocation::createBegin(
176 PathDiagnosticLocation::createBegin(Pair.FirstCloneInfo.Mention, SM,
182 PathDiagnosticLocation::createBegin(Pair.SecondCloneInfo.Mention,
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp 195 PathDiagnosticLocation L, SourceRange R) {
282 PathDiagnosticLocation ExLoc =
283 PathDiagnosticLocation::createBegin(Ex, BR.getSourceManager(), AC);
439 PathDiagnosticLocation Loc =
440 PathDiagnosticLocation::create(V, BR.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp 141 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp 140 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp 973 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp 201 PathDiagnosticLocation::createBegin(SW, BR.getSourceManager(), ADC),
tools/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp 69 PathDiagnosticLocation ELoc =
70 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC);
142 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC);
171 PathDiagnosticLocation ELoc =
172 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC);
254 PathDiagnosticLocation ELoc =
255 PathDiagnosticLocation::createOperatorLoc(B, BR.getSourceManager());
278 PathDiagnosticLocation ELoc =
279 PathDiagnosticLocation::createConditionalColonLoc(
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp 300 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp 543 PathDiagnosticLocation IvarDecLocation =
544 PathDiagnosticLocation::createBegin(FirstIvarDecl, BR.getSourceManager());
560 PathDiagnosticLocation MethodDecLocation =
561 PathDiagnosticLocation::createEnd(MethodD->getBody(),
573 PathDiagnosticLocation::createBegin(IvarD, BR.getSourceManager()));
tools/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp 181 PathDiagnosticLocation VDLoc =
182 PathDiagnosticLocation::createBegin(VD, BR.getSourceManager());
285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(
285 PathDiagnosticLocation L = PathDiagnosticLocation::createBegin(
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 1021 PathDiagnosticLocation L =
1022 PathDiagnosticLocation::create(*Point, BRC.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp 106 PathDiagnosticLocation L =
107 PathDiagnosticLocation::create(P, BRC.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp 485 PathDiagnosticLocation LocUsedForUniqueing;
490 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocStmt,
644 PathDiagnosticLocation Pos(ArgExpr, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 762 PathDiagnosticLocation L = BR.getLocation();
2589 PathDiagnosticLocation LocUsedForUniqueing;
2596 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(AllocationStmt,
3338 PathDiagnosticLocation Pos;
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp 289 PathDiagnosticLocation::createOperatorLoc(i->mulop,
tools/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp 236 PathDiagnosticLocation L =
237 PathDiagnosticLocation::createBegin(i->AllocCall->getCallee(),
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp 327 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
401 PathDiagnosticLocation LocUsedForUniqueing;
405 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(
tools/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp 74 PathDiagnosticLocation L =
75 PathDiagnosticLocation::create(D, BR.getSourceManager());
121 PathDiagnosticLocation L =
122 PathDiagnosticLocation::create(D, BR.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp 324 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp 191 PathDiagnosticLocation::createBegin(Obj, BR.getSourceManager(), ADC),
tools/clang/lib/StaticAnalyzer/Checkers/OSObjectCStyleCast.cpp 54 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), ADC),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp 130 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
130 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
tools/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp 142 PathDiagnosticLocation CELoc =
143 PathDiagnosticLocation::createBegin(CE, BR.getSourceManager(), AC);
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp 195 PathDiagnosticLocation DLoc =
196 PathDiagnosticLocation::createEnd(MD->getBody(),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp 74 PathDiagnosticLocation::createBegin(D, BR.getSourceManager()),
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp 266 PathDiagnosticLocation L =
267 PathDiagnosticLocation::create(P, BRC.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp 163 PathDiagnosticLocation L =
164 PathDiagnosticLocation::create(I->first, BR.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp 336 PathDiagnosticLocation CELoc =
337 PathDiagnosticLocation::create(RD, BR->getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/PointerIterationChecker.cpp 44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
tools/clang/lib/StaticAnalyzer/Checkers/PointerSortingChecker.cpp 44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
44 auto Location = PathDiagnosticLocation::createBegin(MarkedStmt,
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp 416 PathDiagnosticLocation L = PathDiagnosticLocation::create(CallExitLoc, SM);
416 PathDiagnosticLocation L = PathDiagnosticLocation::create(CallExitLoc, SM);
437 PathDiagnosticLocation L = PathDiagnosticLocation(PVD, SM);
496 auto Pos = PathDiagnosticLocation::create(N->getLocation(), SM);
496 auto Pos = PathDiagnosticLocation::create(N->getLocation(), SM);
538 PathDiagnosticLocation Pos(S, SM, N->getLocationContext());
590 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
741 PathDiagnosticLocation L = cast<RefLeakReport>(BR).getEndOfPath();
837 PathDiagnosticLocation ParamLocation =
838 PathDiagnosticLocation::create(PDecl, SMgr);
878 PathDiagnosticLocation AllocLocation =
879 PathDiagnosticLocation::createBegin(AllocStmt, SMgr,
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h 80 PathDiagnosticLocation Location;
93 PathDiagnosticLocation getLocation() const override {
98 PathDiagnosticLocation getEndOfPath() const {
tools/clang/lib/StaticAnalyzer/Checkers/RunLoopAutoreleaseLeakChecker.cpp 112 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
112 PathDiagnosticLocation Location = PathDiagnosticLocation::createBegin(
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp 221 PathDiagnosticLocation L =
222 PathDiagnosticLocation::createBegin(S, BRC.getSourceManager(), NCtx);
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 121 PathDiagnosticLocation L =
122 PathDiagnosticLocation::create(P, BRC.getSourceManager());
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 179 PathDiagnosticLocation LocUsedForUniqueing;
182 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(
210 PathDiagnosticLocation::create(Pair.first->getDecl(),
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp 147 PathDiagnosticLocation DL;
159 DL = PathDiagnosticLocation::createBegin(S, B.getSourceManager(), LC);
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp 86 PathDiagnosticLocation L = BR.getLocation();
285 PathDiagnosticLocation LocUsedForUniqueing;
288 LocUsedForUniqueing = PathDiagnosticLocation::createBegin(
398 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp 245 PathDiagnosticLocation &PrevLoc) const;
252 PathDiagnosticLocation &Start) const;
256 PathDiagnosticLocation &Start) const;
262 PathDiagnosticLocation
265 PathDiagnosticLocation
491 PathDiagnosticLocation *LastCallLocation = nullptr) {
508 PathDiagnosticLocation *ThisCallLocation;
574 PathDiagnosticLocation PathDiagnosticBuilder::ExecutionContinues(
580 return PathDiagnosticLocation::createDeclEnd(C.getCurrLocationContext(),
584 PathDiagnosticLocation PathDiagnosticBuilder::ExecutionContinues(
590 const PathDiagnosticLocation &Loc = ExecutionContinues(C);
635 static PathDiagnosticLocation
739 PathDiagnosticLocation &Start) const {
745 PathDiagnosticLocation End;
797 PathDiagnosticLocation &Start) const {
800 const PathDiagnosticLocation &End =
816 PathDiagnosticLocation Start, End;
826 PathDiagnosticLocation::createOperatorLoc(B, SM);
847 PathDiagnosticLocation::createOperatorLoc(B, SM);
864 auto Start = PathDiagnosticLocation::createBegin(T, SM, LC);
864 auto Start = PathDiagnosticLocation::createBegin(T, SM, LC);
885 PathDiagnosticLocation End = ExecutionContinues(os, C);
903 PathDiagnosticLocation End = ExecutionContinues(C);
928 PathDiagnosticLocation End = ExecutionContinues(os, C);
937 PathDiagnosticLocation End = ExecutionContinues(C);
955 PathDiagnosticLocation End = ExecutionContinues(os, C);
963 PathDiagnosticLocation End = ExecutionContinues(C);
975 PathDiagnosticLocation End = ExecutionContinues(C);
1076 PathDiagnosticLocation &PrevLoc,
1077 PathDiagnosticLocation NewLoc) {
1120 PathDiagnosticConstruct &C, PathDiagnosticLocation &PrevLoc) const {
1142 PathDiagnosticLocation::createBegin(D, SM));
1225 PathDiagnosticLocation L =
1239 PathDiagnosticLocation L(Loop, SM, C.getCurrLocationContext());
1263 PathDiagnosticLocation::createEndBrace(CS, SM));
1295 PathDiagnosticLocation L(TermCond ? TermCond : Term, SM,
1304 PathDiagnosticLocation L(Term, SM, C.getCurrLocationContext());
1420 PathDiagnosticLocation SrcLoc = Piece->getStartLocation();
1421 SmallVector<PathDiagnosticLocation, 4> SrcContexts;
1423 PathDiagnosticLocation NextSrcContext = SrcLoc;
1440 PathDiagnosticLocation DstContext =
1943 PathDiagnosticLocation EntryLoc =
1944 PathDiagnosticLocation::createBegin(D, C.getSourceManager());
2013 PathDiagnosticLocation PrevLoc = Construct.PD->getLocation();
2048 PathDiagnosticLocation::createBegin(D, SM));
2156 PathDiagnosticLocation UL = getUniqueingLocation();
2337 PathDiagnosticLocation
2352 return PathDiagnosticLocation::createBegin(RS, SM, LC);
2360 return PathDiagnosticLocation::createMemberLoc(ME, SM);
2364 return PathDiagnosticLocation::createOperatorLoc(B, SM);
2367 return PathDiagnosticLocation::createEnd(S, SM, LC);
2373 PathDiagnosticLocation::getValidSourceLocation(S, LC), SM);
2376 return PathDiagnosticLocation::createDeclEnd(ErrorNode->getLocationContext(),
2667 PathDiagnosticLocation::createSingleLocation(piece->getLocation()));
3005 PathDiagnosticLocation L = report->getLocation();
3236 PathDiagnosticLocation Loc,
3246 StringRef str, PathDiagnosticLocation Loc,
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp 311 PathDiagnosticLocation L = BR.getLocation();
684 PathDiagnosticLocation L =
685 PathDiagnosticLocation::create(N->getLocation(), SM);
1111 PathDiagnosticLocation L(Ret, BRC.getSourceManager(), CalleeSFC);
1509 PathDiagnosticLocation L;
1515 L = PathDiagnosticLocation::create(P, BRC.getSourceManager());
1585 PathDiagnosticLocation L =
1586 PathDiagnosticLocation::create(P, BRC.getSourceManager());
1748 PathDiagnosticLocation::createBegin(
2126 PathDiagnosticLocation L(Receiver, BRC.getSourceManager(),
2309 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx);
2501 PathDiagnosticLocation Loc;
2517 PathDiagnosticLocation Loc(Cond, SM, LCtx);
2538 PathDiagnosticLocation Loc(CondVarExpr, BRC.getSourceManager(), LCtx);
2574 PathDiagnosticLocation Loc(DRE, BRC.getSourceManager(), LCtx);
2578 PathDiagnosticLocation Loc(Cond, BRC.getSourceManager(), LCtx);
2601 PathDiagnosticLocation Loc;
2900 PathDiagnosticLocation Loc =
2901 PathDiagnosticLocation::create(PP, BRC.getSourceManager());
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp 540 PathDiagnosticLocation UPDLoc = D.getUniqueingLoc();
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp 686 PathDiagnosticLocation UPDLoc = D->getUniqueingLoc();
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 221 const PathDiagnosticLocation &P = Piece->getLocation();
usr/include/c++/7.4.0/bits/alloc_traits.h 474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
475 { __a.construct(__p, std::forward<_Args>(__args)...); }
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/bits/shared_ptr.h 202 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
343 _Args&&... __args)
344 : __shared_ptr<_Tp>(__tag, __a, std::forward<_Args>(__args)...)
688 allocate_shared(const _Alloc& __a, _Args&&... __args)
691 std::forward<_Args>(__args)...);
703 make_shared(_Args&&... __args)
707 std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/shared_ptr_base.h 1111 __shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a)
1317 _Args&&... __args)
1328 std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/bits/stl_algo.h 3900 const _Tp& __val)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
usr/include/c++/7.4.0/bits/unique_ptr.h 824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/ext/new_allocator.h 135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
567 : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
631 : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
798 typedef decltype(__test<_Tp>(0)) type;
811 remove_all_extents<_Tp>::type>::type
825 : public __is_destructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1955 { typedef _Tp type; };