Home
last modified time | relevance | path

Searched refs:boost (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/boost/
H A Duse-to-string.cpp12 namespace boost { namespace
36 boost::lexical_cast<int>("12"); in test_to_string1()
51 fun(boost::lexical_cast<std::string>(a)); in test_to_string2()
54 fun(boost::lexical_cast<std::string>(b)); in test_to_string2()
57 fun(boost::lexical_cast<std::string>(c)); in test_to_string2()
60 fun(boost::lexical_cast<std::string>(d)); in test_to_string2()
63 fun(boost::lexical_cast<std::string>(e)); in test_to_string2()
66 fun(boost::lexical_cast<std::string>(f)); in test_to_string2()
125 boost::lexical_cast<std::string>(42); in string_as_T()
129 boost::lexical_cast<T>(42); in string_as_T()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/
H A D2010-03-22-empty-baseclass.ll6 %"struct.boost::compressed_pair<empty_t,int>" = type { %"struct.boost::details::compressed_pair_imp…
22 …%x = alloca %"struct.boost::compressed_pair<empty_t,int>" ; <%"struct.boost::compressed_pair<empty…
89boost::details::compressed_pair_imp<empty_t,int,1>"*, %"struct.boost::details::compressed_pair_imp…
103 …%this_addr = alloca %"struct.boost::compressed_pair<empty_t,int>"*, align 8 ; <%"struct.boost::com…
107 …store %"struct.boost::compressed_pair<empty_t,int>"* %this, %"struct.boost::compressed_pair<empty_…
108 …load %"struct.boost::compressed_pair<empty_t,int>"*, %"struct.boost::compressed_pair<empty_t,int>"…
109 …nbounds %"struct.boost::compressed_pair<empty_t,int>", %"struct.boost::compressed_pair<empty_t,int…
142 …%this_addr = alloca %"struct.boost::compressed_pair<empty_t,int>"*, align 8 ; <%"struct.boost::com…
146 …store %"struct.boost::compressed_pair<empty_t,int>"* %this, %"struct.boost::compressed_pair<empty_…
147 …load %"struct.boost::compressed_pair<empty_t,int>"*, %"struct.boost::compressed_pair<empty_t,int>"…
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/boost/
H A Duse-to-string.rst1 .. title:: clang-tidy - boost-use-to-string
3 boost-use-to-string
7 ``std::wstring`` using ``boost::lexical_cast``, and replace it with calls to
16 auto str = boost::lexical_cast<std::string>(42);
17 auto wstr = boost::lexical_cast<std::wstring>(2137LL);
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Davoid-bind.cpp16 namespace boost { namespace
163 auto FFF = boost::bind(UseF, f); in testCaptureByValue()
167 auto GGG = boost::bind(UseF, MemberStruct); in testCaptureByValue()
205 auto DDD = boost::bind(add, boost::ref(x), boost::ref(y)); in testCaptureByReference()
209 auto EEE = boost::bind(add, boost::ref(x), y); in testCaptureByReference()
213 auto FFF = boost::bind(add, y, boost::ref(x)); in testCaptureByReference()
H A Duse-nodiscard.cpp10 namespace boost { namespace
143 bool f45(const boost::function<bool()> &predicate) const;
145 bool f45a(boost::function<bool()> predicate) const;
147 bool f45b(const boost::function<bool()> predicate) const;
/llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/
H A Dfull-unroll-heuristics.ll20 …-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
21 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=200 | FileCheck %s…
22 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
24 …-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
25 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=200 | FileCheck %s…
26 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
29 …-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
30 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=200 | FileCheck %s…
31 …-count-to-analyze=1000 -unroll-threshold=20 -unroll-max-percent-threshold-boost=100 | FileCheck %s…
39 ; If we do not boost threshold, the unroll will not happen:
H A Dpartial-unroll-const-bounds.ll1 …tial -unroll-runtime -unroll-allow-remainder -unroll-max-percent-threshold-boost=100 | FileCheck %s
2 …tial -unroll-runtime -unroll-allow-remainder -unroll-max-percent-threshold-boost=100 | FileCheck %s
5 …ial -unroll-runtime -unroll-allow-remainder -unroll-max-percent-threshold-boost=100 | FileCheck %s…
H A Dfull-unroll-heuristics-phi-prop.ll1 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
2 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
H A Dfull-unroll-heuristics-geps.ll1 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
2 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
H A Dfull-unroll-heuristics-dce.ll1 …on-count-to-analyze=100 -unroll-threshold=12 -unroll-max-percent-threshold-boost=400 | FileCheck %s
2 …on-count-to-analyze=100 -unroll-threshold=12 -unroll-max-percent-threshold-boost=400 | FileCheck %s
H A Dfull-unroll-heuristics-cmp.ll1 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
2 …on-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
H A Dfull-unroll-heuristics-2.ll1 …n-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
2 …n-count-to-analyze=1000 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx11-crashes.cpp15 namespace boost {namespace filesystem3 { namespace
22 namespace boost namespace
31 namespace fs = boost::filesystem; in radar11487541()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Doverload-candidates.cpp46 namespace boost { namespace
50 template<typename T> typename boost::enable_if<sizeof(T) == 4, int>::type if_size_4(); // expected-…
54 template<typename Cond, typename T = void> struct enable_if : boost::enable_if<Cond::value, T> {};
64 …typename boost::enable_if<sizeof(T) == 4, int>::type f(); // expected-error{{failed requirement 's…
/llvm-project-15.0.7/clang-tools-extra/clangd/quality/
H A DREADME.md74 "operation": "boost",
141 "operation": "boost",
145 "operation": "boost",
157 "operation": "boost",
161 "operation": "boost",
174 "operation": "boost",
178 "operation": "boost",
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dsigned-char-misuse-with-option.cpp53 namespace boost { namespace
69 int DereferenceWithTypdef(boost::optional<sal_Int8> param) { in DereferenceWithTypdef()
/llvm-project-15.0.7/clang/test/PCH/Inputs/
H A Dtypo.hpp1 namespace boost { namespace
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/boost/
H A DBoostTidyModule.cpp17 namespace boost { namespace
H A DUseToStringCheck.h16 namespace boost {
H A DUseToStringCheck.cpp15 namespace boost { namespace
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dfast-isel-icmp-split.ll5 …0.151" = type { %"class.std::__1::__tree_node_base.base.128.149", %"class.boost::serialization::ex…
9 %"class.boost::serialization::extended_type_info.129.150" = type { i32 (...)**, i32, i8* }
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/boost/
H A DBUILD.gn1 static_library("boost") {
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Davoid-bind.rst6 The check finds uses of ``std::bind`` and ``boost::bind`` and replaces them
8 explicitly requested with ``std::ref`` or ``boost::ref``.
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DDexTests.cpp218 C.intersect(L0.iterator(), C.boost(L1.iterator(), 2U)), in TEST()
220 C.unionOf(C.boost(L2.iterator(), 3U), C.boost(L3.iterator(), 4U))); in TEST()
289 auto BoostIterator = C.boost(C.all(), 42U); in TEST()
296 auto Root = C.unionOf(C.all(), C.boost(L0.iterator(), 2U), in TEST()
297 C.boost(L1.iterator(), 3U)); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/dex/
H A DDex.cpp186 BoostingIterators.push_back(Corpus.boost( in createFileProximityIterator()
203 Corpus.boost(iterator(Token(Token::Kind::Type, T)), Boost)); in createTypeBoostingIterator()
237 Corpus.boost(Corpus.all(), ScopeIterators.empty() ? 1.0 : 0.2)); in fuzzyFind()

12