diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-25 21:01:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-25 21:01:40 +0000 |
commit | beb9055000f7ca7ed8910c1648580734a41cc94c (patch) | |
tree | 633fc9489dab199c2ef1abaf2fd86b503230c03a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a87b8a9a725ec79f84c14be2c1b9beead129a7c2 (diff) | |
download | bcm5719-llvm-beb9055000f7ca7ed8910c1648580734a41cc94c.tar.gz bcm5719-llvm-beb9055000f7ca7ed8910c1648580734a41cc94c.zip |
remove some dead code. ArgTokens can never be empty, because it is always
terminated with an EOF token. The condition it is trying to check for is
handled by this code above.
// Empty arguments are standard in C99 and supported as an extension in
// other modes.
if (ArgTokens.empty() && !Features.C99)
Diag(Tok, diag::ext_empty_fnmacro_arg);
llvm-svn: 67705
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions