summaryrefslogtreecommitdiff
path: root/lib/Lex/LiteralSupport.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-30 12:06:08 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-30 12:06:08 +0000
commitcb5620c9b213f4bd323912159fdddda35e258a14 (patch)
tree8cbcd246a699fad1bdec3458b4893fa7b012ab44 /lib/Lex/LiteralSupport.cpp
parente1ac4aec0d30d2d81876e555017e727cc374ff5e (diff)
downloadclang-cb5620c9b213f4bd323912159fdddda35e258a14.tar.gz
clang-cb5620c9b213f4bd323912159fdddda35e258a14.tar.bz2
clang-cb5620c9b213f4bd323912159fdddda35e258a14.tar.xz
Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support
This is required to use them in TableGen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/LiteralSupport.cpp')
-rw-r--r--lib/Lex/LiteralSupport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp
index 09a94a1143..b6cc5996fd 100644
--- a/lib/Lex/LiteralSupport.cpp
+++ b/lib/Lex/LiteralSupport.cpp
@@ -13,12 +13,13 @@
//===----------------------------------------------------------------------===//
#include "clang/Lex/LiteralSupport.h"
-#include "clang/Basic/ConvertUTF.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Lex/LexDiagnostic.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/StringExtras.h"
+#include "llvm/Support/ConvertUTF.h"
#include "llvm/Support/ErrorHandling.h"
+
using namespace clang;
static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) {