diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-31 18:53:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-31 18:53:44 +0000 |
commit | 21ae40e5135aa6bb9a02e3dcc447ba98471c59a3 (patch) | |
tree | a569e522d5f6e1d041af61c077a87d748fae9aef /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a173ee56fd5c52fdb93da9c108b3de3be7779746 (diff) | |
download | bcm5719-llvm-21ae40e5135aa6bb9a02e3dcc447ba98471c59a3.tar.gz bcm5719-llvm-21ae40e5135aa6bb9a02e3dcc447ba98471c59a3.zip |
fix a crash on:
__has_builtin
in an empty file, as we were overwriting the EOF token. Overwriting an arbitrary token
never seems like a good idea in the error case. This fixes a bug reported on the GCC
list :)
llvm-svn: 149397
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions