aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.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
commit4726d03ab3abce41911c31d1354a18f1258cae4d (patch)
treea6b046b2fa27f45d41d4bb9734b2f8e92f00a7fe /include/clang/Parse/Action.h
parent7547f74b52aa51f9a55105bd95cd25bcfa428e5b (diff)
Implement '#pragma unused'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 9325106d1c..844b99a6b1 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -1483,6 +1483,14 @@ public:
SourceLocation RParenLoc) {
return;
}
+
+ /// ActOnPragmaPack - Called on well formed #pragma pack(...).
+ virtual void ActOnPragmaUnused(ExprTy **Exprs, unsigned NumExprs,
+ SourceLocation PragmaLoc,
+ SourceLocation LParenLoc,
+ SourceLocation RParenLoc) {
+ return;
+ }
};
/// MinimalAction - Minimal actions are used by light-weight clients of the