| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/zircon/ |
| H A D | temporary-objects.rst | 1 .. 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 D | const-init-cxx1y.cpp | 23 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 D | use-emplace-ignore-implicit-constructors.cpp | 85 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 D | TestModuleCXX.test | 9 # 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 D | decl-init-ref.cpp | 35 struct A { int &&temporary; int x, y; }; 37 const A &c = { 10, ++c.temporary };
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangNvlinkWrapper.rst | 17 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 D | rewrite-unique-block-api.mm | 2 // 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 D | rewrite-nested-ivar.mm | 2 // 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 D | rewrite-byref-in-nested-blocks.mm | 2 // 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 D | rewrite-nested-blocks-2.mm | 2 // 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 D | rewrite-block-literal-1.mm | 2 // 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 D | rewrite-rewritten-initializer.mm | 2 // 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 D | rewrite-nested-blocks.mm | 2 // 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 D | rewrite-foreach-in-block.mm | 2 // 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 D | rewrite-elaborated-type.mm | 2 // 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 D | rewrite-nested-blocks-1.mm | 2 // 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 D | objc-modern-fast-enumeration.mm | 4 // 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 D | rewrite-nested-property-in-blocks.mm | 2 // 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 D | mips-noat.s | 3 # 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 D | unhandled-self-assignment.rst | 68 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 D | dangling-handle.rst | 7 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 D | throw-by-value-catch-by-reference.rst | 22 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 D | cxx-uninitialized-object-ptr-ref.cpp | 75 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 D | dcl21-cpp.rst | 13 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 D | tailcallstack64.ll | 8 ; Add %in1 %p1 to a different temporary register (%eax). 12 ; Add %in1 %p1 to a different temporary register (%eax).
|