[cfe-commits] clang::ASTUnit constness

Rafael EspĂ­ndola rafael.espindola at gmail.com
Sun Oct 28 14:17:13 PDT 2012


Are changes like

-  const std::string &getOriginalSourceFileName();
+  const std::string &getOriginalSourceFileName() const { return
OriginalSourceFile; }

intentional?

On 28 October 2012 16:33, Laszlo Nagy <rizsotto.mailinglist at gmail.com> wrote:
> Hi,
>
> created a constness checker, have run against clang source. Randomly
> picked one class (clang::ASTUnit this case) and fixed the catches. It
> have found local variables which are good candidates for const, but
> also methods.
>
> Here comes the patch. Please review it and apply if you like.
>
> Regards,
> Laszlo
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list