Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed a problem with #pragma push_macro/pop_macro implementation. | Alexander Kornienko | 2012-08-29 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | Summary: The problem was with the following sequence: #pragma push_macro("long") #undef long #pragma pop_macro("long") in case when "long" didn't represent a macro. Fixed crash and removed code duplication for #undef/pop_macro case. Added regression tests. Reviewers: doug.gregor, klimek Reviewed By: doug.gregor CC: cfe-commits, chapuni Differential Revision: http://llvm-reviews.chandlerc.com/D31 llvm-svn: 162845 | ||||
* | fix a bunch of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -1/+1 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559 | ||||
* | In ~Preprocessor(), also cleanup the MacroInfo objects left-over from stray ↵ | Ted Kremenek | 2010-10-19 | 1 | -0/+8 |
| | | | | | | | | "#pragma push_macro" uses. This fixes a potential memory leak. llvm-svn: 116826 | ||||
* | Implement #pragma push_macro, patch by Francois Pichet! | Chris Lattner | 2010-08-17 | 1 | -0/+33 |
llvm-svn: 111234 |