[cfe-commits] r164858 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Basic/TokenKinds.h include/clang/Lex/MacroInfo.h include/clang/Lex/Token.h lib/Lex/MacroInfo.cpp lib/Sema/AnalysisBasedWarnings.cpp test/SemaCXX/switc

Alexander Kornienko alexfh at google.com
Sat Sep 29 02:36:44 PDT 2012


On Sat, Sep 29, 2012 at 11:27 AM, Dmitri Gribenko <gribozavr at gmail.com>wrote:
>
> Hi Alexander,
>
> I want to use this in the AST library to suggest a proper macro for
> __attribute__((deprecated)).  Does it make sense to move these helper
> infrastructure from Sema to the Preprocessor class itself?
>
I don't see any problems with that. Basically, I intentionally made the
implementation quite generic, so it can be reused elsewhere. So you can
move it wherever it is appropriate.


>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>



-- 
Alexander Kornienko | Software Engineer | alexfh at google.com | +49 151 221
77 957
Google Germany GmbH | Dienerstr. 12 | 80331 München
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120929/a4b36607/attachment.html>


More information about the cfe-commits mailing list