diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-06-18 05:55:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-06-18 05:55:53 +0000 |
| commit | 027cff63321262a5a85a402c39aac06ee66c745d (patch) | |
| tree | 0eb4e7b073dcc1b1470a2a13c596d751ea65ef26 /lib/CodeGen/CodeGenModule.cpp | |
| parent | 4d5d994a069d6f7513cc025266afcfa73b020405 (diff) | |
| download | clang-027cff63321262a5a85a402c39aac06ee66c745d.tar.gz clang-027cff63321262a5a85a402c39aac06ee66c745d.tar.bz2 clang-027cff63321262a5a85a402c39aac06ee66c745d.tar.xz | |
Fix a crash that can occur when a #pragma handler eats to the end of the
line, and when the pragma is at the end of a file. In this case, the last
token consumed could pop the lexer, invalidating CurPPLexer. Thanks to
Peter Thoman for pointing it out.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
