Home
last modified time | relevance | path

Searched refs:temporary (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/zircon/
H A Dtemporary-objects.rst1 .. title:: clang-tidy - zircon-temporary-objects
3 zircon-temporary-objects
6 Warns on construction of specific temporary objects in the Zircon kernel.
29 Foo F; // Non-temporary construction okay
30 Foo F(param); // Non-temporary construction okay
34 NS::Bar B; // Non-temporary construction okay
39 This check matches temporary objects without regard for inheritance and so a
45 Derived(); // and so temporary construction is okay
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dconst-init-cxx1y.cpp23 struct A { int &&temporary; int x; };
25 A a = { 6, f(a.temporary) };
29 A b = { 7, ++b.temporary };
36 A c = { 10, (++c.temporary, b.x) };
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/
H A Duse-emplace-ignore-implicit-constructors.cpp85 Something temporary(42, 42); in test_Something() local
86 temporary.push_back(temporary); in test_Something()
87 v.push_back(temporary); in test_Something()
/llvm-project-15.0.7/lldb/test/Shell/Reproducer/Modules/
H A DTestModuleCXX.test9 # Create a temporary root we can remove later.
18 # Compile the test case form the temporary root.
30 # Remove the temporary root.
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddecl-init-ref.cpp35 struct A { int &&temporary; int x, y; };
37 const A &c = { 10, ++c.temporary };
/llvm-project-15.0.7/clang/docs/
H A DClangNvlinkWrapper.rst17 temporary files. These temporary (\*.cubin) files are passed to ``nvlink``.
42 1. From each archive file extract all cubin files as temporary files and
/llvm-project-15.0.7/clang/test/Rewriter/
H A Drewrite-unique-block-api.mm2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.c…
4 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-mode…
H A Drewrite-nested-ivar.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SE…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SE…
H A Drewrite-byref-in-nested-blocks.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"SEL=void*" -U__…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Werror -Wno-address-of-temporary -D"SEL=void*" -U__d…
H A Drewrite-nested-blocks-2.mm2 // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"_…
5 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" -D"__declspec…
H A Drewrite-block-literal-1.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -Did="void *" -D"SEL=void*"…
5 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -Did="void *" -D"SEL=void*"…
H A Drewrite-rewritten-initializer.mm2 // RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__declspec…
4 // RUN: %clang_cc1 -fsyntax-only -Werror -Wno-address-of-temporary -D"SEL=void*" -U__declspec -D"__…
H A Drewrite-nested-blocks.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"SEL=void*" -D"__declspec…
H A Drewrite-foreach-in-block.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=struct objc_object*" …
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=struct objc_object*" …
H A Drewrite-elaborated-type.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D_Bool=bool -D"id=void*" -…
H A Drewrite-nested-blocks-1.mm2 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -fblocks -Wno-address-of-temporary -D"id=void*" -D"SE…
4 // RUN: %clang_cc1 -fsyntax-only -std=gnu++98 -Wno-address-of-temporary -D"id=void*" -D"SEL=void*" …
H A Dobjc-modern-fast-enumeration.mm4 // RUN: %clang_cc1 -fsyntax-only -triple i686-pc-win32 -Werror -Wno-address-of-temporary -D"Class=s…
5 // RUN: %clang_cc1 -fsyntax-only -triple x86_64-pc-win32 -Werror -Wno-address-of-temporary -D_WIN64…
H A Drewrite-nested-property-in-blocks.mm2 // RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary
4 // RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dmips-noat.s3 # Check that using the assembler temporary when .set noat is in effect is an error.
5 # We start with the assembler temporary enabled
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dunhandled-self-assignment.rst68 The second one is the copy-and-swap method when we create a temporary copy
69 (using the copy constructor) and then swap this temporary object with ``this``:
94 when we create a temporary copy (using the copy constructor) and then move this
95 temporary object into ``this`` (needs a move assignment operator):
H A Ddangling-handle.rst7 These dangling references can be a result of constructing handles from temporary
8 values, where the temporary is destroyed soon after the handle is created.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dthrow-by-value-catch-by-reference.rst22 temporary. In this case we can be sure that the user knows that the object
25 anonymous temporary. This allows helper functions for throwing.
27 an anonymous temporary. Although this can usually be done by just writing
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcxx-uninitialized-object-ptr-ref.cpp75 alloca() on line {{[0-9]+}} is still referred to by a temporary object on the \
93 alloca() on line {{[0-9]+}} is still referred to by a temporary object on the \
106 alloca() on line {{[0-9]+}} is still referred to by a temporary object on the \
354 variable 'vptr' is still referred to by a temporary object on the stack \
371 variable 'vptr' is still referred to by a temporary object on the stack \
388 variable 'vptr' is still referred to by a temporary object on the stack \
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Ddcl21-cpp.rst13 operator++(int) would be modifying a temporary object. Thus, such an
15 return a const object, prohibiting accidental mutation of a temporary object.
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtailcallstack64.ll8 ; Add %in1 %p1 to a different temporary register (%eax).
12 ; Add %in1 %p1 to a different temporary register (%eax).

12345678910>>...12