[PATCH] D69746: [analyzer] FixItHint: Apply and test hints with the Clang Tidy's script

Zinovy Nis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 3 07:07:29 PST 2019


zinovy.nis added inline comments.


================
Comment at: clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:152
+
+          if (llvm::Error Err = Repls.add(Repl))
+            llvm_unreachable("An error occured during fix-it replacements");
----------------
Isn't `llvm_unreacheable` too pessimistic? May be use diagnostics instead?


Repository:
  rC Clang

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

https://reviews.llvm.org/D69746





More information about the cfe-commits mailing list