#include "clang/Basic/DiagnosticIDs.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/SourceLocation.h"
-#if !LLVM_HAS_STRONG_ENUMS
-#include "clang/Basic/TokenKinds.h"
-#endif
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
class Preprocessor;
class DiagnosticErrorTrap;
class StoredDiagnostic;
-#if LLVM_HAS_STRONG_ENUMS
namespace tok {
enum TokenKind : unsigned short;
}
-#endif
/// \brief Annotates a diagnostic with some code that should be
/// inserted, removed, or replaced to fix the problem.
namespace tok {
/// \brief Provides a simple uniform namespace for tokens from all C languages.
-enum TokenKind LLVM_ENUM_INT_TYPE(unsigned short) {
+enum TokenKind : unsigned short {
#define TOK(X) X,
#include "clang/Basic/TokenKinds.def"
NUM_TOKENS