<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, 24 Sep 2018 at 16:42, Shoaib Meenai via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-3675093682513866043WordSection1">
<p class="MsoNormal">Sorry to revive an old thread, but just to confirm, was it intentional for the fundamental typeinfo for char8_t to be always emitted, even when not building with -fchar8_t?</p></div></div></blockquote><div><br></div><div>Yes; the ABI library should generally provide type_info objects for all fundamental types, including those that are not available in the current compilation, because it can be used with code built in other configurations. We do the same for (eg) long long, __float128, and __float16, even though they are not necessarily enabled in all compilation modes.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-3675093682513866043WordSection1"><p class="MsoNormal"><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">cfe-commits <<a href="mailto:cfe-commits-bounces@lists.llvm.org" target="_blank">cfe-commits-bounces@lists.llvm.org</a>> on behalf of Richard Smith via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>><br>
<b>Reply-To: </b>Richard Smith <<a href="mailto:richard-llvm@metafoo.co.uk" target="_blank">richard-llvm@metafoo.co.uk</a>><br>
<b>Date: </b>Monday, April 30, 2018 at 10:06 PM<br>
<b>To: </b>"<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>" <<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>><br>
<b>Subject: </b>r331244 - Implement P0482R2, support for char8_t type.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Author: rsmith<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Date: Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">New Revision: 331244<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D331244-26view-3Drev&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7fyjnMpg8tSWIPmJ46q5iSAomEeeXb5iAHykEvjG-Bs&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D331244-26view-3Drev&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7fyjnMpg8tSWIPmJ46q5iSAomEeeXb5iAHykEvjG-Bs&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Log:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Implement P0482R2, support for char8_t type.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">This is not yet part of any C++ working draft, and so is controlled by the flag<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-fchar8_t rather than a -std= flag. (The GCC implementation is controlled by a<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">flag with the same name.)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">This implementation is experimental, and will be removed or revised<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">substantially to match the proposal as it makes its way through the C++<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">committee.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Added:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/test/CodeGenCXX/char8_t.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/test/Lexer/char8_t.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/test/SemaCXX/char8_t.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/AST/ASTContext.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/AST/BuiltinTypes.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/AST/Type.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Basic/LangOptions.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Basic/Specifiers.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Basic/TokenKinds.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Driver/Options.td<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Sema/DeclSpec.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Sema/Initialization.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/include/clang/Serialization/ASTBitCodes.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/ASTContext.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/ExprConstant.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/ItaniumMangle.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/MicrosoftMangle.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/NSAPI.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/Type.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/AST/TypeLoc.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Analysis/PrintfFormatString.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Basic/IdentifierTable.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/CodeGen/CodeGenTypes.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Driver/ToolChains/Clang.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Format/FormatToken.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Frontend/CompilerInvocation.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Frontend/InitPreprocessor.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Index/USRGeneration.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Lex/PPExpressions.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Parse/ParseDecl.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Parse/ParseExpr.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Parse/ParseExprCXX.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Parse/ParseTentative.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/DeclSpec.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaDecl.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaDeclCXX.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaExpr.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaInit.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaOverload.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaTemplate.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaTemplateVariadic.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Sema/SemaType.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Serialization/ASTCommon.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/lib/Serialization/ASTReader.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">    cfe/trunk/test/Lexer/cxx-features.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/AST/ASTContext.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_ASTContext.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=9xFtO5gx5AjdOJolymIqhtKCHN79DrOyjXIADk5NNOA&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_ASTContext.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=9xFtO5gx5AjdOJolymIqhtKCHN79DrOyjXIADk5NNOA&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/AST/ASTContext.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/AST/ASTContext.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -999,6 +999,7 @@ public:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType WCharTy;  // [C++ 3.9.1p5].<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType WIntTy;   // [C99 7.24.1], integer type unchanged by default promotions.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  CanQualType Char8Ty;  // [C++20 proposal]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/AST/BuiltinTypes.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_BuiltinTypes.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=nVLJ5LpyHD_3I5wUoW4iW0yLjw4tuOCRr9ho0zcUwSQ&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_BuiltinTypes.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=nVLJ5LpyHD_3I5wUoW4iW0yLjw4tuOCRr9ho0zcUwSQ&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/AST/BuiltinTypes.def (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/AST/BuiltinTypes.def Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -72,6 +72,9 @@ UNSIGNED_TYPE(UChar, UnsignedCharTy)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">// 'wchar_t' for targets where it's unsigned<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(WChar_U, WCharTy))<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+// 'char8_t' in C++20 (proposed)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+UNSIGNED_TYPE(Char8, Char8Ty)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">// 'char16_t' in C++<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">UNSIGNED_TYPE(Char16, Char16Ty)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/AST/Type.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_Type.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=2uiDKJ1TYftSa5kjrUkp-8_xvI3vNA4fdrpDVMCx8wc&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_AST_Type.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=2uiDKJ1TYftSa5kjrUkp-8_xvI3vNA4fdrpDVMCx8wc&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/AST/Type.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/AST/Type.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1777,6 +1777,7 @@ public:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isBooleanType() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isCharType() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isWideCharType() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  bool isChar8Type() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isChar16Type() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isChar32Type() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   bool isAnyCharacterType() const;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_DiagnosticSemaKinds.td-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=71MfUp9muqJq_fGX1RDWoXGMia1DMIn_VMmdEvZ0RlE&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_DiagnosticSemaKinds.td-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=71MfUp9muqJq_fGX1RDWoXGMia1DMIn_VMmdEvZ0RlE&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2421,6 +2421,9 @@ def err_template_different_associated_co<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def warn_cxx98_compat_unicode_type : Warning<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   "'%0' type specifier is incompatible with C++98">,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   InGroup<CXX98Compat>, DefaultIgnore;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def warn_cxx17_compat_unicode_type : Warning<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  "'char8_t' type specifier is incompatible with C++ standards before C++20">,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  InGroup<CXXPre2aCompat>, DefaultIgnore;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">// __make_integer_seq<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def err_integer_sequence_negative_length : Error<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -5822,6 +5825,13 @@ def err_array_init_wide_string_into_char<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   "initializing char array with wide string literal">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def err_array_init_incompat_wide_string_into_wchar : Error<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   "initializing wide char array with incompatible wide string literal">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def err_array_init_plain_string_into_char8_t : Error<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  "initializing 'char8_t' array with plain string literal">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def note_array_init_plain_string_into_char8_t : Note<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  "add 'u8' prefix to form a 'char8_t' string literal">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def err_array_init_utf8_string_into_char : Error<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  "initialization of char array with UTF-8 string literal is not permitted "<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  "by '-fchar8_t'">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def err_array_init_different_type : Error<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   "cannot initialize array %diff{of type $ with array of type $|"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   "with different type of array}0,1">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Basic/LangOptions.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_LangOptions.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=runF5kQwpvGO2zD2V0tQQ-OkczIU0zO5yo6YFYHzysk&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_LangOptions.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=runF5kQwpvGO2zD2V0tQQ-OkczIU0zO5yo6YFYHzysk&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Basic/LangOptions.def (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Basic/LangOptions.def Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -106,6 +106,7 @@ LANGOPT(LineComment       , 1, 0, "'//'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">LANGOPT(Bool              , 1, 0, "bool, true, and false keywords")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">LANGOPT(Half              , 1, 0, "half keyword")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">LANGOPT(WChar             , 1, CPlusPlus, "wchar_t keyword")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+LANGOPT(Char8             , 1, 0, "char8_t keyword")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">LANGOPT(DeclSpecKeyword   , 1, 0, "__declspec keyword")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">BENIGN_LANGOPT(DollarIdents   , 1, 1, "'$' in identifiers")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">BENIGN_LANGOPT(AsmPreprocessor, 1, 0, "preprocessor in asm mode")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Basic/Specifiers.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_Specifiers.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=im9MYO4ZJYhTyZGB43sN1QSMaDtQH80G3YjmDvMfZTE&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_Specifiers.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=im9MYO4ZJYhTyZGB43sN1QSMaDtQH80G3YjmDvMfZTE&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Basic/Specifiers.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Basic/Specifiers.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -47,6 +47,7 @@ namespace clang {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_void,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_char,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_wchar,        // C++ wchar_t<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    TST_char8,        // C++20 char8_t (proposed)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_char16,       // C++11 char16_t<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_char32,       // C++11 char32_t<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     TST_int,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Basic/TokenKinds.def<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_TokenKinds.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=WKP42u-fM1k_elNke1VNZiQl3FEMVH9eL4-KY5LAiFQ&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Basic_TokenKinds.def-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=WKP42u-fM1k_elNke1VNZiQl3FEMVH9eL4-KY5LAiFQ&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Basic/TokenKinds.def (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Basic/TokenKinds.def Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -260,6 +260,7 @@ PUNCTUATOR(caretcaret,            "^^")<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">//   BOOLSUPPORT - This is a keyword if 'bool' is a built-in type<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">//   HALFSUPPORT - This is a keyword if 'half' is a built-in type<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">//   WCHARSUPPORT - This is a keyword if 'wchar_t' is a built-in type<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+//   CHAR8SUPPORT - This is a keyword if 'char8_t' is a built-in type<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">//<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">KEYWORD(auto                        , KEYALL)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">KEYWORD(break                       , KEYALL)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -380,6 +381,9 @@ KEYWORD(co_yield                    , KE<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">MODULES_KEYWORD(module)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">MODULES_KEYWORD(import)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+// C++ char8_t proposal<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+KEYWORD(char8_t                     , CHAR8SUPPORT)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">// C11 Extension<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">KEYWORD(_Float16                    , KEYALL)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Driver/Options.td<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Driver_Options.td-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=H9sO5F67IvVzUZ2PVjcjdf6-RmvvMLIdADPwTqsmppE&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Driver_Options.td-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=H9sO5F67IvVzUZ2PVjcjdf6-RmvvMLIdADPwTqsmppE&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Driver/Options.td (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Driver/Options.td Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1525,6 +1525,10 @@ def frtti : Flag<["-"], "frtti">, Group<<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def : Flag<["-"], "fsched-interblock">, Group<clang_ignored_f_Group>;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def fshort_enums : Flag<["-"], "fshort-enums">, Group<f_Group>, Flags<[CC1Option]>,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   HelpText<"Allocate to an enum type only as many bytes as it needs for the declared range of possible values">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def fchar8__t : Flag<["-"], "fchar8_t">, Group<f_Group>, Flags<[CC1Option]>,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  HelpText<"Enable C++ builtin type char8_t">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+def fno_char8__t : Flag<["-"], "fno-char8_t">, Group<f_Group>,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  HelpText<"Disable C++ builtin type char8_t">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def fshort_wchar : Flag<["-"], "fshort-wchar">, Group<f_Group>,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   HelpText<"Force wchar_t to be a short unsigned int">;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">def fno_short_wchar : Flag<["-"], "fno-short-wchar">, Group<f_Group>,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Sema/DeclSpec.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Sema_DeclSpec.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=u5pfyoU8ST3absjsbc9CFlX5-EggS_makjnJBk69D-w&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Sema_DeclSpec.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=u5pfyoU8ST3absjsbc9CFlX5-EggS_makjnJBk69D-w&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Sema/DeclSpec.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Sema/DeclSpec.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -273,6 +273,7 @@ public:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_void = clang::TST_void;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_char = clang::TST_char;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_wchar = clang::TST_wchar;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  static const TST TST_char8 = clang::TST_char8;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_char16 = clang::TST_char16;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_char32 = clang::TST_char32;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   static const TST TST_int = clang::TST_int;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Sema/Initialization.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Sema_Initialization.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=wTYWJmCLg0Q-0gQ_mxBXbnAgcxX6IT9bzm9u6DFVm80&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Sema_Initialization.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=wTYWJmCLg0Q-0gQ_mxBXbnAgcxX6IT9bzm9u6DFVm80&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Sema/Initialization.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Sema/Initialization.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -952,6 +952,12 @@ public:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     /// literal.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     FK_IncompatWideStringIntoWideChar,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    /// \brief Initializing char8_t array with plain string literal.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    FK_PlainStringIntoUTF8Char,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    /// \brief Initializing char array with UTF-8 string literal.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    FK_UTF8StringIntoPlainChar,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     /// \brief Array type mismatch.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     FK_ArrayTypeMismatch,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/include/clang/Serialization/ASTBitCodes.h<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Serialization_ASTBitCodes.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=C8nZZiGcPF9OUoIDB9mUwWmY6VGNKkWhpS_KDCy-MZY&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_include_clang_Serialization_ASTBitCodes.h-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=C8nZZiGcPF9OUoIDB9mUwWmY6VGNKkWhpS_KDCy-MZY&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/include/clang/Serialization/ASTBitCodes.h (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/include/clang/Serialization/ASTBitCodes.h Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -936,6 +936,9 @@ namespace serialization {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       /// \brief The '_Float16' type<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       PREDEF_TYPE_FLOAT16_ID = 44,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+      /// \brief The C++ 'char8_t' type.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+      PREDEF_TYPE_CHAR8_ID = 45,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       /// \brief OpenCL image types with auto numeration<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       PREDEF_TYPE_##Id##_ID,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/ASTContext.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ASTContext.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=cOs6KUZnMwaVJUQGRo6uR7eweOZPXmmluCQuOWNhrPU&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ASTContext.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=cOs6KUZnMwaVJUQGRo6uR7eweOZPXmmluCQuOWNhrPU&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/ASTContext.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/ASTContext.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1151,6 +1151,9 @@ void ASTContext::InitBuiltinTypes(const<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   WIntTy = getFromTargetType(Target.getWIntType());<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  // C++20 (proposed)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  InitBuiltinType(Char8Ty,              BuiltinType::Char8);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.CPlusPlus) // C++0x 3.9.1p5, extension for C++<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     InitBuiltinType(Char16Ty,           BuiltinType::Char16);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   else // C99<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1739,6 +1742,7 @@ TypeInfo ASTContext::getTypeInfoImpl(con<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::UChar:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::SChar:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       Width = Target->getCharWidth();<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       Align = Target->getCharAlign();<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -5456,6 +5460,7 @@ QualType ASTContext::getPromotedIntegerT<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     // FIXME: Is there some better way to compute this?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     if (BT->getKind() == BuiltinType::WChar_S ||<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">         BT->getKind() == BuiltinType::WChar_U ||<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+        BT->getKind() == BuiltinType::Char8 ||<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">         BT->getKind() == BuiltinType::Char16 ||<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">         BT->getKind() == BuiltinType::Char32) {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       bool FromIsSigned = BT->getKind() == BuiltinType::WChar_S;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -6202,6 +6207,7 @@ static char getObjCEncodingForPrimitiveK<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     switch (kind) {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Void:       return 'v';<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Bool:       return 'B';<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::UChar:      return 'C';<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/ExprConstant.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ExprConstant.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=H9oTx0hxRV2YiaqRaAT62rPqwLaeI6qSx1Jnr4eq33k&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ExprConstant.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=H9oTx0hxRV2YiaqRaAT62rPqwLaeI6qSx1Jnr4eq33k&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/ExprConstant.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/ExprConstant.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -7326,6 +7326,7 @@ static int EvaluateBuiltinClassifyType(c<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       return pointer_type_class;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::ObjCId:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/ItaniumMangle.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ItaniumMangle.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=8sy6OE5pi8Ry9q6y17BaUw30pa7hvsxmLVOkx_e3JOI&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_ItaniumMangle.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=8sy6OE5pi8Ry9q6y17BaUw30pa7hvsxmLVOkx_e3JOI&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/ItaniumMangle.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/ItaniumMangle.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2525,6 +2525,9 @@ void CXXNameMangler::mangleType(const Bu<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Out << 'w';<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    Out << "Du";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Out << "Ds";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/MicrosoftMangle.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_MicrosoftMangle.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=Oe755zBOlULArIedwdkG4ESB44N3II4b8ks8mqhWBXg&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_MicrosoftMangle.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=Oe755zBOlULArIedwdkG4ESB44N3II4b8ks8mqhWBXg&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/MicrosoftMangle.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/MicrosoftMangle.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1918,6 +1918,7 @@ void MicrosoftCXXNameMangler::mangleType<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Out << "$$T";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Float16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     mangleArtificalTagType(TTK_Struct, "_Float16", {"__clang"});<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/NSAPI.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_NSAPI.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=LszgOQ0OAtQi2smrBjINDfOOO0JW2QALu8AnaRQYETw&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_NSAPI.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=LszgOQ0OAtQi2smrBjINDfOOO0JW2QALu8AnaRQYETw&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/NSAPI.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/NSAPI.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -436,6 +436,7 @@ NSAPI::getNSNumberFactoryMethodKind(Qual<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Void:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Int128:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/Type.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_Type.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=orhBoXrhRRVshKrjW77pTveqJpEGpXW8tXyGtGjSeW4&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_Type.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=orhBoXrhRRVshKrjW77pTveqJpEGpXW8tXyGtGjSeW4&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/Type.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/Type.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1763,6 +1763,12 @@ bool Type::isWideCharType() const {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   return false;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+bool Type::isChar8Type() const {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  if (const BuiltinType *BT = dyn_cast<BuiltinType>(CanonicalType))<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    return BT->getKind() == BuiltinType::Char8;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  return false;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">bool Type::isChar16Type() const {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (const auto *BT = dyn_cast<BuiltinType>(CanonicalType))<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     return BT->getKind() == BuiltinType::Char16;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -1785,6 +1791,7 @@ bool Type::isAnyCharacterType() const {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::UChar:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2419,6 +2426,7 @@ bool Type::isPromotableIntegerType() con<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::UShort:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::WChar_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       return true;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2655,6 +2663,8 @@ StringRef BuiltinType::getName(const Pri<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case WChar_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     return Policy.MSWChar ? "__wchar_t" : "wchar_t";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    return "char8_t";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     return "char16_t";<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/AST/TypeLoc.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_TypeLoc.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=czE7uVgwmaS0tL19k_4O_a107woTNWonZBuYRyuuFCE&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_AST_TypeLoc.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=czE7uVgwmaS0tL19k_4O_a107woTNWonZBuYRyuuFCE&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/AST/TypeLoc.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/AST/TypeLoc.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -317,6 +317,8 @@ TypeSpecifierType BuiltinTypeLoc::getWri<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     return TST_char;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    return TST_char8;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     return TST_char16;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Analysis/PrintfFormatString.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Analysis_PrintfFormatString.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=SMqf7-kzif3FR52t2zKRcorAotHjhJwTrs_EM_cSzmg&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Analysis_PrintfFormatString.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=SMqf7-kzif3FR52t2zKRcorAotHjhJwTrs_EM_cSzmg&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Analysis/PrintfFormatString.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Analysis/PrintfFormatString.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -647,6 +647,7 @@ bool PrintfSpecifier::fixType(QualType Q<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Bool:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::WChar_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8: // FIXME: Treat like 'char'?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::UInt128:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Basic/IdentifierTable.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Basic_IdentifierTable.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=vs1ezrBwj1inarHICFoMMpHzh-isKMrQ_oIWI4tDT68&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Basic_IdentifierTable.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=vs1ezrBwj1inarHICFoMMpHzh-isKMrQ_oIWI4tDT68&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Basic/IdentifierTable.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Basic/IdentifierTable.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -115,14 +115,15 @@ namespace {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     KEYNOOPENCL = 0x02000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     WCHARSUPPORT = 0x04000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     HALFSUPPORT = 0x08000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYCONCEPTS = 0x10000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYOBJC2    = 0x20000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYZVECTOR  = 0x40000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYCOROUTINES = 0x80000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYMODULES = 0x100000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYCXX2A = 0x200000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    CHAR8SUPPORT = 0x10000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYCONCEPTS = 0x20000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYOBJC2    = 0x40000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYZVECTOR  = 0x80000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYCOROUTINES = 0x100000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYMODULES = 0x200000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYCXX2A = 0x400000,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     KEYALLCXX = KEYCXX | KEYCXX11 | KEYCXX2A,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-    KEYALL = (0x3fffff & ~KEYNOMS18 &<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    KEYALL = (0x7fffff & ~KEYNOMS18 &<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">               ~KEYNOOPENCL) // KEYNOMS18 and KEYNOOPENCL are used to exclude.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   };<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -151,6 +152,7 @@ static KeywordStatus getKeywordStatus(co<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.Bool && (Flags & BOOLSUPPORT)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.Half && (Flags & HALFSUPPORT)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.WChar && (Flags & WCHARSUPPORT)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  if (LangOpts.Char8 && (Flags & CHAR8SUPPORT)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.AltiVec && (Flags & KEYALTIVEC)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.OpenCL && (Flags & KEYOPENCL)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) return KS_Enabled;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_CGDebugInfo.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=ZLy817Da-x4STf9aqJo412qutq_dVtNvTJTDN6SMGa8&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_CGDebugInfo.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=ZLy817Da-x4STf9aqJo412qutq_dVtNvTJTDN6SMGa8&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -665,6 +665,7 @@ llvm::DIType *CGDebugInfo::CreateType(co<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::SChar:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Encoding = llvm::dwarf::DW_ATE_signed_char;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Encoding = llvm::dwarf::DW_ATE_UTF;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/CodeGen/CodeGenTypes.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_CodeGenTypes.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=OsF-jtYC21lQFNgvkQz4Mtp8zxviWAfMSwftzmhvVk4&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_CodeGenTypes.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=OsF-jtYC21lQFNgvkQz4Mtp8zxviWAfMSwftzmhvVk4&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/CodeGen/CodeGenTypes.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/CodeGen/CodeGenTypes.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -437,6 +437,7 @@ llvm::Type *CodeGenTypes::ConvertType(Qu<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::ULongLong:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::WChar_S:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::WChar_U:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       ResultType = llvm::IntegerType::get(getLLVMContext(),<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_ItaniumCXXABI.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=w7v8KExQASD3UZXlqrj_pT-FocBs0XOblzHJE0C1nQ8&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_CodeGen_ItaniumCXXABI.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=w7v8KExQASD3UZXlqrj_pT-FocBs0XOblzHJE0C1nQ8&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2706,6 +2706,7 @@ static bool TypeInfoIsInStandardLibrary(<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::LongDouble:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Float16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Float128:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char16:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Char32:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     case BuiltinType::Int128:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -3567,7 +3568,8 @@ void ItaniumCXXABI::EmitFundamentalRTTID<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       getContext().UnsignedInt128Ty,   getContext().HalfTy,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       getContext().FloatTy,            getContext().DoubleTy,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">       getContext().LongDoubleTy,       getContext().Float128Ty,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">-      getContext().Char16Ty,           getContext().Char32Ty<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+      getContext().Char8Ty,            getContext().Char16Ty,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+      getContext().Char32Ty<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   };<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   for (const QualType &FundamentalType : FundamentalTypes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     EmitFundamentalRTTIDescriptor(FundamentalType, DLLExport);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Driver/ToolChains/Clang.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Driver_ToolChains_Clang.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=l3k9g0qkBeeGNJH0MzNw2aLvT4MjrQaWH0LPy60rACk&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Driver_ToolChains_Clang.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=l3k9g0qkBeeGNJH0MzNw2aLvT4MjrQaWH0LPy60rACk&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Driver/ToolChains/Clang.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Driver/ToolChains/Clang.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2687,6 +2687,9 @@ static void RenderCharacterOptions(const<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     CmdArgs.push_back("-fno-signed-char");<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   }<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  if (Args.hasFlag(options::OPT_fchar8__t, options::OPT_fno_char8__t, false))<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    CmdArgs.push_back("-fchar8_t");<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (const Arg *A = Args.getLastArg(options::OPT_fshort_wchar,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">                                      options::OPT_fno_short_wchar)) {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     if (A->getOption().matches(options::OPT_fshort_wchar)) {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Format/FormatToken.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Format_FormatToken.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=HunWUFE1inKqgXgyZVZw51ADzS6j-VrgTcnDwcyCBjE&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Format_FormatToken.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=HunWUFE1inKqgXgyZVZw51ADzS6j-VrgTcnDwcyCBjE&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Format/FormatToken.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Format/FormatToken.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -57,6 +57,7 @@ bool FormatToken::isSimpleTypeSpecifier(<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::kw_bool:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::kw___underlying_type:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::annot_typename:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  case tok::kw_char8_t:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::kw_char16_t:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::kw_char32_t:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   case tok::kw_typeof:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Frontend_CompilerInvocation.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7znGHdt6Gx2p7G7J6VutLbCsv3KOG4dsrbo-JCCQnEg&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Frontend_CompilerInvocation.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7znGHdt6Gx2p7G7J6VutLbCsv3KOG4dsrbo-JCCQnEg&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -2362,6 +2362,7 @@ static void ParseLangArgs(LangOptions &O<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   Opts.ImplicitModules = !Args.hasArg(OPT_fno_implicit_modules);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   Opts.CharIsSigned = Opts.OpenCL || !Args.hasArg(OPT_fno_signed_char);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   Opts.WChar = Opts.CPlusPlus && !Args.hasArg(OPT_fno_wchar);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  Opts.Char8 = Args.hasArg(OPT_fchar8__t);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (const Arg *A = Args.getLastArg(OPT_fwchar_type_EQ)) {<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Opts.WCharSize = llvm::StringSwitch<unsigned>(A->getValue())<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">                          .Case("char", 1)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Frontend/InitPreprocessor.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Frontend_InitPreprocessor.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7_7ZBPRO2eOpiTYqmJZnpn225YJ9GnSXs6EY6Zqid7k&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Frontend_InitPreprocessor.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=7_7ZBPRO2eOpiTYqmJZnpn225YJ9GnSXs6EY6Zqid7k&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Frontend/InitPreprocessor.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Frontend/InitPreprocessor.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -559,6 +559,10 @@ static void InitializeCPlusPlusFeatureTe<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Builder.defineMacro("__cpp_experimental_concepts", "1");<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">   if (LangOpts.CoroutinesTS)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     Builder.defineMacro("__cpp_coroutines", "201703L");<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  // Potential future breaking changes.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+  if (LangOpts.Char8)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    Builder.defineMacro("__cpp_char8_t", "201803");<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">}<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">static void InitializePredefinedMacros(const TargetInfo &TI,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -939,6 +943,8 @@ static void InitializePredefinedMacros(c<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">                                        InlineWidthBits));<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     DEFINE_LOCK_FREE_MACRO(BOOL, Bool);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     DEFINE_LOCK_FREE_MACRO(CHAR, Char);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+    if (LangOpts.Char8)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+      DEFINE_LOCK_FREE_MACRO(CHAR8_T, Char); // Treat char8_t like char.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     DEFINE_LOCK_FREE_MACRO(CHAR16_T, Char16);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     DEFINE_LOCK_FREE_MACRO(CHAR32_T, Char32);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">     DEFINE_LOCK_FREE_MACRO(WCHAR_T, WChar);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Modified: cfe/trunk/lib/Index/USRGeneration.cpp<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Index_USRGeneration.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=iaA8AE4rUs7fxePml91TsFyZuYPIQiiPkq9jg6p_OWA&e=" target="_blank">
https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_cfe_trunk_lib_Index_USRGeneration.cpp-3Frev-3D331244-26r1-3D331243-26r2-3D331244-26view-3Ddiff&d=DwIGaQ&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=1yVxc98c1AfALi19DC1J845Xm76O2Y-TVidL7ln97Ng&s=iaA8AE4rUs7fxePml91TsFyZuYPIQiiPkq9jg6p_OWA&e=</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">==============================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">--- cfe/trunk/lib/Index/USRGeneration.cpp (original)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+++ cfe/trunk/lib/Index/USRGeneration.cpp Mon Apr 30 22:02:45 2018<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">@@ -650,6 +650,8 @@ void USRGenerator::VisitType(QualType T)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">           c = 'b'; break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">         case BuiltinType::UChar:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">           c = 'c'; break;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+        case BuiltinType::Char8:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">+          c = 'u'; break; // FIXME: Check this doesn't collide<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"></p></div></div></div></blockquote></div></div>