rsmith added inline comments.

================
Comment at: clang/include/clang/Basic/LangOptions.def:151
 
-COMPATIBLE_LANGOPT(RecoveryAST, 1, 0, "Preserve expressions in AST when 
encountering errors")
+COMPATIBLE_LANGOPT(RecoveryAST, 1, CPlusPlus, "Preserve expressions in AST 
when encountering errors")
 
----------------
Does this work? I would expect that we set all the options to the defaults at 
the same time, so this just sets this option to 0 (the default for 
`CPlusPlus`). If so, it'd be clearer to explicitly write that default here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78350/new/

https://reviews.llvm.org/D78350



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to