diff options
| author | Faisal Vali <faisalv@yahoo.com> | 2017-07-17 02:03:21 +0000 |
|---|---|---|
| committer | Faisal Vali <faisalv@yahoo.com> | 2017-07-17 02:03:21 +0000 |
| commit | 0e54e5679e92951d73f9f6492c0734d8746d76a9 (patch) | |
| tree | f716af622bd481355d5c3f2de2447dd1240008cc /clang/lib/CodeGen | |
| parent | 11746b05e576ca2a1f21b61721d0a13975ace751 (diff) | |
| download | bcm5719-llvm-0e54e5679e92951d73f9f6492c0734d8746d76a9.tar.gz bcm5719-llvm-0e54e5679e92951d73f9f6492c0734d8746d76a9.zip | |
Revert changes from my previous refactoring - will need to fix dependencies in clang's extra tooling (such as clang-tidy etc.).
Sorry about that.
llvm-svn: 308158
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/MacroPPCallbacks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/MacroPPCallbacks.cpp b/clang/lib/CodeGen/MacroPPCallbacks.cpp index a6f21d8ddcf..6a31dfe53d6 100644 --- a/clang/lib/CodeGen/MacroPPCallbacks.cpp +++ b/clang/lib/CodeGen/MacroPPCallbacks.cpp @@ -26,8 +26,8 @@ void MacroPPCallbacks::writeMacroDefinition(const IdentifierInfo &II, if (MI.isFunctionLike()) { Name << '('; - if (!MI.param_empty()) { - MacroInfo::param_iterator AI = MI.param_begin(), E = MI.param_end(); + if (!MI.arg_empty()) { + MacroInfo::arg_iterator AI = MI.arg_begin(), E = MI.arg_end(); for (; AI + 1 != E; ++AI) { Name << (*AI)->getName(); Name << ','; |

