[PATCH] D30328: [change-namepsace] make it possible to whitelist symbols so they don't get updated.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 02:31:28 PST 2017


hokein accepted this revision.
hokein added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: change-namespace/tool/ClangChangeNamespace.cpp:78
+// changing namespaces around them.
+constexpr const char *WhiteListedSymbolPatterns[] = {"^std::.*$"};
+
----------------
Maybe consider create a command-line option for it? It will make the tool more pluggable IMO.


https://reviews.llvm.org/D30328





More information about the cfe-commits mailing list