aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTimm Bäder <tbaeder@redhat.com>2021-02-25 08:18:45 +0100
committerTimm Bäder <tbaeder@redhat.com>2021-02-25 16:31:07 +0100
commit2cc58463caf4c8a43c2954e4206d3647c762ba30 (patch)
tree2222e4080acf8c6819236cba91d22dd2c82a3457 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentf4d78a5e3aee53d46e0f13e77f08ee610bade7fc (diff)
downloadllvm-2cc58463caf4c8a43c2954e4206d3647c762ba30.zip
llvm-2cc58463caf4c8a43c2954e4206d3647c762ba30.tar.gz
llvm-2cc58463caf4c8a43c2954e4206d3647c762ba30.tar.bz2
[clang][sema] Ignore xor-used-as-pow if both sides are macros
This happens in codebases a lot, which use xor where both sides are macros. Using xor in that case is not the common error-prone 2^6 code that the warning was introduced for. Don't diagnose such a use of xor. Differential Revision: https://reviews.llvm.org/D97445
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions