[PATCH] Provide user name in ClangTidyOptions.

Manuel Klimek klimek at google.com
Tue Sep 23 03:11:18 PDT 2014


================
Comment at: clang-tidy/ClangTidyOptions.h:58
@@ -57,2 +57,3 @@
     Options.AnalyzeTemporaryDtors = false;
+    Options.User = "unknown user";
     return Options;
----------------
I'd probably default to empty, so checks can decide not to insert something in case there's no user name available.

http://reviews.llvm.org/D5440






More information about the cfe-commits mailing list