hanchenye-llvm-project/clang/lib/Analysis
Hans Wennborg 0d81e01916 Add support for __wchar_t in -fms-extensions mode.
MSVC provides __wchar_t. This is the same as the built-in wchar_t type
from C++, but it is also available with -fno-wchar and in C.

The commit changes ASTContext to have two different types for this:

  - WCharTy is the built-in type used for wchar_t in C++ and __wchar_t.

  - WideCharTy is the type of a wide character literal. In C++ this is
    the same as WCharTy, and in C  it is an integer type compatible with
    the type in <stddef.h>.

This fixes PR15815.

llvm-svn: 181587
2013-05-10 10:08:40 +00:00
..
AnalysisDeclContext.cpp [analyzer] Add debug helper LocationContext::dumpStack(). 2013-03-30 01:31:35 +00:00
BodyFarm.cpp Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None 2013-05-05 00:41:58 +00:00
BodyFarm.h Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
CFG.cpp C++1y: Allow aggregates to have default initializers. 2013-04-20 22:23:05 +00:00
CFGReachabilityAnalysis.cpp
CFGStmtMap.cpp Remove the CFGElement "Invalid" state. 2013-02-23 00:29:34 +00:00
CMakeLists.txt
CallGraph.cpp
CocoaConventions.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
Dominators.cpp
FormatString.cpp Add support for __wchar_t in -fms-extensions mode. 2013-05-10 10:08:40 +00:00
FormatStringParsing.h
LiveVariables.cpp Remove the CFGElement "Invalid" state. 2013-02-23 00:29:34 +00:00
Makefile
ObjCNoReturn.cpp
PostOrderCFGView.cpp
PrintfFormatString.cpp Add support for __wchar_t in -fms-extensions mode. 2013-05-10 10:08:40 +00:00
ProgramPoint.cpp
PseudoConstantAnalysis.cpp
ReachableCode.cpp Remove the CFGElement "Invalid" state. 2013-02-23 00:29:34 +00:00
ScanfFormatString.cpp Add support for __wchar_t in -fms-extensions mode. 2013-05-10 10:08:40 +00:00
ThreadSafety.cpp Thread safety analysis: turn on checking within lock and unlock functions. 2013-04-08 20:11:11 +00:00
UninitializedValues.cpp Remove the CFGElement "Invalid" state. 2013-02-23 00:29:34 +00:00