[cfe-commits] r55417 - in /cfe/trunk: include/clang/AST/ASTContext.h include/clang/AST/Type.h include/clang/Basic/DiagnosticKinds.def include/clang/Basic/LangOptions.h include/clang/Parse/DeclSpec.h lib/AST/ASTContext.cpp lib/AST/Type.cpp lib/AST
Eli Friedman
eli.friedman at gmail.com
Wed Aug 27 18:30:27 PDT 2008
On Wed, Aug 27, 2008 at 9:04 AM, Steve Naroff <snaroff at apple.com> wrote:
> + if (DeclType.Cls.TypeQuals)
> + Diag(D.getIdentifierLoc(), diag::err_qualified_block_pointer_type);
Why exactly is it illegal to qualify a block pointer type? I can't
think of any possible reason; it's legal to qualify all the other
object types in standard C/C++.
-Eli
More information about the cfe-commits
mailing list