hokein marked 2 inline comments as done.

================
Comment at: clang-tidy/ClangTidyDiagnosticConsumer.cpp:343
@@ +342,3 @@
+      auto WorkingDir = Info.getSourceManager()
+                            .getFileManager().getVirtualFileSystem()
+                            ->getCurrentWorkingDirectory();
----------------
Yeah, you are right. We need to handle the error here since in some cases like 
the source file is not exit, the `SourceManager` is unavailable.


http://reviews.llvm.org/D17335



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

Reply via email to