/llvm-project/compiler-rt/test/BlocksRuntime/ |
H A D | copyconstructor.C | 12 int constructors = 0; variable 35 ++constructors; in TestObject() 43 _version = ++constructors; in TestObject() 74 if (constructors == 0) { in main() 78 if (constructors != destructors) { in main() 79 printf("%d constructors but only %d destructors\n", constructors, destructors); in main()
|
H A D | reference.C | 16 int constructors = 0; variable 40 ++constructors; in TestObject() 48 _version = ++constructors; in TestObject()
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
H A D | forwarding-reference-overload.rst | 6 The check looks for perfect forwarding constructors that can hide copy or move 7 constructors. If a non const lvalue reference is passed to the constructor, the 50 The check warns for constructors C1 and C2, because those can hide copy and move 51 constructors. We suppress warnings if the copy and the move constructors are both 53 constructor could hide in this case. We also suppress warnings for constructors
|
H A D | string-constructor.rst | 6 Finds string constructors that are suspicious and probably errors. 26 Creating an empty string from constructors with parameters is considered
|
H A D | copy-constructor-init.rst | 6 Finds copy constructors where the constructor doesn't call the copy constructor 23 Also finds copy constructors where the constructor of
|
H A D | exception-escape.rst | 10 * Move constructors 29 functions like ``swap()``, ``main()``, move constructors, move assignment operators
|
H A D | undelegated-constructor.rst | 6 Finds creation of temporary objects in constructors that look like a
|
/llvm-project/polly/lib/External/isl/doc/ |
H A D | interface | 10 Unnamed constructors are generated for functions where even without the 17 are exposed as unnamed constructors. 21 Typical examples of function that are generated as unnamed constructors 24 - Conversion constructors
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/performance/ |
H A D | noexcept-move-constructor.rst | 7 The check flags user-defined move constructors and assignment operators not 11 Move constructors of all the types used with STL containers, for example, 12 need to be declared ``noexcept``. Otherwise STL will choose copy constructors
|
H A D | move-constructor-init.rst | 8 The check flags user-defined move constructors that have a ctor-initializer
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize/ |
H A D | pass-by-value.rst | 7 move constructors added for many types it is now interesting to take an 28 Currently, only constructors are transformed to make use of pass-by-value. 32 Pass-by-value in constructors 123 When delayed template parsing is enabled, constructors part of templated 124 contexts; templated constructors, constructors in class templates, constructors
|
/llvm-project/clang/test/SemaObjCXX/ |
H A D | attr-trivial-abi.mm | 106 …not be applied to 'CopyMoveDeleted'}} expected-note {{copy constructors and move constructors are … 111 …ial_abi' cannot be applied to 'S18'}} expected-note {{copy constructors and move constructors are … 125 …ial_abi' cannot be applied to 'S19'}} expected-note {{copy constructors and move constructors are …
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/google/ |
H A D | explicit-constructor.rst | 7 Checks that constructors callable with a single argument and conversion 30 conversion operator declaration. However, copy and move constructors should not 31 be explicit, as well as constructors taking a single ``initializer_list``
|
/llvm-project/mlir/lib/ |
H A D | CMakeLists.txt | 1 # Enable errors for any global constructors. 2 add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
|
/llvm-project/mlir/lib/Query/Matcher/ |
H A D | RegistryManager.cpp | 50 auto it = matcherRegistry.constructors().find(matcherName); in lookupMatcherCtor() 51 return it == matcherRegistry.constructors().end() in lookupMatcherCtor() 83 for (const auto &m : matcherRegistry.constructors()) { in getMatcherCompletions()
|
/llvm-project/clang/docs/analyzer/developer-docs/ |
H A D | IPA.rst | 44 ``-analyzer-config c++-inlining=[none | methods | constructors | destructors]`` 48 constructors, for example. 54 Note that under 'constructors', constructors for types with non-trivial 94 This option controls whether constructors and destructors of "container" types 99 Currently, these constructors and destructors are NOT considered for inlining 116 state, which is what happens when their constructors are treated as opaque. 191 - In C++, constructors are not inlined unless the destructor call will be 195 constructors for objects with trivial constructors can still be inlined.) 199 or operator 'delete', nor does it inline the constructors and destructors 357 which base constructors have been completed. This is tracked using [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/ |
H A D | redundant-member-init.rst | 32 within copy constructors, since some compilers issue warnings/errors when 33 base classes are not explicitly initialized in copy constructors. For example,
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
H A D | prefer-member-initializer.rst | 13 …b.io/CppCoreGuidelines/CppCoreGuidelines#c49-prefer-initialization-to-assignment-in-constructors>`_ 17 …Guidelines#c48-prefer-in-class-initializers-to-member-initializers-in-constructors-for-constant-in…
|
/llvm-project/llvm/test/ExecutionEngine/OrcLazy/ |
H A D | global-ctors-and-dtors.ll | 1 ; Test that global constructors and destructors are run: 6 ; Test that this is true for global constructors and destructors in other
|
/llvm-project/polly/lib/External/isl/interface/ |
H A D | generator.cc | 167 const function_set &constructors = clazz.constructors; in extract_class_automatic_conversions() local 170 for (fi = constructors.begin(); fi != constructors.end(); ++fi) { in extract_class_automatic_conversions() 424 c->constructors.insert(method); in generator()
|
/llvm-project/clang/test/Analysis/ |
H A D | cfg-rich-constructors.mm | 5 …FG -triple x86_64-apple-darwin12 -std=c++11 -w -analyzer-config elide-constructors=false %s > %t 2… 7 …FG -triple x86_64-apple-darwin12 -std=c++17 -w -analyzer-config elide-constructors=false %s > %t 2…
|
H A D | blocks.mm | 2 …nalyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=false %s > %t 2… 4 …nalyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=true %s > %t 2>…
|
/llvm-project/clang/test/CodeGenCXX/ |
H A D | microsoft-abi-methods.cpp | 70 void constructors() { in constructors() function
|
/llvm-project/clang/include/clang/Basic/ |
H A D | TargetCXXABI.def | 41 /// - constructors and destructors return 'this'; 94 /// - constructors and destructors return 'this', as in ARM; 107 /// - constructors and destructors return 'this', as in ARM.
|
/llvm-project/libcxx/include/ |
H A D | random | 41 // constructors and seeding functions 103 // constructors and seeding functions 163 // constructors and seeding functions 213 // constructors and seeding functions 266 // constructors and seeding functions 319 // constructors and seeding functions 396 // constructors 420 // constructors 468 // constructors and reset functions 531 // constructors an [all...] |