aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-02 17:57:30 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-02 17:57:30 +0000
commit70e4f434ae2da6c178460f920de9315dc435d669 (patch)
treeb61557642e800b049afd2f1986d3e13a45393b08 /clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
parent0e2f8cd8758614fcf70ace2213f000e640118609 (diff)
downloadllvm-70e4f434ae2da6c178460f920de9315dc435d669.zip
llvm-70e4f434ae2da6c178460f920de9315dc435d669.tar.gz
llvm-70e4f434ae2da6c178460f920de9315dc435d669.tar.bz2
[InstCombine] Make InstCombiner::OptAndOp take a BinaryOperator instead of an Instruction.
The callers have already performed the necessary cast before calling. This allows us to remove a comment that says the instruction must be a BinaryOperator and make it explicit in the argument type. Had to add a default case to the switch because BinaryOperator::getOpcode() returns a BinaryOps enum. llvm-svn: 299339
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp')
0 files changed, 0 insertions, 0 deletions