diff options
| author | Cassie Jones <code@witchoflight.com> | 2022-05-14 01:47:41 -0700 |
|---|---|---|
| committer | Cassie Jones <code@witchoflight.com> | 2022-05-14 01:48:14 -0700 |
| commit | ae8bbc43f4709b910cd6c1e1ddc5bc854785a142 (patch) | |
| tree | 42397d7d3c9f30481d37e68c790375bccea76ad6 /llvm/unittests/ADT/APIntTest.cpp | |
| parent | 2e270947963659cf9db4099f42387144feb10fec (diff) | |
| download | llvm-ae8bbc43f4709b910cd6c1e1ddc5bc854785a142.zip llvm-ae8bbc43f4709b910cd6c1e1ddc5bc854785a142.tar.gz llvm-ae8bbc43f4709b910cd6c1e1ddc5bc854785a142.tar.bz2 | |
[clang] Require including config.h for CLANG_DEFAULT_STD_C
This makes CLANG_DEFAULT_STD_C(XX) always be defined, defaulting to
lang_unspecified, so you are forced to check its value instead of using
an #ifdef. This should help avoid accidentally omitting the include in
places where that's important, so that the default language version bug
isn't re-introduced.
Reviewed By: hokein, dexonsmith
Differential Revision: https://reviews.llvm.org/D124974
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
