This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] __has_{,cpp_}attribute fixes (PR preprocessor/63831)


On 12/05/2014 03:28 PM, Jakub Jelinek wrote:
3) there is no __has_attribute__ middle-end secondary macro,
   when it is a built-in macro, it works fine in #ifdef too

I'm not sure what the rationale for the secondary macro was.  Ed?

-cb_has_attribute (cpp_reader *pfile)
+c_common_has_attribute (cpp_reader *pfile)

Let's not change the name; it's still a lexer callback rather than a function to be called by C-family front ends.

OK with that change if Ed doesn't object in the next couple of days.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]