Home
last modified time | relevance | path

Searched refs:initialized (Results 1 – 25 of 270) sorted by relevance

1234567891011

/llvm-project/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Denum-initial-value.rst7 styles: none, first only, or all initialized explicitly.
15 #. **No** enumerators are explicit initialized.
16 #. Exactly **the first** enumerator is explicit initialized.
17 #. **All** enumerators are explicit initialized.
21 enum A { // (1) Valid, none of enumerators are initialized.
27 enum B { // (2) Valid, the first enumerator is initialized.
33 enum C { // (3) Valid, all of enumerators are initialized.
39 enum D { // Invalid, d1 is not explicitly initialized!
45 enum E { // Invalid, e1, e3, and e5 are not explicitly initialized.
64 If set to `false`, the first enumerator must not be explicitly initialized to
H A Dredundant-member-init.rst33 base classes are not explicitly initialized in copy constructors. For example,
35 ``base class 'Bar' should be explicitly initialized in the copy constructor``
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dshared-ptr-array-mismatch.rst7 initialized with an array.
9 If a shared pointer ``std::shared_ptr<T>`` is initialized with a new-expression
22 …// ^ warning: shared pointer to non-array is initialized with array [bugprone-…
24 …// ^ warning: shared pointer to non-array is initialized with ar…
30 …// ^ warning: shared pointer to non-array is initialized with array [bugprone-…
H A Dunique-ptr-array-mismatch.rst7 initialized with an array.
9 If a pointer ``std::unique_ptr<T>`` is initialized with a new-expression
24 // ^ warning: unique pointer to non-array is initialized with array
26 …// ^ warning: unique pointer to non-array is initialized with ar…
33 // ^ warning: unique pointer to non-array is initialized with array
H A Ddynamic-static-initializers.rst6 Finds instances of static variables that are dynamically initialized
11 static variables initialized at runtime (e.g. by ``-fno-threadsafe-statics``), even if a particular…
27 …` for the first time, there is the possibility that `k` will be double initialized, creating a rac…
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dinit-variables.rst17 float and double types, which are initialized to NaN.
54 A a; // Warning: variable 'a' is not initialized
55 A_c a_c; // Warning: variable 'a_c' is not initialized
56 B b; // Warning: variable 'b' is not initialized
57 B_i b_i; // Warning: variable 'b_i' is not initialized
H A Dpro-type-member-init.rst10 type. If these fields aren't initialized, the constructor will leave
19 account but generates false positives for fields initialized in
23 types without a user-provided constructor and are not initialized. The suggested
33 zero-initialized during construction. For performance critical code, it may
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.cpp146 int initialized; member
205 if (initialized != 0) in Initialize()
206 return initialized > 0; in Initialize()
207 initialized = -1; in Initialize()
211 initialized = mutex_type_count ? 1 : -1; in Initialize()
212 return initialized > 0; in Initialize()
H A Dsanitizer_coverage_libcdep_new.cpp112 CHECK(!initialized); in Initialize()
114 initialized = true; in Initialize()
121 if (!initialized) Initialize(); in InitTracePcGuard()
145 if (!initialized || !common_flags()->coverage) return; in Dump()
150 bool initialized;
149 bool initialized; global() member in __sancov::__anon8cb657850111::TracePcGuardController
/llvm-project/flang/test/Semantics/
H A Dblock-data01.f9023 integer :: inCommonD, initialized ! ok variable
25 equivalence(inCommonD, initialized)
26 data initialized /2/
/llvm-project/llvm/test/ExecutionEngine/Orc/
H A Dtrivial-reference-to-internal-variable-zeroinit.ll2 ; internal linkage global variable that is zero-initialized.
4 ; Failure may indicate a problem with zero-initialized sections, or data
/llvm-project/llvm/unittests/IR/
H A DLegacyPassManagerTest.cpp115 static bool initialized; member
119 EXPECT_TRUE(initialized); in run()
129 EXPECT_TRUE(initialized); in finishedOK()
134 initialized = false; in PassTestBase()
147 template<typename P> bool PassTestBase<P>::initialized; member in llvm::__anon747cccd00111::PassTestBase


158 EXPECT_FALSE(PassTestBase<P>::initialized); in doInitialization()
159 PassTestBase<P>::initialized = true; in doInitialization()
199 EXPECT_FALSE(initialized); in LPass()
209 initialized = true; in doInitialization()

/llvm-project/clang/test/Analysis/
H A Dnil-receiver.mm18 // This produces a zero-initialized structure.
19 // FIXME: This very fact does deserve the warning, because zero-initialized
/llvm-project/clang-tools-extra/clangd/test/
H A Dinitialize-sequence.test5 # CHECK-NEXT: "message": "server not initialized"
14 # CHECK-NEXT: "message": "server already initialized"
/llvm-project/openmp/runtime/src/
H A Dkmp_lock.cpp653 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_acquire_ticket_lock_with_checks()
694 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_test_ticket_lock_with_checks()
732 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_release_ticket_lock_with_checks()
766 std::atomic_store_explicit(&lck->lk.initialized, true, in __kmp_init_ticket_lock()
771 std::atomic_store_explicit(&lck->lk.initialized, false, in __kmp_destroy_ticket_lock()
787 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_destroy_ticket_lock_with_checks()
826 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_acquire_nested_ticket_lock_with_checks()
864 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_test_nested_ticket_lock_with_checks()
894 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_release_nested_ticket_lock_with_checks()
930 if (!std::atomic_load_explicit(&lck->lk.initialized, in __kmp_destroy_nested_ticket_lock_with_checks()
[all …]
/llvm-project/clang/test/SemaOpenCL/
H A Datomic-init.cl7 …atomic_int a2 = 0; // expected-error {{atomic variable can be initialized to a variable only in gl…
8 …private atomic_int a3 = 0; // expected-error {{atomic variable can be initialized to a variable on…
/llvm-project/llvm/test/CodeGen/X86/
H A Di386-setjmp-pic.ll6 ; is properly initialized.
8 ; that the global base pointer is not initialized.
/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_thread.cpp49 static bool initialized; in GetMemprofThreadContext()
52 if (!initialized) { in memprofThreadRegistry() local
59 initialized = true; in memprofThreadRegistry()
/llvm-project/clang/docs/HLSL/
H A DFunctionCalls.rst41 parameter is not explicitly initialized inside the function an undefined value
43 and output, the temporary is initialized from the lvalue argument expression
49 ``out`` parameter was not initialized in the function, the uninitialized value
102 initialized or destroyed. In MSVC and Clang's MSVC compatibility mode, arguments
138 In this example an initialized value is passed to an ``out`` parameter.
139 Parameters marked ``out`` are not initialized by the argument expression or
140 implicitly by the function. They must be explicitly initialized. In this case
141 the argument is not initialized in the function so the temporary is still
281 denote whether or not the temporary is initialized from the sub-expression. If
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/performance/
H A Dunnecessary-copy-initialization.rst6 Finds local variable declarations that are initialized using the copy
44 A semicolon-separated list of names of types allowed to be initialized by
55 copy variable is copy initialized by the return value from a type on this
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/fuchsia/
H A Dstatically-constructed-objects.rst7 the object is statically initialized with a ``constexpr`` constructor or has no
41 static C c3(get_i());// Warning, as the constructor is dynamically initialized
/llvm-project/lld/test/COFF/
H A Dpdb-publics-import.test115 CHECK-NEXT: initialized data
120 CHECK-NEXT: initialized data
126 CHECK-NEXT: initialized data
132 CHECK-NEXT: initialized data
138 CHECK-NEXT: initialized data
144 CHECK-NEXT: initialized data
/llvm-project/clang/tools/scan-build-py/lib/libear/
H A Dear.c95 static int initialized = 0; variable
139 if (!initialized) in on_load()
140 initialized = bear_capture_env_t(&initial_env); in on_load()
147 initialized = 0; in on_unload()
407 if (!initialized) in bear_report_call()
/llvm-project/llvm/test/Instrumentation/MemorySanitizer/
H A Dcheck-constant-shadow.ll21 ; This function stores known initialized value.
51 ; This function stores known initialized value, but msan can't prove this.
65 ; This function stores known initialized value, but msan can't prove this.
/llvm-project/lld/test/wasm/
H A Dshared-memory-bss.s56 # Regular data gets initialized with memory.init
65 # BSS gets initialized with memory.fill

1234567891011