Home
last modified time | relevance | path

Searched refs:throwing (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dobjc-avoid-throwing-exception.m1 // RUN: %check_clang_tidy %s google-objc-avoid-throwing-exception %t
21 …arning: pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-ob…
26 …arning: pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-ob…
28 …arning: pass in NSError ** instead of throwing exception to indicate Objective-C errors [google-ob…
/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.generic/
H A Dconstexpr_noexcept.compile.pass.cpp23 struct throwing { struct
24 throwing() {} in throwing() argument
38 static_assert(!std::is_nothrow_constructible_v<std::atomic<throwing>>); in test()
39 ASSERT_NOT_NOEXCEPT(std::atomic<throwing>{}); in test()
H A Dthrow.pass.cpp17 struct throwing { struct
18 throwing() { throw 42; } in throwing() function
23 [[maybe_unused]] std::atomic<throwing> a; in main()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/google/
H A Dobjc-avoid-throwing-exception.rst1 .. title:: clang-tidy - google-objc-avoid-throwing-exception
3 google-objc-avoid-throwing-exception
6 Finds uses of throwing exceptions usages in Objective-C files.
8 For the same reason as the Google C++ style guide, we prefer not throwing
39 https://google.github.io/styleguide/objcguide.html#avoid-throwing-exceptions
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dexception-escape.rst17 A destructor throwing an exception may result in undefined behavior, resource
20 ``swap()`` operations expected to be non throwing most of the cases and they
21 are always possible to implement in a non throwing way. Non throwing ``swap()``
22 operations are also used to create move operations. A throwing ``main()``
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dthrow-by-value-catch-by-reference.rst21 * Moved named values will not be flagged as not throwing an anonymous
24 * Throwing function parameters will not be flagged as not throwing an
25 anonymous temporary. This allows helper functions for throwing.
26 * Re-throwing caught exception variables will not be flagged as not throwing
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dexception-baseclass.rst9 This enforces `rule 15.1 <http://www.codingstandard.com/section/15-1-throwing-an-exception/>`_
16 void throwing() noexcept(false) {
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Duse-noexcept.rst35 ``noexcept``. Fix-it hints will only be generated for non-throwing
58 throwing dynamic exception specs, e.g., ``throw(<something>)``,
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DNoexceptPolicy.rst10 first, functions might not report precondition violations by throwing.
H A DVisibilityMacros.rst159 versioning namespace. This allows throwing and catching some exception types
/llvm-project-15.0.7/llvm/test/Transforms/PruneEH/
H A D2008-06-02-Weak.ll5 ; since it can be overriden by throwing implementation.
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dexceptions-nonfragile.m15 void throwing(void) { function
/llvm-project-15.0.7/bolt/test/X86/
H A Dexceptions-args.test2 # It is generated for throwing functions with LP that have parameters on stack.
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dfuncattrs-prop.ll28 ;; b.ll contains non-throwing copies of these functions
29 ;; c.ll contains throwing copies of these functions
/llvm-project-15.0.7/llvm/test/Transforms/DeadStoreElimination/
H A Dmultiblock-captures.ll88 ; We can remove the first store store i8 0, i8* %m because there are no throwing
162 ; is a throwing instruction between them, because %m escapes after the killing
188 ; throwing instruction between them, because %m escapes after the killing store.
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dstp-opt-with-renaming-undef-assert.mir3 # This test checks that aarch64 load store optimizer is not throwing an
/llvm-project-15.0.7/polly/lib/External/isl/cpp/
H A Dcpp.h.top95 /* Wrapper for throwing an exception with the given message.
219 /* Wrapper for throwing an exception with the given message.
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dexception.mir30 ; TRY should be before EH_LABEL wrappers of throwing calls
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dregister-scavenger-exceptions.mir20 # materialising a stack frame address when the function ends in throwing an
/llvm-project-15.0.7/libcxx/lib/abi/
H A DCHANGELOG.TXT479 * r356417 - Remove exception throwing debug mode handler support.
481 The reason libc++ implemented a throwing debug mode handler was for ease of testing. Specifically,
483 it impossible to test debug mode. Which throwing behavior we could test more!
485 …However, the throwing approach didn't work either, since there are debug violations underneath noe…
493 This patch removes the throwing debug handler, and rewrites the debug tests using 'fork-ing' style
/llvm-project-15.0.7/libcxx/include/
H A D__availability97 // methods will abort instead of throwing.
114 // methods will abort instead of throwing.
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dpreheader-safe.ll134 ; Negative test - can't move out of throwing block
H A Dhoist-mustexec.ll336 ; throwing instructions after it.
445 ; Check that a throwing instruction prohibits hoisting across it.
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dderef-alloc-fns.ll9 declare noalias nonnull i8* @_Znam(i64) ; throwing version of 'new'
10 declare noalias nonnull i8* @_Znwm(i64) ; throwing version of 'new'
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dret_attr_update.ll29 ; because the guard is a throwing call

12