aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorQiongsi Wu <274595+qiongsiwu@users.noreply.github.com>2024-07-22 20:47:53 -0400
committerGitHub <noreply@github.com>2024-07-22 20:47:53 -0400
commit9147147b5c191c22a740f8e596e62a6de1fc4f70 (patch)
tree195616ee81bb6f2299d895da473a7abeaf281914 /clang/lib/Frontend/CompilerInvocation.cpp
parentba0744ed2cdf82e862a2dba7070aa30b6b412354 (diff)
downloadllvm-9147147b5c191c22a740f8e596e62a6de1fc4f70.zip
llvm-9147147b5c191c22a740f8e596e62a6de1fc4f70.tar.gz
llvm-9147147b5c191c22a740f8e596e62a6de1fc4f70.tar.bz2
[AIX] Detect `#pragma mc_func` (#99888)
`#pragma mc_func` is an IBM XL feature that should be replaced by inline assembly. This PR adds an option `-ferr-pragma-mc-func-aix` to detect uses of `#pragma mc_func` and reports an error if the option is in effect. If `-fno-err-pragma-mc-func-aix` is in effect, `#pragma mc_func` is ignored even if `-Werror=unknown-pragmas` is in effect.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions