[PATCH] D31652: [clang-format] Recognize Java logical shift assignment operator

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 04:24:09 PDT 2017


arphaman added inline comments.


================
Comment at: include/clang/Basic/LangOptions.def:95
 LANGOPT(ObjC2             , 1, 0, "Objective-C 2")
+LANGOPT(Java              , 1, 0, "Java")
 BENIGN_LANGOPT(ObjCDefaultSynthProperties , 1, 0,
----------------
I don't think we should have a `Java` lang option, since Clang is not actually a Java frontend. Maybe another option like `LogicalShiftOperators` will work better?


Repository:
  rL LLVM

https://reviews.llvm.org/D31652





More information about the cfe-commits mailing list