|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
69 BT.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp 33 mutable std::unique_ptr<BuiltinBug> BT;
239 BT.reset(new BuiltinBug(this, "Out-of-bound access"));
tools/clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp 25 mutable std::unique_ptr<BuiltinBug> BT;
36 BT.reset(new BuiltinBug(this, "Assignment of a non-Boolean value"));
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 585 BT_Null.reset(new BuiltinBug(
589 BuiltinBug *BT = static_cast<BuiltinBug *>(BT_Null.get());
603 BT_Bounds.reset(new BuiltinBug(
609 BuiltinBug *BT = static_cast<BuiltinBug *>(BT_Bounds.get());
625 BT_NotCString.reset(new BuiltinBug(
642 new BuiltinBug(Filter.CheckNameCStringOutOfBounds, "API",
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp 82 BT.reset(new BuiltinBug(this, desc));
324 BT_call_undef.reset(new BuiltinBug(
335 BT_call_null.reset(new BuiltinBug(
355 new BuiltinBug(this, "Uninitialized argument value"));
379 new BuiltinBug(this, "Called C++ object pointer is uninitialized"));
391 new BuiltinBug(this, "Called C++ object pointer is null"));
465 BT_msg_undef.reset(new BuiltinBug(this,
472 BT_objc_prop_undef.reset(new BuiltinBug(
478 BT_objc_subscript_undef.reset(new BuiltinBug(
509 new BuiltinBug(this, "Receiver in message expression is 'nil'"));
tools/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp 25 mutable std::unique_ptr<BuiltinBug> BT;
132 BT.reset(new BuiltinBug(this, "Cast region with wrong size.",
tools/clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp 43 mutable std::unique_ptr<BuiltinBug> BT_BreakJail;
127 BT_BreakJail.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp 45 mutable std::unique_ptr<BuiltinBug> BT;
121 new BuiltinBug(this, "Conversion", "Possible loss of sign/precision."));
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp 328 BuiltinBug BT_stmtLoc{this, "Statement"};
tools/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp 33 mutable std::unique_ptr<BuiltinBug> BT_null;
34 mutable std::unique_ptr<BuiltinBug> BT_undef;
129 BT_null.reset(new BuiltinBug(this, "Dereference of null pointer"));
201 new BuiltinBug(this, "Dereference of undefined pointer value"));
tools/clang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
48 BT.reset(new BuiltinBug(this, "Division by zero"));
tools/clang/lib/StaticAnalyzer/Checkers/EnumCastOutOfRangeChecker.cpp 60 mutable std::unique_ptr<BuiltinBug> EnumValueCastOutOfRange;
83 new BuiltinBug(this, "Enum cast out of range",
tools/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
54 new BuiltinBug(this, "Use fixed address",
tools/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp 211 BTNullRefArg.reset(new BuiltinBug(this, "Dereference of null pointer"));
tools/clang/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp 28 mutable std::unique_ptr<BuiltinBug> BT_null;
29 mutable std::unique_ptr<BuiltinBug> BT_undef;
47 BT_undef.reset(new BuiltinBug(this, "Uninitialized value used as mutex "
70 BT_null.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp 58 mutable std::unique_ptr<BuiltinBug> BT_pointerArith;
59 mutable std::unique_ptr<BuiltinBug> BT_polyArray;
172 BT_polyArray.reset(new BuiltinBug(
195 BT_pointerArith.reset(new BuiltinBug(this, "Dangerous pointer arithmetic",
tools/clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
63 new BuiltinBug(this, "Pointer subtraction",
tools/clang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
72 BT.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT_Undef;
28 mutable std::unique_ptr<BuiltinBug> BT_NullReference;
80 static void emitBug(CheckerContext &C, BuiltinBug &BT, const Expr *RetE,
98 new BuiltinBug(this, "Garbage return value",
116 BT_NullReference.reset(new BuiltinBug(this, "Returning null reference"));
tools/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp 33 mutable std::unique_ptr<BuiltinBug> BT_stackleak;
34 mutable std::unique_ptr<BuiltinBug> BT_returnstack;
35 mutable std::unique_ptr<BuiltinBug> BT_capturedstackasync;
36 mutable std::unique_ptr<BuiltinBug> BT_capturedstackret;
158 BT_returnstack = std::make_unique<BuiltinBug>(
197 BT_capturedstackasync = std::make_unique<BuiltinBug>(
220 BT_capturedstackret = std::make_unique<BuiltinBug>(
335 BT_stackleak = std::make_unique<BuiltinBug>(
tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp 64 mutable std::unique_ptr<BuiltinBug> BT_nullfp, BT_illegalwhence,
277 new BuiltinBug(this, "Illegal whence argument",
346 BT_nullfp.reset(new BuiltinBug(this, "NULL stream pointer",
375 BT_doubleclose.reset(new BuiltinBug(
406 new BuiltinBug(this, "Resource Leak",
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp 80 mutable std::unique_ptr<BuiltinBug> DivZeroBug;
168 DivZeroBug.reset(new BuiltinBug(this, "Division by zero"));
tools/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp 27 mutable std::unique_ptr<BuiltinBug> BT;
68 BT.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp 77 new BuiltinBug(this, "uninitialized variable captured by block"));
tools/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp 94 new BuiltinBug(this, "Result of operation is garbage or undefined"));
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp 52 BT.reset(new BuiltinBug(this, "Array subscript is undefined"));
tools/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp 56 BT.reset(new BuiltinBug(this, DefaultMsg));
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 41 std::unique_ptr<BuiltinBug> BT_uninitField;
48 : BT_uninitField(new BuiltinBug(this, "Uninitialized fields")) {}
tools/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp 54 BT.reset(new BuiltinBug(
tools/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp 46 mutable std::unique_ptr<BuiltinBug> BT;
124 BT.reset(new BuiltinBug(this,
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
83 constexpr _Tp&&
usr/include/c++/7.4.0/bits/unique_ptr.h 68 default_delete(const default_delete<_Up>&) noexcept { }
72 operator()(_Tp* __ptr) const
74 static_assert(!is_void<_Tp>::value,
76 static_assert(sizeof(_Tp)>0,
122 using type = _Up*;
137 using pointer = typename _Ptr<_Tp, _Dp>::type;
161 typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
163 __uniq_ptr_impl<_Tp, _Dp> _M_t;
166 using pointer = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
167 using element_type = _Tp;
252 unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
297 __safe_conversion_up<_Up, _Ep>,
301 operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
811 { typedef unique_ptr<_Tp> __single_object; };
823 inline typename _MakeUniq<_Tp>::__single_object
824 make_unique(_Args&&... __args)
825 { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_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
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1633 { typedef _Tp type; };
1645 { typedef _Tp& type; };
1650 : public __add_lvalue_reference_helper<_Tp>