This allows plugins which add AST passes to also define pragmas to do things like only enable certain behaviour of the AST pass in files where a certain pragma is used.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D18319
Add a PragmaHandler Registry for plugins to add PragmaHandlers to ClosedPublic Authored by john.brawn on Mar 21 2016, 9:31 AM.
Details Summary This allows plugins which add AST passes to also define pragmas to do things like only enable certain behaviour of the AST pass in files where a certain pragma is used.
Diff Detail
Event Timelinejohn.brawn retitled this revision from to Add a PragmaHandler Registry for plugins to add PragmaHandlers to. john.brawn updated this object. This revision is now accepted and ready to land.Apr 4 2016, 4:10 AM Closed by commit rL265295: Add a PragmaHandler Registry for plugins to add PragmaHandlers to (authored by john.brawn). · Explain WhyApr 4 2016, 7:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 52553 cfe/trunk/docs/ClangPlugins.rst
cfe/trunk/examples/AnnotateFunctions/AnnotateFunctions.cpp
cfe/trunk/include/clang/Lex/Preprocessor.h
cfe/trunk/lib/Lex/Pragma.cpp
cfe/trunk/test/Frontend/plugin-annotate-functions.c
|