aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-03-24 17:14:11 +0300
committerVlad Serebrennikov <serebrennikov.vladislav@gmail.com>2023-03-24 17:35:35 +0300
commit467ed2798772344e2a3b4a8d368575f1f9d1a8c6 (patch)
tree243183a2493002ec93d0c2f6534d3e6b0217dae9 /flang/lib/Frontend/CompilerInvocation.cpp
parent04f61fb73dc6a994ab267d431f2fdaedc67430ff (diff)
downloadllvm-467ed2798772344e2a3b4a8d368575f1f9d1a8c6.zip
llvm-467ed2798772344e2a3b4a8d368575f1f9d1a8c6.tar.gz
llvm-467ed2798772344e2a3b4a8d368575f1f9d1a8c6.tar.bz2
[clang] Extend pragma dump to support expressions
Extend `#pragma clang __debug dump` to support not only single identifier, but an expression as well. This makes it possible to test ADL and overload resolution directly, without being creative to make them observable via diagnostics (e.g. when [[ http://eel.is/c++draft/over.match.best | over.match.best ]] is involved). This implementation has a known limitation of not supporting dependent expressions properly, but it's quite useful even without such support. Differential Revision: https://reviews.llvm.org/D144115
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions