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 <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to