aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2024-02-08 16:31:57 +0300
committerGitHub <noreply@github.com>2024-02-08 14:31:57 +0100
commit8697bbe2d4aed109520e83c6beab52196ec5b702 (patch)
tree4175d76ae2717390b3c23a8e04af2caa8de4943d /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent72f04fa0734f8559ad515f507a4a3ce3f461f196 (diff)
downloadllvm-8697bbe2d4aed109520e83c6beab52196ec5b702.zip
llvm-8697bbe2d4aed109520e83c6beab52196ec5b702.tar.gz
llvm-8697bbe2d4aed109520e83c6beab52196ec5b702.tar.bz2
[clang] Use CPlusPlus language option instead of Bool (#80975)
As it was pointed out in https://github.com/llvm/llvm-project/pull/80724, we should not be checking `getLangOpts().Bool` when determining something related to logical operators, since it only indicates that bool keyword is present, not which semantic logical operators have. As a side effect a missing `-Wpointer-bool-conversion` in OpenCL C was restored since like C23, OpenCL C has bool keyword but logical operators still return int.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions