[AIX] Turn on `#pragma mc_func` check by default (#101336)
authorQiongsi Wu <274595+qiongsiwu@users.noreply.github.com>
Thu, 1 Aug 2024 13:51:07 +0000 (09:51 -0400)
committerTobias Hieta <tobias@hieta.se>
Fri, 2 Aug 2024 10:09:45 +0000 (12:09 +0200)
commit7fa3ba52ba4c918298b67ef74891319464017bf4
tree1a2b617f2c160ecb4760a950e58048de4a9ec6fa
parentb2eab3486499656ec6ef30ace5033f80d4d9dfc9
[AIX] Turn on `#pragma mc_func` check by default (#101336)

https://github.com/llvm/llvm-project/pull/99888 added a check (and
corresponding options) to flag uses of `#pragma mc_func` on AIX.

This PR turns on the check by default.

(cherry picked from commit b9335176db718bf64c72d48107eb9dff28ed979e)
clang/include/clang/Driver/Options.td
clang/include/clang/Lex/PreprocessorOptions.h
clang/lib/Driver/ToolChains/AIX.cpp
clang/test/Preprocessor/pragma_mc_func.c