[PATCH] Provide user name in ClangTidyOptions.
Alexander Kornienko
alexfh at google.com
Mon Sep 22 09:30:07 PDT 2014
Hi klimek, bkramer,
This adds the ClangTidyOptions::User field and fills it from the USER
or the USERNAME environment variable, if possible. The FileOptionsProvider now
takes "default" options instead of "fallback" options, as it now uses these when
an option is not set in the configuration file (one exception is the checks
list).
http://reviews.llvm.org/D5440
Files:
clang-tidy/ClangTidyOptions.cpp
clang-tidy/ClangTidyOptions.h
clang-tidy/google/TodoCommentCheck.cpp
clang-tidy/google/TodoCommentCheck.h
clang-tidy/tool/ClangTidyMain.cpp
unittests/clang-tidy/ClangTidyOptionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5440.13939.patch
Type: text/x-patch
Size: 10571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140922/376c491a/attachment.bin>
More information about the cfe-commits
mailing list