summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaAttr.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-01-21 05:43:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-01-21 05:43:40 +0000
commitde15baf1f429b8672effb3e75de6a02e9d3ea9a8 (patch)
treef7642bdbdd51b9fddb619dca5d44b1d50a3dd16b /clang/lib/Sema/SemaAttr.cpp
parentbc48f32d0ab1e3224ce22db0a6c3eab9c2141805 (diff)
downloadbcm5719-llvm-de15baf1f429b8672effb3e75de6a02e9d3ea9a8.tar.gz
bcm5719-llvm-de15baf1f429b8672effb3e75de6a02e9d3ea9a8.zip
Remove redundant argument.
llvm-svn: 148628
Diffstat (limited to 'clang/lib/Sema/SemaAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaAttr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaAttr.cpp b/clang/lib/Sema/SemaAttr.cpp
index 6aae8db3914..0859cb727b5 100644
--- a/clang/lib/Sema/SemaAttr.cpp
+++ b/clang/lib/Sema/SemaAttr.cpp
@@ -345,9 +345,9 @@ static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) {
Stack->push_back(std::make_pair(type, loc));
}
-void Sema::ActOnPragmaVisibility(bool IsPush, const IdentifierInfo* VisType,
+void Sema::ActOnPragmaVisibility(const IdentifierInfo* VisType,
SourceLocation PragmaLoc) {
- if (IsPush) {
+ if (VisType) {
// Compute visibility to use.
VisibilityAttr::VisibilityType type;
if (VisType->isStr("default"))
OpenPOWER on IntegriCloud