summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2017-07-17 02:03:21 +0000
committerFaisal Vali <faisalv@yahoo.com>2017-07-17 02:03:21 +0000
commit0e54e5679e92951d73f9f6492c0734d8746d76a9 (patch)
treef716af622bd481355d5c3f2de2447dd1240008cc /clang/lib/Frontend/PrintPreprocessedOutput.cpp
parent11746b05e576ca2a1f21b61721d0a13975ace751 (diff)
downloadbcm5719-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/Frontend/PrintPreprocessedOutput.cpp')
-rw-r--r--clang/lib/Frontend/PrintPreprocessedOutput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/PrintPreprocessedOutput.cpp b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
index 914039ad5bb..5336de1f746 100644
--- a/clang/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/clang/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -38,8 +38,8 @@ static void PrintMacroDefinition(const IdentifierInfo &II, const MacroInfo &MI,
if (MI.isFunctionLike()) {
OS << '(';
- 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) {
OS << (*AI)->getName();
OS << ',';
OpenPOWER on IntegriCloud