r223352 - Make getInsertArgumentAdjuster insert extra arguments to the end by default.
Alexander Kornienko
alexfh at google.com
Thu Dec 4 03:00:56 PST 2014
Author: alexfh
Date: Thu Dec 4 05:00:56 2014
New Revision: 223352
URL: http://llvm.org/viewvc/llvm-project?rev=223352&view=rev
Log:
Make getInsertArgumentAdjuster insert extra arguments to the end by default.
Modified:
cfe/trunk/include/clang/Tooling/ArgumentsAdjusters.h
Modified: cfe/trunk/include/clang/Tooling/ArgumentsAdjusters.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Tooling/ArgumentsAdjusters.h?rev=223352&r1=223351&r2=223352&view=diff
==============================================================================
--- cfe/trunk/include/clang/Tooling/ArgumentsAdjusters.h (original)
+++ cfe/trunk/include/clang/Tooling/ArgumentsAdjusters.h Thu Dec 4 05:00:56 2014
@@ -51,8 +51,9 @@ ArgumentsAdjuster getInsertArgumentAdjus
/// \brief Gets an argument adjuster which inserts an \p Extra argument in the
/// specified position.
-ArgumentsAdjuster getInsertArgumentAdjuster(const char *Extra,
- ArgumentInsertPosition Pos);
+ArgumentsAdjuster getInsertArgumentAdjuster(
+ const char *Extra,
+ ArgumentInsertPosition Pos = ArgumentInsertPosition::END);
/// \brief Gets an argument adjuster which adjusts the arguments in sequence
/// with the \p First adjuster and then with the \p Second one.
More information about the cfe-commits
mailing list