| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | personality.mm | 1 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 5 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 9 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 13 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 18 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 19 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 23 …ue-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 41 …-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 45 …-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… 49 …-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fcxx-exceptions -fobjc-… [all …]
|
| H A D | objfw-exceptions.mm | 1 … x86_64-pc-linux-gnu -emit-llvm -fexceptions -fobjc-exceptions -fobjc-runtime=objfw -fcxx-exceptio… 2 … x86_64-pc-linux-gnu -emit-llvm -fexceptions -fobjc-exceptions -fobjc-runtime=objfw -fcxx-exceptio…
|
| /llvm-project-15.0.7/compiler-rt/test/profile/ |
| H A D | instrprof-gcov-exceptions.test | 5 # Test with exceptions disabled. 6 RUN: %clangxx --coverage -o %t %S/Inputs/instrprof-gcov-exceptions.cpp -fno-exceptions 7 RUN: test -f instrprof-gcov-exceptions.gcno 9 RUN: rm -f instrprof-gcov-exceptions.gcda 11 RUN: llvm-cov gcov instrprof-gcov-exceptions.gcda 12 … --strict-whitespace --input-file instrprof-gcov-exceptions.cpp.gcov %S/Inputs/instrprof-gcov-exce… 15 RUN: %clangxx --coverage -o %t %S/Inputs/instrprof-gcov-exceptions.cpp 16 RUN: test -f instrprof-gcov-exceptions.gcno 18 RUN: rm -f instrprof-gcov-exceptions.gcda 20 RUN: llvm-cov gcov instrprof-gcov-exceptions.gcda [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/ |
| H A D | exceptions_iostate.pass.cpp | 27 assert(ios.exceptions() == std::ios::goodbit); in main() 28 ios.exceptions(std::ios::eofbit); in main() 29 assert(ios.exceptions() == std::ios::eofbit); in main() 33 ios.exceptions(std::ios::badbit); in main() 39 assert(ios.exceptions() == std::ios::badbit); in main() 45 assert(ios.exceptions() == std::ios::goodbit); in main() 46 ios.exceptions(std::ios::eofbit); in main() 47 assert(ios.exceptions() == std::ios::eofbit); in main() 48 ios.exceptions(std::ios::badbit); in main() 49 assert(ios.exceptions() == std::ios::badbit); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | personality.m | 1 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=m… 2 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=i… 3 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=m… 4 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=w… 6 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=g… 7 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=g… 10 …-no-opaque-pointers -triple i686-unknown-linux-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=o… 27 …o-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=i… 28 …o-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=m… 29 …o-opaque-pointers -triple i686-unknown-windows-gnu -fexceptions -fobjc-exceptions -fobjc-runtime=w… [all …]
|
| H A D | objc-alloc-init.m | 1 // RUN: %clang_cc1 -no-opaque-pointers %s -fobjc-exceptions -fexceptions -fobjc-runtime=macosx-10.1… 2 // RUN: %clang_cc1 -no-opaque-pointers %s -fobjc-exceptions -fexceptions -fobjc-runtime=macosx-10.1… 3 // RUN: %clang_cc1 -no-opaque-pointers %s -fobjc-exceptions -fexceptions -fobjc-runtime=ios-12.2 -e… 4 // RUN: %clang_cc1 -no-opaque-pointers %s -fobjc-exceptions -fexceptions -fobjc-runtime=ios-12.1 -e…
|
| H A D | arc-no-arc-exceptions.m | 1 …6_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llv… 2 …6_64-apple-darwin10 -emit-llvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -disable-llvm-pa… 3 …lvm -fobjc-arc -fblocks -fexceptions -fobjc-exceptions -O2 -disable-llvm-passes -o - %s -fobjc-arc… 5 // The front-end should emit clang.arc.no_objc_arc_exceptions in -fobjc-arc-exceptions
|
| /llvm-project-15.0.7/flang/unittests/Evaluate/ |
| H A D | fp-testing.cpp | 77 int exceptions = fetestexcept(FE_ALL_EXCEPT); in CurrentFlags() local 79 if (exceptions & FE_INVALID) { in CurrentFlags() 82 if (exceptions & FE_DIVBYZERO) { in CurrentFlags() 85 if (exceptions & FE_OVERFLOW) { in CurrentFlags() 88 if (exceptions & FE_UNDERFLOW) { in CurrentFlags() 91 if (exceptions & FE_INEXACT) { in CurrentFlags()
|
| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | objc_stmts.m | 2 …_cc1 -triple x86_64-apple-macosx10.10 -include %S/objc_stmts.h -emit-llvm -fobjc-exceptions -o - %s 3 …le x86_64-apple-macosx10.10 -include %S/objc_stmts.h -ast-print -fobjc-exceptions -o - %s | FileCh… 6 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -x objective-c -emit-pch -fobjc-exceptions -o %… 7 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -include-pch %t -emit-llvm -fobjc-exceptions -o… 8 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -include-pch %t -ast-print -fobjc-exceptions -o…
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | host.cpp | 115 int exceptions{fetestexcept(FE_ALL_EXCEPT)}; in CheckAndRestoreFloatingPointEnvironment() local 116 if (exceptions & FE_INVALID) { in CheckAndRestoreFloatingPointEnvironment() 119 if (exceptions & FE_DIVBYZERO) { in CheckAndRestoreFloatingPointEnvironment() 122 if (exceptions & FE_OVERFLOW) { in CheckAndRestoreFloatingPointEnvironment() 125 if (exceptions & FE_UNDERFLOW) { in CheckAndRestoreFloatingPointEnvironment() 128 if (exceptions & FE_INEXACT) { in CheckAndRestoreFloatingPointEnvironment()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | exceptions.mm | 1 // RUN: %clang_analyze_cc1 -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,u… 18 void *mem = malloc(4); // no-warning (ObjC exceptions are usually fatal) 32 // FIXME: this should be reported as a leak, because C++ exceptions are
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/ |
| H A D | streambuf.pass.cpp | 77 is.exceptions(std::istream::eofbit); in main() 94 is.exceptions(std::istream::eofbit); in main() 112 is.exceptions(std::istream::failbit); in main() 129 is.exceptions(std::istream::failbit); in main() 146 is.exceptions(std::istream::failbit); in main() 162 is.exceptions(std::istream::failbit); in main()
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | predefined-exceptions.m | 1 // RUN: %clang_cc1 -x objective-c -fobjc-exceptions -fexceptions -E -dM %s | FileCheck -check-prefi… 5 // RUN: %clang_cc1 -x objective-c++ -fobjc-exceptions -fexceptions -fcxx-exceptions -E -dM %s | Fil… 9 // RUN: %clang_cc1 -x objective-c++ -fexceptions -fcxx-exceptions -E -dM %s | FileCheck -check-pref…
|
| /llvm-project-15.0.7/clang/test/Coverage/ |
| H A D | ast-printing.m | 1 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -fsyntax-only -fobjc-exceptions %s 2 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -ast-print -fobjc-exceptions %s 3 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 -ast-dump -fobjc-exceptions %s
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | opencl-cxx-keywords.cl | 2 …1 %s -triple spir-unknown-unknown -cl-std=clc++ -verify -fsyntax-only -fexceptions -fcxx-exceptions 7 // Test that exceptions are disabled despite passing -fcxx-exceptions. 11 // expected-error@-1 {{cannot use 'try' with exceptions disabled}} 13 // expected-error@-1 {{cannot use 'throw' with exceptions disabled}}
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | constrained.ll | 6 ; If operation does not raise exceptions, it may be removed even in strict mode. 17 ; If operation raises exceptions, it cannot be removed in strict mode. 29 ; If operation raises exceptions, it can be removed in non-strict mode. 40 ; If operation raises exceptions, it can be removed in non-strict mode even if rounding mode is dyn… 51 ; If operation raises exceptions, it can be removed in "maytrap" mode. 64 ; If operation does not raise exceptions, it may be folded even in strict mode. 75 ; If operation raises exceptions, it cannot be folded in strict mode. 87 ; If operation raises exceptions, it can be folded in non-strict mode.
|
| /llvm-project-15.0.7/compiler-rt/test/profile/Inputs/ |
| H A D | instrprof-gcov-exceptions.cpp.gcov | 1 // CHECK: -: 0:Source:{{.*}}Inputs{{[/\\]}}instrprof-gcov-exceptions.cpp 2 // CHECK-NEXT: -: 0:Graph:instrprof-gcov-exceptions.gcno 3 // CHECK-NEXT: -: 0:Data:instrprof-gcov-exceptions.gcda
|
| /llvm-project-15.0.7/llvm/docs/HistoricalNotes/ |
| H A D | 2001-09-18-OptimizeExceptions.txt | 7 In C++ programs, exceptions suck, and here's why: 13 exceptions, so this code is dead [with all the bad effects of dead 25 6. Most large C++ programs throw few exceptions. Most well designed 26 programs only throw exceptions in specific planned portions of the 29 Given our _planned_ model of handling exceptions, all of this would be 50 exceptions, so there numbers are pretty worthless... also our results
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/ |
| H A D | member_swap.pass.cpp | 50 assert(is1.exceptions() == is1.goodbit); in main() 58 assert(is2.exceptions() == is2.goodbit); in main() 74 assert(is1.exceptions() == is1.goodbit); in main() 82 assert(is2.exceptions() == is2.goodbit); in main()
|
| H A D | move_assign.pass.cpp | 53 assert(is1.exceptions() == is1.goodbit); in main() 61 assert(is2.exceptions() == is2.goodbit); in main() 77 assert(is1.exceptions() == is1.goodbit); in main() 85 assert(is2.exceptions() == is2.goodbit); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/ |
| H A D | member_swap.pass.cpp | 50 assert(os1.exceptions() == os1.goodbit); in main() 58 assert(os2.exceptions() == os2.goodbit); in main() 74 assert(os1.exceptions() == os1.goodbit); in main() 82 assert(os2.exceptions() == os2.goodbit); in main()
|
| H A D | move_assign.pass.cpp | 53 assert(os1.exceptions() == os1.goodbit); in main() 61 assert(os2.exceptions() == os2.goodbit); in main() 77 assert(os1.exceptions() == os1.goodbit); in main() 85 assert(os2.exceptions() == os2.goodbit); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/ |
| H A D | move_assign.pass.cpp | 53 assert(is1.exceptions() == is1.goodbit); in main() 61 assert(is2.exceptions() == is2.goodbit); in main() 77 assert(is1.exceptions() == is1.goodbit); in main() 85 assert(is2.exceptions() == is2.goodbit); in main()
|
| H A D | member_swap.pass.cpp | 50 assert(is1.exceptions() == is1.goodbit); in main() 58 assert(is2.exceptions() == is2.goodbit); in main() 74 assert(is1.exceptions() == is1.goodbit); in main() 82 assert(is2.exceptions() == is2.goodbit); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | pragma-fenv_access.c | 120 #pragma clang fp exceptions(ignore) in func_10() 130 #pragma clang fp exceptions(ignore) in func_11() 140 #pragma clang fp exceptions(maytrap) in func_12() 149 #pragma clang fp exceptions(maytrap) in func_13()
|