[clang-tidy] Merge ExtraArgs(Before) instead of overriding them.
authorAlexander Kornienko <alexfh@google.com>
Tue, 23 Aug 2016 14:48:29 +0000 (14:48 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 23 Aug 2016 14:48:29 +0000 (14:48 +0000)
commitbb56052b66d62962cac6eec3aca4e33cc3c2ab58
tree6ae4e50df2f49ef744f0933b031b34122c718490
parentcb96142fb82c00dd705e44d83af7c54118592bb4
[clang-tidy] Merge ExtraArgs(Before) instead of overriding them.

Added proper tests.

llvm-svn: 279519
clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp