/// in <stddef.h>. The sizeof operator requires this (C99 6.5.3.4p4).
QualType getSizeType() const;
- /// getWcharType - Return the unique type for "wchar_t" (C99 7.17), defined
+ /// getWCharType - Return the unique type for "wchar_t" (C99 7.17), defined
/// in <stddef.h>. Wide strings require this (C99 6.4.5p5).
- QualType getWcharType() const;
+ QualType getWCharType() const;
/// getSignedWCharType - Return the type of "signed wchar_t".
/// Used when in C++, as a GCC extension.
return UnsignedLongTy;
}
-/// getWcharType - Return the unique type for "wchar_t" (C99 7.17), the
+/// getWCharType - Return the unique type for "wchar_t" (C99 7.17), the
/// width of characters in wide strings, The value is target dependent and
/// needs to agree with the definition in <stddef.h>.
-QualType ASTContext::getWcharType() const {
+QualType ASTContext::getWCharType() const {
if (LangOpts.CPlusPlus)
return WCharTy;
StringToks[NumStringToks-1].getLocation()));
QualType StrTy = Context.CharTy;
- if (Literal.AnyWide) StrTy = Context.getWcharType();
+ if (Literal.AnyWide) StrTy = Context.getWCharType();
if (Literal.Pascal) StrTy = Context.UnsignedCharTy;
// Get an array type for the string, according to C99 6.4.5. This includes