/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | CallbacksLeaf.cpp | 17 bool TraverseIntegerLiteral(IntegerLiteral *IL) { in TEST() argument 18 recordCallback(__func__, IL, [&]() { in TEST() 19 RecordingVisitorBase::TraverseIntegerLiteral(IL); in TEST() 87 bool TraverseIntegerLiteral(IntegerLiteral *IL) { in TEST() argument 88 recordCallback(__func__, IL, [&]() { in TEST() 89 RecordingVisitorBase::TraverseIntegerLiteral(IL); in TEST() 106 bool WalkUpFromIntegerLiteral(IntegerLiteral *IL) { in TEST() argument 107 recordCallback(__func__, IL, [&]() { in TEST() 108 RecordingVisitorBase::WalkUpFromIntegerLiteral(IL); in TEST() 210 bool WalkUpFromIntegerLiteral(IntegerLiteral *IL) { in TEST() argument [all …]
|
D | IntegerLiteral.cpp | 19 bool VisitIntegerLiteral(const IntegerLiteral *IL) { in VisitIntegerLiteral() argument 20 Match("literal", IL->getLocation()); in VisitIntegerLiteral()
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | in_place_type_init_list_args.pass.cpp | 47 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 51 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae() 53 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae() 58 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae() 62 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae() 67 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae() 69 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae() 75 IL, int>::value, in test_ctor_sfinae() 78 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae() 83 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae() [all …]
|
D | in_place_index_init_list_args.pass.cpp | 47 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 50 static_assert(std::is_constructible<V, std::in_place_index_t<0>, IL>::value, in test_ctor_sfinae() 52 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae() 57 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae() 59 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae() 65 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae() 66 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae() 71 std::is_constructible<V, std::in_place_index_t<1>, IL, int>::value, ""); in test_ctor_sfinae() 72 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae() 78 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae() [all …]
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | in_place_type_init_list_args.pass.cpp | 50 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 54 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae() 56 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae() 61 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae() 65 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae() 70 !std::is_constructible<V, std::in_place_type_t<InitListArg>, IL>::value, in test_ctor_sfinae() 72 static_assert(!test_convertible<V, std::in_place_type_t<InitListArg>, IL>(), in test_ctor_sfinae() 78 IL, int>::value, in test_ctor_sfinae() 81 !test_convertible<V, std::in_place_type_t<InitListArg>, IL, int>(), ""); in test_ctor_sfinae() 86 !std::is_constructible<V, std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae() [all …]
|
D | in_place_index_init_list_args.pass.cpp | 50 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 53 static_assert(std::is_constructible<V, std::in_place_index_t<0>, IL>::value, in test_ctor_sfinae() 55 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL>(), ""); in test_ctor_sfinae() 60 !std::is_constructible<V, std::in_place_index_t<0>, IL, int>::value, in test_ctor_sfinae() 62 static_assert(!test_convertible<V, std::in_place_index_t<0>, IL, int>(), in test_ctor_sfinae() 68 !std::is_constructible<V, std::in_place_index_t<1>, IL>::value, ""); in test_ctor_sfinae() 69 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL>(), ""); in test_ctor_sfinae() 74 std::is_constructible<V, std::in_place_index_t<1>, IL, int>::value, ""); in test_ctor_sfinae() 75 static_assert(!test_convertible<V, std::in_place_index_t<1>, IL, int>(), in test_ctor_sfinae() 81 !std::is_constructible<V, std::in_place_index_t<2>, IL>::value, ""); in test_ctor_sfinae() [all …]
|
/external/llvm-project/llvm/test/Transforms/SampleProfile/ |
D | pseudo-probe-emit.ll | 3 ; RUN: FileCheck %s < %t --check-prefix=CHECK-IL 11 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 1, i32 0), !dbg ![[#FAKELINE:]] 16 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 2, i32 0), !dbg ![[#FAKELINE]] 22 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID:]], i64 3, i32 0), !dbg ![[#FAKELINE]] 28 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID]], i64 4, i32 0), !dbg ![[#REALLINE:]] 36 ; CHECK-IL: call void @llvm.pseudoprobe(i64 [[#GUID2:]], i64 1, i32 0) 39 ; CHECK-IL: call void %f(i32 1), !dbg ![[#PROBE0:]] 43 ; CHECK-IL: call void @bar(i32 1), !dbg ![[#PROBE1:]] 49 ; CHECK-IL: ![[#FOO:]] = distinct !DISubprogram(name: "foo" 50 ; CHECK-IL: ![[#FAKELINE]] = !DILocation(line: 0, scope: ![[#FOO]]) [all …]
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | modernize-use-equals-default-copy.cpp | 22 struct IL { struct 23 IL(const IL &Other) : Field(Other.Field) {} in IL() argument 26 IL &operator=(const IL &Other) { in operator =() argument 37 WT(const IL &Other) {} in WT() argument 38 WT &operator=(const IL &); 40 WT &WT::operator=(const IL &Other) { return *this; } in operator =() 55 const IL Const; // This also makes this class non-assignable. 146 struct BC : IL, OL, BF { 147 BC(const BC &Other) : IL(Other), OL(Other), BF(Other) {} in BC() 153 IL::operator=(Other); in operator =() [all …]
|
D | modernize-use-equals-default.cpp | 18 class IL { class 20 IL() {} ; // Note embedded tab on this line in IL() function in IL 23 ~IL() {} in ~IL()
|
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.mod/ |
D | emplace_index_init_list_args.pass.cpp | 64 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef 65 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor"); in test_emplace_sfinae() 66 static_assert(emplace_exists<V, 2, IL>(), ""); in test_emplace_sfinae() 68 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args"); in test_emplace_sfinae() 69 static_assert(emplace_exists<V, 3, IL, int>(), ""); in test_emplace_sfinae() 71 static_assert(!emplace_exists<V, 3, IL>(), "too few args"); in test_emplace_sfinae() 72 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args"); in test_emplace_sfinae()
|
D | emplace_type_init_list_args.pass.cpp | 64 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef 65 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae() 67 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae() 68 static_assert(emplace_exists<V, InitListArg, IL, int>(), ""); in test_emplace_sfinae() 70 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args"); in test_emplace_sfinae() 71 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(), in test_emplace_sfinae()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/ |
D | emplace_index_init_list_args.pass.cpp | 67 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef 68 static_assert(!emplace_exists<V, 1, IL>(), "no such constructor"); in test_emplace_sfinae() 69 static_assert(emplace_exists<V, 2, IL>(), ""); in test_emplace_sfinae() 71 static_assert(!emplace_exists<V, 2, IL, int>(), "too many args"); in test_emplace_sfinae() 72 static_assert(emplace_exists<V, 3, IL, int>(), ""); in test_emplace_sfinae() 74 static_assert(!emplace_exists<V, 3, IL>(), "too few args"); in test_emplace_sfinae() 75 static_assert(!emplace_exists<V, 3, IL, int, int>(), "too many args"); in test_emplace_sfinae()
|
D | emplace_type_init_list_args.pass.cpp | 67 using IL = std::initializer_list<int>; in test_emplace_sfinae() typedef 68 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae() 70 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae() 71 static_assert(emplace_exists<V, InitListArg, IL, int>(), ""); in test_emplace_sfinae() 73 static_assert(!emplace_exists<V, InitListArg, IL>(), "too few args"); in test_emplace_sfinae() 74 static_assert(!emplace_exists<V, InitListArg, IL, int, int>(), in test_emplace_sfinae()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | LoopNestTest.cpp | 93 const Loop *IL = LN.getInnermostLoop(); in TEST() local 94 EXPECT_NE(IL, nullptr); in TEST() 95 EXPECT_EQ(IL->getName(), "for.inner"); in TEST() 176 const Loop *IL = LN.getInnermostLoop(); in TEST() local 177 EXPECT_NE(IL, nullptr); in TEST() 178 EXPECT_EQ(IL->getName(), "loop.k"); in TEST()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | SmallPtrSet.h | 380 void insert(std::initializer_list<PtrType> IL) { 381 insert(IL.begin(), IL.end()); 435 SmallPtrSet(std::initializer_list<PtrType> IL) 437 this->insert(IL.begin(), IL.end()); 455 operator=(std::initializer_list<PtrType> IL) { 457 this->insert(IL.begin(), IL.end());
|
/external/libcxx/test/std/utilities/any/any.class/any.cons/ |
D | in_place_type.pass.cpp | 147 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 149 std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae() 151 std::in_place_type_t<small_tracked_t>, IL>::value, ""); in test_ctor_sfinae() 164 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 167 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae() 170 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae()
|
/external/llvm-project/libcxx/test/std/utilities/any/any.class/any.cons/ |
D | in_place_type.pass.cpp | 144 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 146 std::in_place_type_t<int>, IL>::value, ""); in test_ctor_sfinae() 148 std::in_place_type_t<small_tracked_t>, IL>::value, ""); in test_ctor_sfinae() 161 using IL = std::initializer_list<int>; in test_ctor_sfinae() typedef 164 static_assert(!std::is_constructible<std::any, Tag, IL, int>::value, ""); in test_ctor_sfinae() 167 static_assert(!std::is_constructible<std::any, RefTag, IL, int>::value, ""); in test_ctor_sfinae()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | SmallPtrSet.h | 391 void insert(std::initializer_list<PtrType> IL) { 392 insert(IL.begin(), IL.end()); 466 SmallPtrSet(std::initializer_list<PtrType> IL) 468 this->insert(IL.begin(), IL.end()); 486 operator=(std::initializer_list<PtrType> IL) { 488 this->insert(IL.begin(), IL.end());
|
D | TinyPtrVector.h | 114 TinyPtrVector(std::initializer_list<EltTy> IL) in TinyPtrVector() argument 115 : Val(IL.size() == 0 in TinyPtrVector() 117 : IL.size() == 1 ? PtrUnion(*IL.begin()) in TinyPtrVector() 118 : PtrUnion(new VecTy(IL.begin(), IL.end()))) {} in TinyPtrVector()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SmallPtrSet.h | 392 void insert(std::initializer_list<PtrType> IL) { 393 insert(IL.begin(), IL.end()); 467 SmallPtrSet(std::initializer_list<PtrType> IL) 469 this->insert(IL.begin(), IL.end()); 487 operator=(std::initializer_list<PtrType> IL) { 489 this->insert(IL.begin(), IL.end());
|
D | TinyPtrVector.h | 114 TinyPtrVector(std::initializer_list<EltTy> IL) in TinyPtrVector() argument 115 : Val(IL.size() == 0 in TinyPtrVector() 117 : IL.size() == 1 ? PtrUnion(*IL.begin()) in TinyPtrVector() 118 : PtrUnion(new VecTy(IL.begin(), IL.end()))) {} in TinyPtrVector()
|
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | AnalysisManager.h | 133 SourceLocation IL = SM.getIncludeLoc(SM.getFileID(SL)); in isInCodeFile() local 134 if (!IL.isValid() || !SM.isInMainFile(IL)) in isInCodeFile() 138 if (SM.getFilename(IL).contains("UnifiedSource")) { in isInCodeFile()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringSyntaxChecker.cpp | 67 if (const auto *IL = dyn_cast<IntegerLiteral>(E)) in isOne() local 68 return (IL->getValue().isIntN(1)); in isOne() 181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() local 182 uint64_t ILRawVal = IL->getValue().getZExtValue(); in containsBadStrlcpyStrlcatPattern() 192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern() 193 DstOff = IL->getValue().getZExtValue(); in containsBadStrlcpyStrlcatPattern()
|
/external/llvm-project/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/ |
D | p7.cpp | 10 inline namespace IL {} // expected-note {{previous definition}} namespace 11 namespace IL {} // expected-warning{{inline namespace reopened as a non-inline namespace}} namespace
|
/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/ |
D | p7.cpp | 5 inline namespace IL {} // expected-note {{previous definition}} namespace 6 namespace IL {} // expected-warning{{inline namespace cannot be reopened as a non-inline namespace}} namespace
|