clang-format: [JS] "operator" is not a keyword in Java/JavaScript.

llvm-svn: 256245
This commit is contained in:
Daniel Jasper
2015-12-22 15:47:56 +00:00
parent cfcdbde3ce
commit 72a1b6a5f2
3 changed files with 10 additions and 2 deletions

View File

@@ -426,6 +426,7 @@ TEST_F(FormatTestJava, CppKeywords) {
verifyFormat("public void union(Type a, Type b);");
verifyFormat("public void struct(Object o);");
verifyFormat("public void delete(Object o);");
verifyFormat("return operator && (aa);");
}
TEST_F(FormatTestJava, NeverAlignAfterReturn) {