Home
last modified time | relevance | path

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

12345

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-objc-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…
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dgoogle-objc-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
Dbugprone-exception-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()``
Dmisc-throw-by-value-catch-by-reference.rst20 * Moved named values will not be flagged as not throwing an anonymous
23 * Throwing function parameters will not be flagged as not throwing an
24 anonymous temporary. This allows helper functions for throwing.
25 * Re-throwing caught exception variables will not be flragged as not throwing
Dhicpp-exception-baseclass.rst9 This enforces `rule 15.1 <http://www.codingstandard.com/section/15-1-throwing-an-exception/>`_
16 void throwing() noexcept(false) {
Dmodernize-use-noexcept.rst35 ``noexcept``. Fix-it hints will only be generated for non-throwing
58 throwing dynamic exception specs, e.g., ``throw(<something>)``,
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProvidersTest.java53 CheckedProviders.throwing(FooCheckedProvider.class, FooException.class); in testThrowingCheckedProviderClass_get_throwsException()
63 CheckedProviders.throwing(TypeLiteral.get(FooCheckedProvider.class), FooException.class); in testThrowingCheckedProviderTypeLiteral_get_throwsException()
106 CheckedProviders.throwing(FooCheckedProvider.class, StringException.class); in testCheckThrowable_unsupportedThrowableConstructor_throwsIllegalArgumentException()
126 CheckedProviders.throwing(FooCheckedProvider.class, BarException.class); in testCheckThrowable_checkedExceptionNotDeclared_throwsIllegalArgumentException()
138 CheckedProviders.throwing(FooCheckedProvider.class, ExpectedRuntimeException.class); in testCheckThrowable_runtimeExceptionNotDeclared_throwsExpectedRuntimeException()
152 CheckedProviders.throwing(FooCheckedProvider.class, ExpectedError.class); in testCheckThrowable_errorNotDeclared_throwsExpectedError()
/external/guice/extensions/testlib/test/com/google/inject/testing/throwingproviders/
DCheckedProviderSubjectTest.java53 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in providedValue_throws_expectFailure()
68 CheckedProviders.throwing(StringCheckedProvider.class, SummerException.class); in thrownException_threwExpected_expectSuccess()
78 CheckedProviders.throwing(StringCheckedProvider.class, unexpected); in thrownException_threwUnexpected_expectFailure()
117 private String getThrowingProviderName(String throwing) { in getThrowingProviderName() argument
118 return String.format("generated CheckedProvider throwing <%s>", throwing); in getThrowingProviderName()
/external/objenesis/tck/src/main/resources/org/objenesis/tck/candidates/
Dcandidates.properties30 ….SerializableWithAncestorThrowingException = Serializable with ancestor throwing exception
35 ….tck.candidates.ConstructorThrowingException = Constructor throwing exception
36 …idates.SerializableConstructorThrowingException = Constructor throwing exception (serial…
Dserializable-candidates.properties29 …idates.SerializableConstructorThrowingException = Constructor throwing exception (serial…
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DMethodReference.java61 return this::throwing; in stringer()
78 private String throwing() throws Exception { in throwing() method in MethodReference
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviders.java168 public static <T, P extends CheckedProvider<? super T>> P throwing( in throwing() method in CheckedProviders
185 public static <T, P extends CheckedProvider<? super T>> P throwing( in throwing() method in CheckedProviders
187 return throwing(TypeLiteral.get(providerType), throwable); in throwing()
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DXLogger.java157 public <T extends Throwable> T throwing(T throwable) { in throwing() method in XLogger
172 public <T extends Throwable> T throwing(Level level, T throwable) { in throwing() method in XLogger
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/
DXLoggerTest.java107 assertEquals(t, logger.throwing(t)); in testThrowing()
108 assertEquals(t, logger.throwing(XLogger.Level.DEBUG, t)); in testThrowing()
/external/clang/test/CodeGenObjC/
Dexceptions-nonfragile.m15 void throwing() { function
/external/llvm-project/clang/test/CodeGenObjC/
Dexceptions-nonfragile.m15 void throwing() { function
/external/llvm-project/llvm/test/Transforms/PruneEH/
D2008-06-02-Weak.ll5 ; since it can be overriden by throwing implementation.
/external/llvm-project/clang/examples/clang-interpreter/
DREADME.txt15 5. Intercepting a Win64 library call to allow throwing and catching exceptions
DCMakeLists.txt45 # /EHs to allow throwing from extern "C"
/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Deh-labels.mir23 ; TRY should be before EH_LABEL wrappers of throwing calls
/external/llvm/test/Transforms/LICM/
Dpreheader-safe.ll58 ; Negative test - can't move out of throwing block
/external/llvm-project/llvm/test/Transforms/DeadStoreElimination/MSSA/
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.
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/command/
DStorCommandHandlerTest.groovy86 println "Calling createOutputStream() - throwing exception"
/external/llvm-project/polly/lib/External/isl/cpp/
Dcpp.h.pre86 /* Wrapper for throwing an exception with the given message.
210 /* Wrapper for throwing an exception with the given message.
/external/libcxx/docs/DesignDocs/
DDebugMode.rst49 ``std::__libcpp_debug_exception``. Libc++ can be changed to use the throwing

12345