[PATCH v2 5/6] Add a flag to BuildDeclarationNameExpr to not reject invalid decls.
David Blaikie
dblaikie at gmail.com
Tue Nov 4 16:36:45 PST 2014
It's helpful to either use an enum (which always seems a bit silly) or a
comment (more realistic, especially since you only have to comment that
single caller in attemptRecovery) to describe what the boolean value is for
("/*AcceptInvalidDecl*/ true").
What's this flag needed/used for?
On Wed, Oct 29, 2014 at 12:49 PM, Kaelyn Takata <rikka at google.com> wrote:
> ---
> include/clang/Sema/Sema.h | 6 ++++--
> lib/Sema/SemaExpr.cpp | 15 ++++++++-------
> lib/Sema/SemaExprCXX.cpp | 2 +-
> 3 files changed, 13 insertions(+), 10 deletions(-)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141104/696890ba/attachment.html>
More information about the cfe-commits
mailing list