summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-26 23:36:02 +0000
committerChris Lattner <sabre@nondot.org>2009-02-26 23:36:02 +0000
commit7ec0bb6bc0b4dd8532afa5bdca276a2752a8ffb0 (patch)
treec99cc808ab266ce0f59b8c0eee8d8ad79c18ad7f /clang/lib/AST
parenta9196810b3fb90600e8bb2fae5839323187ba153 (diff)
downloadbcm5719-llvm-7ec0bb6bc0b4dd8532afa5bdca276a2752a8ffb0.tar.gz
bcm5719-llvm-7ec0bb6bc0b4dd8532afa5bdca276a2752a8ffb0.zip
ok, not as broken as I thought, just confusing. This allows
initialization of wchar_t arrays with wide strings, and generalizes wchar_size.c to work on all targets. llvm-svn: 65586
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 2b4bc89aace..f76d320c386 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -1444,8 +1444,6 @@ QualType ASTContext::getWCharType() const {
if (LangOpts.CPlusPlus)
return WCharTy;
- // FIXME: In C, shouldn't WCharTy just be a typedef of the target's
- // wide-character type?
return getFromTargetType(Target.getWCharType());
}
OpenPOWER on IntegriCloud