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

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 03:10:14 PST 2017


ioeric added a comment.

PTAL



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


https://reviews.llvm.org/D30328





More information about the cfe-commits mailing list