[PATCH] Diagnose declspecs occuring after virt-specifier-seq and generate fixit hints

Ehsan Akhgari ehsan.akhgari at gmail.com
Tue Mar 24 14:28:44 PDT 2015


I'm having difficulty fixing the issue that caused this patch to bounce when I landed it earlier this morning.  Here is a link to the log of the test failure: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/24611/steps/check-all/logs/FAIL%3A%20Clang%3A%3Afixit-cxx0x.cpp

The issue is my call to getFunctionTypeInfo().  That call is now asserting because isFunctionDeclarator() returns false on the declaration.  I checked, and isDeclarationOfFunction() returns true, but I'm not sure how to get a FunctionTypeInfo out of such a declarator.

Can someone please help?  Thanks!


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6828

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list