diff options
author | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-07-03 10:05:25 -0400 |
---|---|---|
committer | Mariya Podchishchaeva <mariya.podchishchaeva@intel.com> | 2023-07-03 10:15:40 -0400 |
commit | 2d4f2890823fa3edc6ae563edec4dacad1989564 (patch) | |
tree | 6c25efe4701cb562bc7c4d2314ccffd02dbecf04 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 23ed601ae158686f663023d207e8453366f41101 (diff) | |
download | llvm-2d4f2890823fa3edc6ae563edec4dacad1989564.zip llvm-2d4f2890823fa3edc6ae563edec4dacad1989564.tar.gz llvm-2d4f2890823fa3edc6ae563edec4dacad1989564.tar.bz2 |
[clang] Add `__has_extension ()` for C++11 features
Add `__has_extension (cxx_defaulted_functions)` and
`__has_extension (cxx_default_function_template_args)` since they are
accepted in C++98 mode as extensions.
Fixes https://github.com/llvm/llvm-project/issues/61758
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D154334
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions