summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-03-23 22:28:25 +0000
committerTed Kremenek <kremenek@apple.com>2009-03-23 22:28:25 +0000
commitfd14fade2ffc39651ec848acf182fb66330dcb43 (patch)
treeb85266c445fc9f13196416b647849c3a1c53b446 /clang/lib/Sema/Sema.h
parentc8e54db801835a05542cdf95b2d540b17c84ad36 (diff)
downloadbcm5719-llvm-fd14fade2ffc39651ec848acf182fb66330dcb43.tar.gz
bcm5719-llvm-fd14fade2ffc39651ec848acf182fb66330dcb43.zip
Implement '#pragma unused'.
llvm-svn: 67569
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index e8702bcea10..a071455276a 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2073,6 +2073,12 @@ public:
SourceLocation LParenLoc,
SourceLocation RParenLoc);
+ /// ActOnPragmaUnused - Called on well-formed '#pragma unused'.
+ virtual void ActOnPragmaUnused(ExprTy **Exprs, unsigned NumExprs,
+ SourceLocation PragmaLoc,
+ SourceLocation LParenLoc,
+ SourceLocation RParenLoc);
+
/// getPragmaPackAlignment() - Return the current alignment as specified by
/// the current #pragma pack directive, or 0 if none is currently active.
unsigned getPragmaPackAlignment() const;
OpenPOWER on IntegriCloud