aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCassie Jones <code@witchoflight.com>2022-05-14 01:47:41 -0700
committerCassie Jones <code@witchoflight.com>2022-05-14 01:48:14 -0700
commitae8bbc43f4709b910cd6c1e1ddc5bc854785a142 (patch)
tree42397d7d3c9f30481d37e68c790375bccea76ad6 /flang/lib/Frontend/CompilerInvocation.cpp
parent2e270947963659cf9db4099f42387144feb10fec (diff)
downloadllvm-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 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions