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 | 03162d6d2aef5667816ce19788b6a752299bea43 (patch) | |
tree | 8046f72f6e0154c39c0e38dd2adb5b9a7cc41dfa /lib/Sema/SemaType.cpp | |
parent | bf5de3faf3af5f35ec635b62548d23b883183afd (diff) |
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);
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67705 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaType.cpp')
0 files changed, 0 insertions, 0 deletions