aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2024-10-09 10:40:53 -0600
committerGitHub <noreply@github.com>2024-10-09 10:40:53 -0600
commit1553cb5d3b14a0516c2796c295a3b32d147d13d0 (patch)
tree2d2f9489bc5f9a42731e230e4223db34cdcdf1ef /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentcf5bbeb533d49fd3f3c174af2239188e2d47b7db (diff)
downloadllvm-1553cb5d3b14a0516c2796c295a3b32d147d13d0.zip
llvm-1553cb5d3b14a0516c2796c295a3b32d147d13d0.tar.gz
llvm-1553cb5d3b14a0516c2796c295a3b32d147d13d0.tar.bz2
[Sema] Support negation/parens with __builtin_available (#111439)
At present, `__builtin_available` is really restrictive with its use. Overall, this seems like a good thing, since the analyses behind it are not very expensive. That said, it's very straightforward to support these two cases: ``` if ((__builtin_available(foo, *))) { // ... } ``` and ``` if (!__builtin_available(foo, *)) { // ... } else { // ... } ``` Seems nice to do so.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions