llvm-project/clang/unittests/Frontend
Jan Svoboda dbfa69c502 Port some floating point options to new option marshalling infrastructure
This ports a number of OpenCL and fast-math flags for floating point
over to the new marshalling infrastructure.

As part of this, `Opt{In,Out}FFlag` were enhanced to allow other flags to
imply them, via `DefaultAnyOf<>`. For example:
```
defm signed_zeros : OptOutFFlag<"signed-zeros", ...,
  "LangOpts->NoSignedZero",
  DefaultAnyOf<[cl_no_signed_zeros, menable_unsafe_fp_math]>>;
```
defines `-fsigned-zeros` (`false`) and `-fno-signed-zeros` (`true`)
linked to the keypath `LangOpts->NoSignedZero`, defaulting to `false`,
but set to `true` implicitly if one of `-cl-no-signed-zeros` or
`-menable-unsafe-fp-math` is on.

Note that the initial patch was written Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D82756
2020-11-09 18:00:10 -05:00
..
ASTUnitTest.cpp [clang][Frontend] Add missing error handling 2020-10-22 14:14:19 -07:00
CMakeLists.txt [clang] Add an option for hiding line numbers in diagnostics 2020-11-05 16:10:18 +01:00
CodeGenActionTest.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
CompilerInstanceTest.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
CompilerInvocationTest.cpp Port some floating point options to new option marshalling infrastructure 2020-11-09 18:00:10 -05:00
FixedPointString.cpp
FrontendActionTest.cpp Revert "[modules] Do not cache invalid state for modules that we attempted to load." 2020-03-10 10:59:26 -07:00
OutputStreamTest.cpp [FrontendTests] Try again to make test not write an output file 2019-10-22 08:44:34 +00:00
PCHPreambleTest.cpp Fix clang unnittest build with GCC 5 2020-01-29 10:30:36 +01:00
ParsedSourceLocationTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TextDiagnosticTest.cpp [clang] Add an option for hiding line numbers in diagnostics 2020-11-05 16:10:18 +01:00