diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-14 01:42:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-02-14 01:42:24 +0000 |
commit | 9d3f5f7550a2fab4178ed01425758c349b73a609 (patch) | |
tree | 98c17d536d02f52d2195d20314a44e8a06040dab /include/clang/Basic/TokenKinds.h | |
parent | 462dae559c2377db365a8da1d84c5400284ebd30 (diff) |
Make LexOnOffSwitch a Preprocessor member function
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125473 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/TokenKinds.h')
-rw-r--r-- | include/clang/Basic/TokenKinds.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/Basic/TokenKinds.h b/include/clang/Basic/TokenKinds.h index 85dc0671de..515390a8ce 100644 --- a/include/clang/Basic/TokenKinds.h +++ b/include/clang/Basic/TokenKinds.h @@ -43,6 +43,12 @@ enum ObjCKeywordKind { NUM_OBJC_KEYWORDS }; +/// OnOffSwitch - This defines the possible values of an on-off-switch +/// (C99 6.10.6p2). +enum OnOffSwitch { + OOS_ON, OOS_OFF, OOS_DEFAULT +}; + /// \brief Determines the name of a token as used within the front end. /// /// The name of a token will be an internal name (such as "l_square") |