summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2017-09-06 15:12:05 +0000
committerAaron Ballman <aaron@aaronballman.com>2017-09-06 15:12:05 +0000
commit8816a87064e9043cf12b49c19241d513ae94325f (patch)
tree1f2bdf73d6a66e8a829acc301a797e2ad9bebebf
parent070f43aee7917f8df2b305b1f288d918dbc8e79d (diff)
downloadbcm5719-llvm-8816a87064e9043cf12b49c19241d513ae94325f.tar.gz
bcm5719-llvm-8816a87064e9043cf12b49c19241d513ae94325f.zip
Replacing "or" with "||" to appease MSVC.
llvm-svn: 312639
-rw-r--r--clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp b/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
index 04c95f62ad6..50727a55fc7 100644
--- a/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
+++ b/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp
@@ -83,7 +83,7 @@ bool LexicallyOrderedDeclVisitor::VisitNamedDecl(const NamedDecl *D) {
OS << ND->getNameAsString();
else
OS << "???";
- if (isa<DeclContext>(D) or isa<TemplateDecl>(D))
+ if (isa<DeclContext>(D) || isa<TemplateDecl>(D))
OS << "/";
}
if (EmitDeclIndices)
OpenPOWER on IntegriCloud