[cfe-dev] Add new pragma

Pisit Makpaisit haoremixman at gmail.com
Tue Jun 22 19:48:18 PDT 2010


Thank you.

I test by debug and break in Preprocessor::RegisterBuiltinPragmas but it
doesn't call.
This is command that I use. "clang -fsyntax-only wp1.c"

On Tue, Jun 22, 2010 at 7:24 PM, Michael Spencer <bigcheesegs at gmail.com>wrote:

> On Tue, Jun 22, 2010 at 4:02 AM, Pisit Makpaisit <haoremixman at gmail.com>
> wrote:
> > I know that if I want to add new pragma into clang, I have to inherit
> from
> > PragmaHandler. but what clang option that can call pragma processor. I
> try
> > to use -fpreprocessor but not work.
>
> -fsyntax-only, or -E.
>
> - Michael Spencer
>



-- 
Remixman (Pisit Makpaisit)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100623/f7df0579/attachment.html>


More information about the cfe-dev mailing list