[cfe-commits] [PATCH] Reverted clang-check to fully supported CommandLine Library use-case: global static variables.
Alexander Kornienko
alexfh at google.com
Wed Aug 22 13:56:44 PDT 2012
Committed as r162391.
On Wed, Aug 22, 2012 at 10:50 PM, Manuel Klimek <klimek at google.com> wrote:
> On Wed, Aug 22, 2012 at 11:00 AM, Alexander Kornienko <alexfh at google.com>
> wrote:
> >>> -class CommandLineClangTool {
> >>> +class CommonOptionsParser {
> >>> public:
> >>> - /// Sets up command-line options and help messages.
> >>> - /// Add your own help messages after constructing this tool.
> >>> - CommandLineClangTool();
> >>> + // Intentionally public.
> >>
> >>
> >> "Intentionally public" is nice. Additionally giving the reason would be
> >> even better. And, as they are now part of the public interface, they
> deserve
> >> a doxygen comment
>
> I'd just add getters and be done with it :)
>
> Apart from that LGTM.
>
--
Alexander Kornienko | Software Engineer | alexfh at google.com | +49 151 221
77 957
Google Germany GmbH | Dienerstr. 12 | 80331 München
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120822/8661ed0a/attachment.html>
More information about the cfe-commits
mailing list