diff options
author | Dmitry Polukhin <34227995+dmpolukhin@users.noreply.github.com> | 2024-10-10 08:49:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 08:49:39 +0100 |
commit | 12ae1ea13e68657ac75d65fd62385cae5272e2cb (patch) | |
tree | 5744251576b73a2edeb793a4f728df619a2c735d /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6213aa5e58a7d32bdc82dd40322fb1bab83c4783 (diff) | |
download | llvm-12ae1ea13e68657ac75d65fd62385cae5272e2cb.zip llvm-12ae1ea13e68657ac75d65fd62385cae5272e2cb.tar.gz llvm-12ae1ea13e68657ac75d65fd62385cae5272e2cb.tar.bz2 |
[C++20][Modules] Relax ODR check in unnamed modules (#111160)
Summary:
Option `-fskip-odr-check-in-gmf` is set by default and I think it is
what most of C++ developers want. But in header units, Clang ODR
checking is too strict, making them hard to use, as seen in the example
in the diff. This diff relaxes ODR checks for unnamed modules to match
GMF ODR checking.
Test Plan: check-clang
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions