aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authormydeveloperday <mydeveloperday@gmail.com>2020-09-08 16:39:11 +0100
committermydeveloperday <mydeveloperday@gmail.com>2020-09-08 16:40:04 +0100
commitc81dd3d159ab03d46e4280c458d3c29e56648218 (patch)
tree5c86a242b0f15883e4fad7dccbf0accb570f3a75 /clang/lib/Frontend/CompilerInvocation.cpp
parentc2f6a0012882ba9b39ccee53f3d7f4f1aedf2181 (diff)
downloadllvm-c81dd3d159ab03d46e4280c458d3c29e56648218.zip
llvm-c81dd3d159ab03d46e4280c458d3c29e56648218.tar.gz
llvm-c81dd3d159ab03d46e4280c458d3c29e56648218.tar.bz2
[clang-format] Handle shifts within conditions
In some situation shifts can be treated as a template, and is thus formatted as one. So, by doing a couple extra checks to assure that the condition doesn't contain a template, and is in fact a bit shift should solve this problem. This is a fix for [[ https://bugs.llvm.org/show_bug.cgi?id=46969 | bug 46969 ]] Reviewed By: MyDeveloperDay Patch By: Saldivarcher Differential Revision: https://reviews.llvm.org/D86581
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions