Home
last modified time | relevance | path

Searched refs:constructors (Results 1 – 25 of 144) sorted by relevance

123456

/llvm-project/compiler-rt/test/BlocksRuntime/
H A Dcopyconstructor.C12 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 Dreference.C16 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 Dforwarding-reference-overload.rst6 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 Dstring-constructor.rst6 Finds string constructors that are suspicious and probably errors.
26 Creating an empty string from constructors with parameters is considered
H A Dcopy-constructor-init.rst6 Finds copy constructors where the constructor doesn't call the copy constructor
23 Also finds copy constructors where the constructor of
H A Dexception-escape.rst10 * Move constructors
29 functions like ``swap()``, ``main()``, move constructors, move assignment operators
H A Dundelegated-constructor.rst6 Finds creation of temporary objects in constructors that look like a
/llvm-project/polly/lib/External/isl/doc/
H A Dinterface10 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 Dnoexcept-move-constructor.rst7 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 Dmove-constructor-init.rst8 The check flags user-defined move constructors that have a ctor-initializer
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dpass-by-value.rst7 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 Dattr-trivial-abi.mm106 …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 Dexplicit-constructor.rst7 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 DCMakeLists.txt1 # 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 DRegistryManager.cpp50 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 DIPA.rst44 ``-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 Dredundant-member-init.rst32 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 Dprefer-member-initializer.rst13 …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 Dglobal-ctors-and-dtors.ll1 ; 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 Dgenerator.cc167 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 Dcfg-rich-constructors.mm5 …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 Dblocks.mm2 …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 Dmicrosoft-abi-methods.cpp70 void constructors() { in constructors() function
/llvm-project/clang/include/clang/Basic/
H A DTargetCXXABI.def41 /// - 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 Drandom41 // 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...]

123456