[www-releases] r225843 - Add documentation for 3.5.1

Tom Stellard thomas.stellard at amd.com
Tue Jan 13 14:55:45 PST 2015


Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTContext_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTContext_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTContext_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTContext_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,8332 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
+<meta name="keywords" content="clang,LLVM,Low Level Virtual Machine,C,C++,doxygen,API,frontend,documentation"/>
+<meta name="description" content="C++ source code API documentation for clang."/>
+<title>clang: ASTContext.cpp Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main Page</span></a></li>
+      <li><a href="pages.html"><span>Related Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li>
+        <div id="MSearchBox" class="MSearchBoxInactive">
+        <span class="left">
+          <img id="MSearchSelect" src="search/mag_sel.png"
+               onmouseover="return searchBox.OnSearchSelectShow()"
+               onmouseout="return searchBox.OnSearchSelectHide()"
+               alt=""/>
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
+               onblur="searchBox.OnSearchFieldFocus(false)" 
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
+          </span><span class="right">
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+          </span>
+        </div>
+      </li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File List</span></a></li>
+      <li><a href="globals.html"><span>File Members</span></a></li>
+    </ul>
+  </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+     onmouseover="return searchBox.OnSearchSelectShow()"
+     onmouseout="return searchBox.OnSearchSelectHide()"
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
 (0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0" 
+        name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_87e2a7550f83bd8cbfc92736891468fc.html">lib</a></li><li class="navelem"><a class="el" href="dir_d3636efc55c6148efe36c59ffa01cb41.html">AST</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTContext.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTContext_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">//===--- ASTContext.cpp - Context to hold long-lived AST nodes ------------===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">//                     The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span> <span class="comment">//  This file implements the ASTContext interface.</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span> </div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="preprocessor">#include "<a class="code" href="ASTContext_8h.html" title="Defines the clang::ASTContext interface.">clang/AST/ASTContext.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor">#include "<a class="code" href="CXXABI_8h.html">CXXABI.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="preprocessor">#include "<a class="code" href="ASTMutationListener_8h.html">clang/AST/ASTMutationListener.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="Attr_8h.html">clang/AST/Attr.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor">#include "<a class="code" href="CharUnits_8h.html">clang/AST/CharUnits.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="Comment_8h.html">clang/AST/Comment.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "<a class="code" href="CommentCommandTraits_8h.html">clang/AST/CommentCommandTraits.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="preprocessor">#include "<a class="code" href="DeclCXX_8h.html" title="Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate.h) and friends (in DeclFriend.h).">clang/AST/DeclCXX.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="preprocessor">#include "<a class="code" href="DeclObjC_8h.html">clang/AST/DeclObjC.h</a>"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="preprocessor">#include "<a class="code" href="DeclTemplate_8h.html" title="Defines the C++ template declaration subclasses.">clang/AST/DeclTemplate.h</a>"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="preprocessor">#include "<a class="code" href="Expr_8h.html">clang/AST/Expr.h</a>"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="preprocessor">#include "<a class="code" href="ExprCXX_8h.html" title="Defines the clang::Expr interface and subclasses for C++ expressions.">clang/AST/ExprCXX.h</a>"</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="preprocessor">#include "<a class="code" href="ExternalASTSource_8h.html">clang/AST/ExternalASTSource.h</a>"</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="preprocessor">#include "<a class="code" href="Mangle_8h.html">clang/AST/Mangle.h</a>"</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="preprocessor">#include "<a class="code" href="MangleNumberingContext_8h.html">clang/AST/MangleNumberingContext.h</a>"</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="preprocessor">#include "<a class="code" href="RecordLayout_8h.html">clang/AST/RecordLayout.h</a>"</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="preprocessor">#include "<a class="code" href="RecursiveASTVisitor_8h.html">clang/AST/RecursiveASTVisitor.h</a>"</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="preprocessor">#include "<a class="code" href="TypeLoc_8h.html" title="Defines the clang::TypeLoc interface and its subclasses.">clang/AST/TypeLoc.h</a>"</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="preprocessor">#include "<a class="code" href="Builtins_8h.html" title="Defines enum values for all the target-independent builtin functions.">clang/Basic/Builtins.h</a>"</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="preprocessor">#include "<a class="code" href="SourceManager_8h.html" title="Defines the SourceManager interface.">clang/Basic/SourceManager.h</a>"</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> <span class="preprocessor">#include "<a class="code" href="include_2clang_2Basic_2TargetInfo_8h.html" title="Defines the clang::TargetInfo interface.">clang/Basic/TargetInfo.h</a>"</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> <span class="preprocessor">#include "llvm/ADT/SmallString.h"</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="preprocessor">#include "llvm/ADT/StringExtras.h"</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="preprocessor">#include "llvm/ADT/Triple.h"</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="preprocessor">#include "llvm/Support/Capacity.h"</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="preprocessor">#include "llvm/Support/MathExtras.h"</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="preprocessor">#include "llvm/Support/raw_ostream.h"</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="preprocessor">#include <map></span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> </div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> </div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a86c71e04ead1e3a95359521ffcbf39c3" title="The number of implicitly-declared default constructors.">ASTContext::NumImplicitDefaultConstructors</a>;</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#aa2f6a6cf8183db5e84455cda9e237c7d" title="The number of implicitly-declared default constructors for which declarations were built...">ASTContext::NumImplicitDefaultConstructorsDeclared</a>;</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#ac222f8f25b4c8789e3c451878d1a20f2" title="The number of implicitly-declared copy constructors.">ASTContext::NumImplicitCopyConstructors</a>;</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a9387315d8a2277dd3997d040ea3232cf" title="The number of implicitly-declared copy constructors for which declarations were built.">ASTContext::NumImplicitCopyConstructorsDeclared</a>;</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a52cd7bba1db09372d6b81095b8cb508f" title="The number of implicitly-declared move constructors.">ASTContext::NumImplicitMoveConstructors</a>;</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a5a5daa0c20385bdee5776dd858234ac6" title="The number of implicitly-declared move constructors for which declarations were built.">ASTContext::NumImplicitMoveConstructorsDeclared</a>;</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#ac9d694e2f15faee63052fbb619d7baa2" title="The number of implicitly-declared copy assignment operators.">ASTContext::NumImplicitCopyAssignmentOperators</a>;</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a9bd1672cb37b02c3e4700bbde86f8a62" title="The number of implicitly-declared copy assignment operators for which declarations were built...">ASTContext::NumImplicitCopyAssignmentOperatorsDeclared</a>;</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a243641f1c075a18cdba90a58c9c08118" title="The number of implicitly-declared move assignment operators.">ASTContext::NumImplicitMoveAssignmentOperators</a>;</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a15c1f944948149990ed30fa04b778852" title="The number of implicitly-declared move assignment operators for which declarations were built...">ASTContext::NumImplicitMoveAssignmentOperatorsDeclared</a>;</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#acc7972b20fc356aa6b7d1296ea2226f1" title="The number of implicitly-declared destructors.">ASTContext::NumImplicitDestructors</a>;</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a2647df853d1c4c7315b4b8c5b558ef12" title="The number of implicitly-declared destructors for which declarations were built.">ASTContext::NumImplicitDestructorsDeclared</a>;</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> </div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860b">   58</a></span> <span class="keyword">enum</span> <a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860b">FloatingRank</a> {</div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860ba5aeb5cc576c987dadf688af7268c3019">   59</a></span>   <a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860badadfee1fc80b83c2bf23439125bc5270">HalfRank</a>, <a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860ba5233fe1e61b213de8f929cbcc466eb8f">FloatRank</a>, <a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860bae0dbdac6e27a22fd657006366890d288">DoubleRank</a>, <a class="code" href="ASTContext_8cpp.html#a9d365d6aac4fa797c59739c573ff860ba5aeb5cc576c987dadf688af7268c3019">LongDoubleRank</a></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> };</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> </div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ac1943788edb7e468a507787a2c7af1d6">   62</a></span> <a class="code" href="classclang_1_1RawComment.html">RawComment</a> *<a class="code" href="classclang_1_1ASTContext.html#ac1943788edb7e468a507787a2c7af1d6" title="Return the documentation comment attached to a given declaration, without looking into cache...">ASTContext::getRawCommentForDeclNoCache</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>   <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1ASTContext.html#a81fc4b3c740f8321b8d4e2f54f39f2be" title="True if comments are already loaded from ExternalASTSource.">CommentsLoaded</a> && <a class="code" href="classclang_1_1ASTContext.html#ab244f0fdee4a7887808e31e8430567f0">ExternalSource</a>) {</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>     <a class="code" href="classclang_1_1ASTContext.html#ab244f0fdee4a7887808e31e8430567f0">ExternalSource</a>->ReadComments();</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>     <a class="code" href="classclang_1_1ASTContext.html#a81fc4b3c740f8321b8d4e2f54f39f2be" title="True if comments are already loaded from ExternalASTSource.">CommentsLoaded</a> = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>   }</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> </div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>   assert(D);</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> </div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>   <span class="comment">// User can not attach documentation to implicit declarations.</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>   <span class="keywordflow">if</span> (D-><a class="code" href="classclang_1_1Decl.html#ac4fdc680ed3574eb8630eb54d7869125">isImplicit</a>())</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> </div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>   <span class="comment">// User can not attach documentation to implicit instantiations.</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = dyn_cast<FunctionDecl>(D)) {</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>     <span class="keywordflow">if</span> (FD->getTemplateSpecializationKind() == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>   }</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> </div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *VD = dyn_cast<VarDecl>(D)) {</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>     <span class="keywordflow">if</span> (VD->isStaticDataMember() &&</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>         VD->getTemplateSpecializationKind() == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>   }</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span> </div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *CRD = dyn_cast<CXXRecordDecl>(D)) {</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>     <span class="keywordflow">if</span> (CRD->getTemplateSpecializationKind() == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>   }</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span> </div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ClassTemplateSpecializationDecl.html" title="Represents a class template specialization, which refers to a class template with a given set of temp...">ClassTemplateSpecializationDecl</a> *CTSD =</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>           dyn_cast<ClassTemplateSpecializationDecl>(D)) {</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>     <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2" title="Describes the kind of template specialization that a particular template specialization declaration r...">TemplateSpecializationKind</a> TSK = CTSD->getSpecializationKind();</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>     <span class="keywordflow">if</span> (TSK == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a> ||</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>         TSK == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a92763cc9fa42510d19b6689d36e836cb">TSK_Undeclared</a>)</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>   }</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span> </div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *ED = dyn_cast<EnumDecl>(D)) {</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>     <span class="keywordflow">if</span> (ED->getTemplateSpecializationKind() == <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>   }</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TagDecl.html" title="TagDecl - Represents the declaration of a struct/union/class/enum.">TagDecl</a> *TD = dyn_cast<TagDecl>(D)) {</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>     <span class="comment">// When tag declaration (but not definition!) is part of the</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>     <span class="comment">// decl-specifier-seq of some other declaration, it doesn't get comment</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>     <span class="keywordflow">if</span> (TD->isEmbeddedInDeclarator() && !TD->isCompleteDefinition())</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>   }</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>   <span class="comment">// TODO: handle comments for function parameters properly.</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>   <span class="keywordflow">if</span> (isa<ParmVarDecl>(D))</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span> </div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>   <span class="comment">// TODO: we could look up template parameter documentation in the template</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>   <span class="comment">// documentation.</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>   <span class="keywordflow">if</span> (isa<TemplateTypeParmDecl>(D) ||</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>       isa<NonTypeTemplateParmDecl>(D) ||</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>       isa<TemplateTemplateParmDecl>(D))</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span> </div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>   <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<RawComment *></a> RawComments = <a class="code" href="classclang_1_1ASTContext.html#a547255300250102291f1be0073f4db30" title="All comments in this translation unit.">Comments</a>.<a class="code" href="classclang_1_1RawCommentList.html#a0d8e116117f7918779a6d29b2c91c6f8">getComments</a>();</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> </div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>   <span class="comment">// If there are no comments anywhere, we won't find anything.</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>   <span class="keywordflow">if</span> (RawComments.empty())</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> </div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>   <span class="comment">// Find declaration location.</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>   <span class="comment">// For Objective-C declarations we generally don't expect to have multiple</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>   <span class="comment">// declarators, thus use declaration starting location as the "declaration</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>   <span class="comment">// location".</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>   <span class="comment">// For all other declarations multiple declarators are used quite frequently,</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>   <span class="comment">// so we use the location of the identifier as the "declaration location".</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>   <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> DeclLoc;</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>   <span class="keywordflow">if</span> (isa<ObjCMethodDecl>(D) || isa<ObjCContainerDecl>(D) ||</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>       isa<ObjCPropertyDecl>(D) ||</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>       isa<RedeclarableTemplateDecl>(D) ||</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>       isa<ClassTemplateSpecializationDecl>(D))</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>     DeclLoc = D-><a class="code" href="classclang_1_1Decl.html#ae66a13d419e9cad2f6c3643bfce45c54">getLocStart</a>();</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>   <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>     DeclLoc = D-><a class="code" href="classclang_1_1Decl.html#a2348196ac4e0b1d5ebb1859c31b99eac">getLocation</a>();</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>     <span class="comment">// If location of the typedef name is in a macro, it is because being</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>     <span class="comment">// declared via a macro. Try using declaration's starting location</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>     <span class="comment">// as the "declaration location".</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>     <span class="keywordflow">if</span> (DeclLoc.<a class="code" href="classclang_1_1SourceLocation.html#a83c660ad7c57096011c5f40c50b52c7d">isMacroID</a>() && isa<TypedefDecl>(D))</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>       DeclLoc = D-><a class="code" href="classclang_1_1Decl.html#ae66a13d419e9cad2f6c3643bfce45c54">getLocStart</a>();</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>   }</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> </div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>   <span class="comment">// If the declaration doesn't map directly to a location in a file, we</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>   <span class="comment">// can't find the comment.</span></div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>   <span class="keywordflow">if</span> (DeclLoc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>() || !DeclLoc.<a class="code" href="classclang_1_1SourceLocation.html#a8317aa72ddfd4e2221603217927070cc">isFileID</a>())</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> </div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>   <span class="comment">// Find the comment that occurs just after this declaration.</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>   <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<RawComment *>::iterator</a> Comment;</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>   {</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>     <span class="comment">// When searching for comments during parsing, the comment we are looking</span></div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>     <span class="comment">// for is usually among the last two comments we parsed -- check them</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>     <span class="comment">// first.</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>     <a class="code" href="classclang_1_1RawComment.html">RawComment</a> CommentAtDeclLoc(</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>         <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>, <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(DeclLoc), <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>         LangOpts.<a class="code" href="classclang_1_1LangOptions.html#a55b602de4cd250005ce67b32570c1bb7" title="Options for parsing comments.">CommentOpts</a>.<a class="code" href="structclang_1_1CommentOptions.html#a7ba587db0f18af3838a52ca3121b5f4a" title="Treat ordinary comments as documentation comments.">ParseAllComments</a>);</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>     <a class="code" href="classclang_1_1BeforeThanCompare_3_01RawComment_01_4.html" title="Compare comments' source locations.">BeforeThanCompare<RawComment></a> Compare(<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>);</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>     <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<RawComment *>::iterator</a> MaybeBeforeDecl = RawComments.end() - 1;</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>     <span class="keywordtype">bool</span> Found = Compare(*MaybeBeforeDecl, &CommentAtDeclLoc);</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>     <span class="keywordflow">if</span> (!Found && RawComments.size() >= 2) {</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>       MaybeBeforeDecl--;</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>       Found = Compare(*MaybeBeforeDecl, &CommentAtDeclLoc);</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>     }</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> </div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>     <span class="keywordflow">if</span> (Found) {</div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>       Comment = MaybeBeforeDecl + 1;</div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>       assert(Comment == std::lower_bound(RawComments.begin(), RawComments.end(),</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>                                          &CommentAtDeclLoc, Compare));</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>       <span class="comment">// Slow path.</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>       Comment = std::lower_bound(RawComments.begin(), RawComments.end(),</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>                                  &CommentAtDeclLoc, Compare);</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>     }</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>   }</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> </div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>   <span class="comment">// Decompose the location for the declaration and find the beginning of the</span></div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>   <span class="comment">// file buffer.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>   std::pair<FileID, unsigned> DeclLocDecomp = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a957bbe1ee3d932ad3f82bcbeac422e35" title="Decompose the specified location into a raw FileID + Offset pair.">getDecomposedLoc</a>(DeclLoc);</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> </div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span>   <span class="comment">// First check whether we have a trailing comment.</span></div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>   <span class="keywordflow">if</span> (Comment != RawComments.end() &&</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>       (*Comment)->isDocumentation() && (*Comment)->isTrailingComment() &&</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>       (isa<FieldDecl>(D) || isa<EnumConstantDecl>(D) || isa<VarDecl>(D) ||</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>        isa<ObjCMethodDecl>(D) || isa<ObjCPropertyDecl>(D))) {</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>     std::pair<FileID, unsigned> CommentBeginDecomp</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span>       = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a957bbe1ee3d932ad3f82bcbeac422e35" title="Decompose the specified location into a raw FileID + Offset pair.">getDecomposedLoc</a>((*Comment)->getSourceRange().getBegin());</div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span>     <span class="comment">// Check that Doxygen trailing comment comes after the declaration, starts</span></div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>     <span class="comment">// on the same line and in the same file as the declaration.</span></div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>     <span class="keywordflow">if</span> (DeclLocDecomp.first == CommentBeginDecomp.first &&</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span>         <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a3b4adecb909b0c0fe45afcc279f65236" title="Given a SourceLocation, return the spelling line number for the position indicated.">getLineNumber</a>(DeclLocDecomp.first, DeclLocDecomp.second)</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>           == <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a3b4adecb909b0c0fe45afcc279f65236" title="Given a SourceLocation, return the spelling line number for the position indicated.">getLineNumber</a>(CommentBeginDecomp.first,</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span>                                      CommentBeginDecomp.second)) {</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>       <span class="keywordflow">return</span> *Comment;</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span>     }</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>   }</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> </div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>   <span class="comment">// The comment just after the declaration was not a trailing comment.</span></div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>   <span class="comment">// Let's look at the previous comment.</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>   <span class="keywordflow">if</span> (Comment == RawComments.begin())</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>   --Comment;</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> </div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>   <span class="comment">// Check that we actually have a non-member Doxygen comment.</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span>   <span class="keywordflow">if</span> (!(*Comment)->isDocumentation() || (*Comment)->isTrailingComment())</div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> </div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span>   <span class="comment">// Decompose the end of the comment.</span></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span>   std::pair<FileID, unsigned> CommentEndDecomp</div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>     = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a957bbe1ee3d932ad3f82bcbeac422e35" title="Decompose the specified location into a raw FileID + Offset pair.">getDecomposedLoc</a>((*Comment)->getSourceRange().getEnd());</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> </div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span>   <span class="comment">// If the comment and the declaration aren't in the same file, then they</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span>   <span class="comment">// aren't related.</span></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span>   <span class="keywordflow">if</span> (DeclLocDecomp.first != CommentEndDecomp.first)</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> </div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>   <span class="comment">// Get the corresponding buffer.</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>   <span class="keywordtype">bool</span> Invalid = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>   <span class="keyword">const</span> <span class="keywordtype">char</span> *Buffer = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a57e483ae7710c8b23eeb4f119026d662" title="Return a StringRef to the source buffer data for the specified FileID.">getBufferData</a>(DeclLocDecomp.first,</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>                                                &Invalid).data();</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>   <span class="keywordflow">if</span> (Invalid)</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> </div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span>   <span class="comment">// Extract text between the comment and declaration.</span></div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span>   StringRef Text(Buffer + CommentEndDecomp.second,</div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span>                  DeclLocDecomp.second - CommentEndDecomp.second);</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> </div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span>   <span class="comment">// There should be no other declarations or preprocessor directives between</span></div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span>   <span class="comment">// comment and declaration.</span></div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>   <span class="keywordflow">if</span> (Text.find_first_of(<span class="stringliteral">";{}#@"</span>) != StringRef::npos)</div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span> </div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span>   <span class="keywordflow">return</span> *Comment;</div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> }</div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span> </div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span> <span class="keyword">namespace </span>{<span class="comment"></span></div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> <span class="comment">/// If we have a 'templated' declaration for a template, adjust 'D' to</span></div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> <span class="comment">/// refer to the actual template.</span></div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> <span class="comment">/// If we have an implicit instantiation, adjust 'D' to refer to template.</span></div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> <span class="comment"></span><span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *adjustDeclToTemplate(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D) {</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = dyn_cast<FunctionDecl>(D)) {</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>     <span class="comment">// Is this function declaration part of a function template?</span></div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionTemplateDecl.html" title="Declaration of a template function.">FunctionTemplateDecl</a> *FTD = FD->getDescribedFunctionTemplate())</div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span>       <span class="keywordflow">return</span> FTD;</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> </div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span>     <span class="comment">// Nothing to do if function is not an implicit instantiation.</span></div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span>     <span class="keywordflow">if</span> (FD->getTemplateSpecializationKind() != <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span>       <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span> </div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>     <span class="comment">// Function is an implicit instantiation of a function template?</span></div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionTemplateDecl.html" title="Declaration of a template function.">FunctionTemplateDecl</a> *FTD = FD->getPrimaryTemplate())</div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span>       <span class="keywordflow">return</span> FTD;</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> </div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span>     <span class="comment">// Function is instantiated from a member definition of a class template?</span></div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *MemberDecl =</div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span>             FD-><a class="code" href="classclang_1_1FunctionDecl.html#af9121d1255bdd5ff9d03e2e47c7232fe" title="If this function is an instantiation of a member function of a class template specialization, retrieves the function from which it was instantiated.">getInstantiatedFromMemberFunction</a>())</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span>       <span class="keywordflow">return</span> MemberDecl;</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span> </div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span>     <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span>   }</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *VD = dyn_cast<VarDecl>(D)) {</div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span>     <span class="comment">// Static data member is instantiated from a member definition of a class</span></div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span>     <span class="comment">// template?</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span>     <span class="keywordflow">if</span> (VD->isStaticDataMember())</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span>       <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *MemberDecl = VD-><a class="code" href="classclang_1_1VarDecl.html#a491e57fdb23df782d0770f4c8d5b4bb7" title="If this variable is an instantiated static data member of a class template specialization, returns the templated static data member from which it was instantiated.">getInstantiatedFromStaticDataMember</a>())</div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span>         <span class="keywordflow">return</span> MemberDecl;</div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> </div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span>     <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span>   }</div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *CRD = dyn_cast<CXXRecordDecl>(D)) {</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span>     <span class="comment">// Is this class declaration part of a class template?</span></div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ClassTemplateDecl.html" title="Declaration of a class template.">ClassTemplateDecl</a> *CTD = CRD->getDescribedClassTemplate())</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span>       <span class="keywordflow">return</span> CTD;</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> </div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>     <span class="comment">// Class is an implicit instantiation of a class template or partial</span></div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>     <span class="comment">// specialization?</span></div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ClassTemplateSpecializationDecl.html" title="Represents a class template specialization, which refers to a class template with a given set of temp...">ClassTemplateSpecializationDecl</a> *CTSD =</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span>             dyn_cast<ClassTemplateSpecializationDecl>(CRD)) {</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>       <span class="keywordflow">if</span> (CTSD->getSpecializationKind() != <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2a62976768097ae1ada5133dca824b7cd8">TSK_ImplicitInstantiation</a>)</div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span>         <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span>       llvm::PointerUnion<<a class="code" href="classclang_1_1ClassTemplateDecl.html" title="Declaration of a class template.">ClassTemplateDecl</a> *,</div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span>                          <a class="code" href="classclang_1_1ClassTemplatePartialSpecializationDecl.html">ClassTemplatePartialSpecializationDecl</a> *></div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>           PU = CTSD-><a class="code" href="classclang_1_1ClassTemplateSpecializationDecl.html#a80a0149aa66248e42be7c13d007b6122" title="Retrieve the class template or class template partial specialization which was specialized by this...">getSpecializedTemplateOrPartial</a>();</div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>       <span class="keywordflow">return</span> PU.is<ClassTemplateDecl*>() ?</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span>           static_cast<const Decl*>(PU.get<ClassTemplateDecl *>()) :</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span>           static_cast<const Decl*>(</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span>               PU.get<<a class="code" href="classclang_1_1ClassTemplatePartialSpecializationDecl.html">ClassTemplatePartialSpecializationDecl</a> *>());</div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span>     }</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> </div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span>     <span class="comment">// Class is instantiated from a member definition of a class template?</span></div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1MemberSpecializationInfo.html" title="Provides information a specialization of a member of a class template, which may be a member function...">MemberSpecializationInfo</a> *Info =</div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>                    CRD->getMemberSpecializationInfo())</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>       <span class="keywordflow">return</span> Info->getInstantiatedFrom();</div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span>     <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span>   }</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *ED = dyn_cast<EnumDecl>(D)) {</div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>     <span class="comment">// Enum is instantiated from a member definition of a class template?</span></div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *MemberDecl = ED-><a class="code" href="classclang_1_1EnumDecl.html#a81029cc29216dabb485931e679ed23ee" title="Returns the enumeration (declared within the template) from which this enumeration type was instantia...">getInstantiatedFromMemberEnum</a>())</div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>       <span class="keywordflow">return</span> MemberDecl;</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span> </div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>     <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>   }</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span>   <span class="comment">// FIXME: Adjust alias templates?</span></div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span>   <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span> }</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span> } <span class="comment">// unnamed namespace</span></div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span> </div>
+<div class="line"><a name="l00312"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae661387594353e144490f64dd71cf6df">  312</a></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1RawComment.html">RawComment</a> *<a class="code" href="classclang_1_1ASTContext.html#ae661387594353e144490f64dd71cf6df" title="Return the documentation comment attached to a given declaration. Returns NULL if no comment is attac...">ASTContext::getRawCommentForAnyRedecl</a>(</div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span>                                                 <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D,</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span>                                                 <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> **OriginalDecl)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span>   D = adjustDeclToTemplate(D);</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> </div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span>   <span class="comment">// Check whether we have cached a comment for this declaration already.</span></div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span>   {</div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span>     llvm::DenseMap<const Decl *, RawCommentAndCacheFlags>::iterator Pos =</div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span>         <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>.find(D);</div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span>     <span class="keywordflow">if</span> (Pos != <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>.end()) {</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html">RawCommentAndCacheFlags</a> &Raw = Pos->second;</div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span>       <span class="keywordflow">if</span> (Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a3f8fc5b7e3b08410b4378690e94c6cca">getKind</a>() != <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca9f56ecaaf1087410d0eb8c454944d722">RawCommentAndCacheFlags::NoCommentInDecl</a>) {</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span>         <span class="keywordflow">if</span> (OriginalDecl)</div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span>           *OriginalDecl = Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#aa4388120cab5ef0fafa3a831bd2af359">getOriginalDecl</a>();</div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span>         <span class="keywordflow">return</span> Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#afcf6f32a0fdbbbfb1a1581b065159f4f">getRaw</a>();</div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span>       }</div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span>     }</div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span>   }</div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span> </div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span>   <span class="comment">// Search for comments attached to declarations in the redeclaration chain.</span></div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1RawComment.html">RawComment</a> *RC = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *OriginalDeclForRC = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Decl_1_1redecl__iterator.html" title="Iterates through all the redeclarations of the same decl.">Decl::redecl_iterator</a> I = D-><a class="code" href="classclang_1_1Decl.html#affcf7e1d8ede72bffe8db1885bc75ef6" title="Returns iterator for all the redeclarations of the same decl. It will iterate at least once (when thi...">redecls_begin</a>(),</div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span>                              E = D-><a class="code" href="classclang_1_1Decl.html#ab344977eb918f71339b3aeb605cff3f2">redecls_end</a>();</div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>        I != E; ++I) {</div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span>     llvm::DenseMap<const Decl *, RawCommentAndCacheFlags>::iterator Pos =</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span>         <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>.find(*I);</div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span>     <span class="keywordflow">if</span> (Pos != <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>.end()) {</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html">RawCommentAndCacheFlags</a> &Raw = Pos->second;</div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span>       <span class="keywordflow">if</span> (Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a3f8fc5b7e3b08410b4378690e94c6cca">getKind</a>() != <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca9f56ecaaf1087410d0eb8c454944d722">RawCommentAndCacheFlags::NoCommentInDecl</a>) {</div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span>         RC = Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#afcf6f32a0fdbbbfb1a1581b065159f4f">getRaw</a>();</div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span>         OriginalDeclForRC = Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#aa4388120cab5ef0fafa3a831bd2af359">getOriginalDecl</a>();</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>       }</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span>       RC = <a class="code" href="classclang_1_1ASTContext.html#ac1943788edb7e468a507787a2c7af1d6" title="Return the documentation comment attached to a given declaration, without looking into cache...">getRawCommentForDeclNoCache</a>(*I);</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>       OriginalDeclForRC = *I;</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>       <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html">RawCommentAndCacheFlags</a> Raw;</div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span>       <span class="keywordflow">if</span> (RC) {</div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span>         Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a89ed10073dd19f08096a3015d456aacd">setRaw</a>(RC);</div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>         Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#aadc11a6602925ee6d697fd6c11a2c81c">setKind</a>(<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca60b0501957a96ad066579d2d6c3ca4e5">RawCommentAndCacheFlags::FromDecl</a>);</div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span>       } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>         Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#aadc11a6602925ee6d697fd6c11a2c81c">setKind</a>(<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca9f56ecaaf1087410d0eb8c454944d722">RawCommentAndCacheFlags::NoCommentInDecl</a>);</div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>       Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a3055681f33eb35fe51a1d3936fa6f545">setOriginalDecl</a>(*I);</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>       <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>[*I] = Raw;</div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>       <span class="keywordflow">if</span> (RC)</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>     }</div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span>   }</div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span> </div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span>   <span class="comment">// If we found a comment, it should be a documentation comment.</span></div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span>   assert(!RC || RC-><a class="code" href="classclang_1_1RawComment.html#af0a49d01110c6f0bcc77ca9224de4def" title="Returns true if this comment any kind of a documentation comment.">isDocumentation</a>());</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span> </div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>   <span class="keywordflow">if</span> (OriginalDecl)</div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>     *OriginalDecl = OriginalDeclForRC;</div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span> </div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span>   <span class="comment">// Update cache for every declaration in the redeclaration chain.</span></div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span>   <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html">RawCommentAndCacheFlags</a> Raw;</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span>   Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a89ed10073dd19f08096a3015d456aacd">setRaw</a>(RC);</div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span>   Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#aadc11a6602925ee6d697fd6c11a2c81c">setKind</a>(<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca060f74d9ef18a782b565ce5756545fca">RawCommentAndCacheFlags::FromRedecl</a>);</div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span>   Raw.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a3055681f33eb35fe51a1d3936fa6f545">setOriginalDecl</a>(OriginalDeclForRC);</div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> </div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Decl_1_1redecl__iterator.html" title="Iterates through all the redeclarations of the same decl.">Decl::redecl_iterator</a> I = D-><a class="code" href="classclang_1_1Decl.html#affcf7e1d8ede72bffe8db1885bc75ef6" title="Returns iterator for all the redeclarations of the same decl. It will iterate at least once (when thi...">redecls_begin</a>(),</div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span>                              E = D-><a class="code" href="classclang_1_1Decl.html#ab344977eb918f71339b3aeb605cff3f2">redecls_end</a>();</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span>        I != E; ++I) {</div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span>     <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html">RawCommentAndCacheFlags</a> &R = <a class="code" href="classclang_1_1ASTContext.html#a37f4322f18b41206a2285b9770dc43f9" title="Mapping from declarations to comments attached to any redeclaration.">RedeclComments</a>[*I];</div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span>     <span class="keywordflow">if</span> (R.<a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#a3f8fc5b7e3b08410b4378690e94c6cca">getKind</a>() == <a class="code" href="classclang_1_1ASTContext_1_1RawCommentAndCacheFlags.html#add822a7fe3d94f417a9bc675e0a8e1eca9f56ecaaf1087410d0eb8c454944d722">RawCommentAndCacheFlags::NoCommentInDecl</a>)</div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span>       R = Raw;</div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span>   }</div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> </div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span>   <span class="keywordflow">return</span> RC;</div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> }</div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</span> </div>
+<div class="line"><a name="l00385"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#adc0bd80ab504a295028b70a064a35475">  385</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTContext_8cpp.html#adc0bd80ab504a295028b70a064a35475">addRedeclaredMethods</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *ObjCMethod,</div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span>                    <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<const NamedDecl *></a> &Redeclared) {</div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC = ObjCMethod-><a class="code" href="classclang_1_1Decl.html#af67e1a1d24dcc51093b95dbcf68d4288">getDeclContext</a>();</div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCImplDecl.html">ObjCImplDecl</a> *IMD = dyn_cast<ObjCImplDecl>(DC)) {</div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a> = IMD->getClassInterface();</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span>     <span class="keywordflow">if</span> (!ID)</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>     <span class="comment">// Add redeclared method here.</span></div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCInterfaceDecl_1_1filtered__category__iterator.html" title="Iterator that walks over the list of categories, filtering out those that do not meet specific criter...">ObjCInterfaceDecl::known_extensions_iterator</a></div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span>            Ext = ID-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#ae8a5db36f5cc75890b386c2f9fe3e71d" title="Retrieve an iterator to the beginning of the known-extensions list.">known_extensions_begin</a>(),</div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span>            ExtEnd = ID-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a6c3d90b10af9218ad5f190df9a7db0b5" title="Retrieve an iterator to the end of the known-extensions list.">known_extensions_end</a>();</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span>          Ext != ExtEnd; ++Ext) {</div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *RedeclaredMethod =</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span>             Ext->getMethod(ObjCMethod-><a class="code" href="classclang_1_1ObjCMethodDecl.html#aa91ae093f29f2781c87f725e42fddf98">getSelector</a>(),</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>                                   ObjCMethod-><a class="code" href="classclang_1_1ObjCMethodDecl.html#a437ea0ebec5ba72fcf0084dd01654d4c">isInstanceMethod</a>()))</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>         Redeclared.push_back(RedeclaredMethod);</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>     }</div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span>   }</div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span> }</div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span> </div>
+<div class="line"><a name="l00405"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">  405</a></span> <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *<a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">ASTContext::cloneFullComment</a>(<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC,</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>                                                     <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>   <a class="code" href="structclang_1_1comments_1_1DeclInfo.html" title="Information about the declaration, useful to clients of FullComment.">comments::DeclInfo</a> *ThisDeclInfo = <span class="keyword">new</span> (*this) <a class="code" href="structclang_1_1comments_1_1DeclInfo.html" title="Information about the declaration, useful to clients of FullComment.">comments::DeclInfo</a>;</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span>   ThisDeclInfo-><a class="code" href="structclang_1_1comments_1_1DeclInfo.html#adbf966b4518360f5fd4127ab308e04a6">CommentDecl</a> = D;</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span>   ThisDeclInfo-><a class="code" href="structclang_1_1comments_1_1DeclInfo.html#abc42b079f40f7a358b33d8a356b60e72" title="If false, only CommentDecl is valid.">IsFilled</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span>   ThisDeclInfo-><a class="code" href="structclang_1_1comments_1_1DeclInfo.html#a7641bef9af7f3515a2014bc6cb59d661">fill</a>();</div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span>   ThisDeclInfo-><a class="code" href="structclang_1_1comments_1_1DeclInfo.html#adbf966b4518360f5fd4127ab308e04a6">CommentDecl</a> = FC-><a class="code" href="classclang_1_1comments_1_1FullComment.html#a23475f573ac0c1578b05940c6ddb13f4">getDecl</a>();</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span>   <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *CFC =</div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>     <span class="keyword">new</span> (*this) <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a>(FC-><a class="code" href="classclang_1_1comments_1_1FullComment.html#a6a5240bbc0f91bc7ee9bf290d0d41dd5">getBlocks</a>(),</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span>                                       ThisDeclInfo);</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span>   <span class="keywordflow">return</span> CFC;</div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span>   </div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span> }</div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span> </div>
+<div class="line"><a name="l00419"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a5bbcbd1772fda36ec548ce8343c0faa7">  419</a></span> <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *<a class="code" href="classclang_1_1ASTContext.html#a5bbcbd1772fda36ec548ce8343c0faa7">ASTContext::getLocalCommentForDeclUncached</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1RawComment.html">RawComment</a> *RC = <a class="code" href="classclang_1_1ASTContext.html#ac1943788edb7e468a507787a2c7af1d6" title="Return the documentation comment attached to a given declaration, without looking into cache...">getRawCommentForDeclNoCache</a>(D);</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span>   <span class="keywordflow">return</span> RC ? RC-><a class="code" href="classclang_1_1RawComment.html#a5deb956595a7e6d5cb2c751e480010d5" title="Parse the comment, assuming it is attached to decl D.">parse</a>(*<span class="keyword">this</span>, 0, D) : 0;</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span> }</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span> </div>
+<div class="line"><a name="l00424"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">  424</a></span> <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *<a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">ASTContext::getCommentForDecl</a>(</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>                                               <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D,</div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span>                                               <span class="keyword">const</span> <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> *PP)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>   <span class="keywordflow">if</span> (D-><a class="code" href="classclang_1_1Decl.html#a17ec912fd67469eea51741d45eb0c800">isInvalidDecl</a>())</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>   D = adjustDeclToTemplate(D);</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>   </div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *Canonical = D-><a class="code" href="classclang_1_1Decl.html#a8dc8c86b18af77eba9afe42e4f429fdc" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>();</div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>   llvm::DenseMap<const Decl *, comments::FullComment *>::iterator Pos =</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>       <a class="code" href="classclang_1_1ASTContext.html#a0b3d8c0cfc6e00bb378e59d1db47b503" title="Mapping from declarations to parsed comments attached to any redeclaration.">ParsedComments</a>.find(Canonical);</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>   </div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span>   <span class="keywordflow">if</span> (Pos != <a class="code" href="classclang_1_1ASTContext.html#a0b3d8c0cfc6e00bb378e59d1db47b503" title="Mapping from declarations to parsed comments attached to any redeclaration.">ParsedComments</a>.end()) {</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>     <span class="keywordflow">if</span> (Canonical != D) {</div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>       <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = Pos->second;</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>       <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *CFC = <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>       <span class="keywordflow">return</span> CFC;</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>     }</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>     <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>   }</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>   </div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *OriginalDecl;</div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span>   </div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1RawComment.html">RawComment</a> *RC = <a class="code" href="classclang_1_1ASTContext.html#ae661387594353e144490f64dd71cf6df" title="Return the documentation comment attached to a given declaration. Returns NULL if no comment is attac...">getRawCommentForAnyRedecl</a>(D, &OriginalDecl);</div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>   <span class="keywordflow">if</span> (!RC) {</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>     <span class="keywordflow">if</span> (isa<ObjCMethodDecl>(D) || isa<FunctionDecl>(D)) {</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>       <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<const NamedDecl*, 8></a> Overridden;</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *OMD = dyn_cast<<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>>(D);</div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span>       <span class="keywordflow">if</span> (OMD && OMD-><a class="code" href="classclang_1_1ObjCMethodDecl.html#a4ca2941f86e7822b3f15b6d258230cb1">isPropertyAccessor</a>())</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCPropertyDecl.html" title="Represents one property declaration in an Objective-C interface.">ObjCPropertyDecl</a> *PDecl = OMD-><a class="code" href="classclang_1_1ObjCMethodDecl.html#af0c6bb3e65a0d6140991a8ece83a3885" title="Returns the property associated with this method's selector.">findPropertyDecl</a>())</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>           <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(PDecl, PP))</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>             <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>       <span class="keywordflow">if</span> (OMD)</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span>         <a class="code" href="ASTContext_8cpp.html#adc0bd80ab504a295028b70a064a35475">addRedeclaredMethods</a>(OMD, Overridden);</div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>       <a class="code" href="classclang_1_1ASTContext.html#a6dc5491510d721b72c22430a3bb983ce" title="Return C++ or ObjC overridden methods for the given Method.">getOverriddenMethods</a>(dyn_cast<NamedDecl>(D), Overridden);</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = Overridden.size(); i < e; i++)</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(Overridden[i], PP))</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>           <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span>     }</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefNameDecl.html" title="Base class for declarations which introduce a typedef-name.">TypedefNameDecl</a> *TD = dyn_cast<TypedefNameDecl>(D)) {</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>       <span class="comment">// Attach any tag type's documentation to its typedef if latter</span></div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>       <span class="comment">// does not have one of its own.</span></div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> QT = TD->getUnderlyingType();</div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span>       <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *TT = QT-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TagType.html">TagType</a>>())</div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *TD = TT->getDecl())</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>           <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(TD, PP))</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>             <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>     }</div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *IC = dyn_cast<ObjCInterfaceDecl>(D)) {</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>       <span class="keywordflow">while</span> (IC->getSuperClass()) {</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>         IC = IC->getSuperClass();</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(IC, PP))</div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>           <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>       }</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>     }</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a> *CD = dyn_cast<ObjCCategoryDecl>(D)) {</div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span>       <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *IC = CD->getClassInterface())</div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(IC, PP))</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span>           <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>     }</div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD = dyn_cast<CXXRecordDecl>(D)) {</div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span>       <span class="keywordflow">if</span> (!(RD = RD->getDefinition()))</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>         <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>       <span class="comment">// Check non-virtual bases.</span></div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> I =</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>            RD->bases_begin(), E = RD->bases_end(); I != E; ++I) {</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>         <span class="keywordflow">if</span> (I->isVirtual() || (I->getAccessSpecifier() != <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa163ae3a419460301961bc458f8f01fd3">AS_public</a>))</div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>           <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>         <a class="code" href="classclang_1_1QualType.html">QualType</a> Ty = I->getType();</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>         <span class="keywordflow">if</span> (Ty.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>           <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *NonVirtualBase = Ty-><a class="code" href="classclang_1_1Type.html#a7dc6c3dbc192ad98871c3cc484376b9a" title="Retrieves the CXXRecordDecl that this type refers to, either because the type is a RecordType or beca...">getAsCXXRecordDecl</a>()) {</div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>           <span class="keywordflow">if</span> (!(NonVirtualBase= NonVirtualBase->getDefinition()))</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>             <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>         </div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>           <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>((NonVirtualBase), PP))</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>             <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>         }</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>       }</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>       <span class="comment">// Check virtual bases.</span></div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> I =</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>            RD->vbases_begin(), E = RD->vbases_end(); I != E; ++I) {</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>         <span class="keywordflow">if</span> (I->getAccessSpecifier() != <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa163ae3a419460301961bc458f8f01fd3">AS_public</a>)</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>           <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>         <a class="code" href="classclang_1_1QualType.html">QualType</a> Ty = I->getType();</div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span>         <span class="keywordflow">if</span> (Ty.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span>           <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *VirtualBase = Ty-><a class="code" href="classclang_1_1Type.html#a7dc6c3dbc192ad98871c3cc484376b9a" title="Retrieves the CXXRecordDecl that this type refers to, either because the type is a RecordType or beca...">getAsCXXRecordDecl</a>()) {</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>           <span class="keywordflow">if</span> (!(VirtualBase= VirtualBase->getDefinition()))</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span>             <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span>           <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>((VirtualBase), PP))</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>             <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#ac87af1503a4b15ffe3cba21ca220b6e3">cloneFullComment</a>(FC, D);</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>         }</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>       }</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>     }</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>   }</div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>   </div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>   <span class="comment">// If the RawComment was attached to other redeclaration of this Decl, we</span></div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>   <span class="comment">// should parse the comment in context of that other Decl.  This is important</span></div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>   <span class="comment">// because comments can contain references to parameter names which can be</span></div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>   <span class="comment">// different across redeclarations.</span></div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span>   <span class="keywordflow">if</span> (D != OriginalDecl)</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa3ec454ca3698f73c421b08f6edcea92">getCommentForDecl</a>(OriginalDecl, PP);</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span> </div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>   <a class="code" href="classclang_1_1comments_1_1FullComment.html" title="A full comment attached to a declaration, contains block content.">comments::FullComment</a> *FC = RC-><a class="code" href="classclang_1_1RawComment.html#a5deb956595a7e6d5cb2c751e480010d5" title="Parse the comment, assuming it is attached to decl D.">parse</a>(*<span class="keyword">this</span>, PP, D);</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>   <a class="code" href="classclang_1_1ASTContext.html#a0b3d8c0cfc6e00bb378e59d1db47b503" title="Mapping from declarations to parsed comments attached to any redeclaration.">ParsedComments</a>[Canonical] = FC;</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>   <span class="keywordflow">return</span> FC;</div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span> }</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span> </div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span> <span class="keywordtype">void</span> </div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span> ASTContext::CanonicalTemplateTemplateParm::Profile(llvm::FoldingSetNodeID &<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, </div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>                                                <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html">TemplateTemplateParmDecl</a> *Parm) {</div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>   ID.AddInteger(Parm-><a class="code" href="classclang_1_1TemplateParmPosition.html#a77e21945a55661fd6ee1e4ad7823b6c3" title="Get the nesting depth of the template parameter.">getDepth</a>());</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>   ID.AddInteger(Parm-><a class="code" href="classclang_1_1TemplateParmPosition.html#a7d54f8125655e6bc19f4e6f760438ccc" title="Get the position of the template parameter within its parameter list.">getPosition</a>());</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>   ID.AddBoolean(Parm-><a class="code" href="classclang_1_1TemplateTemplateParmDecl.html#a182fa906c72ee4824bda5f56842201f5" title="Whether this template template parameter is a template parameter pack.">isParameterPack</a>());</div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span> </div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>   <a class="code" href="classclang_1_1TemplateParameterList.html" title="Stores a list of template parameters for a TemplateDecl and its derived classes.">TemplateParameterList</a> *Params = Parm-><a class="code" href="classclang_1_1TemplateDecl.html#a39946376f9b9d554c6565bf441a115a4" title="Get the list of template parameters.">getTemplateParameters</a>();</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>   ID.AddInteger(Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a2ce2ffffbaa44a8bf317655f1ff5d845">size</a>());</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TemplateParameterList.html#a99e847575a2fd0875130221a4559ddf3" title="Iterates through the template parameters in this list.">TemplateParameterList::const_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a2eaeaa9b5338e3b75a5c14a9486d3780">begin</a>(), </div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span>                                           PEnd = Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a258f91761980f1e6db3acf7325b57010">end</a>();</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>        <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PEnd; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1TemplateTypeParmDecl.html" title="Declaration of a template type parameter.">TemplateTypeParmDecl</a> *TTP = dyn_cast<TemplateTypeParmDecl>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)) {</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span>       ID.AddInteger(0);</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>       ID.AddBoolean(TTP->isParameterPack());</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>     }</div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>     </div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1NonTypeTemplateParmDecl.html">NonTypeTemplateParmDecl</a> *NTTP = dyn_cast<NonTypeTemplateParmDecl>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)) {</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>       ID.AddInteger(1);</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>       ID.AddBoolean(NTTP->isParameterPack());</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>       ID.AddPointer(NTTP->getType().getCanonicalType().getAsOpaquePtr());</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>       <span class="keywordflow">if</span> (NTTP->isExpandedParameterPack()) {</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>         ID.AddBoolean(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>         ID.AddInteger(NTTP->getNumExpansionTypes());</div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>           <a class="code" href="classclang_1_1QualType.html">QualType</a> T = NTTP->getExpansionType(I);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>           ID.AddPointer(T.<a class="code" href="classclang_1_1QualType.html#abae06108b779ed32a4dc18fe8802fd6e">getCanonicalType</a>().<a class="code" href="classclang_1_1QualType.html#a47bce6c72de199721d20f6e884ccded4">getAsOpaquePtr</a>());</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>         }</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>       } <span class="keywordflow">else</span> </div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>         ID.AddBoolean(<span class="keyword">false</span>);</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span>     }</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>     </div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>     <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html">TemplateTemplateParmDecl</a> *TTP = cast<TemplateTemplateParmDecl>(*P);</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>     ID.AddInteger(2);</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>     Profile(ID, TTP);</div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>   }</div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span> }</div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span> </div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html">TemplateTemplateParmDecl</a> *</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span> ASTContext::getCanonicalTemplateTemplateParmDecl(</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>                                           <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html">TemplateTemplateParmDecl</a> *TTP)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>   <span class="comment">// Check if we already have a canonical template template parameter.</span></div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span>   CanonicalTemplateTemplateParm::Profile(ID, TTP);</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span>   CanonicalTemplateTemplateParm *Canonical</div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>     = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>   <span class="keywordflow">if</span> (Canonical)</div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>     <span class="keywordflow">return</span> Canonical->getParam();</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span>   </div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span>   <span class="comment">// Build a canonical template parameter list.</span></div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>   <a class="code" href="classclang_1_1TemplateParameterList.html" title="Stores a list of template parameters for a TemplateDecl and its derived classes.">TemplateParameterList</a> *Params = TTP-><a class="code" href="classclang_1_1TemplateDecl.html#a39946376f9b9d554c6565bf441a115a4" title="Get the list of template parameters.">getTemplateParameters</a>();</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<NamedDecl *, 4></a> CanonParams;</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>   CanonParams.reserve(Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a2ce2ffffbaa44a8bf317655f1ff5d845">size</a>());</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TemplateParameterList.html#a99e847575a2fd0875130221a4559ddf3" title="Iterates through the template parameters in this list.">TemplateParameterList::const_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a2eaeaa9b5338e3b75a5c14a9486d3780">begin</a>(), </div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>                                           PEnd = Params-><a class="code" href="classclang_1_1TemplateParameterList.html#a258f91761980f1e6db3acf7325b57010">end</a>();</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>        <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PEnd; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1TemplateTypeParmDecl.html" title="Declaration of a template type parameter.">TemplateTypeParmDecl</a> *TTP = dyn_cast<TemplateTypeParmDecl>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>))</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span>       CanonParams.push_back(</div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>                   <a class="code" href="classclang_1_1TemplateTypeParmDecl.html#ad63218151a77b820d0e8e1bdb47bfad9">TemplateTypeParmDecl::Create</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(), </div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>                                                <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>                                                <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>                                                TTP-><a class="code" href="classclang_1_1TemplateParmPosition.html#a77e21945a55661fd6ee1e4ad7823b6c3" title="Get the nesting depth of the template parameter.">getDepth</a>(),</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>                                                TTP-><a class="code" href="classclang_1_1TemplateParmPosition.html#a3313196296780e1451d3f78a6c55b864" title="Get the index of the template parameter within its parameter list.">getIndex</a>(), 0, <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>                                                TTP-><a class="code" href="classclang_1_1TemplateTemplateParmDecl.html#a182fa906c72ee4824bda5f56842201f5" title="Whether this template template parameter is a template parameter pack.">isParameterPack</a>()));</div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1NonTypeTemplateParmDecl.html">NonTypeTemplateParmDecl</a> *NTTP</div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span>              = dyn_cast<NonTypeTemplateParmDecl>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)) {</div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> T = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(NTTP->getType());</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>       <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *TInfo = <a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2" title="Allocate a TypeSourceInfo where all locations have been initialized to a given location, which defaults to the empty location.">getTrivialTypeSourceInfo</a>(T);</div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>       <a class="code" href="classclang_1_1NonTypeTemplateParmDecl.html">NonTypeTemplateParmDecl</a> *<a class="code" href="SemaOverload_8cpp.html#af465899bf43044df83229078154bc2ed">Param</a>;</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span>       <span class="keywordflow">if</span> (NTTP->isExpandedParameterPack()) {</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>         <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<QualType, 2></a> ExpandedTypes;</div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>         <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TypeSourceInfo *, 2></a> ExpandedTInfos;</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = NTTP->getNumExpansionTypes(); I != N; ++I) {</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>           ExpandedTypes.push_back(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(NTTP->getExpansionType(I)));</div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>           ExpandedTInfos.push_back(</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>                                 <a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2" title="Allocate a TypeSourceInfo where all locations have been initialized to a given location, which defaults to the empty location.">getTrivialTypeSourceInfo</a>(ExpandedTypes.back()));</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>         }</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>         </div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span>         Param = <a class="code" href="classclang_1_1NonTypeTemplateParmDecl.html#a3c004efaeda85bf41abab722a7e93dc8">NonTypeTemplateParmDecl::Create</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(),</div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>                                                 <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>                                                 <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>                                                 NTTP->getDepth(),</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>                                                 NTTP->getPosition(), 0, </div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>                                                 T,</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>                                                 TInfo,</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>                                                 ExpandedTypes.data(),</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>                                                 ExpandedTypes.size(),</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>                                                 ExpandedTInfos.data());</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>         Param = <a class="code" href="classclang_1_1NonTypeTemplateParmDecl.html#a3c004efaeda85bf41abab722a7e93dc8">NonTypeTemplateParmDecl::Create</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(),</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>                                                 <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>                                                 <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>                                                 NTTP->getDepth(),</div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>                                                 NTTP->getPosition(), 0, </div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span>                                                 T,</div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>                                                 NTTP->isParameterPack(),</div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span>                                                 TInfo);</div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span>       }</div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span>       CanonParams.push_back(Param);</div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span> </div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>     } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span>       CanonParams.push_back(getCanonicalTemplateTemplateParmDecl(</div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>                                            cast<TemplateTemplateParmDecl>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)));</div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span>   }</div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span> </div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>   <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html">TemplateTemplateParmDecl</a> *CanonTTP</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>     = <a class="code" href="classclang_1_1TemplateTemplateParmDecl.html#ae8f204ecd0a627340f2382b6c3b5569d">TemplateTemplateParmDecl::Create</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(), </div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>                                        <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(), TTP-><a class="code" href="classclang_1_1TemplateParmPosition.html#a77e21945a55661fd6ee1e4ad7823b6c3" title="Get the nesting depth of the template parameter.">getDepth</a>(),</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>                                        TTP-><a class="code" href="classclang_1_1TemplateParmPosition.html#a7d54f8125655e6bc19f4e6f760438ccc" title="Get the position of the template parameter within its parameter list.">getPosition</a>(), </div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>                                        TTP-><a class="code" href="classclang_1_1TemplateTemplateParmDecl.html#a182fa906c72ee4824bda5f56842201f5" title="Whether this template template parameter is a template parameter pack.">isParameterPack</a>(),</div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>                                        0,</div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span>                          <a class="code" href="classclang_1_1TemplateParameterList.html#a5e84eabc0dcd083fd9fc990d92223478">TemplateParameterList::Create</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>                                                        <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>                                                        CanonParams.data(),</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>                                                        CanonParams.size(),</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>                                                        <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>()));</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span> </div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span>   <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span>   Canonical = CanonTemplateTemplateParms.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span>   assert(Canonical == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>);</div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span>   (void)Canonical;</div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span> </div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>   <span class="comment">// Create the canonical template template parameter entry.</span></div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>   Canonical = <span class="keyword">new</span> (*this) CanonicalTemplateTemplateParm(CanonTTP);</div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span>   CanonTemplateTemplateParms.InsertNode(Canonical, InsertPos);</div>
+<div class="line"><a name="l00661"></a><span class="lineno">  661</span>   <span class="keywordflow">return</span> CanonTTP;</div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span> }</div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span> </div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span> <a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a> *ASTContext::createCXXABI(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> &T) {</div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span>   <span class="keywordflow">if</span> (!LangOpts.CPlusPlus) <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span> </div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span>   <span class="keywordflow">switch</span> (T.<a class="code" href="classclang_1_1TargetInfo.html#a775f59ee5320dd4b20abde5d724a43f3" title="Get the C++ ABI currently in use.">getCXXABI</a>().<a class="code" href="classclang_1_1TargetCXXABI.html#aaca8cbc064362d76b5800e4b5ffcacee">getKind</a>()) {</div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1TargetCXXABI.html#ace0aba180cab1d18b093a540a11ca4eba6e0bdc095e9710eff7deafab930f12d7">TargetCXXABI::GenericARM</a>:</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1TargetCXXABI.html#ace0aba180cab1d18b093a540a11ca4eba8df39aa651b6d2f9c126895f11ddd3de">TargetCXXABI::iOS</a>:</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a2413bf3465afa7194367947b8cb3c3d6" title="Creates an instance of a C++ ABI class.">CreateARMCXXABI</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1TargetCXXABI.html#ace0aba180cab1d18b093a540a11ca4eba66e5cb24d5e363a525df122b32d30f20">TargetCXXABI::GenericAArch64</a>: <span class="comment">// Same as Itanium at this level</span></div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1TargetCXXABI.html#ace0aba180cab1d18b093a540a11ca4ebacf21c8838eb41d517c3f27c3c9c66ea9">TargetCXXABI::GenericItanium</a>:</div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a607d0b79f48942bf5ca9a09641325053">CreateItaniumCXXABI</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1TargetCXXABI.html#ace0aba180cab1d18b093a540a11ca4eba9832ee860c2b6d4050727dda508e5234">TargetCXXABI::Microsoft</a>:</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a3eafa06f7bde71b13ade21dfae51b9b6">CreateMicrosoftCXXABI</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>   }</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>   llvm_unreachable(<span class="stringliteral">"Invalid CXXABI type!"</span>);</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span> }</div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span> </div>
+<div class="line"><a name="l00680"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#aa2670894d842ca1bdf73061486c67de2">  680</a></span> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="namespaceclang_1_1LangAS.html#a241b6fc974438ba623ec877f2b294f0c">LangAS::Map</a> *<a class="code" href="ASTContext_8cpp.html#aa2670894d842ca1bdf73061486c67de2">getAddressSpaceMap</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> &T,</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>                                              <span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LOpts) {</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>   <span class="keywordflow">if</span> (LOpts.FakeAddressSpaceMap) {</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span>     <span class="comment">// The fake address space map must have a distinct entry for each</span></div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span>     <span class="comment">// language-specific address space.</span></div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>     <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> FakeAddrSpaceMap[] = {</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>       1, <span class="comment">// opencl_global</span></div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span>       2, <span class="comment">// opencl_local</span></div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span>       3, <span class="comment">// opencl_constant</span></div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span>       4, <span class="comment">// cuda_device</span></div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span>       5, <span class="comment">// cuda_constant</span></div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span>       6  <span class="comment">// cuda_shared</span></div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span>     };</div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span>     <span class="keywordflow">return</span> &FakeAddrSpaceMap;</div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span>     <span class="keywordflow">return</span> &T.<a class="code" href="classclang_1_1TargetInfo.html#a74642b6c8cdb679d7f6047b48112fc90">getAddressSpaceMap</a>();</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span>   }</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span> }</div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span> </div>
+<div class="line"><a name="l00699"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a91ab961d3358d7f29f83f8a426c1b074">  699</a></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTContext_8cpp.html#a91ab961d3358d7f29f83f8a426c1b074">isAddrSpaceMapManglingEnabled</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> &TI,</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts) {</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span>   <span class="keywordflow">switch</span> (LangOpts.getAddressSpaceMapMangling()) {</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1LangOptions.html#a8171c3f9a4c4739d9fb3201badcb41a5ae33d275d7a70b3fd19036adf9c5c678f">LangOptions::ASMM_Target</a>:</div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span>     <span class="keywordflow">return</span> TI.<a class="code" href="classclang_1_1TargetInfo.html#aca85c9f7309bb67ed5ffc0bcc9dfb6f5" title="Specify if mangling based on address space map should be used or not for language specific address sp...">useAddressSpaceMapMangling</a>();</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1LangOptions.html#a8171c3f9a4c4739d9fb3201badcb41a5a0db2ea1b5b36e28abfbab37666dbe133">LangOptions::ASMM_On</a>:</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1LangOptions.html#a8171c3f9a4c4739d9fb3201badcb41a5ad546d50a887d902d6a7a36377707ec00">LangOptions::ASMM_Off</a>:</div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span>   }</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>   llvm_unreachable(<span class="stringliteral">"getAddressSpaceMapMangling() doesn't cover anything."</span>);</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span> }</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span> </div>
+<div class="line"><a name="l00712"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab59357a07572a644693a56306053ada3">  712</a></span> <a class="code" href="classclang_1_1ASTContext.html#ab59357a07572a644693a56306053ada3">ASTContext::ASTContext</a>(<a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a>& LOpts, <a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">SourceManager</a> &<a class="code" href="AnalysisBasedWarnings_8cpp.html#afe4356a77609114d8df0bfc9c2b8701f">SM</a>,</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span>                        <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> *t,</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span>                        <a class="code" href="classclang_1_1IdentifierTable.html" title="Implements an efficient mapping from strings to IdentifierInfo nodes.">IdentifierTable</a> &idents, <a class="code" href="classclang_1_1SelectorTable.html" title="This table allows us to fully hide how we implement multi-keyword caching.">SelectorTable</a> &sels,</div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>                        <a class="code" href="classclang_1_1Builtin_1_1Context.html" title="Holds information about both target-independent and target-specific builtins, allowing easy queries b...">Builtin::Context</a> &builtins,</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span>                        <span class="keywordtype">unsigned</span> size_reserve,</div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span>                        <span class="keywordtype">bool</span> DelayInitialization) </div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span>   : FunctionProtoTypes(this_()),</div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span>     TemplateSpecializationTypes(this_()),</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>     DependentTemplateSpecializationTypes(this_()),</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span>     SubstTemplateTemplateParmPacks(this_()),</div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>     GlobalNestedNameSpecifier(0), </div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>     Int128Decl(0), UInt128Decl(0), Float128StubDecl(0),</div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span>     BuiltinVaListDecl(0),</div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>     ObjCIdDecl(0), ObjCSelDecl(0), ObjCClassDecl(0), ObjCProtocolClassDecl(0),</div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span>     BOOLDecl(0),</div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span>     CFConstantStringTypeDecl(0), ObjCInstanceTypeDecl(0),</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span>     FILEDecl(0), </div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span>     jmp_bufDecl(0), sigjmp_bufDecl(0), ucontext_tDecl(0),</div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span>     BlockDescriptorType(0), BlockDescriptorExtendedType(0),</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>     cudaConfigureCallDecl(0),</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span>     NullTypeSourceInfo(<a class="code" href="classclang_1_1QualType.html">QualType</a>()), </div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span>     FirstLocalImport(), LastLocalImport(),</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>     <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>(SM), LangOpts(LOpts), </div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span>     AddrSpaceMap(0), Target(t), <a class="code" href="structclang_1_1PrintingPolicy.html" title="Describes how types, statements, expressions, and declarations should be printed.">PrintingPolicy</a>(LOpts),</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>     Idents(idents), Selectors(sels),</div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>     <a class="code" href="Builtins_8cpp.html#a19d6d1a8d3e10cdec999666f30d26b8d">BuiltinInfo</a>(builtins),</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>     DeclarationNames(*this),</div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>     ExternalSource(0), Listener(0),</div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>     Comments(SM), CommentsLoaded(<a class="code" href="stdbool_8h.html#a65e9886d74aaee76545e83dd09011727">false</a>),</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>     CommentCommandTraits(BumpAlloc, LOpts.CommentOpts),</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>     LastSDM(0, 0)</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span> {</div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>   <span class="keywordflow">if</span> (size_reserve > 0) Types.reserve(size_reserve);</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>   TUDecl = <a class="code" href="classclang_1_1TranslationUnitDecl.html#a5d2e37ef62964bf649f536e77efedfc2">TranslationUnitDecl::Create</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span>   </div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>   <span class="keywordflow">if</span> (!DelayInitialization) {</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>     assert(t && <span class="stringliteral">"No target supplied for ASTContext initialization"</span>);</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>     <a class="code" href="classclang_1_1ASTContext.html#a202f7b43aec59bc565b0cb0c9ea16a51" title="Initialize built-in types.">InitBuiltinTypes</a>(*t);</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>   }</div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span> }</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span> </div>
+<div class="line"><a name="l00753"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a16f600656c02eeea3f874b7583ac0e09">  753</a></span> <a class="code" href="classclang_1_1ASTContext.html#a16f600656c02eeea3f874b7583ac0e09">ASTContext::~ASTContext</a>() {</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>   <span class="comment">// Release the DenseMaps associated with DeclContext objects.</span></div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>   <span class="comment">// FIXME: Is this the ideal solution?</span></div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>   ReleaseDeclContextMaps();</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span> </div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span>   <span class="comment">// Call all of the deallocation functions on all of their targets.</span></div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>   <span class="keywordflow">for</span> (DeallocationMap::const_iterator I = Deallocations.begin(),</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span>            E = Deallocations.end(); I != E; ++I)</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> J = 0, N = I->second.size(); J != N; ++J)</div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span>       (I->first)((I->second)[J]);</div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span> </div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>   <span class="comment">// ASTRecordLayout objects in ASTRecordLayouts must always be destroyed</span></div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>   <span class="comment">// because they can contain DenseMaps.</span></div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>   <span class="keywordflow">for</span> (llvm::DenseMap<<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCContainerDecl.html">ObjCContainerDecl</a>*,</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>        <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a>*>::iterator</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>        I = ObjCLayouts.begin(), E = ObjCLayouts.end(); I != E; )</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>     <span class="comment">// Increment in loop to prevent using deallocated memory.</span></div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> *R = const_cast<ASTRecordLayout*>((I++)->second))</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span>       R->Destroy(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span> </div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>   <span class="keywordflow">for</span> (llvm::DenseMap<const RecordDecl*, const ASTRecordLayout*>::iterator</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>        I = ASTRecordLayouts.begin(), E = ASTRecordLayouts.end(); I != E; ) {</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span>     <span class="comment">// Increment in loop to prevent using deallocated memory.</span></div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> *R = const_cast<ASTRecordLayout*>((I++)->second))</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span>       R->Destroy(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span>   }</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>   </div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>   <span class="keywordflow">for</span> (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(),</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span>                                                     AEnd = DeclAttrs.end();</div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span>        A != AEnd; ++A)</div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span>     A->second->~AttrVec();</div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> </div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>   <span class="keywordflow">for</span> (llvm::DenseMap<const DeclContext *, MangleNumberingContext *>::iterator</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span>            I = MangleNumberingContexts.begin(),</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span>            E = MangleNumberingContexts.end();</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span>        I != E; ++I)</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>     <span class="keyword">delete</span> I->second;</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span> }</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span> </div>
+<div class="line"><a name="l00792"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6bba63014abb8be4012f65f97927c500">  792</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a6bba63014abb8be4012f65f97927c500" title="Add a deallocation callback that will be invoked when the ASTContext is destroyed.">ASTContext::AddDeallocation</a>(<span class="keywordtype">void</span> (*<a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>)(<span class="keywordtype">void</span>*), <span class="keywordtype">void</span> *Data) {</div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span>   Deallocations[<a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>].push_back(Data);</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span> }</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span> </div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00797"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9f13d96b21dad7c71264f23a8cf05c1d">  797</a></span> <a class="code" href="classclang_1_1ASTContext.html#a9f13d96b21dad7c71264f23a8cf05c1d" title="Attach an external AST source to the AST context.">ASTContext::setExternalSource</a>(<a class="code" href="classllvm_1_1OwningPtr.html">OwningPtr<ExternalASTSource></a> &Source) {</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span>   <a class="code" href="classclang_1_1ASTContext.html#ab244f0fdee4a7887808e31e8430567f0">ExternalSource</a>.reset(Source.take());</div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span> }</div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span> </div>
+<div class="line"><a name="l00801"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a326a64abddf3b7605465c34b0f1b58c7">  801</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a326a64abddf3b7605465c34b0f1b58c7">ASTContext::PrintStats</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span>   llvm::errs() << <span class="stringliteral">"\n*** AST Context Stats:\n"</span>;</div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span>   llvm::errs() << <span class="stringliteral">"  "</span> << Types.size() << <span class="stringliteral">" types total.\n"</span>;</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span> </div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>   <span class="keywordtype">unsigned</span> counts[] = {</div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span> <span class="preprocessor">#define TYPE(Name, Parent) 0,</span></div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Name, Parent)</span></div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>     0 <span class="comment">// Extra</span></div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>   };</div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span> </div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = Types.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span>     <a class="code" href="classclang_1_1Type.html">Type</a> *T = Types[i];</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>     counts[(<a class="code" href="classunsigned.html">unsigned</a>)T-><a class="code" href="classclang_1_1Type.html#a34cea2e4e1895806fbbac92110b66db0">getTypeClass</a>()]++;</div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span>   }</div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span> </div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>   <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span>   <span class="keywordtype">unsigned</span> TotalBytes = 0;</div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span> <span class="preprocessor">#define TYPE(Name, Parent)                                              \</span></div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span> <span class="preprocessor">  if (counts[Idx])                                                      \</span></div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span> <span class="preprocessor">    llvm::errs() << "    " << counts[Idx] << " " << #Name               \</span></div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span> <span class="preprocessor">                 << " types\n";                                         \</span></div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span> <span class="preprocessor">  TotalBytes += counts[Idx] * sizeof(Name##Type);                       \</span></div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span> <span class="preprocessor">  ++Idx;</span></div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Name, Parent)</span></div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span> </div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span>   llvm::errs() << <span class="stringliteral">"Total bytes = "</span> << TotalBytes << <span class="stringliteral">"\n"</span>;</div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span> </div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span>   <span class="comment">// Implicit special member functions.</span></div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span>   llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#aa2f6a6cf8183db5e84455cda9e237c7d" title="The number of implicitly-declared default constructors for which declarations were built...">NumImplicitDefaultConstructorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span>                << <a class="code" href="classclang_1_1ASTContext.html#a86c71e04ead1e3a95359521ffcbf39c3" title="The number of implicitly-declared default constructors.">NumImplicitDefaultConstructors</a></div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>                << <span class="stringliteral">" implicit default constructors created\n"</span>;</div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span>   llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#a9387315d8a2277dd3997d040ea3232cf" title="The number of implicitly-declared copy constructors for which declarations were built.">NumImplicitCopyConstructorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span>                << <a class="code" href="classclang_1_1ASTContext.html#ac222f8f25b4c8789e3c451878d1a20f2" title="The number of implicitly-declared copy constructors.">NumImplicitCopyConstructors</a></div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span>                << <span class="stringliteral">" implicit copy constructors created\n"</span>;</div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>)</div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>     llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#a5a5daa0c20385bdee5776dd858234ac6" title="The number of implicitly-declared move constructors for which declarations were built.">NumImplicitMoveConstructorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>                  << <a class="code" href="classclang_1_1ASTContext.html#a52cd7bba1db09372d6b81095b8cb508f" title="The number of implicitly-declared move constructors.">NumImplicitMoveConstructors</a></div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span>                  << <span class="stringliteral">" implicit move constructors created\n"</span>;</div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span>   llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#a9bd1672cb37b02c3e4700bbde86f8a62" title="The number of implicitly-declared copy assignment operators for which declarations were built...">NumImplicitCopyAssignmentOperatorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span>                << <a class="code" href="classclang_1_1ASTContext.html#ac9d694e2f15faee63052fbb619d7baa2" title="The number of implicitly-declared copy assignment operators.">NumImplicitCopyAssignmentOperators</a></div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span>                << <span class="stringliteral">" implicit copy assignment operators created\n"</span>;</div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>)</div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span>     llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#a15c1f944948149990ed30fa04b778852" title="The number of implicitly-declared move assignment operators for which declarations were built...">NumImplicitMoveAssignmentOperatorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span>                  << <a class="code" href="classclang_1_1ASTContext.html#a243641f1c075a18cdba90a58c9c08118" title="The number of implicitly-declared move assignment operators.">NumImplicitMoveAssignmentOperators</a></div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span>                  << <span class="stringliteral">" implicit move assignment operators created\n"</span>;</div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span>   llvm::errs() << <a class="code" href="classclang_1_1ASTContext.html#a2647df853d1c4c7315b4b8c5b558ef12" title="The number of implicitly-declared destructors for which declarations were built.">NumImplicitDestructorsDeclared</a> << <span class="stringliteral">"/"</span></div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span>                << <a class="code" href="classclang_1_1ASTContext.html#acc7972b20fc356aa6b7d1296ea2226f1" title="The number of implicitly-declared destructors.">NumImplicitDestructors</a></div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span>                << <span class="stringliteral">" implicit destructors created\n"</span>;</div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span> </div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTContext.html#ab244f0fdee4a7887808e31e8430567f0">ExternalSource</a>.get()) {</div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span>     llvm::errs() << <span class="stringliteral">"\n"</span>;</div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span>     <a class="code" href="classclang_1_1ASTContext.html#ab244f0fdee4a7887808e31e8430567f0">ExternalSource</a>->PrintStats();</div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span>   }</div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span> </div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span>   BumpAlloc.PrintStats();</div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span> }</div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span> </div>
+<div class="line"><a name="l00860"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#abf1392ff162817343d4fac0c5da1426c">  860</a></span> <a class="code" href="classclang_1_1TypedefDecl.html">TypedefDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#abf1392ff162817343d4fac0c5da1426c" title="Retrieve the declaration for the 128-bit signed integer type.">ASTContext::getInt128Decl</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span>   <span class="keywordflow">if</span> (!Int128Decl) {</div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span>     <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *TInfo = <a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2" title="Allocate a TypeSourceInfo where all locations have been initialized to a given location, which defaults to the empty location.">getTrivialTypeSourceInfo</a>(<a class="code" href="classclang_1_1ASTContext.html#a12c1d73a7d8d53d467364a3befc0163a">Int128Ty</a>);</div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span>     Int128Decl = <a class="code" href="classclang_1_1TypedefDecl.html#ab5cb6ea0e6617d6b6f09a1f9856e8a0e">TypedefDecl::Create</a>(const_cast<ASTContext &>(*<span class="keyword">this</span>), </div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span>                                      <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(),</div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span>                                      <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span>                                      <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span>                                      &<a class="code" href="classclang_1_1ASTContext.html#a4f95adb9958e22fbe55212ae6482feb4">Idents</a>.<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"__int128_t"</span>),</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>                                      TInfo);</div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span>   }</div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span>   </div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span>   <span class="keywordflow">return</span> Int128Decl;</div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span> }</div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span> </div>
+<div class="line"><a name="l00874"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#acdcdc97d5473af7c1cd76f751ed799f0">  874</a></span> <a class="code" href="classclang_1_1TypedefDecl.html">TypedefDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#acdcdc97d5473af7c1cd76f751ed799f0" title="Retrieve the declaration for the 128-bit unsigned integer type.">ASTContext::getUInt128Decl</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span>   <span class="keywordflow">if</span> (!UInt128Decl) {</div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>     <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *TInfo = <a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2" title="Allocate a TypeSourceInfo where all locations have been initialized to a given location, which defaults to the empty location.">getTrivialTypeSourceInfo</a>(<a class="code" href="classclang_1_1ASTContext.html#aa7b4e360ae45eeb34bd6a58a9f6af2aa">UnsignedInt128Ty</a>);</div>
+<div class="line"><a name="l00877"></a><span class="lineno">  877</span>     UInt128Decl = <a class="code" href="classclang_1_1TypedefDecl.html#ab5cb6ea0e6617d6b6f09a1f9856e8a0e">TypedefDecl::Create</a>(const_cast<ASTContext &>(*<span class="keyword">this</span>), </div>
+<div class="line"><a name="l00878"></a><span class="lineno">  878</span>                                      <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(),</div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span>                                      <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span>                                      <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span>                                      &<a class="code" href="classclang_1_1ASTContext.html#a4f95adb9958e22fbe55212ae6482feb4">Idents</a>.<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"__uint128_t"</span>),</div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span>                                      TInfo);</div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span>   }</div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span>   </div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span>   <span class="keywordflow">return</span> UInt128Decl;</div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span> }</div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span> </div>
+<div class="line"><a name="l00888"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#afaf171ad89a8091584476dfe4e3a75c2">  888</a></span> <a class="code" href="classclang_1_1TypeDecl.html">TypeDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#afaf171ad89a8091584476dfe4e3a75c2" title="Retrieve the declaration for a 128-bit float stub type.">ASTContext::getFloat128StubType</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span>   assert(LangOpts.CPlusPlus && <span class="stringliteral">"should only be called for c++"</span>);</div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span>   <span class="keywordflow">if</span> (!Float128StubDecl) {</div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span>     Float128StubDecl = <a class="code" href="classclang_1_1CXXRecordDecl.html#a5fd9b830edb5b3b128e9eebc1bb2d6d2">CXXRecordDecl::Create</a>(const_cast<ASTContext &>(*<span class="keyword">this</span>), </div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span>                                              <a class="code" href="namespaceclang.html#a9237bdb3cf715b9bff8bcb3172635548ac341a3cfc4dae72e09e2348561fffc12" title="The "struct" keyword.">TTK_Struct</a>,</div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span>                                              <a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>(),</div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span>                                              <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span>                                              <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span>                                              &<a class="code" href="classclang_1_1ASTContext.html#a4f95adb9958e22fbe55212ae6482feb4">Idents</a>.<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"__float128"</span>));</div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span>   }</div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span>   </div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span>   <span class="keywordflow">return</span> Float128StubDecl;</div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span> }</div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span> </div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span> <span class="keywordtype">void</span> ASTContext::InitBuiltinType(<a class="code" href="classclang_1_1CanQual.html">CanQualType</a> &R, <a class="code" href="classclang_1_1BuiltinType.html#a77af33eaf2daca5deac3719c53394eb0">BuiltinType::Kind</a> K) {</div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span>   <a class="code" href="classclang_1_1BuiltinType.html">BuiltinType</a> *Ty = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1BuiltinType.html">BuiltinType</a>(K);</div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span>   R = <a class="code" href="classclang_1_1CanQual.html#a6089be1545ecc87ca79a662b865969df" title="Builds a canonical type from a QualType.">CanQualType::CreateUnsafe</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(Ty, 0));</div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span>   Types.push_back(Ty);</div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span> }</div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span> </div>
+<div class="line"><a name="l00908"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a202f7b43aec59bc565b0cb0c9ea16a51">  908</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a202f7b43aec59bc565b0cb0c9ea16a51" title="Initialize built-in types.">ASTContext::InitBuiltinTypes</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> &Target) {</div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span>   assert((!this->Target || this->Target == &Target) &&</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span>          <span class="stringliteral">"Incorrect target reinitialization"</span>);</div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>   assert(<a class="code" href="classclang_1_1ASTContext.html#aaa9dd0ebd4ff2e55c572f5718b7af508">VoidTy</a>.<a class="code" href="classclang_1_1CanQual.html#a29952a2de93049204482ac64457426d8">isNull</a>() && <span class="stringliteral">"Context reinitialized?"</span>);</div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span> </div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span>   this->Target = &Target;</div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span>   </div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>   ABI.reset(createCXXABI(Target));</div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span>   AddrSpaceMap = <a class="code" href="ASTContext_8cpp.html#aa2670894d842ca1bdf73061486c67de2">getAddressSpaceMap</a>(Target, LangOpts);</div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span>   AddrSpaceMapMangling = <a class="code" href="ASTContext_8cpp.html#a91ab961d3358d7f29f83f8a426c1b074">isAddrSpaceMapManglingEnabled</a>(Target, LangOpts);</div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span>   </div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>   <span class="comment">// C99 6.2.5p19.</span></div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aaa9dd0ebd4ff2e55c572f5718b7af508">VoidTy</a>,              BuiltinType::Void);</div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span> </div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>   <span class="comment">// C99 6.2.5p2.</span></div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a699510ff594ec09506e02c3ec68e4ff5">BoolTy</a>,              BuiltinType::Bool);</div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span>   <span class="comment">// C99 6.2.5p3.</span></div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>   <span class="keywordflow">if</span> (LangOpts.CharIsSigned)</div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a>,            BuiltinType::Char_S);</div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span>   <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a>,            BuiltinType::Char_U);</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span>   <span class="comment">// C99 6.2.5p4.</span></div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a92063d19fd6dd12d2d3c1a016ffc849f">SignedCharTy</a>,        BuiltinType::SChar);</div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ac369991763a2aa6bf9a8a3ded653afd8">ShortTy</a>,             BuiltinType::Short);</div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a873a1148a8ffe184f0e5bd27bf90c0dc">IntTy</a>,               BuiltinType::Int);</div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a0ba7f01d5d975ce7f18b482b052f10fb">LongTy</a>,              BuiltinType::Long);</div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#adca2e7646f51ee1e280cfad7b108bc60">LongLongTy</a>,          BuiltinType::LongLong);</div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span> </div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span>   <span class="comment">// C99 6.2.5p6.</span></div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aab61651b1e4d7e541343e7155263e861">UnsignedCharTy</a>,      BuiltinType::UChar);</div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ab9a777cc7ccb5b943f68c7d443b3cc86">UnsignedShortTy</a>,     BuiltinType::UShort);</div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aad4fc6bf8d266a4dbc03cd9d3a86aab4">UnsignedIntTy</a>,       BuiltinType::UInt);</div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a76182acff43ec4d01c06751bb8a2f7bc">UnsignedLongTy</a>,      BuiltinType::ULong);</div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ab61a96bf1fc99d696d00eefe6104ea70">UnsignedLongLongTy</a>,  BuiltinType::ULongLong);</div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span> </div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span>   <span class="comment">// C99 6.2.5p10.</span></div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a30d239b8f8a7995d23cb4349038fa74f">FloatTy</a>,             BuiltinType::Float);</div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a366594144d93311decc086cb980d69c2">DoubleTy</a>,            BuiltinType::Double);</div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a3c4917789ce7a56eb126523906975140">LongDoubleTy</a>,        BuiltinType::LongDouble);</div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span> </div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span>   <span class="comment">// GNU extension, 128-bit integers.</span></div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a12c1d73a7d8d53d467364a3befc0163a">Int128Ty</a>,            BuiltinType::Int128);</div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aa7b4e360ae45eeb34bd6a58a9f6af2aa">UnsignedInt128Ty</a>,    BuiltinType::UInt128);</div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span> </div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>   <span class="comment">// C++ 3.9.1p5</span></div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1TargetInfo.html#a46470ac21932c1aa0ed4f077faf4e1dd" title="Returns true if the type is signed; false otherwise.">TargetInfo::isTypeSigned</a>(Target.getWCharType()))</div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ae128b93f45385b80c046cae6669f3dc7">WCharTy</a>,           BuiltinType::WChar_S);</div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span>   <span class="keywordflow">else</span>  <span class="comment">// -fshort-wchar makes wchar_t be unsigned.</span></div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ae128b93f45385b80c046cae6669f3dc7">WCharTy</a>,           BuiltinType::WChar_U);</div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>   <span class="keywordflow">if</span> (LangOpts.CPlusPlus && LangOpts.WChar)</div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span>     <a class="code" href="classclang_1_1ASTContext.html#a4f75e287bde8597c0d2f44a28ec491cf">WideCharTy</a> = <a class="code" href="classclang_1_1ASTContext.html#ae128b93f45385b80c046cae6669f3dc7">WCharTy</a>;</div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span>   <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</span>     <span class="comment">// C99 (or C++ using -fno-wchar).</span></div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span>     <a class="code" href="classclang_1_1ASTContext.html#a4f75e287bde8597c0d2f44a28ec491cf">WideCharTy</a> = getFromTargetType(Target.getWCharType());</div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span>   }</div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span> </div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span>   <a class="code" href="classclang_1_1ASTContext.html#a0f51bbfdbc45094d1e90af09b94fdd39">WIntTy</a> = getFromTargetType(Target.getWIntType());</div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span> </div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span>   <span class="keywordflow">if</span> (LangOpts.CPlusPlus) <span class="comment">// C++0x 3.9.1p5, extension for C++</span></div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a3d6a0672fdf5a30b9acab8ee9531c412">Char16Ty</a>,           BuiltinType::Char16);</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span>   <span class="keywordflow">else</span> <span class="comment">// C99</span></div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span>     <a class="code" href="classclang_1_1ASTContext.html#a3d6a0672fdf5a30b9acab8ee9531c412">Char16Ty</a> = getFromTargetType(Target.getChar16Type());</div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span> </div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span>   <span class="keywordflow">if</span> (LangOpts.CPlusPlus) <span class="comment">// C++0x 3.9.1p5, extension for C++</span></div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#acb8f246b353fa5927d539a987e965de4">Char32Ty</a>,           BuiltinType::Char32);</div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span>   <span class="keywordflow">else</span> <span class="comment">// C99</span></div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span>     <a class="code" href="classclang_1_1ASTContext.html#acb8f246b353fa5927d539a987e965de4">Char32Ty</a> = getFromTargetType(Target.getChar32Type());</div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span> </div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span>   <span class="comment">// Placeholder type for type-dependent expressions whose type is</span></div>
+<div class="line"><a name="l00977"></a><span class="lineno">  977</span>   <span class="comment">// completely unknown. No code should ever check a type against</span></div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span>   <span class="comment">// DependentTy and users should never see it; however, it is here to</span></div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span>   <span class="comment">// help diagnose failures to properly check for type-dependent</span></div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span>   <span class="comment">// expressions.</span></div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a4b9c29396317bed688dfe9d5b909f04f">DependentTy</a>,         BuiltinType::Dependent);</div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span> </div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span>   <span class="comment">// Placeholder type for functions.</span></div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a9630077a927001f119e396456dc9e091">OverloadTy</a>,          BuiltinType::Overload);</div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span> </div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span>   <span class="comment">// Placeholder type for bound members.</span></div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a7fcf245139d35c3e1bf527187b0a6c40">BoundMemberTy</a>,       BuiltinType::BoundMember);</div>
+<div class="line"><a name="l00988"></a><span class="lineno">  988</span> </div>
+<div class="line"><a name="l00989"></a><span class="lineno">  989</span>   <span class="comment">// Placeholder type for pseudo-objects.</span></div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a87abdcb929904305709de24d315f3c4e">PseudoObjectTy</a>,      BuiltinType::PseudoObject);</div>
+<div class="line"><a name="l00991"></a><span class="lineno">  991</span> </div>
+<div class="line"><a name="l00992"></a><span class="lineno">  992</span>   <span class="comment">// "any" type; useful for debugger-like clients.</span></div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#ab3070a4f0f96dcc0921e1db5d9746e39">UnknownAnyTy</a>,        BuiltinType::UnknownAny);</div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span> </div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>   <span class="comment">// Placeholder type for unbridged ARC casts.</span></div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a08dd0be0508af305b1530f937c7d15d1">ARCUnbridgedCastTy</a>,  BuiltinType::ARCUnbridgedCast);</div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span> </div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span>   <span class="comment">// Placeholder type for builtin functions.</span></div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aa7cd20037d2cfff1f95b15d995a3effb">BuiltinFnTy</a>,  BuiltinType::BuiltinFn);</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span> </div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>   <span class="comment">// C99 6.2.5p11.</span></div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>   <a class="code" href="classclang_1_1ASTContext.html#aabeb75616bfc2f70344e03bc2aeca560">FloatComplexTy</a>      = <a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">getComplexType</a>(<a class="code" href="classclang_1_1ASTContext.html#a30d239b8f8a7995d23cb4349038fa74f">FloatTy</a>);</div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>   <a class="code" href="classclang_1_1ASTContext.html#adf8e39a7e58fbc0af8029a4eb974eafa">DoubleComplexTy</a>     = <a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">getComplexType</a>(<a class="code" href="classclang_1_1ASTContext.html#a366594144d93311decc086cb980d69c2">DoubleTy</a>);</div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>   <a class="code" href="classclang_1_1ASTContext.html#a6d3da758e418214dc5b3c37946bdb537">LongDoubleComplexTy</a> = <a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">getComplexType</a>(<a class="code" href="classclang_1_1ASTContext.html#a3c4917789ce7a56eb126523906975140">LongDoubleTy</a>);</div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> </div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>   <span class="comment">// Builtin types for 'id', 'Class', and 'SEL'.</span></div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a638544bdf0734f38ef4d348e5f24a790">ObjCBuiltinIdTy</a>, BuiltinType::ObjCId);</div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a743f8ea157887010778527c8ebb763d1">ObjCBuiltinClassTy</a>, BuiltinType::ObjCClass);</div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a0251096c52910ca08aaf7be2518375a1">ObjCBuiltinSelTy</a>, BuiltinType::ObjCSel);</div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> </div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>   <span class="keywordflow">if</span> (LangOpts.OpenCL) { </div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a6bb7883a18fcdb834fd5dfee2160f86d">OCLImage1dTy</a>, BuiltinType::OCLImage1d);</div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a95e7b0550ad5f0f5dbdb67a2669ac68a">OCLImage1dArrayTy</a>, BuiltinType::OCLImage1dArray);</div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a1556859994021e09c6d0e97908495dcf">OCLImage1dBufferTy</a>, BuiltinType::OCLImage1dBuffer);</div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aca2d431195be36cb0ea8a15b86466cf1">OCLImage2dTy</a>, BuiltinType::OCLImage2d);</div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a5adb16d8a7c691c4b874f180f4407044">OCLImage2dArrayTy</a>, BuiltinType::OCLImage2dArray);</div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a3cc9f5201dda268603b1f2364593c205">OCLImage3dTy</a>, BuiltinType::OCLImage3d);</div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> </div>
+<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#aa9275d96b0c8f3796ec8fe6d25b844e6">OCLSamplerTy</a>, BuiltinType::OCLSampler);</div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>     InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#af814250921f937d0acf3a5952877c57f">OCLEventTy</a>, BuiltinType::OCLEvent);</div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>   }</div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>   </div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>   <span class="comment">// Builtin type for __objc_yes and __objc_no</span></div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>   <a class="code" href="classclang_1_1ASTContext.html#a93b9f0822450f51d6de72025bf173d25">ObjCBuiltinBoolTy</a> = (Target.useSignedCharForObjCBool() ?</div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>                        <a class="code" href="classclang_1_1ASTContext.html#a92063d19fd6dd12d2d3c1a016ffc849f">SignedCharTy</a> : <a class="code" href="classclang_1_1ASTContext.html#a699510ff594ec09506e02c3ec68e4ff5">BoolTy</a>);</div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>   </div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>   ObjCConstantStringType = <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>   </div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>   ObjCSuperType = <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> </div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>   <span class="comment">// void * type</span></div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>   <a class="code" href="classclang_1_1ASTContext.html#a485732164c40553bb323c58f5e8bf7a7">VoidPtrTy</a> = <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(<a class="code" href="classclang_1_1ASTContext.html#aaa9dd0ebd4ff2e55c572f5718b7af508">VoidTy</a>);</div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> </div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>   <span class="comment">// nullptr type (C++0x 2.14.7)</span></div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#a4eb591aa13a2b8d1fe0635de7b78afd1">NullPtrTy</a>,           BuiltinType::NullPtr);</div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> </div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>   <span class="comment">// half type (OpenCL 6.1.1.1) / ARM NEON __fp16</span></div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>   InitBuiltinType(<a class="code" href="classclang_1_1ASTContext.html#af0ea37c8de97844cee0e96164a5db3f8">HalfTy</a>, BuiltinType::Half);</div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span> </div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>   <span class="comment">// Builtin type used to help define __builtin_va_list.</span></div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>   <a class="code" href="classclang_1_1ASTContext.html#ad0c12f4cbc877991fe6864f1247f6aaa">VaListTagTy</a> = <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> }</div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span> </div>
+<div class="line"><a name="l01044"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9038dcc99a0eb802f7d2686b5a9de271"> 1044</a></span> <a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> &<a class="code" href="classclang_1_1ASTContext.html#a9038dcc99a0eb802f7d2686b5a9de271">ASTContext::getDiagnostics</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>   <span class="keywordflow">return</span> SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#ad66017ba8d0863bbfb1ef9c2c2c7ee34">getDiagnostics</a>();</div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span> }</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> </div>
+<div class="line"><a name="l01048"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#afa0e1219c6dcb02d84c5058e289cbd68"> 1048</a></span> <a class="code" href="classllvm_1_1SmallVector.html">AttrVec</a>& <a class="code" href="classclang_1_1ASTContext.html#afa0e1219c6dcb02d84c5058e289cbd68" title="Retrieve the attributes for the given declaration.">ASTContext::getDeclAttrs</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D) {</div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>   <a class="code" href="classllvm_1_1SmallVector.html">AttrVec</a> *&Result = DeclAttrs[D];</div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>   <span class="keywordflow">if</span> (!Result) {</div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>     <span class="keywordtype">void</span> *Mem = <a class="code" href="classclang_1_1ASTContext.html#a2b0efa9919a08d2fb955f3003c304aa9">Allocate</a>(<span class="keyword">sizeof</span>(<a class="code" href="classllvm_1_1SmallVector.html">AttrVec</a>));</div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>     Result = <span class="keyword">new</span> (Mem) <a class="code" href="classllvm_1_1SmallVector.html">AttrVec</a>;</div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>   }</div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>     </div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>   <span class="keywordflow">return</span> *Result;</div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> }</div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="comment"></span></div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> <span class="comment">/// \brief Erase the attributes corresponding to the given declaration.</span></div>
+<div class="line"><a name="l01059"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6dd447d131aa6b296315a46e9bccc12b"> 1059</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a6dd447d131aa6b296315a46e9bccc12b" title="Erase the attributes corresponding to the given declaration.">ASTContext::eraseDeclAttrs</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D) { </div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>   llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D);</div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>   <span class="keywordflow">if</span> (Pos != DeclAttrs.end()) {</div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>     Pos->second->~AttrVec();</div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>     DeclAttrs.erase(Pos);</div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>   }</div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> }</div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> </div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> <span class="comment">// FIXME: Remove ?</span></div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> <a class="code" href="classclang_1_1MemberSpecializationInfo.html" title="Provides information a specialization of a member of a class template, which may be a member function...">MemberSpecializationInfo</a> *</div>
+<div class="line"><a name="l01069"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a08b2811fd32eb4cff9f98afec671de07"> 1069</a></span> <a class="code" href="classclang_1_1ASTContext.html#a08b2811fd32eb4cff9f98afec671de07" title="If this variable is an instantiated static data member of a class template specialization, returns the templated static data member from which it was instantiated.">ASTContext::getInstantiatedFromStaticDataMember</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *Var) {</div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>   assert(Var-><a class="code" href="classclang_1_1VarDecl.html#a373bffe9299b1e17054f1bd6c46e00a5" title="Determines whether this is a static data member.">isStaticDataMember</a>() && <span class="stringliteral">"Not a static data member"</span>);</div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a0e36be28765d5cca293ea35c0c93099a">getTemplateOrSpecializationInfo</a>(Var)</div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>       .dyn_cast<<a class="code" href="classclang_1_1MemberSpecializationInfo.html" title="Provides information a specialization of a member of a class template, which may be a member function...">MemberSpecializationInfo</a> *>();</div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> }</div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> </div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> <a class="code" href="classclang_1_1ASTContext.html#a07e408b17f4d07d4f4be609b01ae8b4e" title="A type synonym for the TemplateOrInstantiation mapping.">ASTContext::TemplateOrSpecializationInfo</a></div>
+<div class="line"><a name="l01076"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a0e36be28765d5cca293ea35c0c93099a"> 1076</a></span> <a class="code" href="classclang_1_1ASTContext.html#a0e36be28765d5cca293ea35c0c93099a">ASTContext::getTemplateOrSpecializationInfo</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *Var) {</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>   llvm::DenseMap<const VarDecl *, TemplateOrSpecializationInfo>::iterator Pos =</div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>       TemplateOrInstantiation.find(Var);</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>   <span class="keywordflow">if</span> (Pos == TemplateOrInstantiation.end())</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a07e408b17f4d07d4f4be609b01ae8b4e" title="A type synonym for the TemplateOrInstantiation mapping.">TemplateOrSpecializationInfo</a>();</div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> </div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>   <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> }</div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> </div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l01086"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab3135c01c197a436c9983566abeab187"> 1086</a></span> <a class="code" href="classclang_1_1ASTContext.html#ab3135c01c197a436c9983566abeab187" title="Note that the static data member Inst is an instantiation of the static data member template Tmpl of ...">ASTContext::setInstantiatedFromStaticDataMember</a>(<a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *Inst, <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *Tmpl,</div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>                                                 <a class="code" href="namespaceclang.html#ae689bf8e3dcc54751a81974a4a12c3d2" title="Describes the kind of template specialization that a particular template specialization declaration r...">TemplateSpecializationKind</a> TSK,</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>                                           <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> PointOfInstantiation) {</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>   assert(Inst-><a class="code" href="classclang_1_1VarDecl.html#a373bffe9299b1e17054f1bd6c46e00a5" title="Determines whether this is a static data member.">isStaticDataMember</a>() && <span class="stringliteral">"Not a static data member"</span>);</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>   assert(Tmpl-><a class="code" href="classclang_1_1VarDecl.html#a373bffe9299b1e17054f1bd6c46e00a5" title="Determines whether this is a static data member.">isStaticDataMember</a>() && <span class="stringliteral">"Not a static data member"</span>);</div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>   <a class="code" href="classclang_1_1ASTContext.html#a1a626bba90e0d641f24813052fca48a5">setTemplateOrSpecializationInfo</a>(Inst, <span class="keyword">new</span> (*<span class="keyword">this</span>) <a class="code" href="classclang_1_1MemberSpecializationInfo.html" title="Provides information a specialization of a member of a class template, which may be a member function...">MemberSpecializationInfo</a>(</div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>                                             Tmpl, TSK, PointOfInstantiation));</div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> }</div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> </div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l01096"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a1a626bba90e0d641f24813052fca48a5"> 1096</a></span> <a class="code" href="classclang_1_1ASTContext.html#a1a626bba90e0d641f24813052fca48a5">ASTContext::setTemplateOrSpecializationInfo</a>(<a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *Inst,</div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>                                             <a class="code" href="classclang_1_1ASTContext.html#a07e408b17f4d07d4f4be609b01ae8b4e" title="A type synonym for the TemplateOrInstantiation mapping.">TemplateOrSpecializationInfo</a> TSI) {</div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>   assert(!TemplateOrInstantiation[Inst] &&</div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>          <span class="stringliteral">"Already noted what the variable was instantiated from"</span>);</div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>   TemplateOrInstantiation[Inst] = TSI;</div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> }</div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> </div>
+<div class="line"><a name="l01103"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9bed34e99f3d3982a31cdb41ae018c86"> 1103</a></span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#a9bed34e99f3d3982a31cdb41ae018c86">ASTContext::getClassScopeSpecializationPattern</a>(</div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>                                                      <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD){</div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>   assert(FD && <span class="stringliteral">"Specialization is 0"</span>);</div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>   llvm::DenseMap<const FunctionDecl*, FunctionDecl *>::const_iterator Pos</div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>     = ClassScopeSpecializationPattern.find(FD);</div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>   <span class="keywordflow">if</span> (Pos == ClassScopeSpecializationPattern.end())</div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> </div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>   <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> }</div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> </div>
+<div class="line"><a name="l01114"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a8953098d78ec13ba8718e79ab52aa93f"> 1114</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a8953098d78ec13ba8718e79ab52aa93f">ASTContext::setClassScopeSpecializationPattern</a>(<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD,</div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>                                         <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *Pattern) {</div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>   assert(FD && <span class="stringliteral">"Specialization is 0"</span>);</div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>   assert(Pattern && <span class="stringliteral">"Class scope specialization pattern is 0"</span>);</div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>   ClassScopeSpecializationPattern[FD] = Pattern;</div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> }</div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> </div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *</div>
+<div class="line"><a name="l01122"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6e3aa068c08027c607192743de3a1749"> 1122</a></span> <a class="code" href="classclang_1_1ASTContext.html#a6e3aa068c08027c607192743de3a1749" title="If the given using decl Inst is an instantiation of a (possibly unresolved) using decl from a templat...">ASTContext::getInstantiatedFromUsingDecl</a>(<a class="code" href="classclang_1_1UsingDecl.html" title="Represents a C++ using-declaration.">UsingDecl</a> *UUD) {</div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>   llvm::DenseMap<UsingDecl *, NamedDecl *>::const_iterator Pos</div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>     = InstantiatedFromUsingDecl.find(UUD);</div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>   <span class="keywordflow">if</span> (Pos == InstantiatedFromUsingDecl.end())</div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span> </div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>   <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> }</div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> </div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l01132"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#add9455d0a57fb36e2960dba973da72cb"> 1132</a></span> <a class="code" href="classclang_1_1ASTContext.html#add9455d0a57fb36e2960dba973da72cb" title="Remember that the using decl Inst is an instantiation of the using decl Pattern of a class template...">ASTContext::setInstantiatedFromUsingDecl</a>(<a class="code" href="classclang_1_1UsingDecl.html" title="Represents a C++ using-declaration.">UsingDecl</a> *Inst, <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *Pattern) {</div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>   assert((isa<UsingDecl>(Pattern) ||</div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>           isa<UnresolvedUsingValueDecl>(Pattern) ||</div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>           isa<UnresolvedUsingTypenameDecl>(Pattern)) && </div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>          <span class="stringliteral">"pattern decl is not a using decl"</span>);</div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>   assert(!InstantiatedFromUsingDecl[Inst] && <span class="stringliteral">"pattern already exists"</span>);</div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>   InstantiatedFromUsingDecl[Inst] = Pattern;</div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> }</div>
+<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span> </div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span> <a class="code" href="classclang_1_1UsingShadowDecl.html" title="Represents a shadow declaration introduced into a scope by a (resolved) using declaration.">UsingShadowDecl</a> *</div>
+<div class="line"><a name="l01142"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9e2fd570cc6c61155266c4a45c905122"> 1142</a></span> <a class="code" href="classclang_1_1ASTContext.html#a9e2fd570cc6c61155266c4a45c905122">ASTContext::getInstantiatedFromUsingShadowDecl</a>(<a class="code" href="classclang_1_1UsingShadowDecl.html" title="Represents a shadow declaration introduced into a scope by a (resolved) using declaration.">UsingShadowDecl</a> *Inst) {</div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>   llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos</div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>     = InstantiatedFromUsingShadowDecl.find(Inst);</div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>   <span class="keywordflow">if</span> (Pos == InstantiatedFromUsingShadowDecl.end())</div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span> </div>
+<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>   <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> }</div>
+<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> </div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l01152"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a36159b305b4b8ca3d45ed9129dd26f99"> 1152</a></span> <a class="code" href="classclang_1_1ASTContext.html#a36159b305b4b8ca3d45ed9129dd26f99">ASTContext::setInstantiatedFromUsingShadowDecl</a>(<a class="code" href="classclang_1_1UsingShadowDecl.html" title="Represents a shadow declaration introduced into a scope by a (resolved) using declaration.">UsingShadowDecl</a> *Inst,</div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>                                                <a class="code" href="classclang_1_1UsingShadowDecl.html" title="Represents a shadow declaration introduced into a scope by a (resolved) using declaration.">UsingShadowDecl</a> *Pattern) {</div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>   assert(!InstantiatedFromUsingShadowDecl[Inst] && <span class="stringliteral">"pattern already exists"</span>);</div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>   InstantiatedFromUsingShadowDecl[Inst] = Pattern;</div>
+<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> }</div>
+<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> </div>
+<div class="line"><a name="l01158"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6dc6cab639074288480651d0f21a2d53"> 1158</a></span> <a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#a6dc6cab639074288480651d0f21a2d53">ASTContext::getInstantiatedFromUnnamedFieldDecl</a>(<a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *Field) {</div>
+<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>   llvm::DenseMap<FieldDecl *, FieldDecl *>::iterator Pos</div>
+<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>     = InstantiatedFromUnnamedFieldDecl.find(Field);</div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>   <span class="keywordflow">if</span> (Pos == InstantiatedFromUnnamedFieldDecl.end())</div>
+<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span> </div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>   <span class="keywordflow">return</span> Pos->second;</div>
+<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span> }</div>
+<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> </div>
+<div class="line"><a name="l01167"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ad00085c5e886db4f0954559b33ecaa9b"> 1167</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#ad00085c5e886db4f0954559b33ecaa9b">ASTContext::setInstantiatedFromUnnamedFieldDecl</a>(<a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *Inst,</div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>                                                      <a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *Tmpl) {</div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>   assert(!Inst-><a class="code" href="classclang_1_1NamedDecl.html#a1e3e90455be89bb5c7c23640cbbd7153">getDeclName</a>() && <span class="stringliteral">"Instantiated field decl is not unnamed"</span>);</div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>   assert(!Tmpl-><a class="code" href="classclang_1_1NamedDecl.html#a1e3e90455be89bb5c7c23640cbbd7153">getDeclName</a>() && <span class="stringliteral">"Template field decl is not unnamed"</span>);</div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>   assert(!InstantiatedFromUnnamedFieldDecl[Inst] &&</div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>          <span class="stringliteral">"Already noted what unnamed field was instantiated from"</span>);</div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span> </div>
+<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>   InstantiatedFromUnnamedFieldDecl[Inst] = Tmpl;</div>
+<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span> }</div>
+<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span> </div>
+<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span> <a class="code" href="classclang_1_1ASTContext.html#adc0dbdbefa982761e6aaf9bd94c74d48">ASTContext::overridden_cxx_method_iterator</a></div>
+<div class="line"><a name="l01178"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a0790f6a39aa1a833af4ac6175a0273df"> 1178</a></span> <a class="code" href="classclang_1_1ASTContext.html#a0790f6a39aa1a833af4ac6175a0273df">ASTContext::overridden_methods_begin</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *Method)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>   llvm::DenseMap<const CXXMethodDecl *, CXXMethodVector>::const_iterator Pos</div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>     = OverriddenMethods.find(Method-><a class="code" href="classclang_1_1CXXMethodDecl.html#aa8d27f88a980ce80102d34870e352738" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>   <span class="keywordflow">if</span> (Pos == OverriddenMethods.end())</div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> </div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>   <span class="keywordflow">return</span> Pos->second.begin();</div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> }</div>
+<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span> </div>
+<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span> <a class="code" href="classclang_1_1ASTContext.html#adc0dbdbefa982761e6aaf9bd94c74d48">ASTContext::overridden_cxx_method_iterator</a></div>
+<div class="line"><a name="l01188"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a28c73276858f3f60d8787bdcf36bd8dc"> 1188</a></span> <a class="code" href="classclang_1_1ASTContext.html#a28c73276858f3f60d8787bdcf36bd8dc">ASTContext::overridden_methods_end</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *Method)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>   llvm::DenseMap<const CXXMethodDecl *, CXXMethodVector>::const_iterator Pos</div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>     = OverriddenMethods.find(Method-><a class="code" href="classclang_1_1CXXMethodDecl.html#aa8d27f88a980ce80102d34870e352738" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>   <span class="keywordflow">if</span> (Pos == OverriddenMethods.end())</div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> </div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>   <span class="keywordflow">return</span> Pos->second.end();</div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> }</div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> </div>
+<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span> <span class="keywordtype">unsigned</span></div>
+<div class="line"><a name="l01198"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a5b4670209146d137659150c23c76eefa"> 1198</a></span> <a class="code" href="classclang_1_1ASTContext.html#a5b4670209146d137659150c23c76eefa">ASTContext::overridden_methods_size</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *Method)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>   llvm::DenseMap<const CXXMethodDecl *, CXXMethodVector>::const_iterator Pos</div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>     = OverriddenMethods.find(Method-><a class="code" href="classclang_1_1CXXMethodDecl.html#aa8d27f88a980ce80102d34870e352738" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>   <span class="keywordflow">if</span> (Pos == OverriddenMethods.end())</div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span> </div>
+<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>   <span class="keywordflow">return</span> Pos->second.size();</div>
+<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> }</div>
+<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> </div>
+<div class="line"><a name="l01207"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a73127f12d28fbeee037a91fe29cdd598"> 1207</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a73127f12d28fbeee037a91fe29cdd598" title="Note that the given C++ Method overrides the given Overridden method.">ASTContext::addOverriddenMethod</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *Method, </div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>                                      <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *Overridden) {</div>
+<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>   assert(Method-><a class="code" href="classclang_1_1Decl.html#a2b931baf609b7f7de1e61841a7b0d876" title="Whether this particular Decl is a canonical one.">isCanonicalDecl</a>() && Overridden-><a class="code" href="classclang_1_1Decl.html#a2b931baf609b7f7de1e61841a7b0d876" title="Whether this particular Decl is a canonical one.">isCanonicalDecl</a>());</div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>   OverriddenMethods[Method].push_back(Overridden);</div>
+<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span> }</div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> </div>
+<div class="line"><a name="l01213"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6dc5491510d721b72c22430a3bb983ce"> 1213</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a6dc5491510d721b72c22430a3bb983ce" title="Return C++ or ObjC overridden methods for the given Method.">ASTContext::getOverriddenMethods</a>(</div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>                       <span class="keyword">const</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *D,</div>
+<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>                       <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<const NamedDecl *></a> &Overridden)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>   assert(D);</div>
+<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span> </div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *CXXMethod = dyn_cast<CXXMethodDecl>(D)) {</div>
+<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>     Overridden.append(<a class="code" href="classclang_1_1ASTContext.html#a0790f6a39aa1a833af4ac6175a0273df">overridden_methods_begin</a>(CXXMethod),</div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>                       <a class="code" href="classclang_1_1ASTContext.html#a28c73276858f3f60d8787bdcf36bd8dc">overridden_methods_end</a>(CXXMethod));</div>
+<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>   }</div>
+<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span> </div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *Method = dyn_cast<<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>>(D);</div>
+<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>   <span class="keywordflow">if</span> (!Method)</div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> </div>
+<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<const ObjCMethodDecl *, 8></a> OverDecls;</div>
+<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>   Method-><a class="code" href="classclang_1_1ObjCMethodDecl.html#ac69786ec32d97c29afeebcd152631fa5" title="Return overridden methods for the given Method.">getOverriddenMethods</a>(OverDecls);</div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>   Overridden.append(OverDecls.begin(), OverDecls.end());</div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span> }</div>
+<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> </div>
+<div class="line"><a name="l01233"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a78df440b4c304bff5ee757dd134d8d1a"> 1233</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a78df440b4c304bff5ee757dd134d8d1a" title="Notify the AST context that a new import declaration has been parsed or implicitly created within thi...">ASTContext::addedLocalImportDecl</a>(<a class="code" href="classclang_1_1ImportDecl.html" title="Describes a module import declaration, which makes the contents of the named module visible in the cu...">ImportDecl</a> *Import) {</div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>   assert(!Import->NextLocalImport && <span class="stringliteral">"Import declaration already in the chain"</span>);</div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>   assert(!Import-><a class="code" href="classclang_1_1Decl.html#a65e7ee086555015067f692bb1c2036f7" title="Determine whether this declaration came from an AST file (such as a precompiled header or module) rat...">isFromASTFile</a>() && <span class="stringliteral">"Non-local import declaration"</span>);</div>
+<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>   <span class="keywordflow">if</span> (!FirstLocalImport) {</div>
+<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>     FirstLocalImport = Import;</div>
+<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>     LastLocalImport = Import;</div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>   }</div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>   </div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>   LastLocalImport->NextLocalImport = Import;</div>
+<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>   LastLocalImport = Import;</div>
+<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> }</div>
+<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> </div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> <span class="comment">//                         Type Sizing and Analysis</span></div>
+<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span> <span class="comment"></span></div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> <span class="comment">/// getFloatTypeSemantics - Return the APFloat 'semantics' for the specified</span></div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> <span class="comment">/// scalar floating point type.</span></div>
+<div class="line"><a name="l01252"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a0adac8ecae63731c2bf1d9a1e09f80f4"> 1252</a></span> <span class="comment"></span><span class="keyword">const</span> llvm::fltSemantics &<a class="code" href="classclang_1_1ASTContext.html#a0adac8ecae63731c2bf1d9a1e09f80f4" title="Return the APFloat 'semantics' for the specified scalar floating point type.">ASTContext::getFloatTypeSemantics</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1BuiltinType.html">BuiltinType</a> *BT = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1BuiltinType.html">BuiltinType</a>>();</div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>   assert(BT && <span class="stringliteral">"Not a floating point type!"</span>);</div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>   <span class="keywordflow">switch</span> (BT-><a class="code" href="classclang_1_1BuiltinType.html#aa4dd813e340ed81bcb67bf090152af2a">getKind</a>()) {</div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>   <span class="keywordflow">default</span>: llvm_unreachable(<span class="stringliteral">"Not a floating point type!"</span>);</div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>   <span class="keywordflow">case</span> BuiltinType::Half:       <span class="keywordflow">return</span> Target-><a class="code" href="classclang_1_1TargetInfo.html#a305aabc5918608185c6fd9410c152e63">getHalfFormat</a>();</div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>   <span class="keywordflow">case</span> BuiltinType::Float:      <span class="keywordflow">return</span> Target-><a class="code" href="classclang_1_1TargetInfo.html#a04718682789c036d22ba0230c60db4f8">getFloatFormat</a>();</div>
+<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>   <span class="keywordflow">case</span> BuiltinType::Double:     <span class="keywordflow">return</span> Target-><a class="code" href="classclang_1_1TargetInfo.html#a41df3dcf6e4f2f42bb852b04864cb587">getDoubleFormat</a>();</div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>   <span class="keywordflow">case</span> BuiltinType::LongDouble: <span class="keywordflow">return</span> Target-><a class="code" href="classclang_1_1TargetInfo.html#a136f78988959570f44bdc19a1282f9a3">getLongDoubleFormat</a>();</div>
+<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>   }</div>
+<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> }</div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> </div>
+<div class="line"><a name="l01264"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#addc194ad79f18e8de0cc0d34ab389eb6"> 1264</a></span> <a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#addc194ad79f18e8de0cc0d34ab389eb6" title="Return a conservative estimate of the alignment of the specified decl D.">ASTContext::getDeclAlign</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D, <span class="keywordtype">bool</span> ForAlignof)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>   <span class="keywordtype">unsigned</span> Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a4e2ac19ae48b353248e7e15754283c8d">getCharWidth</a>();</div>
+<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> </div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>   <span class="keywordtype">bool</span> UseAlignAttrOnly = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>   <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> AlignFromAttr = D-><a class="code" href="classclang_1_1Decl.html#aebbd0c8f8d79688f1b26f3b42f558ac7">getMaxAlignment</a>()) {</div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>     Align = AlignFromAttr;</div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> </div>
+<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>     <span class="comment">// __attribute__((aligned)) can increase or decrease alignment</span></div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>     <span class="comment">// *except* on a struct or struct member, where it only increases</span></div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>     <span class="comment">// alignment unless 'packed' is also specified.</span></div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>     <span class="comment">// It is an error for alignas to decrease alignment, so we can</span></div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>     <span class="comment">// ignore that possibility;  Sema should diagnose it.</span></div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>     <span class="keywordflow">if</span> (isa<FieldDecl>(D)) {</div>
+<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>       UseAlignAttrOnly = D-><a class="code" href="classclang_1_1Decl.html#ac60cc8b34313e03a5c40277c5c5ad61b">hasAttr</a><<a class="code" href="classclang_1_1PackedAttr.html">PackedAttr</a>>() ||</div>
+<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>         cast<FieldDecl>(D)->getParent()->hasAttr<<a class="code" href="classclang_1_1PackedAttr.html">PackedAttr</a>>();</div>
+<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>       UseAlignAttrOnly = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>     }</div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>   }</div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (isa<FieldDecl>(D))</div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>       UseAlignAttrOnly = </div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>         D-><a class="code" href="classclang_1_1Decl.html#ac60cc8b34313e03a5c40277c5c5ad61b">hasAttr</a><<a class="code" href="classclang_1_1PackedAttr.html">PackedAttr</a>>() ||</div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>         cast<FieldDecl>(D)->getParent()->hasAttr<<a class="code" href="classclang_1_1PackedAttr.html">PackedAttr</a>>();</div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> </div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>   <span class="comment">// If we're using the align attribute only, just ignore everything</span></div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>   <span class="comment">// else about the declaration and its type.</span></div>
+<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>   <span class="keywordflow">if</span> (UseAlignAttrOnly) {</div>
+<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>     <span class="comment">// do nothing</span></div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span> </div>
+<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ValueDecl.html">ValueDecl</a> *VD = dyn_cast<ValueDecl>(D)) {</div>
+<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> T = VD->getType();</div>
+<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a>* RT = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a>>()) {</div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>       <span class="keywordflow">if</span> (ForAlignof)</div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>         T = RT-><a class="code" href="classclang_1_1Type.html#a3a0edf987679f04072a1243b6118add1">getPointeeType</a>();</div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>         T = <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(RT->getPointeeType());</div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>     }</div>
+<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>     <span class="keywordflow">if</span> (!T-><a class="code" href="classclang_1_1Type.html#a6d84e779575f1e510f7ddc98119662bd" title="Def If non-NULL, and the type refers to some kind of declaration that can be completed (such as a C s...">isIncompleteType</a>() && !T-><a class="code" href="classclang_1_1Type.html#af0ae1f40cbbc07fabfefc86af91072e3">isFunctionType</a>()) {</div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>       <span class="comment">// Adjust alignments of declarations with array type by the</span></div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>       <span class="comment">// large-array alignment on the target.</span></div>
+<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>       <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ArrayType.html">ArrayType</a> *arrayType = <a class="code" href="classclang_1_1ASTContext.html#a2f9f0d5fa876bf2fb8be3fdd0fc70244">getAsArrayType</a>(T)) {</div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>         <span class="keywordtype">unsigned</span> MinWidth = Target-><a class="code" href="classclang_1_1TargetInfo.html#ad613519d188e527c9b7687d16b3e9eb4">getLargeArrayMinWidth</a>();</div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>         <span class="keywordflow">if</span> (!ForAlignof && MinWidth) {</div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>           <span class="keywordflow">if</span> (isa<VariableArrayType>(arrayType))</div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>             Align = std::max(Align, Target-><a class="code" href="classclang_1_1TargetInfo.html#ad268493290fdf8201bf6d3c57417a854">getLargeArrayAlign</a>());</div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>           <span class="keywordflow">else</span> <span class="keywordflow">if</span> (isa<ConstantArrayType>(arrayType) &&</div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>                    MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType)))</div>
+<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>             Align = std::max(Align, Target-><a class="code" href="classclang_1_1TargetInfo.html#ad268493290fdf8201bf6d3c57417a854">getLargeArrayAlign</a>());</div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>         }</div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span> </div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>         <span class="comment">// Walk through any array types while we're at it.</span></div>
+<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>         T = <a class="code" href="classclang_1_1ASTContext.html#ac70f0cc2404d89f7e086b68514f2741a" title="Return the innermost element type of an array type.">getBaseElementType</a>(arrayType);</div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>       }</div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>       Align = std::max(Align, <a class="code" href="classclang_1_1ASTContext.html#a456903519f3843c8c33a6006396c82de" title="Return the "preferred" alignment of the specified type T for the current target, in bits...">getPreferredTypeAlign</a>(T.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>()));</div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>       <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *VD = dyn_cast<VarDecl>(D)) {</div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>         <span class="keywordflow">if</span> (VD->hasGlobalStorage())</div>
+<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>           Align = std::max(Align, <a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().<a class="code" href="classclang_1_1TargetInfo.html#a2cdb55cd0afe1c136dbdf4c0ecf60bf8">getMinGlobalAlign</a>());</div>
+<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>       }</div>
+<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>     }</div>
+<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> </div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>     <span class="comment">// Fields can be subject to extra alignment constraints, like if</span></div>
+<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>     <span class="comment">// the field is packed, the struct is packed, or the struct has a</span></div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>     <span class="comment">// a max-field-alignment constraint (#pragma pack).  So calculate</span></div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>     <span class="comment">// the actual alignment of the field within the struct, and then</span></div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>     <span class="comment">// (as we're expected to) constrain that by the alignment of the type.</span></div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *Field = dyn_cast<FieldDecl>(VD)) {</div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *Parent = Field-><a class="code" href="classclang_1_1DeclContext.html#a31c99b38017e8d702fda9c0f1d021186" title="getParent - Returns the containing DeclContext.">getParent</a>();</div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>       <span class="comment">// We can only produce a sensible answer if the record is valid.</span></div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>       <span class="keywordflow">if</span> (!Parent-><a class="code" href="classclang_1_1Decl.html#a17ec912fd67469eea51741d45eb0c800">isInvalidDecl</a>()) {</div>
+<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>         <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &Layout = <a class="code" href="classclang_1_1ASTContext.html#a47d9de77f967abb78dd8d1b8228a0d2a" title="Get or compute information about the layout of the specified record (struct/union/class) D...">getASTRecordLayout</a>(Parent);</div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span> </div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>         <span class="comment">// Start with the record's overall alignment.</span></div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>         <span class="keywordtype">unsigned</span> FieldAlign = <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">toBits</a>(Layout.<a class="code" href="classclang_1_1ASTRecordLayout.html#a0a415308b868a9b10df3c05b68e61db1" title="getAlignment - Get the record alignment in characters.">getAlignment</a>());</div>
+<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> </div>
+<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>         <span class="comment">// Use the GCD of that and the offset within the record.</span></div>
+<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>         uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = Layout.<a class="code" href="classclang_1_1ASTRecordLayout.html#a5469e46f4a69644ac8747cef95095f3a">getFieldOffset</a>(Field->getFieldIndex());</div>
+<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>         <span class="keywordflow">if</span> (Offset > 0) {</div>
+<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>           <span class="comment">// Alignment is always a power of 2, so the GCD will be a power of 2,</span></div>
+<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>           <span class="comment">// which means we get to do this crazy thing instead of Euclid's.</span></div>
+<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>           uint64_t LowBitOfOffset = Offset & (~Offset + 1);</div>
+<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>           <span class="keywordflow">if</span> (LowBitOfOffset < FieldAlign)</div>
+<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>             FieldAlign = <span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span><span class="keyword">></span>(LowBitOfOffset);</div>
+<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>         }</div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span> </div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>         Align = std::min(Align, FieldAlign);</div>
+<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>       }</div>
+<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>     }</div>
+<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>   }</div>
+<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span> </div>
+<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(Align);</div>
+<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span> }</div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span> </div>
+<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span> <span class="comment">// getTypeInfoDataSizeInChars - Return the size of a type, in</span></div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span> <span class="comment">// chars. If the type is a record, its data size is returned.  This is</span></div>
+<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> <span class="comment">// the size of the memcpy that's performed when assigning this type</span></div>
+<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span> <span class="comment">// using a trivial copy/move assignment operator.</span></div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span> std::pair<CharUnits, CharUnits></div>
+<div class="line"><a name="l01362"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a57873531c896d6b5c74e781fa34e6a71"> 1362</a></span> <a class="code" href="classclang_1_1ASTContext.html#a57873531c896d6b5c74e781fa34e6a71">ASTContext::getTypeInfoDataSizeInChars</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>   std::pair<CharUnits, CharUnits> sizeAndAlign = <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">getTypeInfoInChars</a>(T);</div>
+<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span> </div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>   <span class="comment">// In C++, objects can sometimes be allocated into the tail padding</span></div>
+<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>   <span class="comment">// of a base-class subobject.  We decide whether that's possible</span></div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>   <span class="comment">// during class layout, so here we can just trust the layout results.</span></div>
+<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>) {</div>
+<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *RT = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()) {</div>
+<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &layout = <a class="code" href="classclang_1_1ASTContext.html#a47d9de77f967abb78dd8d1b8228a0d2a" title="Get or compute information about the layout of the specified record (struct/union/class) D...">getASTRecordLayout</a>(RT->getDecl());</div>
+<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>       sizeAndAlign.first = layout.<a class="code" href="classclang_1_1ASTRecordLayout.html#a770fa0626bdbb73a03d6fedbda252033">getDataSize</a>();</div>
+<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>     }</div>
+<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>   }</div>
+<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span> </div>
+<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>   <span class="keywordflow">return</span> sizeAndAlign;</div>
+<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> }</div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span> <span class="comment"></span></div>
+<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span> <span class="comment">/// getConstantArrayInfoInChars - Performing the computation in CharUnits</span></div>
+<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span> <span class="comment">/// instead of in bits prevents overflowing the uint64_t for some large arrays.</span></div>
+<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span> <span class="comment"></span>std::pair<CharUnits, CharUnits></div>
+<div class="line"><a name="l01381"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a99430ab193d24003513c30cf030e3963"> 1381</a></span> <span class="keyword">static</span> <a class="code" href="ASTContext_8cpp.html#a99430ab193d24003513c30cf030e3963">getConstantArrayInfoInChars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>,</div>
+<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>                                    <span class="keyword">const</span> <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *CAT) {</div>
+<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>   std::pair<CharUnits, CharUnits> EltInfo =</div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>       Context.<a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">getTypeInfoInChars</a>(CAT-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>());</div>
+<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>   uint64_t Size = CAT-><a class="code" href="classclang_1_1ConstantArrayType.html#add90924c309ad1f353431f2b63e9ba2b">getSize</a>().getZExtValue();</div>
+<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>   assert((Size == 0 || static_cast<uint64_t>(EltInfo.first.getQuantity()) <=</div>
+<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>               (uint64_t)(-1)/Size) &&</div>
+<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>          <span class="stringliteral">"Overflow in array type char size evaluation"</span>);</div>
+<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>   uint64_t Width = EltInfo.first.getQuantity() * Size;</div>
+<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>   <span class="keywordtype">unsigned</span> Align = EltInfo.second.getQuantity();</div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>   <span class="keywordflow">if</span> (!Context.<a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().<a class="code" href="classclang_1_1TargetInfo.html#a775f59ee5320dd4b20abde5d724a43f3" title="Get the C++ ABI currently in use.">getCXXABI</a>().<a class="code" href="classclang_1_1TargetCXXABI.html#a60197c7125d4e960a7264760d1c43155" title="Is this ABI an MSVC-compatible ABI?">isMicrosoft</a>() ||</div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>       Context.<a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().<a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(0) == 64)</div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>     Width = llvm::RoundUpToAlignment(Width, Align);</div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>   <span class="keywordflow">return</span> std::make_pair(<a class="code" href="classclang_1_1CharUnits.html#adf6d3a79993b58285a0626b61c2c6c82" title="fromQuantity - Construct a CharUnits quantity from a raw integer type.">CharUnits::fromQuantity</a>(Width),</div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>                         <a class="code" href="classclang_1_1CharUnits.html#adf6d3a79993b58285a0626b61c2c6c82" title="fromQuantity - Construct a CharUnits quantity from a raw integer type.">CharUnits::fromQuantity</a>(Align));</div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span> }</div>
+<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span> </div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span> std::pair<CharUnits, CharUnits></div>
+<div class="line"><a name="l01399"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1"> 1399</a></span> <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">ASTContext::getTypeInfoInChars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *CAT = dyn_cast<ConstantArrayType>(T))</div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>     <span class="keywordflow">return</span> <a class="code" href="ASTContext_8cpp.html#a99430ab193d24003513c30cf030e3963">getConstantArrayInfoInChars</a>(*<span class="keyword">this</span>, CAT);</div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>   std::pair<uint64_t, unsigned> Info = <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(T);</div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>   <span class="keywordflow">return</span> std::make_pair(<a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(Info.first),</div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>                         <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(Info.second));</div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span> }</div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span> </div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span> std::pair<CharUnits, CharUnits></div>
+<div class="line"><a name="l01408"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af8c1096e9e62f654985c0ba444171d03"> 1408</a></span> <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">ASTContext::getTypeInfoInChars</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">getTypeInfoInChars</a>(T.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>());</div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span> }</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> </div>
+<div class="line"><a name="l01412"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996"> 1412</a></span> std::pair<uint64_t, unsigned> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">ASTContext::getTypeInfo</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>   TypeInfoMap::iterator it = MemoizedTypeInfo.find(T);</div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>   <span class="keywordflow">if</span> (it != MemoizedTypeInfo.end())</div>
+<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>     <span class="keywordflow">return</span> it->second;</div>
+<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span> </div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>   std::pair<uint64_t, unsigned> Info = getTypeInfoImpl(T);</div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>   MemoizedTypeInfo.insert(std::make_pair(T, Info));</div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>   <span class="keywordflow">return</span> Info;</div>
+<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span> }</div>
+<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> <span class="comment"></span></div>
+<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span> <span class="comment">/// getTypeInfoImpl - Return the size of the specified type, in bits.  This</span></div>
+<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span> <span class="comment">/// method does not work on incomplete types.</span></div>
+<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> <span class="comment">/// FIXME: Pointers into different addr spaces could have different sizes and</span></div>
+<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span> <span class="comment">/// alignment requirements: getPointerInfo should take an AddrSpace, this</span></div>
+<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> <span class="comment">/// should take a QualType, &c.</span></div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> <span class="comment"></span>std::pair<uint64_t, unsigned></div>
+<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span> ASTContext::getTypeInfoImpl(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>   uint64_t Width=0;</div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>   <span class="keywordtype">unsigned</span> Align=8;</div>
+<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>   <span class="keywordflow">switch</span> (T-><a class="code" href="classclang_1_1Type.html#a34cea2e4e1895806fbbac92110b66db0">getTypeClass</a>()) {</div>
+<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span> <span class="preprocessor">#define TYPE(Class, Base)</span></div>
+<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Class, Base)</span></div>
+<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span> <span class="preprocessor"></span><span class="preprocessor">#define NON_CANONICAL_TYPE(Class, Base)</span></div>
+<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span> <span class="preprocessor"></span><span class="preprocessor">#define DEPENDENT_TYPE(Class, Base) case Type::Class:</span></div>
+<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span> <span class="preprocessor"></span><span class="preprocessor">#define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base)                       \</span></div>
+<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span> <span class="preprocessor">  case Type::Class:                                                            \</span></div>
+<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span> <span class="preprocessor">  assert(!T->isDependentType() && "should not see dependent types here");      \</span></div>
+<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span> <span class="preprocessor">  return getTypeInfo(cast<Class##Type>(T)->desugar().getTypePtr());</span></div>
+<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>     llvm_unreachable(<span class="stringliteral">"Should not see dependent types"</span>);</div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> </div>
+<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>   <span class="keywordflow">case</span> Type::FunctionNoProto:</div>
+<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>   <span class="keywordflow">case</span> Type::FunctionProto:</div>
+<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>     <span class="comment">// GCC extension: alignof(function) = 32 bits</span></div>
+<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>     Width = 0;</div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>     Align = 32;</div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span> </div>
+<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>   <span class="keywordflow">case</span> Type::IncompleteArray:</div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>   <span class="keywordflow">case</span> Type::VariableArray:</div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>     Width = 0;</div>
+<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>     Align = <a class="code" href="classclang_1_1ASTContext.html#a6258d539f7f6894f74d14342000609d8" title="Return the ABI-specified alignment of a (complete) type T, in bits.">getTypeAlign</a>(cast<ArrayType>(T)-><a class="code" href="SemaChecking_8cpp.html#a9f6c9a015ec06db5f86672533b582823">getElementType</a>());</div>
+<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span> </div>
+<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>   <span class="keywordflow">case</span> Type::ConstantArray: {</div>
+<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *CAT = cast<ConstantArrayType>(T);</div>
+<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span> </div>
+<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>     std::pair<uint64_t, unsigned> EltInfo = <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(CAT-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>());</div>
+<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>     uint64_t Size = CAT-><a class="code" href="classclang_1_1ConstantArrayType.html#add90924c309ad1f353431f2b63e9ba2b">getSize</a>().getZExtValue();</div>
+<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>     assert((Size == 0 || EltInfo.first <= (uint64_t)(-1)/Size) && </div>
+<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>            <span class="stringliteral">"Overflow in array type bit size evaluation"</span>);</div>
+<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>     Width = EltInfo.first*Size;</div>
+<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>     Align = EltInfo.second;</div>
+<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>     <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().getCXXABI().isMicrosoft() ||</div>
+<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>         <a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().getPointerWidth(0) == 64)</div>
+<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>       Width = llvm::RoundUpToAlignment(Width, Align);</div>
+<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>   }</div>
+<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>   <span class="keywordflow">case</span> Type::ExtVector:</div>
+<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>   <span class="keywordflow">case</span> Type::Vector: {</div>
+<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1VectorType.html">VectorType</a> *VT = cast<VectorType>(T);</div>
+<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>     std::pair<uint64_t, unsigned> EltInfo = <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(VT-><a class="code" href="classclang_1_1VectorType.html#aa82693de604f63a6366f39372252ab42">getElementType</a>());</div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>     Width = EltInfo.first*VT-><a class="code" href="classclang_1_1VectorType.html#adfa7e090380e24449722cc934b2a71b1">getNumElements</a>();</div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>     Align = Width;</div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>     <span class="comment">// If the alignment is not a power of 2, round up to the next power of 2.</span></div>
+<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>     <span class="comment">// This happens for non-power-of-2 length vectors.</span></div>
+<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>     <span class="keywordflow">if</span> (Align & (Align-1)) {</div>
+<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>       Align = llvm::NextPowerOf2(Align);</div>
+<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>       Width = llvm::RoundUpToAlignment(Width, Align);</div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>     }</div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>     <span class="comment">// Adjust the alignment based on the target max.</span></div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>     uint64_t TargetVectorAlign = Target-><a class="code" href="classclang_1_1TargetInfo.html#a2c3fa078dcaf1a629055598aab3dae08" title="Return the maximum vector alignment supported for the given target.">getMaxVectorAlign</a>();</div>
+<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>     <span class="keywordflow">if</span> (TargetVectorAlign && TargetVectorAlign < Align)</div>
+<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>       Align = TargetVectorAlign;</div>
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>   }</div>
+<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span> </div>
+<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>   <span class="keywordflow">case</span> Type::Builtin:</div>
+<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>     <span class="keywordflow">switch</span> (cast<BuiltinType>(T)-><a class="code" href="DeclBase_8cpp.html#a37d13911f1772d0ed90b6b2e89cf3c60">getKind</a>()) {</div>
+<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>     <span class="keywordflow">default</span>: llvm_unreachable(<span class="stringliteral">"Unknown builtin type!"</span>);</div>
+<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>     <span class="keywordflow">case</span> BuiltinType::Void:</div>
+<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>       <span class="comment">// GCC extension: alignof(void) = 8 bits.</span></div>
+<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>       Width = 0;</div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>       Align = 8;</div>
+<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span> </div>
+<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>     <span class="keywordflow">case</span> BuiltinType::Bool:</div>
+<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a3e260582c3a9f94e8859a525449bbca3" title="Return the size of '_Bool' and C++ 'bool' for this target, in bits.">getBoolWidth</a>();</div>
+<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a03403a406cfa45761232676d5170eed7" title="Return the alignment of '_Bool' and C++ 'bool' for this target.">getBoolAlign</a>();</div>
+<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>     <span class="keywordflow">case</span> BuiltinType::Char_S:</div>
+<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>     <span class="keywordflow">case</span> BuiltinType::Char_U:</div>
+<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>     <span class="keywordflow">case</span> BuiltinType::UChar:</div>
+<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>     <span class="keywordflow">case</span> BuiltinType::SChar:</div>
+<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a4e2ac19ae48b353248e7e15754283c8d">getCharWidth</a>();</div>
+<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a0bbfee5082c53194cfbf1b57b58f617a">getCharAlign</a>();</div>
+<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>     <span class="keywordflow">case</span> BuiltinType::WChar_S:</div>
+<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>     <span class="keywordflow">case</span> BuiltinType::WChar_U:</div>
+<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a78760edf75880ea00ddd20d5cc527efd">getWCharWidth</a>();</div>
+<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a343814b78fd9934ba0e7c7987f8234ec">getWCharAlign</a>();</div>
+<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>     <span class="keywordflow">case</span> BuiltinType::Char16:</div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a799a7de59f8af11bce283e0fb0597b2a">getChar16Width</a>();</div>
+<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a2ecd3e2f526dfb61100141b0cb1367a0">getChar16Align</a>();</div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>     <span class="keywordflow">case</span> BuiltinType::Char32:</div>
+<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a7588aa52fe468ce39765b2d245fde37e">getChar32Width</a>();</div>
+<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a952e92f8ee9b2064b4e30d7aa5d8583d">getChar32Align</a>();</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>     <span class="keywordflow">case</span> BuiltinType::UShort:</div>
+<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>     <span class="keywordflow">case</span> BuiltinType::Short:</div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#af14a15a2987e33d51d2970a233d3c1fd" title="Return the size of 'signed short' and 'unsigned short' for this target, in bits.">getShortWidth</a>();</div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a2f3fa96dbfe0db0f482ce3536cd32663" title="Return the alignment of 'signed short' and 'unsigned short' for this target.">getShortAlign</a>();</div>
+<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>     <span class="keywordflow">case</span> BuiltinType::UInt:</div>
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>     <span class="keywordflow">case</span> BuiltinType::Int:</div>
+<div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a72ec6d14f6a06a1524488c8f2e604546">getIntWidth</a>();</div>
+<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf04d58f8c7a07e7da6c9eefe18291b7">getIntAlign</a>();</div>
+<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>     <span class="keywordflow">case</span> BuiltinType::ULong:</div>
+<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>     <span class="keywordflow">case</span> BuiltinType::Long:</div>
+<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#af096f9dddf086ecff9b58309edcf57e9">getLongWidth</a>();</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#afc240cedb132683ebbc01f983a264f11">getLongAlign</a>();</div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>     <span class="keywordflow">case</span> BuiltinType::ULongLong:</div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>     <span class="keywordflow">case</span> BuiltinType::LongLong:</div>
+<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a3bb12933e98546faabea961600614988">getLongLongWidth</a>();</div>
+<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#aaa6ed712e0c458d6f6dbee632750ecfc">getLongLongAlign</a>();</div>
+<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>     <span class="keywordflow">case</span> BuiltinType::Int128:</div>
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>     <span class="keywordflow">case</span> BuiltinType::UInt128:</div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>       Width = 128;</div>
+<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>       Align = 128; <span class="comment">// int128_t is 128-bit aligned on all targets.</span></div>
+<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>     <span class="keywordflow">case</span> BuiltinType::Half:</div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a54b3bbceff62f2eb9c23c537233f4fb7" title="getHalfWidth/Align/Format - Return the size/align/format of 'half'.">getHalfWidth</a>();</div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a00ba62115f462c030fd43ac096a56500">getHalfAlign</a>();</div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>     <span class="keywordflow">case</span> BuiltinType::Float:</div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a2eb8eed52a7656113280b3334f631aca" title="getFloatWidth/Align/Format - Return the size/align/format of 'float'.">getFloatWidth</a>();</div>
+<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#afc81567e6760c013da77c661d46cf5e7">getFloatAlign</a>();</div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>     <span class="keywordflow">case</span> BuiltinType::Double:</div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a081ed10939e4ff616f164447c94edeff" title="getDoubleWidth/Align/Format - Return the size/align/format of 'double'.">getDoubleWidth</a>();</div>
+<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a07ea201868e86e5b3f295d7da65793b0">getDoubleAlign</a>();</div>
+<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>     <span class="keywordflow">case</span> BuiltinType::LongDouble:</div>
+<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#aa56424a620b5da6d3ea1eb68357ed643">getLongDoubleWidth</a>();</div>
+<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#a9ade000c746e11bfb97981fd1a605e14">getLongDoubleAlign</a>();</div>
+<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>     <span class="keywordflow">case</span> BuiltinType::NullPtr:</div>
+<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(0); <span class="comment">// C++ 3.9.1p11: sizeof(nullptr_t)</span></div>
+<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(0); <span class="comment">//   == sizeof(void*)</span></div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>     <span class="keywordflow">case</span> BuiltinType::ObjCId:</div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>     <span class="keywordflow">case</span> BuiltinType::ObjCClass:</div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>     <span class="keywordflow">case</span> BuiltinType::ObjCSel:</div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(0); </div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(0);</div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>     <span class="keywordflow">case</span> BuiltinType::OCLSampler:</div>
+<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>       <span class="comment">// Samplers are modeled as integers.</span></div>
+<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a72ec6d14f6a06a1524488c8f2e604546">getIntWidth</a>();</div>
+<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf04d58f8c7a07e7da6c9eefe18291b7">getIntAlign</a>();</div>
+<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>     <span class="keywordflow">case</span> BuiltinType::OCLEvent:</div>
+<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage1d:</div>
+<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage1dArray:</div>
+<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage1dBuffer:</div>
+<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage2d:</div>
+<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage2dArray:</div>
+<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>     <span class="keywordflow">case</span> BuiltinType::OCLImage3d:</div>
+<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>       <span class="comment">// Currently these types are pointers to opaque types.</span></div>
+<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>       Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(0);</div>
+<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>       Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(0);</div>
+<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>     }</div>
+<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>   <span class="keywordflow">case</span> Type::ObjCObjectPointer:</div>
+<div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>     Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(0);</div>
+<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>     Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(0);</div>
+<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>   <span class="keywordflow">case</span> Type::BlockPointer: {</div>
+<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>     <span class="keywordtype">unsigned</span> AS = <a class="code" href="classclang_1_1ASTContext.html#aed2e4aedb5a9fafd8bd586349f1b9f6f">getTargetAddressSpace</a>(</div>
+<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>         cast<BlockPointerType>(T)->getPointeeType());</div>
+<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>     Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(AS);</div>
+<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>     Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(AS);</div>
+<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>   }</div>
+<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>   <span class="keywordflow">case</span> Type::LValueReference:</div>
+<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>   <span class="keywordflow">case</span> Type::RValueReference: {</div>
+<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>     <span class="comment">// alignof and sizeof should never enter this code path here, so we go</span></div>
+<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>     <span class="comment">// the pointer route.</span></div>
+<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>     <span class="keywordtype">unsigned</span> AS = <a class="code" href="classclang_1_1ASTContext.html#aed2e4aedb5a9fafd8bd586349f1b9f6f">getTargetAddressSpace</a>(</div>
+<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>         cast<ReferenceType>(T)->getPointeeType());</div>
+<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>     Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(AS);</div>
+<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>     Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(AS);</div>
+<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>   }</div>
+<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>   <span class="keywordflow">case</span> Type::Pointer: {</div>
+<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>     <span class="keywordtype">unsigned</span> AS = <a class="code" href="classclang_1_1ASTContext.html#aed2e4aedb5a9fafd8bd586349f1b9f6f">getTargetAddressSpace</a>(cast<PointerType>(T)->getPointeeType());</div>
+<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>     Width = Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(AS);</div>
+<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>     Align = Target-><a class="code" href="classclang_1_1TargetInfo.html#acf5517fa75c8217085536ea21d68d4e9">getPointerAlign</a>(AS);</div>
+<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>   }</div>
+<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>   <span class="keywordflow">case</span> Type::MemberPointer: {</div>
+<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *MPT = cast<MemberPointerType>(T);</div>
+<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>     llvm::tie(Width, Align) = ABI->getMemberPointerWidthAndAlign(MPT);</div>
+<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>   }</div>
+<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>   <span class="keywordflow">case</span> Type::Complex: {</div>
+<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>     <span class="comment">// Complex types have the same alignment as their elements, but twice the</span></div>
+<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>     <span class="comment">// size.</span></div>
+<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>     std::pair<uint64_t, unsigned> EltInfo =</div>
+<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>       <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<ComplexType>(T)-><a class="code" href="SemaChecking_8cpp.html#a9f6c9a015ec06db5f86672533b582823">getElementType</a>());</div>
+<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>     Width = EltInfo.first*2;</div>
+<div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>     Align = EltInfo.second;</div>
+<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>   }</div>
+<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>   <span class="keywordflow">case</span> Type::ObjCObject:</div>
+<div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<ObjCObjectType>(T)->getBaseType().getTypePtr());</div>
+<div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>   <span class="keywordflow">case</span> Type::Decayed:</div>
+<div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<DecayedType>(T)-><a class="code" href="classclang_1_1ASTContext.html#aeb9dfd17f9df69b944191e4ca8d826e1" title="Return the uniqued reference to the decayed version of the given type. Can only be called on array an...">getDecayedType</a>().getTypePtr());</div>
+<div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>   <span class="keywordflow">case</span> Type::ObjCInterface: {</div>
+<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceType.html">ObjCInterfaceType</a> *ObjCI = cast<ObjCInterfaceType>(T);</div>
+<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &Layout = <a class="code" href="classclang_1_1ASTContext.html#a0c252aa684cc2fc11ed5b105644284f3" title="Get or compute information about the layout of the specified Objective-C interface.">getASTObjCInterfaceLayout</a>(ObjCI-><a class="code" href="classclang_1_1ObjCInterfaceType.html#a22c3016490a2aa2488269034583daf88" title="getDecl - Get the declaration of this interface.">getDecl</a>());</div>
+<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>     Width = <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">toBits</a>(Layout.getSize());</div>
+<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>     Align = <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">toBits</a>(Layout.getAlignment());</div>
+<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>   }</div>
+<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>   <span class="keywordflow">case</span> Type::Record:</div>
+<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>   <span class="keywordflow">case</span> Type::Enum: {</div>
+<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *TT = cast<TagType>(T);</div>
+<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span> </div>
+<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>     <span class="keywordflow">if</span> (TT-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>()-><a class="code" href="classclang_1_1Decl.html#a17ec912fd67469eea51741d45eb0c800">isInvalidDecl</a>()) {</div>
+<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>       Width = 8;</div>
+<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>       Align = 8;</div>
+<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>     }</div>
+<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span> </div>
+<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumType.html">EnumType</a> *ET = dyn_cast<EnumType>(TT))</div>
+<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(ET->getDecl()->getIntegerType());</div>
+<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span> </div>
+<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *RT = cast<RecordType>(TT);</div>
+<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &Layout = <a class="code" href="classclang_1_1ASTContext.html#a47d9de77f967abb78dd8d1b8228a0d2a" title="Get or compute information about the layout of the specified record (struct/union/class) D...">getASTRecordLayout</a>(RT-><a class="code" href="classclang_1_1RecordType.html#a312ab3ebe179cc7d8692c07479c91076">getDecl</a>());</div>
+<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>     Width = <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">toBits</a>(Layout.getSize());</div>
+<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>     Align = <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">toBits</a>(Layout.getAlignment());</div>
+<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>   }</div>
+<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span> </div>
+<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>   <span class="keywordflow">case</span> Type::SubstTemplateTypeParm:</div>
+<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<SubstTemplateTypeParmType>(T)-></div>
+<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>                        getReplacementType().getTypePtr());</div>
+<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span> </div>
+<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>   <span class="keywordflow">case</span> Type::Auto: {</div>
+<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1AutoType.html" title="Represents a C++11 auto or C++1y decltype(auto) type.">AutoType</a> *A = cast<AutoType>(T);</div>
+<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>     assert(!A-><a class="code" href="classclang_1_1AutoType.html#a6520b95aa8eea7dd2818c5ee865be68f" title="Get the type deduced for this auto type, or null if it's either not been deduced or was deduced to a ...">getDeducedType</a>().<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>() &&</div>
+<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>            <span class="stringliteral">"cannot request the size of an undeduced or dependent auto type"</span>);</div>
+<div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(A-><a class="code" href="classclang_1_1AutoType.html#a6520b95aa8eea7dd2818c5ee865be68f" title="Get the type deduced for this auto type, or null if it's either not been deduced or was deduced to a ...">getDeducedType</a>().<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>());</div>
+<div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>   }</div>
+<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span> </div>
+<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>   <span class="keywordflow">case</span> <a class="code" href="PPMacroExpansion_8cpp.html#a6a0f90793bb0a61bf701ad3cccc529cca05a296c2c11a24f2a5a52620d2dae620">Type::Paren</a>:</div>
+<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<ParenType>(T)->getInnerType().getTypePtr());</div>
+<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span> </div>
+<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>   <span class="keywordflow">case</span> Type::Typedef: {</div>
+<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefNameDecl.html" title="Base class for declarations which introduce a typedef-name.">TypedefNameDecl</a> *Typedef = cast<TypedefType>(T)->getDecl();</div>
+<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>     std::pair<uint64_t, unsigned> Info</div>
+<div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>       = <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(Typedef-><a class="code" href="classclang_1_1TypedefNameDecl.html#a5fccedff6d3854db365a540145029158">getUnderlyingType</a>().<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>());</div>
+<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>     <span class="comment">// If the typedef has an aligned attribute on it, it overrides any computed</span></div>
+<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>     <span class="comment">// alignment we have.  This violates the GCC documentation (which says that</span></div>
+<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>     <span class="comment">// attribute(aligned) can only round up) but matches its implementation.</span></div>
+<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> AttrAlign = Typedef-><a class="code" href="classclang_1_1Decl.html#aebbd0c8f8d79688f1b26f3b42f558ac7">getMaxAlignment</a>())</div>
+<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>       Align = AttrAlign;</div>
+<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>       Align = Info.second;</div>
+<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>     Width = Info.first;</div>
+<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>   }</div>
+<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span> </div>
+<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>   <span class="keywordflow">case</span> Type::Elaborated:</div>
+<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<ElaboratedType>(T)->getNamedType().getTypePtr());</div>
+<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span> </div>
+<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>   <span class="keywordflow">case</span> Type::Attributed:</div>
+<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(</div>
+<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>                   cast<AttributedType>(T)->getEquivalentType().getTypePtr());</div>
+<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span> </div>
+<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>   <span class="keywordflow">case</span> Type::Atomic: {</div>
+<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>     <span class="comment">// Start with the base type information.</span></div>
+<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>     std::pair<uint64_t, unsigned> Info</div>
+<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>       = <a class="code" href="classclang_1_1ASTContext.html#aa86fe60458619bf7845ba3048cea5996" title="Get the size and alignment of the specified complete type in bits.">getTypeInfo</a>(cast<AtomicType>(T)->getValueType());</div>
+<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>     Width = Info.first;</div>
+<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>     Align = Info.second;</div>
+<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span> </div>
+<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>     <span class="comment">// If the size of the type doesn't exceed the platform's max</span></div>
+<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>     <span class="comment">// atomic promotion width, make the size and alignment more</span></div>
+<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>     <span class="comment">// favorable to atomic operations:</span></div>
+<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>     <span class="keywordflow">if</span> (Width != 0 && Width <= Target->getMaxAtomicPromoteWidth()) {</div>
+<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>       <span class="comment">// Round the size up to a power of 2.</span></div>
+<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>       <span class="keywordflow">if</span> (!llvm::isPowerOf2_64(Width))</div>
+<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>         Width = llvm::NextPowerOf2(Width);</div>
+<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span> </div>
+<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>       <span class="comment">// Set the alignment equal to the size.</span></div>
+<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>       Align = <span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span><span class="keyword">></span>(Width);</div>
+<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>     }</div>
+<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>   }</div>
+<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span> </div>
+<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>   }</div>
+<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span> </div>
+<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>   assert(llvm::isPowerOf2_32(Align) && <span class="stringliteral">"Alignment must be power of 2"</span>);</div>
+<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>   <span class="keywordflow">return</span> std::make_pair(Width, Align);</div>
+<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span> }</div>
+<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span> <span class="comment"></span></div>
+<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span> <span class="comment">/// toCharUnitsFromBits - Convert a size in bits to a size in characters.</span></div>
+<div class="line"><a name="l01727"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24"> 1727</a></span> <span class="comment"></span><a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">ASTContext::toCharUnitsFromBits</a>(int64_t BitSize)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1CharUnits.html#adf6d3a79993b58285a0626b61c2c6c82" title="fromQuantity - Construct a CharUnits quantity from a raw integer type.">CharUnits::fromQuantity</a>(BitSize / <a class="code" href="classclang_1_1ASTContext.html#ac347a9a51b589a7f135c909692ef582e" title="Return the size of the character type, in bits.">getCharWidth</a>());</div>
+<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span> }</div>
+<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span> <span class="comment"></span></div>
+<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span> <span class="comment">/// toBits - Convert a size in characters to a size in characters.</span></div>
+<div class="line"><a name="l01732"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2"> 1732</a></span> <span class="comment"></span>int64_t <a class="code" href="classclang_1_1ASTContext.html#a95106fc9aa2f8cbcf459d9915bacbfd2" title="Convert a size in characters to a size in bits.">ASTContext::toBits</a>(<a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> CharSize)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>   <span class="keywordflow">return</span> CharSize.<a class="code" href="classclang_1_1CharUnits.html#a09546c4bc2fefb3cb4d964eb9f25d33a" title="getQuantity - Get the raw integer representation of this quantity.">getQuantity</a>() * <a class="code" href="classclang_1_1ASTContext.html#ac347a9a51b589a7f135c909692ef582e" title="Return the size of the character type, in bits.">getCharWidth</a>();</div>
+<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span> }</div>
+<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span> <span class="comment"></span></div>
+<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span> <span class="comment">/// getTypeSizeInChars - Return the size of the specified type, in characters.</span></div>
+<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span> <span class="comment">/// This method does not work on incomplete types.</span></div>
+<div class="line"><a name="l01738"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae8d8371f22bd850bced9b4b9ca848c4e"> 1738</a></span> <span class="comment"></span><a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#ae8d8371f22bd850bced9b4b9ca848c4e" title="Return the size of the specified (complete) type T, in characters.">ASTContext::getTypeSizeInChars</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">getTypeInfoInChars</a>(T).first;</div>
+<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span> }</div>
+<div class="line"><a name="l01741"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a448cd3bc35321557df1855707ab827cb"> 1741</a></span> <a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#ae8d8371f22bd850bced9b4b9ca848c4e" title="Return the size of the specified (complete) type T, in characters.">ASTContext::getTypeSizeInChars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#abd8adaff3fe53124096c820470099ed1">getTypeInfoInChars</a>(T).first;</div>
+<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span> }</div>
+<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span> <span class="comment"></span></div>
+<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span> <span class="comment">/// getTypeAlignInChars - Return the ABI-specified alignment of a type, in </span></div>
+<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span> <span class="comment">/// characters. This method does not work on incomplete types.</span></div>
+<div class="line"><a name="l01747"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a78053c06e4477f81b295cac200144fc4"> 1747</a></span> <span class="comment"></span><a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#a78053c06e4477f81b295cac200144fc4" title="Return the ABI-specified alignment of a (complete) type T, in characters.">ASTContext::getTypeAlignInChars</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(<a class="code" href="classclang_1_1ASTContext.html#a6258d539f7f6894f74d14342000609d8" title="Return the ABI-specified alignment of a (complete) type T, in bits.">getTypeAlign</a>(T));</div>
+<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span> }</div>
+<div class="line"><a name="l01750"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a248b4916c9e05bb1ab7c266024fe7649"> 1750</a></span> <a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#a78053c06e4477f81b295cac200144fc4" title="Return the ABI-specified alignment of a (complete) type T, in characters.">ASTContext::getTypeAlignInChars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(<a class="code" href="classclang_1_1ASTContext.html#a6258d539f7f6894f74d14342000609d8" title="Return the ABI-specified alignment of a (complete) type T, in bits.">getTypeAlign</a>(T));</div>
+<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span> }</div>
+<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span> <span class="comment"></span></div>
+<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span> <span class="comment">/// getPreferredTypeAlign - Return the "preferred" alignment of the specified</span></div>
+<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span> <span class="comment">/// type for the current target in bits.  This can be different than the ABI</span></div>
+<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span> <span class="comment">/// alignment in cases where it is beneficial for performance to overalign</span></div>
+<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span> <span class="comment">/// a data type.</span></div>
+<div class="line"><a name="l01758"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a456903519f3843c8c33a6006396c82de"> 1758</a></span> <span class="comment"></span><span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a456903519f3843c8c33a6006396c82de" title="Return the "preferred" alignment of the specified type T for the current target, in bits...">ASTContext::getPreferredTypeAlign</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>   <span class="keywordtype">unsigned</span> ABIAlign = <a class="code" href="classclang_1_1ASTContext.html#a6258d539f7f6894f74d14342000609d8" title="Return the ABI-specified alignment of a (complete) type T, in bits.">getTypeAlign</a>(T);</div>
+<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span> </div>
+<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>   <span class="keywordflow">if</span> (Target-><a class="code" href="classclang_1_1TargetInfo.html#a20f1dc9686f1a537a03975c7603774e7" title="Returns the target triple of the primary target.">getTriple</a>().getArch() == llvm::Triple::xcore)</div>
+<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>     <span class="keywordflow">return</span> ABIAlign;  <span class="comment">// Never overalign on XCore.</span></div>
+<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span> </div>
+<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>   <span class="comment">// Double and long long should be naturally aligned if possible.</span></div>
+<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ComplexType.html">ComplexType</a>* CT = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1ComplexType.html">ComplexType</a>>())</div>
+<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>     T = CT->getElementType().getTypePtr();</div>
+<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>   <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1Type.html#a80b0e59f59905a7a1d564a0b3768f04d" title="isSpecificBuiltinType - Test for a particular builtin type.">isSpecificBuiltinType</a>(BuiltinType::Double) ||</div>
+<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>       T-><a class="code" href="classclang_1_1Type.html#a80b0e59f59905a7a1d564a0b3768f04d" title="isSpecificBuiltinType - Test for a particular builtin type.">isSpecificBuiltinType</a>(BuiltinType::LongLong) ||</div>
+<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>       T-><a class="code" href="classclang_1_1Type.html#a80b0e59f59905a7a1d564a0b3768f04d" title="isSpecificBuiltinType - Test for a particular builtin type.">isSpecificBuiltinType</a>(BuiltinType::ULongLong))</div>
+<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>     <span class="keywordflow">return</span> std::max(ABIAlign, (<span class="keywordtype">unsigned</span>)<a class="code" href="classclang_1_1ASTContext.html#a3e16bd856974e4ac9710e0c507a60cee" title="Return the size of the specified (complete) type T, in bits.">getTypeSize</a>(T));</div>
+<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span> </div>
+<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>   <span class="keywordflow">return</span> ABIAlign;</div>
+<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span> }</div>
+<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span> <span class="comment"></span></div>
+<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span> <span class="comment">/// getAlignOfGlobalVar - Return the alignment in bits that should be given</span></div>
+<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span> <span class="comment">/// to a global variable of the specified type.</span></div>
+<div class="line"><a name="l01777"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9930bdd8761c3b7bd937ed3fee44ccc0"> 1777</a></span> <span class="comment"></span><span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a9930bdd8761c3b7bd937ed3fee44ccc0" title="Return the alignment in bits that should be given to a global variable with type T.">ASTContext::getAlignOfGlobalVar</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>   <span class="keywordflow">return</span> std::max(<a class="code" href="classclang_1_1ASTContext.html#a6258d539f7f6894f74d14342000609d8" title="Return the ABI-specified alignment of a (complete) type T, in bits.">getTypeAlign</a>(T), <a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>().getMinGlobalAlign());</div>
+<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span> }</div>
+<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span> <span class="comment"></span></div>
+<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span> <span class="comment">/// getAlignOfGlobalVarInChars - Return the alignment in characters that</span></div>
+<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span> <span class="comment">/// should be given to a global variable of the specified type.</span></div>
+<div class="line"><a name="l01783"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a948784ae13b13a6fc97fbc9c109559b9"> 1783</a></span> <span class="comment"></span><a class="code" href="classclang_1_1CharUnits.html">CharUnits</a> <a class="code" href="classclang_1_1ASTContext.html#a948784ae13b13a6fc97fbc9c109559b9" title="Return the alignment in characters that should be given to a global variable with type T...">ASTContext::getAlignOfGlobalVarInChars</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a5d5f812ba1100ca9ef1c1a812b2f5a24" title="Convert a size in bits to a size in characters.">toCharUnitsFromBits</a>(<a class="code" href="classclang_1_1ASTContext.html#a9930bdd8761c3b7bd937ed3fee44ccc0" title="Return the alignment in bits that should be given to a global variable with type T.">getAlignOfGlobalVar</a>(T));</div>
+<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span> }</div>
+<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span> <span class="comment"></span></div>
+<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span> <span class="comment">/// DeepCollectObjCIvars -</span></div>
+<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span> <span class="comment">/// This routine first collects all declared, but not synthesized, ivars in</span></div>
+<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span> <span class="comment">/// super class and then collects all ivars, including those synthesized for</span></div>
+<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span> <span class="comment">/// current class. This routine is used for implementation of current class</span></div>
+<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span> <span class="comment">/// when all ivars, declared and synthesized are known.</span></div>
+<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01793"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#afda5733dbeb85539233a851d2ee70a05"> 1793</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#afda5733dbeb85539233a851d2ee70a05">ASTContext::DeepCollectObjCIvars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *OI,</div>
+<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>                                       <span class="keywordtype">bool</span> leafClass,</div>
+<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>                             <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<const ObjCIvarDecl*></a> &Ivars)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *SuperClass = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a5f23eb5cda9e27622e71382d1dc4b95d">getSuperClass</a>())</div>
+<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>     <a class="code" href="classclang_1_1ASTContext.html#afda5733dbeb85539233a851d2ee70a05">DeepCollectObjCIvars</a>(SuperClass, <span class="keyword">false</span>, Ivars);</div>
+<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>   <span class="keywordflow">if</span> (!leafClass) {</div>
+<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DeclContext_1_1specific__decl__iterator.html">ObjCInterfaceDecl::ivar_iterator</a> I = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a4b61df735b3d6609f7d1c1a895a23ec4">ivar_begin</a>(),</div>
+<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>          E = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#aef3374a41feb65037fd39f6e9f3cdf2b">ivar_end</a>(); I != E; ++I)</div>
+<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>       Ivars.push_back(*I);</div>
+<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>     <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *IDecl = <span class="keyword">const_cast<</span><a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *<span class="keyword">></span>(OI);</div>
+<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCIvarDecl.html">ObjCIvarDecl</a> *Iv = IDecl-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a33ad0524e4d449655e216893b85910e2">all_declared_ivar_begin</a>(); Iv; </div>
+<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>          Iv= Iv-><a class="code" href="classclang_1_1ObjCIvarDecl.html#ad4e167798de561f182d039520eb90b29">getNextIvar</a>())</div>
+<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>       Ivars.push_back(Iv);</div>
+<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>   }</div>
+<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span> }</div>
+<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span> <span class="comment"></span></div>
+<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span> <span class="comment">/// CollectInheritedProtocols - Collect all protocols in current class and</span></div>
+<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span> <span class="comment">/// those inherited by it.</span></div>
+<div class="line"><a name="l01812"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5"> 1812</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">ASTContext::CollectInheritedProtocols</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *CDecl,</div>
+<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>                           llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols) {</div>
+<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *OI = dyn_cast<ObjCInterfaceDecl>(CDecl)) {</div>
+<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>     <span class="comment">// We can use protocol_iterator here instead of</span></div>
+<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>     <span class="comment">// all_referenced_protocol_iterator since we are walking all categories.    </span></div>
+<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a9da2d6646fb8c8dd1793f81688b6c0f0">ObjCInterfaceDecl::all_protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = OI->all_referenced_protocol_begin(),</div>
+<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>          PE = OI->all_referenced_protocol_end(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>       <a class="code" href="classclang_1_1ObjCProtocolDecl.html" title="Represents an Objective-C protocol declaration.">ObjCProtocolDecl</a> *Proto = (*P);</div>
+<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>       Protocols.insert(Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a1c0e972dbd312f8effdaa5f53dd1403d" title="Retrieves the canonical declaration of this Objective-C protocol.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCProtocolDecl.html#adbd4b44a478f573a24072123f93b2fe9">ObjCProtocolDecl::protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a199069b3da6c86cd72a6b8fe9f8feec0">protocol_begin</a>(),</div>
+<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>            PE = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a681da3dbfa474479f44d59eee31d0e1e">protocol_end</a>(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>         Protocols.insert((*P)->getCanonicalDecl());</div>
+<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>         <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">CollectInheritedProtocols</a>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>, Protocols);</div>
+<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>       }</div>
+<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>     }</div>
+<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>     </div>
+<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>     <span class="comment">// Categories of this Interface.</span></div>
+<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCInterfaceDecl_1_1filtered__category__iterator.html" title="Iterator that walks over the list of categories, filtering out those that do not meet specific criter...">ObjCInterfaceDecl::visible_categories_iterator</a></div>
+<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>            Cat = OI->visible_categories_begin(),</div>
+<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>            CatEnd = OI->visible_categories_end();</div>
+<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>          Cat != CatEnd; ++Cat) {</div>
+<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>       <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">CollectInheritedProtocols</a>(*Cat, Protocols);</div>
+<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>     }</div>
+<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span> </div>
+<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *SD = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a5f23eb5cda9e27622e71382d1dc4b95d">getSuperClass</a>())</div>
+<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>       <span class="keywordflow">while</span> (SD) {</div>
+<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>         <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">CollectInheritedProtocols</a>(SD, Protocols);</div>
+<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>         SD = SD->getSuperClass();</div>
+<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>       }</div>
+<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a> *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) {</div>
+<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCCategoryDecl.html#a2838849e5805ca4bce587a4d9c68acb8">ObjCCategoryDecl::protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = OC->protocol_begin(),</div>
+<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>          PE = OC->protocol_end(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>       <a class="code" href="classclang_1_1ObjCProtocolDecl.html" title="Represents an Objective-C protocol declaration.">ObjCProtocolDecl</a> *Proto = (*P);</div>
+<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>       Protocols.insert(Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a1c0e972dbd312f8effdaa5f53dd1403d" title="Retrieves the canonical declaration of this Objective-C protocol.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCProtocolDecl.html#adbd4b44a478f573a24072123f93b2fe9">ObjCProtocolDecl::protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a199069b3da6c86cd72a6b8fe9f8feec0">protocol_begin</a>(),</div>
+<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>            PE = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a681da3dbfa474479f44d59eee31d0e1e">protocol_end</a>(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)</div>
+<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>         <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">CollectInheritedProtocols</a>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>, Protocols);</div>
+<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>     }</div>
+<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCProtocolDecl.html" title="Represents an Objective-C protocol declaration.">ObjCProtocolDecl</a> *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) {</div>
+<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCProtocolDecl.html#adbd4b44a478f573a24072123f93b2fe9">ObjCProtocolDecl::protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = OP->protocol_begin(),</div>
+<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>          PE = OP->protocol_end(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>       <a class="code" href="classclang_1_1ObjCProtocolDecl.html" title="Represents an Objective-C protocol declaration.">ObjCProtocolDecl</a> *Proto = (*P);</div>
+<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>       Protocols.insert(Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a1c0e972dbd312f8effdaa5f53dd1403d" title="Retrieves the canonical declaration of this Objective-C protocol.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCProtocolDecl.html#adbd4b44a478f573a24072123f93b2fe9">ObjCProtocolDecl::protocol_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a199069b3da6c86cd72a6b8fe9f8feec0">protocol_begin</a>(),</div>
+<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>            PE = Proto-><a class="code" href="classclang_1_1ObjCProtocolDecl.html#a681da3dbfa474479f44d59eee31d0e1e">protocol_end</a>(); <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PE; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>)</div>
+<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>         <a class="code" href="classclang_1_1ASTContext.html#ae25690b666199615503c4a6089f3a2f5">CollectInheritedProtocols</a>(*<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>, Protocols);</div>
+<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>     }</div>
+<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>   }</div>
+<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span> }</div>
+<div class="line"><a name="l01861"></a><span class="lineno"> 1861</span> </div>
+<div class="line"><a name="l01862"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9d1c02b1e56e6a35fcb51dd01f9e7885"> 1862</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTContext.html#a9d1c02b1e56e6a35fcb51dd01f9e7885">ASTContext::CountNonClassIvars</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *OI)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>   <span class="keywordtype">unsigned</span> count = 0;  </div>
+<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>   <span class="comment">// Count ivars declared in class extension.</span></div>
+<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCInterfaceDecl_1_1filtered__category__iterator.html" title="Iterator that walks over the list of categories, filtering out those that do not meet specific criter...">ObjCInterfaceDecl::known_extensions_iterator</a></div>
+<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>          Ext = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#ae8a5db36f5cc75890b386c2f9fe3e71d" title="Retrieve an iterator to the beginning of the known-extensions list.">known_extensions_begin</a>(),</div>
+<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>          ExtEnd = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a6c3d90b10af9218ad5f190df9a7db0b5" title="Retrieve an iterator to the end of the known-extensions list.">known_extensions_end</a>();</div>
+<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>        Ext != ExtEnd; ++Ext) {</div>
+<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>     count += Ext->ivar_size();</div>
+<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>   }</div>
+<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>   </div>
+<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>   <span class="comment">// Count ivar defined in this class's implementation.  This</span></div>
+<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>   <span class="comment">// includes synthesized ivars.</span></div>
+<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCImplementationDecl.html">ObjCImplementationDecl</a> *ImplDecl = OI-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a1f5cbf5895d33b33402a9a8553e39733">getImplementation</a>())</div>
+<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>     count += ImplDecl->ivar_size();</div>
+<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span> </div>
+<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>   <span class="keywordflow">return</span> count;</div>
+<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span> }</div>
+<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span> </div>
+<div class="line"><a name="l01880"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#afc84c49fbc26714a79bc2a9d2c6e86b5"> 1880</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTContext.html#afc84c49fbc26714a79bc2a9d2c6e86b5">ASTContext::isSentinelNullExpr</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E) {</div>
+<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>   <span class="keywordflow">if</span> (!E)</div>
+<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span> </div>
+<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>   <span class="comment">// nullptr_t is always treated as null.</span></div>
+<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>   <span class="keywordflow">if</span> (E-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac5e1b697b8baa513accaac2f0b1307b9">isNullPtrType</a>()) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span> </div>
+<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>   <span class="keywordflow">if</span> (E-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()-><a class="code" href="classclang_1_1Type.html#a08e1571405fafb2467ba1a1cdd8d9c04">isAnyPointerType</a>() &&</div>
+<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>       E-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>()-><a class="code" href="classclang_1_1Expr.html#ab56d6fd074c831a3e63b45f4f226b35a">isNullPointerConstant</a>(*<span class="keyword">this</span>,</div>
+<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>                                                 <a class="code" href="classclang_1_1Expr.html#a8542d93f28013fb0866693834b04ff67a06279741aa9bc21d0a6d5be7aa7f06e7" title="Specifies that a value-dependent expression of integral or dependent type should be considered a null...">Expr::NPC_ValueDependentIsNull</a>))</div>
+<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span> </div>
+<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>   <span class="comment">// Unfortunately, __null has type 'int'.</span></div>
+<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>   <span class="keywordflow">if</span> (isa<GNUNullExpr>(E)) <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span> </div>
+<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span> }</div>
+<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span> <span class="comment"></span></div>
+<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span> <span class="comment">/// \brief Get the implementation of ObjCInterfaceDecl,or NULL if none exists.</span></div>
+<div class="line"><a name="l01899"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af0ccd1799468d3bfa57a72cda948ca0b"> 1899</a></span> <span class="comment"></span><a class="code" href="classclang_1_1ObjCImplementationDecl.html">ObjCImplementationDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#af0ccd1799468d3bfa57a72cda948ca0b" title="Get the implementation of the ObjCInterfaceDecl D, or NULL if none exists.">ASTContext::getObjCImplementation</a>(<a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *D) {</div>
+<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>   llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator</div>
+<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>     I = ObjCImpls.find(D);</div>
+<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>   <span class="keywordflow">if</span> (I != ObjCImpls.end())</div>
+<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>     <span class="keywordflow">return</span> cast<ObjCImplementationDecl>(I->second);</div>
+<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>   <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span> }<span class="comment"></span></div>
+<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span> <span class="comment">/// \brief Get the implementation of ObjCCategoryDecl, or NULL if none exists.</span></div>
+<div class="line"><a name="l01907"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a3cc16e6b49acbd8dbd61f110e6033ade"> 1907</a></span> <span class="comment"></span><a class="code" href="classclang_1_1ObjCCategoryImplDecl.html">ObjCCategoryImplDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#af0ccd1799468d3bfa57a72cda948ca0b" title="Get the implementation of the ObjCInterfaceDecl D, or NULL if none exists.">ASTContext::getObjCImplementation</a>(<a class="code" href="classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a> *D) {</div>
+<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>   llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*>::iterator</div>
+<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>     I = ObjCImpls.find(D);</div>
+<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>   <span class="keywordflow">if</span> (I != ObjCImpls.end())</div>
+<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>     <span class="keywordflow">return</span> cast<ObjCCategoryImplDecl>(I->second);</div>
+<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span>   <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span> }</div>
+<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span> <span class="comment"></span></div>
+<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span> <span class="comment">/// \brief Set the implementation of ObjCInterfaceDecl.</span></div>
+<div class="line"><a name="l01916"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a46e4188be14b312b62ca444646753754"> 1916</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a46e4188be14b312b62ca444646753754" title="Set the implementation of ObjCInterfaceDecl.">ASTContext::setObjCImplementation</a>(<a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *IFaceD,</div>
+<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>                            <a class="code" href="classclang_1_1ObjCImplementationDecl.html">ObjCImplementationDecl</a> *ImplD) {</div>
+<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>   assert(IFaceD && ImplD && <span class="stringliteral">"Passed null params"</span>);</div>
+<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>   ObjCImpls[IFaceD] = ImplD;</div>
+<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span> }<span class="comment"></span></div>
+<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span> <span class="comment">/// \brief Set the implementation of ObjCCategoryDecl.</span></div>
+<div class="line"><a name="l01922"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae457edadd6215f9c8ce16cd7ad3479e1"> 1922</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#a46e4188be14b312b62ca444646753754" title="Set the implementation of ObjCInterfaceDecl.">ASTContext::setObjCImplementation</a>(<a class="code" href="classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a> *CatD,</div>
+<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>                            <a class="code" href="classclang_1_1ObjCCategoryImplDecl.html">ObjCCategoryImplDecl</a> *ImplD) {</div>
+<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>   assert(CatD && ImplD && <span class="stringliteral">"Passed null params"</span>);</div>
+<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>   ObjCImpls[CatD] = ImplD;</div>
+<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span> }</div>
+<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span> </div>
+<div class="line"><a name="l01928"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9da118a265d9519e7624e923aa85bfc4"> 1928</a></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *<a class="code" href="classclang_1_1ASTContext.html#a9da118a265d9519e7624e923aa85bfc4" title="Returns the Objective-C interface that ND belongs to if it is an Objective-C method/property/ivar etc...">ASTContext::getObjContainingInterface</a>(</div>
+<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>                                               <span class="keyword">const</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *ND)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *ID =</div>
+<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>           dyn_cast<ObjCInterfaceDecl>(ND-><a class="code" href="classclang_1_1Decl.html#af67e1a1d24dcc51093b95dbcf68d4288">getDeclContext</a>()))</div>
+<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a> *CD =</div>
+<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>           dyn_cast<ObjCCategoryDecl>(ND-><a class="code" href="classclang_1_1Decl.html#af67e1a1d24dcc51093b95dbcf68d4288">getDeclContext</a>()))</div>
+<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>     <span class="keywordflow">return</span> CD->getClassInterface();</div>
+<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCImplDecl.html">ObjCImplDecl</a> *IMD =</div>
+<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>           dyn_cast<ObjCImplDecl>(ND-><a class="code" href="classclang_1_1Decl.html#af67e1a1d24dcc51093b95dbcf68d4288">getDeclContext</a>()))</div>
+<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>     <span class="keywordflow">return</span> IMD->getClassInterface();</div>
+<div class="line"><a name="l01939"></a><span class="lineno"> 1939</span> </div>
+<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>   <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span> }</div>
+<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span> <span class="comment"></span></div>
+<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span> <span class="comment">/// \brief Get the copy initialization expression of VarDecl,or NULL if </span></div>
+<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span> <span class="comment">/// none exists.</span></div>
+<div class="line"><a name="l01945"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab611c659d39990a4e8417ee93133a65a"> 1945</a></span> <span class="comment"></span><a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="classclang_1_1ASTContext.html#ab611c659d39990a4e8417ee93133a65a" title="Get the copy initialization expression of the VarDecl VD, or NULL if none exists.">ASTContext::getBlockVarCopyInits</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a>*VD) {</div>
+<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>   assert(VD && <span class="stringliteral">"Passed null params"</span>);</div>
+<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>   assert(VD-><a class="code" href="classclang_1_1Decl.html#ac60cc8b34313e03a5c40277c5c5ad61b">hasAttr</a><<a class="code" href="classclang_1_1BlocksAttr.html">BlocksAttr</a>>() && </div>
+<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>          <span class="stringliteral">"getBlockVarCopyInits - not __block var"</span>);</div>
+<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>   llvm::DenseMap<const VarDecl*, Expr*>::iterator</div>
+<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>     I = BlockVarCopyInits.find(VD);</div>
+<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>   <span class="keywordflow">return</span> (I != BlockVarCopyInits.end()) ? cast<Expr>(I->second) : 0;</div>
+<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span> }</div>
+<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span> <span class="comment"></span></div>
+<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span> <span class="comment">/// \brief Set the copy inialization expression of a block var decl.</span></div>
+<div class="line"><a name="l01955"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab683220d3e919f182e42f2ae35ebb4dd"> 1955</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#ab683220d3e919f182e42f2ae35ebb4dd" title="Set the copy inialization expression of a block var decl.">ASTContext::setBlockVarCopyInits</a>(<a class="code" href="classclang_1_1VarDecl.html">VarDecl</a>*VD, <a class="code" href="classclang_1_1Expr.html">Expr</a>* Init) {</div>
+<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>   assert(VD && Init && <span class="stringliteral">"Passed null params"</span>);</div>
+<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>   assert(VD-><a class="code" href="classclang_1_1Decl.html#ac60cc8b34313e03a5c40277c5c5ad61b">hasAttr</a><<a class="code" href="classclang_1_1BlocksAttr.html">BlocksAttr</a>>() && </div>
+<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>          <span class="stringliteral">"setBlockVarCopyInits - not __block var"</span>);</div>
+<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>   BlockVarCopyInits[VD] = Init;</div>
+<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span> }</div>
+<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span> </div>
+<div class="line"><a name="l01962"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a6541433da59fb48de550bd340bc58216"> 1962</a></span> <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *<a class="code" href="classclang_1_1ASTContext.html#a6541433da59fb48de550bd340bc58216" title="Allocate an uninitialized TypeSourceInfo.">ASTContext::CreateTypeSourceInfo</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T,</div>
+<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>                                                  <span class="keywordtype">unsigned</span> DataSize)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>   <span class="keywordflow">if</span> (!DataSize)</div>
+<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>     DataSize = <a class="code" href="classclang_1_1TypeLoc.html#aafc1a15abac2910e16d607d176f47020" title="Returns the size of type source info data block for the given type.">TypeLoc::getFullDataSizeForType</a>(T);</div>
+<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>   <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>     assert(DataSize == <a class="code" href="classclang_1_1TypeLoc.html#aafc1a15abac2910e16d607d176f47020" title="Returns the size of type source info data block for the given type.">TypeLoc::getFullDataSizeForType</a>(T) &&</div>
+<div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>            <span class="stringliteral">"incorrect data size provided to CreateTypeSourceInfo!"</span>);</div>
+<div class="line"><a name="l01969"></a><span class="lineno"> 1969</span> </div>
+<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>   <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *TInfo =</div>
+<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>     (<a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a>*)BumpAlloc.Allocate(<span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a>) + DataSize, 8);</div>
+<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>   <span class="keyword">new</span> (TInfo) <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a>(T);</div>
+<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>   <span class="keywordflow">return</span> TInfo;</div>
+<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span> }</div>
+<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span> </div>
+<div class="line"><a name="l01976"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2"> 1976</a></span> <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *<a class="code" href="classclang_1_1ASTContext.html#ab52efd4ef8c5cd4f78dbba824615caa2" title="Allocate a TypeSourceInfo where all locations have been initialized to a given location, which defaults to the empty location.">ASTContext::getTrivialTypeSourceInfo</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T,</div>
+<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>                                                      <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> L)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>   <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *DI = <a class="code" href="classclang_1_1ASTContext.html#a6541433da59fb48de550bd340bc58216" title="Allocate an uninitialized TypeSourceInfo.">CreateTypeSourceInfo</a>(T);</div>
+<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>   DI-><a class="code" href="classclang_1_1TypeSourceInfo.html#a51bc61879d5926193a3bb3ee1a280fee" title="Return the TypeLoc wrapper for the type source info.">getTypeLoc</a>().<a class="code" href="classclang_1_1TypeLoc.html#a50ce42532cd45eeba48a0bdbf6d86efe" title="Initializes this to state that every location in this type is the given location.">initialize</a>(const_cast<ASTContext &>(*<span class="keyword">this</span>), L);</div>
+<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>   <span class="keywordflow">return</span> DI;</div>
+<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span> }</div>
+<div class="line"><a name="l01982"></a><span class="lineno"> 1982</span> </div>
+<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &</div>
+<div class="line"><a name="l01984"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a0c252aa684cc2fc11ed5b105644284f3"> 1984</a></span> <a class="code" href="classclang_1_1ASTContext.html#a0c252aa684cc2fc11ed5b105644284f3" title="Get or compute information about the layout of the specified Objective-C interface.">ASTContext::getASTObjCInterfaceLayout</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *D)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span>   <span class="keywordflow">return</span> getObjCLayout(D, 0);</div>
+<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span> }</div>
+<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span> </div>
+<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &</div>
+<div class="line"><a name="l01989"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af1acdfd23ab715bb4d79a03781cd6d9b"> 1989</a></span> <a class="code" href="classclang_1_1ASTContext.html#af1acdfd23ab715bb4d79a03781cd6d9b" title="Get or compute information about the layout of the specified Objective-C implementation.">ASTContext::getASTObjCImplementationLayout</a>(</div>
+<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>                                         <span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCImplementationDecl.html">ObjCImplementationDecl</a> *D)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>   <span class="keywordflow">return</span> getObjCLayout(D-><a class="code" href="classclang_1_1ObjCImplDecl.html#ae3c6fb728fe5a7aee81ca394470493c4">getClassInterface</a>(), D);</div>
+<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span> }</div>
+<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span> </div>
+<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span> <span class="comment">//                   Type creation/memoization methods</span></div>
+<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01997"></a><span class="lineno"> 1997</span> </div>
+<div class="line"><a name="l01998"></a><span class="lineno"> 1998</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l01999"></a><span class="lineno"> 1999</span> ASTContext::getExtQualType(<span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *baseType, <a class="code" href="classclang_1_1Qualifiers.html">Qualifiers</a> quals)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>   <span class="keywordtype">unsigned</span> fastQuals = quals.<a class="code" href="classclang_1_1Qualifiers.html#a6ff1d71e850697c08296f3f8bfde940d">getFastQualifiers</a>();</div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>   quals.<a class="code" href="classclang_1_1Qualifiers.html#a312b4a5113993d9919520c9f66b6b4bf">removeFastQualifiers</a>();</div>
+<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span> </div>
+<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>   <span class="comment">// Check if we've already instantiated this type.</span></div>
+<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>   <a class="code" href="classclang_1_1ExtQuals.html#a376bb362fd35f8f59b0a5991dd77a1ed">ExtQuals::Profile</a>(ID, baseType, quals);</div>
+<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>   <span class="keywordtype">void</span> *insertPos = 0;</div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ExtQuals.html">ExtQuals</a> *eq = ExtQualNodes.FindNodeOrInsertPos(ID, insertPos)) {</div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>     assert(eq->getQualifiers() == quals);</div>
+<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(eq, fastQuals);</div>
+<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>   }</div>
+<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span> </div>
+<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>   <span class="comment">// If the base type is not canonical, make the appropriate canonical type.</span></div>
+<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> canon;</div>
+<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>   <span class="keywordflow">if</span> (!baseType-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>()) {</div>
+<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>     <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> canonSplit = baseType-><a class="code" href="classclang_1_1Type.html#a6bd50f807f10864ef809b41555e8d47c">getCanonicalTypeInternal</a>().<a class="code" href="classclang_1_1QualType.html#ac57032f53bd8e552879318a1f377c7b0">split</a>();</div>
+<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>     canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>.<a class="code" href="classclang_1_1Qualifiers.html#a306d2f612642abc368ddc4252fecc07c" title="Add the qualifiers from the given set to this set, given that they don't conflict.">addConsistentQualifiers</a>(quals);</div>
+<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>     canon = getExtQualType(canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span> </div>
+<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>     <span class="comment">// Re-find the insert position.</span></div>
+<div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>     (void) ExtQualNodes.FindNodeOrInsertPos(ID, insertPos);</div>
+<div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>   }</div>
+<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span> </div>
+<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>   <a class="code" href="classclang_1_1ExtQuals.html">ExtQuals</a> *eq = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1ExtQuals.html">ExtQuals</a>(baseType, canon, quals);</div>
+<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>   ExtQualNodes.InsertNode(eq, insertPos);</div>
+<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(eq, fastQuals);</div>
+<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span> }</div>
+<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span> </div>
+<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02029"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a1349a8ebd751dd6873f81da46083d1ca"> 2029</a></span> <a class="code" href="classclang_1_1ASTContext.html#a1349a8ebd751dd6873f81da46083d1ca" title="Return the uniqued reference to the type for an address space qualified type with the specified type ...">ASTContext::getAddrSpaceQualType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T, <span class="keywordtype">unsigned</span> AddressSpace)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> CanT = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T);</div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>   <span class="keywordflow">if</span> (CanT.<a class="code" href="classclang_1_1QualType.html#adcf1751da775a8f0743e9d9c3a5a34a1" title="getAddressSpace - Return the address space of this type.">getAddressSpace</a>() == AddressSpace)</div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>     <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span> </div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>   <span class="comment">// If we are composing extended qualifiers together, merge together</span></div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>   <span class="comment">// into one ExtQuals node.</span></div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>   <a class="code" href="classclang_1_1QualifierCollector.html" title="A qualifier set is used to build a set of qualifiers.">QualifierCollector</a> Quals;</div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *TypeNode = Quals.<a class="code" href="classclang_1_1QualifierCollector.html#a0d384a2acd12cac66c6b9efec3a2f6af">strip</a>(T);</div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span> </div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>   <span class="comment">// If this type already has an address space specified, it cannot get</span></div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>   <span class="comment">// another one.</span></div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>   assert(!Quals.<a class="code" href="classclang_1_1Qualifiers.html#ad295c64f93a74e7533546962903f67ce">hasAddressSpace</a>() &&</div>
+<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>          <span class="stringliteral">"Type cannot be in multiple addr spaces!"</span>);</div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>   Quals.<a class="code" href="classclang_1_1Qualifiers.html#aefc6fa27f4249275a378dc8e09510f2c">addAddressSpace</a>(AddressSpace);</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span> </div>
+<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>   <span class="keywordflow">return</span> getExtQualType(TypeNode, Quals);</div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span> }</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span> </div>
+<div class="line"><a name="l02048"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ad6aadf0769883e34fb3481cf38f0986d"> 2048</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ad6aadf0769883e34fb3481cf38f0986d" title="Return the uniqued reference to the type for an Objective-C gc-qualified type.">ASTContext::getObjCGCQualType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T,</div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>                                        <a class="code" href="classclang_1_1Qualifiers.html#ac385e8f4b76a81b9668d05335e62308e">Qualifiers::GC</a> GCAttr)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> CanT = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T);</div>
+<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>   <span class="keywordflow">if</span> (CanT.<a class="code" href="classclang_1_1QualType.html#aefb685eda769e5faf7f058203eedce93" title="getObjCGCAttr - Returns gc attribute of this type.">getObjCGCAttr</a>() == GCAttr)</div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>     <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span> </div>
+<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1PointerType.html">PointerType</a> *ptr = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1PointerType.html">PointerType</a>>()) {</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> Pointee = ptr-><a class="code" href="classclang_1_1Type.html#a3a0edf987679f04072a1243b6118add1">getPointeeType</a>();</div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>     <span class="keywordflow">if</span> (Pointee-><a class="code" href="classclang_1_1Type.html#a08e1571405fafb2467ba1a1cdd8d9c04">isAnyPointerType</a>()) {</div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> ResultType = <a class="code" href="classclang_1_1ASTContext.html#ad6aadf0769883e34fb3481cf38f0986d" title="Return the uniqued reference to the type for an Objective-C gc-qualified type.">getObjCGCQualType</a>(Pointee, GCAttr);</div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(ResultType);</div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>     }</div>
+<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>   }</div>
+<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span> </div>
+<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>   <span class="comment">// If we are composing extended qualifiers together, merge together</span></div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>   <span class="comment">// into one ExtQuals node.</span></div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>   <a class="code" href="classclang_1_1QualifierCollector.html" title="A qualifier set is used to build a set of qualifiers.">QualifierCollector</a> Quals;</div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *TypeNode = Quals.<a class="code" href="classclang_1_1QualifierCollector.html#a0d384a2acd12cac66c6b9efec3a2f6af">strip</a>(T);</div>
+<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span> </div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>   <span class="comment">// If this type already has an ObjCGC specified, it cannot get</span></div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>   <span class="comment">// another one.</span></div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>   assert(!Quals.<a class="code" href="classclang_1_1Qualifiers.html#af384dfc5af549d9e1cb998cad3cdc88e">hasObjCGCAttr</a>() &&</div>
+<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>          <span class="stringliteral">"Type cannot have multiple ObjCGCs!"</span>);</div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>   Quals.<a class="code" href="classclang_1_1Qualifiers.html#ac9ac10777cb2085c59e0f078e635ddfd">addObjCGCAttr</a>(GCAttr);</div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span> </div>
+<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>   <span class="keywordflow">return</span> getExtQualType(TypeNode, Quals);</div>
+<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span> }</div>
+<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span> </div>
+<div class="line"><a name="l02076"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a0d941360685311b9bbccb6b87b2828b2"> 2076</a></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionType.html">FunctionType</a> *<a class="code" href="classclang_1_1ASTContext.html#a0d941360685311b9bbccb6b87b2828b2" title="Change the ExtInfo on a function type.">ASTContext::adjustFunctionType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionType.html">FunctionType</a> *T,</div>
+<div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>                                                    <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionType::ExtInfo</a> Info) {</div>
+<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>   <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1FunctionType.html#a443ec10bc39b4f81172f845109697735">getExtInfo</a>() == Info)</div>
+<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>     <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span> </div>
+<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Result;</div>
+<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a> *FNPT = dyn_cast<FunctionNoProtoType>(T)) {</div>
+<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>     Result = <a class="code" href="classclang_1_1ASTContext.html#a5f935beb13cff87f834784b26504f2f3" title="Return a K&R style C function type like 'int()'.">getFunctionNoProtoType</a>(FNPT->getResultType(), Info);</div>
+<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *FPT = cast<FunctionProtoType>(T);</div>
+<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>     <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> EPI = FPT-><a class="code" href="classclang_1_1FunctionProtoType.html#ad9dbcc8b1538d72ba9caea5de7c4db84">getExtProtoInfo</a>();</div>
+<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>     EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#af409c3d94eabd1a972dbbd9e95b8b135">ExtInfo</a> = Info;</div>
+<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>     Result = <a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb" title="Return a normal function type with a typed argument list.">getFunctionType</a>(FPT-><a class="code" href="classclang_1_1FunctionType.html#aafa453cd7e81a7c3d6c61f261e68afe8">getResultType</a>(), FPT-><a class="code" href="classclang_1_1FunctionProtoType.html#a54f5ceae5d6e45f06dd2255349a39adc">getArgTypes</a>(), EPI);</div>
+<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>   }</div>
+<div class="line"><a name="l02090"></a><span class="lineno"> 2090</span> </div>
+<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>   <span class="keywordflow">return</span> cast<FunctionType>(Result.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>());</div>
+<div class="line"><a name="l02092"></a><span class="lineno"> 2092</span> }</div>
+<div class="line"><a name="l02093"></a><span class="lineno"> 2093</span> </div>
+<div class="line"><a name="l02094"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae313abb0169ff3afef235461848062fd"> 2094</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTContext.html#ae313abb0169ff3afef235461848062fd" title="Change the result type of a function type once it is deduced.">ASTContext::adjustDeducedFunctionResultType</a>(<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD,</div>
+<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>                                                  <a class="code" href="classclang_1_1QualType.html">QualType</a> ResultType) {</div>
+<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>   FD = FD-><a class="code" href="classclang_1_1Redeclarable.html#a9ea014cf6b0106a824cb7a1eb0b29252" title="Returns the most recent (re)declaration of this declaration.">getMostRecentDecl</a>();</div>
+<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *FPT = FD-><a class="code" href="classclang_1_1ValueDecl.html#aefa6d3327144aee23d2935f41d993484">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a>>();</div>
+<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>     <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> EPI = FPT-><a class="code" href="classclang_1_1FunctionProtoType.html#ad9dbcc8b1538d72ba9caea5de7c4db84">getExtProtoInfo</a>();</div>
+<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>     FD-><a class="code" href="classclang_1_1ValueDecl.html#a3a82ca5762f3fb1c2d25d9cf63728cd2">setType</a>(<a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb" title="Return a normal function type with a typed argument list.">getFunctionType</a>(ResultType, FPT-><a class="code" href="classclang_1_1FunctionProtoType.html#a54f5ceae5d6e45f06dd2255349a39adc">getArgTypes</a>(), EPI));</div>
+<div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *Next = FD-><a class="code" href="classclang_1_1Redeclarable.html#ae865b5549d99099ecb62d8b3a104f033" title="Return the previous declaration of this declaration or NULL if this is the first declaration.">getPreviousDecl</a>())</div>
+<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>       FD = Next;</div>
+<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>   }</div>
+<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ASTMutationListener.html" title="An abstract interface that should be implemented by listeners that want to be notified when an AST en...">ASTMutationListener</a> *L = <a class="code" href="classclang_1_1ASTContext.html#ac066d895464e282e1f610a97eb6effd5" title="Retrieve a pointer to the AST mutation listener associated with this AST context, if any...">getASTMutationListener</a>())</div>
+<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>     L->DeducedReturnType(FD, ResultType);</div>
+<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span> }</div>
+<div class="line"><a name="l02109"></a><span class="lineno"> 2109</span> <span class="comment"></span></div>
+<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span> <span class="comment">/// getComplexType - Return the uniqued reference to the type for a complex</span></div>
+<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span> <span class="comment">/// number with the specified element type.</span></div>
+<div class="line"><a name="l02112"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975"> 2112</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">ASTContext::getComplexType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>   <span class="comment">// Unique pointers, to guarantee there is only one pointer of a particular</span></div>
+<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>   <a class="code" href="classclang_1_1ComplexType.html#ae41177bacc609b4cc8982bc3fb51ea87">ComplexType::Profile</a>(ID, T);</div>
+<div class="line"><a name="l02117"></a><span class="lineno"> 2117</span> </div>
+<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ComplexType.html">ComplexType</a> *CT = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(CT, 0);</div>
+<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span> </div>
+<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>   <span class="comment">// If the pointee type isn't canonical, this won't be a canonical type either,</span></div>
+<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>   <span class="comment">// so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>   <span class="keywordflow">if</span> (!T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">getComplexType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T));</div>
+<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span> </div>
+<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>     <a class="code" href="classclang_1_1ComplexType.html">ComplexType</a> *NewIP = ComplexTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>   }</div>
+<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>   <a class="code" href="classclang_1_1ComplexType.html">ComplexType</a> *New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1ComplexType.html">ComplexType</a>(T, Canonical);</div>
+<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>   ComplexTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02136"></a><span class="lineno"> 2136</span> }</div>
+<div class="line"><a name="l02137"></a><span class="lineno"> 2137</span> <span class="comment"></span></div>
+<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span> <span class="comment">/// getPointerType - Return the uniqued reference to the type for a pointer to</span></div>
+<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span> <span class="comment">/// the specified type.</span></div>
+<div class="line"><a name="l02140"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e"> 2140</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">ASTContext::getPointerType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>   <span class="comment">// Unique pointers, to guarantee there is only one pointer of a particular</span></div>
+<div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>   <a class="code" href="classclang_1_1PointerType.html#aed30cb1ac08bcac3bd8b17a24a41b74e">PointerType::Profile</a>(ID, T);</div>
+<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span> </div>
+<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1PointerType.html">PointerType</a> *PT = PointerTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(PT, 0);</div>
+<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span> </div>
+<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>   <span class="comment">// If the pointee type isn't canonical, this won't be a canonical type either,</span></div>
+<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>   <span class="comment">// so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>   <span class="keywordflow">if</span> (!T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T));</div>
+<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span> </div>
+<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>     <a class="code" href="classclang_1_1PointerType.html">PointerType</a> *NewIP = PointerTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>   }</div>
+<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>   <a class="code" href="classclang_1_1PointerType.html">PointerType</a> *New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1PointerType.html">PointerType</a>(T, Canonical);</div>
+<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>   PointerTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span> }</div>
+<div class="line"><a name="l02165"></a><span class="lineno"> 2165</span> </div>
+<div class="line"><a name="l02166"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#aeb9dfd17f9df69b944191e4ca8d826e1"> 2166</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#aeb9dfd17f9df69b944191e4ca8d826e1" title="Return the uniqued reference to the decayed version of the given type. Can only be called on array an...">ASTContext::getDecayedType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>   assert((T-><a class="code" href="classclang_1_1Type.html#a53b83bd119ae77bc77e92dc69a8c8094">isArrayType</a>() || T-><a class="code" href="classclang_1_1Type.html#af0ae1f40cbbc07fabfefc86af91072e3">isFunctionType</a>()) && <span class="stringliteral">"T does not decay"</span>);</div>
+<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span> </div>
+<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>   <a class="code" href="classclang_1_1DecayedType.html#af3e3873f43d52f6e7039d1d072532554">DecayedType::Profile</a>(ID, T);</div>
+<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DecayedType.html" title="Represents a pointer type decayed from an array or function type.">DecayedType</a> *DT = DecayedTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02173"></a><span class="lineno"> 2173</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(DT, 0);</div>
+<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span> </div>
+<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Decayed;</div>
+<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span> </div>
+<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>   <span class="comment">// C99 6.7.5.3p7:</span></div>
+<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>   <span class="comment">//   A declaration of a parameter as "array of type" shall be</span></div>
+<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>   <span class="comment">//   adjusted to "qualified pointer to type", where the type</span></div>
+<div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>   <span class="comment">//   qualifiers (if any) are those specified within the [ and ] of</span></div>
+<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>   <span class="comment">//   the array type derivation.</span></div>
+<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>   <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1Type.html#a53b83bd119ae77bc77e92dc69a8c8094">isArrayType</a>())</div>
+<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>     Decayed = <a class="code" href="classclang_1_1ASTContext.html#abb596026563d4de0df0e115c50f546ec" title="Return the properly qualified result of decaying the specified array type to a pointer.">getArrayDecayedType</a>(T);</div>
+<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span> </div>
+<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>   <span class="comment">// C99 6.7.5.3p8:</span></div>
+<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>   <span class="comment">//   A declaration of a parameter as "function returning type"</span></div>
+<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>   <span class="comment">//   shall be adjusted to "pointer to function returning type", as</span></div>
+<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>   <span class="comment">//   in 6.3.2.1.</span></div>
+<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>   <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1Type.html#af0ae1f40cbbc07fabfefc86af91072e3">isFunctionType</a>())</div>
+<div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>     Decayed = <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(T);</div>
+<div class="line"><a name="l02191"></a><span class="lineno"> 2191</span> </div>
+<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Decayed);</div>
+<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span> </div>
+<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>   <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>   <a class="code" href="classclang_1_1DecayedType.html" title="Represents a pointer type decayed from an array or function type.">DecayedType</a> *NewIP = DecayedTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>   assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span> </div>
+<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>   <a class="code" href="classclang_1_1DecayedType.html" title="Represents a pointer type decayed from an array or function type.">DecayedType</a> *New =</div>
+<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>       <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1DecayedType.html" title="Represents a pointer type decayed from an array or function type.">DecayedType</a>(T, Decayed, Canonical);</div>
+<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>   DecayedTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span> }</div>
+<div class="line"><a name="l02204"></a><span class="lineno"> 2204</span> <span class="comment"></span></div>
+<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span> <span class="comment">/// getBlockPointerType - Return the uniqued reference to the type for</span></div>
+<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span> <span class="comment">/// a pointer to the specified block.</span></div>
+<div class="line"><a name="l02207"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af2b93ff3943b1f71c214a5e7f00292b5"> 2207</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#af2b93ff3943b1f71c214a5e7f00292b5" title="Return the uniqued reference to the type for a block of the specified type.">ASTContext::getBlockPointerType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>   assert(T-><a class="code" href="classclang_1_1Type.html#af0ae1f40cbbc07fabfefc86af91072e3">isFunctionType</a>() && <span class="stringliteral">"block of function types only"</span>);</div>
+<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>   <span class="comment">// Unique pointers, to guarantee there is only one block of a particular</span></div>
+<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span>   <a class="code" href="classclang_1_1BlockPointerType.html#a43fa755f7cc81d249fcc25fc6fa78176">BlockPointerType::Profile</a>(ID, T);</div>
+<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span> </div>
+<div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1BlockPointerType.html">BlockPointerType</a> *PT =</div>
+<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>         BlockPointerTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(PT, 0);</div>
+<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span> </div>
+<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>   <span class="comment">// If the block pointee type isn't canonical, this won't be a canonical</span></div>
+<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>   <span class="comment">// type either so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>   <span class="keywordflow">if</span> (!T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#af2b93ff3943b1f71c214a5e7f00292b5" title="Return the uniqued reference to the type for a block of the specified type.">getBlockPointerType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T));</div>
+<div class="line"><a name="l02224"></a><span class="lineno"> 2224</span> </div>
+<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>     <a class="code" href="classclang_1_1BlockPointerType.html">BlockPointerType</a> *NewIP =</div>
+<div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>       BlockPointerTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>   }</div>
+<div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>   <a class="code" href="classclang_1_1BlockPointerType.html">BlockPointerType</a> *New</div>
+<div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1BlockPointerType.html">BlockPointerType</a>(T, Canonical);</div>
+<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>   BlockPointerTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span> }</div>
+<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span> <span class="comment"></span></div>
+<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span> <span class="comment">/// getLValueReferenceType - Return the uniqued reference to the type for an</span></div>
+<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span> <span class="comment">/// lvalue reference to the specified type.</span></div>
+<div class="line"><a name="l02239"></a><span class="lineno"> 2239</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02240"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a606b062a2b948921c139286220a2549b"> 2240</a></span> <a class="code" href="classclang_1_1ASTContext.html#a606b062a2b948921c139286220a2549b" title="Return the uniqued reference to the type for an lvalue reference to the specified type...">ASTContext::getLValueReferenceType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T, <span class="keywordtype">bool</span> SpelledAsLValue)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02241"></a><span class="lineno"> 2241</span>   assert(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T) != <a class="code" href="classclang_1_1ASTContext.html#a9630077a927001f119e396456dc9e091">OverloadTy</a> && </div>
+<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>          <span class="stringliteral">"Unresolved overloaded function type"</span>);</div>
+<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>   </div>
+<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>   <span class="comment">// Unique pointers, to guarantee there is only one pointer of a particular</span></div>
+<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>   <a class="code" href="classclang_1_1ReferenceType.html#af0d415adad9de8c9ec9882ad2fb53def">ReferenceType::Profile</a>(ID, T, SpelledAsLValue);</div>
+<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span> </div>
+<div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a> *RT =</div>
+<div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>         LValueReferenceTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(RT, 0);</div>
+<div class="line"><a name="l02253"></a><span class="lineno"> 2253</span> </div>
+<div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a> *InnerRef = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a>>();</div>
+<div class="line"><a name="l02255"></a><span class="lineno"> 2255</span> </div>
+<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>   <span class="comment">// If the referencee type isn't canonical, this won't be a canonical type</span></div>
+<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>   <span class="comment">// either, so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>   <span class="keywordflow">if</span> (!SpelledAsLValue || InnerRef || !T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = (InnerRef ? InnerRef-><a class="code" href="classclang_1_1ReferenceType.html#a365c62bb573a3c4b55b4ce408f975ae3">getPointeeType</a>() : T);</div>
+<div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a606b062a2b948921c139286220a2549b" title="Return the uniqued reference to the type for an lvalue reference to the specified type...">getLValueReferenceType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(PointeeType));</div>
+<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span> </div>
+<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>     <a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a> *NewIP =</div>
+<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>       LValueReferenceTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>   }</div>
+<div class="line"><a name="l02268"></a><span class="lineno"> 2268</span> </div>
+<div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>   <a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a> *New</div>
+<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a>(T, Canonical,</div>
+<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>                                                      SpelledAsLValue);</div>
+<div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>   LValueReferenceTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02274"></a><span class="lineno"> 2274</span> </div>
+<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span> }</div>
+<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span> <span class="comment"></span></div>
+<div class="line"><a name="l02278"></a><span class="lineno"> 2278</span> <span class="comment">/// getRValueReferenceType - Return the uniqued reference to the type for an</span></div>
+<div class="line"><a name="l02279"></a><span class="lineno"> 2279</span> <span class="comment">/// rvalue reference to the specified type.</span></div>
+<div class="line"><a name="l02280"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af5defc197ad151ad115b4f2f3a444d57"> 2280</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#af5defc197ad151ad115b4f2f3a444d57" title="Return the uniqued reference to the type for an rvalue reference to the specified type...">ASTContext::getRValueReferenceType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>   <span class="comment">// Unique pointers, to guarantee there is only one pointer of a particular</span></div>
+<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>   <a class="code" href="classclang_1_1ReferenceType.html#af0d415adad9de8c9ec9882ad2fb53def">ReferenceType::Profile</a>(ID, T, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l02285"></a><span class="lineno"> 2285</span> </div>
+<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a> *RT =</div>
+<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>         RValueReferenceTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(RT, 0);</div>
+<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span> </div>
+<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a> *InnerRef = T-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1ReferenceType.html">ReferenceType</a>>();</div>
+<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span> </div>
+<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>   <span class="comment">// If the referencee type isn't canonical, this won't be a canonical type</span></div>
+<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>   <span class="comment">// either, so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>   <span class="keywordflow">if</span> (InnerRef || !T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = (InnerRef ? InnerRef-><a class="code" href="classclang_1_1ReferenceType.html#a365c62bb573a3c4b55b4ce408f975ae3">getPointeeType</a>() : T);</div>
+<div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#af5defc197ad151ad115b4f2f3a444d57" title="Return the uniqued reference to the type for an rvalue reference to the specified type...">getRValueReferenceType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(PointeeType));</div>
+<div class="line"><a name="l02299"></a><span class="lineno"> 2299</span> </div>
+<div class="line"><a name="l02300"></a><span class="lineno"> 2300</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02301"></a><span class="lineno"> 2301</span>     <a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a> *NewIP =</div>
+<div class="line"><a name="l02302"></a><span class="lineno"> 2302</span>       RValueReferenceTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02303"></a><span class="lineno"> 2303</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>   }</div>
+<div class="line"><a name="l02305"></a><span class="lineno"> 2305</span> </div>
+<div class="line"><a name="l02306"></a><span class="lineno"> 2306</span>   <a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a> *New</div>
+<div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a>(T, Canonical);</div>
+<div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02309"></a><span class="lineno"> 2309</span>   RValueReferenceTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02311"></a><span class="lineno"> 2311</span> }</div>
+<div class="line"><a name="l02312"></a><span class="lineno"> 2312</span> <span class="comment"></span></div>
+<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span> <span class="comment">/// getMemberPointerType - Return the uniqued reference to the type for a</span></div>
+<div class="line"><a name="l02314"></a><span class="lineno"> 2314</span> <span class="comment">/// member pointer to the specified type, in the specified class.</span></div>
+<div class="line"><a name="l02315"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#abb9c962c295aa5b67d15ac70812cc050"> 2315</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#abb9c962c295aa5b67d15ac70812cc050" title="Return the uniqued reference to the type for a member pointer to the specified type in the specified ...">ASTContext::getMemberPointerType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T, <span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *Cls)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>   <span class="comment">// Unique pointers, to guarantee there is only one pointer of a particular</span></div>
+<div class="line"><a name="l02317"></a><span class="lineno"> 2317</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>   <a class="code" href="classclang_1_1MemberPointerType.html#a373b6f0f0883ba0c6bc584aa5b8cdaea">MemberPointerType::Profile</a>(ID, T, Cls);</div>
+<div class="line"><a name="l02320"></a><span class="lineno"> 2320</span> </div>
+<div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *PT =</div>
+<div class="line"><a name="l02323"></a><span class="lineno"> 2323</span>       MemberPointerTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(PT, 0);</div>
+<div class="line"><a name="l02325"></a><span class="lineno"> 2325</span> </div>
+<div class="line"><a name="l02326"></a><span class="lineno"> 2326</span>   <span class="comment">// If the pointee or class type isn't canonical, this won't be a canonical</span></div>
+<div class="line"><a name="l02327"></a><span class="lineno"> 2327</span>   <span class="comment">// type either, so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02329"></a><span class="lineno"> 2329</span>   <span class="keywordflow">if</span> (!T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>() || !Cls-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>()) {</div>
+<div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#abb9c962c295aa5b67d15ac70812cc050" title="Return the uniqued reference to the type for a member pointer to the specified type in the specified ...">getMemberPointerType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(T),<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Cls));</div>
+<div class="line"><a name="l02331"></a><span class="lineno"> 2331</span> </div>
+<div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02333"></a><span class="lineno"> 2333</span>     <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *NewIP =</div>
+<div class="line"><a name="l02334"></a><span class="lineno"> 2334</span>       MemberPointerTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02335"></a><span class="lineno"> 2335</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02336"></a><span class="lineno"> 2336</span>   }</div>
+<div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>   <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *New</div>
+<div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a>(T, Cls, Canonical);</div>
+<div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>   MemberPointerTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span> }</div>
+<div class="line"><a name="l02343"></a><span class="lineno"> 2343</span> <span class="comment"></span></div>
+<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span> <span class="comment">/// getConstantArrayType - Return the unique reference to the type for an</span></div>
+<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span> <span class="comment">/// array of the specified element type.</span></div>
+<div class="line"><a name="l02346"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a1dfd9aba04afad486b0dbbfc17de130b"> 2346</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a1dfd9aba04afad486b0dbbfc17de130b" title="Return the unique reference to the type for a constant array of the specified element type...">ASTContext::getConstantArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> EltTy,</div>
+<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>                                           <span class="keyword">const</span> llvm::APInt &ArySizeIn,</div>
+<div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>                                           <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM,</div>
+<div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>                                           <span class="keywordtype">unsigned</span> IndexTypeQuals)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>   assert((EltTy-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>() ||</div>
+<div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>           EltTy-><a class="code" href="classclang_1_1Type.html#a6d84e779575f1e510f7ddc98119662bd" title="Def If non-NULL, and the type refers to some kind of declaration that can be completed (such as a C s...">isIncompleteType</a>() || EltTy-><a class="code" href="classclang_1_1Type.html#a44b461aa094dcddc539f28318e461117">isConstantSizeType</a>()) &&</div>
+<div class="line"><a name="l02352"></a><span class="lineno"> 2352</span>          <span class="stringliteral">"Constant array of VLAs is illegal!"</span>);</div>
+<div class="line"><a name="l02353"></a><span class="lineno"> 2353</span> </div>
+<div class="line"><a name="l02354"></a><span class="lineno"> 2354</span>   <span class="comment">// Convert the array size into a canonical width matching the pointer size for</span></div>
+<div class="line"><a name="l02355"></a><span class="lineno"> 2355</span>   <span class="comment">// the target.</span></div>
+<div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>   llvm::APInt ArySize(ArySizeIn);</div>
+<div class="line"><a name="l02357"></a><span class="lineno"> 2357</span>   ArySize =</div>
+<div class="line"><a name="l02358"></a><span class="lineno"> 2358</span>     ArySize.zextOrTrunc(Target-><a class="code" href="classclang_1_1TargetInfo.html#a79ccbed497a604ca6d9dbfd9b8ac548f" title="Return the width of pointers on this target, for the specified address space.">getPointerWidth</a>(<a class="code" href="classclang_1_1ASTContext.html#aed2e4aedb5a9fafd8bd586349f1b9f6f">getTargetAddressSpace</a>(EltTy)));</div>
+<div class="line"><a name="l02359"></a><span class="lineno"> 2359</span> </div>
+<div class="line"><a name="l02360"></a><span class="lineno"> 2360</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>   <a class="code" href="classclang_1_1ConstantArrayType.html#a4fa90052298e64af37ca48578a77fdad">ConstantArrayType::Profile</a>(ID, EltTy, ArySize, ASM, IndexTypeQuals);</div>
+<div class="line"><a name="l02362"></a><span class="lineno"> 2362</span> </div>
+<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *ATP =</div>
+<div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>       ConstantArrayTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(ATP, 0);</div>
+<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span> </div>
+<div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>   <span class="comment">// If the element type isn't canonical or has qualifiers, this won't</span></div>
+<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>   <span class="comment">// be a canonical type either, so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon;</div>
+<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>   <span class="keywordflow">if</span> (!EltTy.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>() || EltTy.<a class="code" href="classclang_1_1QualType.html#aaea13c31e0ef90d97220e4235cc7786e" title="Determine whether this particular QualType instance has any qualifiers, without looking through any t...">hasLocalQualifiers</a>()) {</div>
+<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>     <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> canonSplit = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(EltTy).<a class="code" href="classclang_1_1CanQual.html#a11308d3c199e62559802ef85562ccc1a">split</a>();</div>
+<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a1dfd9aba04afad486b0dbbfc17de130b" title="Return the unique reference to the type for a constant array of the specified element type...">getConstantArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0), ArySize,</div>
+<div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>                                  ASM, IndexTypeQuals);</div>
+<div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(Canon, canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02376"></a><span class="lineno"> 2376</span> </div>
+<div class="line"><a name="l02377"></a><span class="lineno"> 2377</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02378"></a><span class="lineno"> 2378</span>     <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *NewIP =</div>
+<div class="line"><a name="l02379"></a><span class="lineno"> 2379</span>       ConstantArrayTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02380"></a><span class="lineno"> 2380</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02381"></a><span class="lineno"> 2381</span>   }</div>
+<div class="line"><a name="l02382"></a><span class="lineno"> 2382</span> </div>
+<div class="line"><a name="l02383"></a><span class="lineno"> 2383</span>   <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *New = <span class="keyword">new</span>(*<span class="keyword">this</span>,<a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02384"></a><span class="lineno"> 2384</span>     <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a>(EltTy, Canon, ArySize, ASM, IndexTypeQuals);</div>
+<div class="line"><a name="l02385"></a><span class="lineno"> 2385</span>   ConstantArrayTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02386"></a><span class="lineno"> 2386</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02387"></a><span class="lineno"> 2387</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02388"></a><span class="lineno"> 2388</span> }</div>
+<div class="line"><a name="l02389"></a><span class="lineno"> 2389</span> <span class="comment"></span></div>
+<div class="line"><a name="l02390"></a><span class="lineno"> 2390</span> <span class="comment">/// getVariableArrayDecayedType - Turns the given type, which may be</span></div>
+<div class="line"><a name="l02391"></a><span class="lineno"> 2391</span> <span class="comment">/// variably-modified, into the corresponding type with all the known</span></div>
+<div class="line"><a name="l02392"></a><span class="lineno"> 2392</span> <span class="comment">/// sizes replaced with [*].</span></div>
+<div class="line"><a name="l02393"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31"> 2393</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">ASTContext::getVariableArrayDecayedType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02394"></a><span class="lineno"> 2394</span>   <span class="comment">// Vastly most common case.</span></div>
+<div class="line"><a name="l02395"></a><span class="lineno"> 2395</span>   <span class="keywordflow">if</span> (!type-><a class="code" href="classclang_1_1Type.html#ac4d6f4a6e62d6f7d21a8aa082fd68257" title="Whether this type is a variably-modified type (C99 6.7.5).">isVariablyModifiedType</a>()) <span class="keywordflow">return</span> type;</div>
+<div class="line"><a name="l02396"></a><span class="lineno"> 2396</span> </div>
+<div class="line"><a name="l02397"></a><span class="lineno"> 2397</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> result;</div>
+<div class="line"><a name="l02398"></a><span class="lineno"> 2398</span> </div>
+<div class="line"><a name="l02399"></a><span class="lineno"> 2399</span>   <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> split = type.<a class="code" href="classclang_1_1QualType.html#a6d6bcff48abbca3ac978264acb6a5a43">getSplitDesugaredType</a>();</div>
+<div class="line"><a name="l02400"></a><span class="lineno"> 2400</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1Type.html">Type</a> *ty = split.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>;</div>
+<div class="line"><a name="l02401"></a><span class="lineno"> 2401</span>   <span class="keywordflow">switch</span> (ty-><a class="code" href="classclang_1_1Type.html#a34cea2e4e1895806fbbac92110b66db0">getTypeClass</a>()) {</div>
+<div class="line"><a name="l02402"></a><span class="lineno"> 2402</span> <span class="preprocessor">#define TYPE(Class, Base)</span></div>
+<div class="line"><a name="l02403"></a><span class="lineno"> 2403</span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Class, Base)</span></div>
+<div class="line"><a name="l02404"></a><span class="lineno"> 2404</span> <span class="preprocessor"></span><span class="preprocessor">#define NON_CANONICAL_TYPE(Class, Base) case Type::Class:</span></div>
+<div class="line"><a name="l02405"></a><span class="lineno"> 2405</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l02406"></a><span class="lineno"> 2406</span>     llvm_unreachable(<span class="stringliteral">"didn't desugar past all non-canonical types?"</span>);</div>
+<div class="line"><a name="l02407"></a><span class="lineno"> 2407</span> </div>
+<div class="line"><a name="l02408"></a><span class="lineno"> 2408</span>   <span class="comment">// These types should never be variably-modified.</span></div>
+<div class="line"><a name="l02409"></a><span class="lineno"> 2409</span>   <span class="keywordflow">case</span> Type::Builtin:</div>
+<div class="line"><a name="l02410"></a><span class="lineno"> 2410</span>   <span class="keywordflow">case</span> Type::Complex:</div>
+<div class="line"><a name="l02411"></a><span class="lineno"> 2411</span>   <span class="keywordflow">case</span> Type::Vector:</div>
+<div class="line"><a name="l02412"></a><span class="lineno"> 2412</span>   <span class="keywordflow">case</span> Type::ExtVector:</div>
+<div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>   <span class="keywordflow">case</span> Type::DependentSizedExtVector:</div>
+<div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>   <span class="keywordflow">case</span> Type::ObjCObject:</div>
+<div class="line"><a name="l02415"></a><span class="lineno"> 2415</span>   <span class="keywordflow">case</span> Type::ObjCInterface:</div>
+<div class="line"><a name="l02416"></a><span class="lineno"> 2416</span>   <span class="keywordflow">case</span> Type::ObjCObjectPointer:</div>
+<div class="line"><a name="l02417"></a><span class="lineno"> 2417</span>   <span class="keywordflow">case</span> Type::Record:</div>
+<div class="line"><a name="l02418"></a><span class="lineno"> 2418</span>   <span class="keywordflow">case</span> Type::Enum:</div>
+<div class="line"><a name="l02419"></a><span class="lineno"> 2419</span>   <span class="keywordflow">case</span> Type::UnresolvedUsing:</div>
+<div class="line"><a name="l02420"></a><span class="lineno"> 2420</span>   <span class="keywordflow">case</span> Type::TypeOfExpr:</div>
+<div class="line"><a name="l02421"></a><span class="lineno"> 2421</span>   <span class="keywordflow">case</span> Type::TypeOf:</div>
+<div class="line"><a name="l02422"></a><span class="lineno"> 2422</span>   <span class="keywordflow">case</span> Type::Decltype:</div>
+<div class="line"><a name="l02423"></a><span class="lineno"> 2423</span>   <span class="keywordflow">case</span> Type::UnaryTransform:</div>
+<div class="line"><a name="l02424"></a><span class="lineno"> 2424</span>   <span class="keywordflow">case</span> Type::DependentName:</div>
+<div class="line"><a name="l02425"></a><span class="lineno"> 2425</span>   <span class="keywordflow">case</span> Type::InjectedClassName:</div>
+<div class="line"><a name="l02426"></a><span class="lineno"> 2426</span>   <span class="keywordflow">case</span> Type::TemplateSpecialization:</div>
+<div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>   <span class="keywordflow">case</span> Type::DependentTemplateSpecialization:</div>
+<div class="line"><a name="l02428"></a><span class="lineno"> 2428</span>   <span class="keywordflow">case</span> Type::TemplateTypeParm:</div>
+<div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>   <span class="keywordflow">case</span> Type::SubstTemplateTypeParmPack:</div>
+<div class="line"><a name="l02430"></a><span class="lineno"> 2430</span>   <span class="keywordflow">case</span> Type::Auto:</div>
+<div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>   <span class="keywordflow">case</span> Type::PackExpansion:</div>
+<div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>     llvm_unreachable(<span class="stringliteral">"type should never be variably-modified"</span>);</div>
+<div class="line"><a name="l02433"></a><span class="lineno"> 2433</span> </div>
+<div class="line"><a name="l02434"></a><span class="lineno"> 2434</span>   <span class="comment">// These types can be variably-modified but should never need to</span></div>
+<div class="line"><a name="l02435"></a><span class="lineno"> 2435</span>   <span class="comment">// further decay.</span></div>
+<div class="line"><a name="l02436"></a><span class="lineno"> 2436</span>   <span class="keywordflow">case</span> Type::FunctionNoProto:</div>
+<div class="line"><a name="l02437"></a><span class="lineno"> 2437</span>   <span class="keywordflow">case</span> Type::FunctionProto:</div>
+<div class="line"><a name="l02438"></a><span class="lineno"> 2438</span>   <span class="keywordflow">case</span> Type::BlockPointer:</div>
+<div class="line"><a name="l02439"></a><span class="lineno"> 2439</span>   <span class="keywordflow">case</span> Type::MemberPointer:</div>
+<div class="line"><a name="l02440"></a><span class="lineno"> 2440</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a>;</div>
+<div class="line"><a name="l02441"></a><span class="lineno"> 2441</span> </div>
+<div class="line"><a name="l02442"></a><span class="lineno"> 2442</span>   <span class="comment">// These types can be variably-modified.  All these modifications</span></div>
+<div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>   <span class="comment">// preserve structure except as noted by comments.</span></div>
+<div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>   <span class="comment">// TODO: if we ever care about optimizing VLAs, there are no-op</span></div>
+<div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>   <span class="comment">// optimizations available here.</span></div>
+<div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>   <span class="keywordflow">case</span> Type::Pointer:</div>
+<div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(<a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(</div>
+<div class="line"><a name="l02448"></a><span class="lineno"> 2448</span>                               cast<PointerType>(ty)->getPointeeType()));</div>
+<div class="line"><a name="l02449"></a><span class="lineno"> 2449</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02450"></a><span class="lineno"> 2450</span> </div>
+<div class="line"><a name="l02451"></a><span class="lineno"> 2451</span>   <span class="keywordflow">case</span> Type::LValueReference: {</div>
+<div class="line"><a name="l02452"></a><span class="lineno"> 2452</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a> *lv = cast<LValueReferenceType>(ty);</div>
+<div class="line"><a name="l02453"></a><span class="lineno"> 2453</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a606b062a2b948921c139286220a2549b" title="Return the uniqued reference to the type for an lvalue reference to the specified type...">getLValueReferenceType</a>(</div>
+<div class="line"><a name="l02454"></a><span class="lineno"> 2454</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(lv-><a class="code" href="classclang_1_1ReferenceType.html#a365c62bb573a3c4b55b4ce408f975ae3">getPointeeType</a>()),</div>
+<div class="line"><a name="l02455"></a><span class="lineno"> 2455</span>                                     lv-><a class="code" href="classclang_1_1ReferenceType.html#a026700d1c43cc43684e6d3364a37f88a">isSpelledAsLValue</a>());</div>
+<div class="line"><a name="l02456"></a><span class="lineno"> 2456</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02457"></a><span class="lineno"> 2457</span>   }</div>
+<div class="line"><a name="l02458"></a><span class="lineno"> 2458</span> </div>
+<div class="line"><a name="l02459"></a><span class="lineno"> 2459</span>   <span class="keywordflow">case</span> Type::RValueReference: {</div>
+<div class="line"><a name="l02460"></a><span class="lineno"> 2460</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a> *lv = cast<RValueReferenceType>(ty);</div>
+<div class="line"><a name="l02461"></a><span class="lineno"> 2461</span>     result = <a class="code" href="classclang_1_1ASTContext.html#af5defc197ad151ad115b4f2f3a444d57" title="Return the uniqued reference to the type for an rvalue reference to the specified type...">getRValueReferenceType</a>(</div>
+<div class="line"><a name="l02462"></a><span class="lineno"> 2462</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(lv-><a class="code" href="classclang_1_1ReferenceType.html#a365c62bb573a3c4b55b4ce408f975ae3">getPointeeType</a>()));</div>
+<div class="line"><a name="l02463"></a><span class="lineno"> 2463</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>   }</div>
+<div class="line"><a name="l02465"></a><span class="lineno"> 2465</span> </div>
+<div class="line"><a name="l02466"></a><span class="lineno"> 2466</span>   <span class="keywordflow">case</span> Type::Atomic: {</div>
+<div class="line"><a name="l02467"></a><span class="lineno"> 2467</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1AtomicType.html">AtomicType</a> *at = cast<AtomicType>(ty);</div>
+<div class="line"><a name="l02468"></a><span class="lineno"> 2468</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a2994a3d3276df0b9ac6b00c4972d5d55" title="Return the uniqued reference to the atomic type for the specified type.">getAtomicType</a>(<a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(at-><a class="code" href="classclang_1_1AtomicType.html#a00c483aa6cbb1980e6aa1c3d1f4ee847">getValueType</a>()));</div>
+<div class="line"><a name="l02469"></a><span class="lineno"> 2469</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02470"></a><span class="lineno"> 2470</span>   }</div>
+<div class="line"><a name="l02471"></a><span class="lineno"> 2471</span> </div>
+<div class="line"><a name="l02472"></a><span class="lineno"> 2472</span>   <span class="keywordflow">case</span> Type::ConstantArray: {</div>
+<div class="line"><a name="l02473"></a><span class="lineno"> 2473</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *cat = cast<ConstantArrayType>(ty);</div>
+<div class="line"><a name="l02474"></a><span class="lineno"> 2474</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a1dfd9aba04afad486b0dbbfc17de130b" title="Return the unique reference to the type for a constant array of the specified element type...">getConstantArrayType</a>(</div>
+<div class="line"><a name="l02475"></a><span class="lineno"> 2475</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(cat-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>()),</div>
+<div class="line"><a name="l02476"></a><span class="lineno"> 2476</span>                                   cat-><a class="code" href="classclang_1_1ConstantArrayType.html#add90924c309ad1f353431f2b63e9ba2b">getSize</a>(),</div>
+<div class="line"><a name="l02477"></a><span class="lineno"> 2477</span>                                   cat-><a class="code" href="classclang_1_1ArrayType.html#a2e6bb41232dd6894b4b12c4bba6506f0">getSizeModifier</a>(),</div>
+<div class="line"><a name="l02478"></a><span class="lineno"> 2478</span>                                   cat-><a class="code" href="classclang_1_1ArrayType.html#af1482f3b4fdc5bc2b166d70c99f17746">getIndexTypeCVRQualifiers</a>());</div>
+<div class="line"><a name="l02479"></a><span class="lineno"> 2479</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02480"></a><span class="lineno"> 2480</span>   }</div>
+<div class="line"><a name="l02481"></a><span class="lineno"> 2481</span> </div>
+<div class="line"><a name="l02482"></a><span class="lineno"> 2482</span>   <span class="keywordflow">case</span> Type::DependentSizedArray: {</div>
+<div class="line"><a name="l02483"></a><span class="lineno"> 2483</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a> *dat = cast<DependentSizedArrayType>(ty);</div>
+<div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>     result = <a class="code" href="classclang_1_1ASTContext.html#ae3fbffbe20514ea67afcb39b3b74e474" title="Return a non-unique reference to the type for a dependently-sized array of the specified element type...">getDependentSizedArrayType</a>(</div>
+<div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(dat-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>()),</div>
+<div class="line"><a name="l02486"></a><span class="lineno"> 2486</span>                                         dat-><a class="code" href="classclang_1_1DependentSizedArrayType.html#a7298e8e47bf638677a28b0a9cef7067c">getSizeExpr</a>(),</div>
+<div class="line"><a name="l02487"></a><span class="lineno"> 2487</span>                                         dat-><a class="code" href="classclang_1_1ArrayType.html#a2e6bb41232dd6894b4b12c4bba6506f0">getSizeModifier</a>(),</div>
+<div class="line"><a name="l02488"></a><span class="lineno"> 2488</span>                                         dat-><a class="code" href="classclang_1_1ArrayType.html#af1482f3b4fdc5bc2b166d70c99f17746">getIndexTypeCVRQualifiers</a>(),</div>
+<div class="line"><a name="l02489"></a><span class="lineno"> 2489</span>                                         dat-><a class="code" href="classclang_1_1DependentSizedArrayType.html#a8683f22f77054f3de4542feed67ff62f">getBracketsRange</a>());</div>
+<div class="line"><a name="l02490"></a><span class="lineno"> 2490</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02491"></a><span class="lineno"> 2491</span>   }</div>
+<div class="line"><a name="l02492"></a><span class="lineno"> 2492</span> </div>
+<div class="line"><a name="l02493"></a><span class="lineno"> 2493</span>   <span class="comment">// Turn incomplete types into [*] types.</span></div>
+<div class="line"><a name="l02494"></a><span class="lineno"> 2494</span>   <span class="keywordflow">case</span> Type::IncompleteArray: {</div>
+<div class="line"><a name="l02495"></a><span class="lineno"> 2495</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a> *iat = cast<IncompleteArrayType>(ty);</div>
+<div class="line"><a name="l02496"></a><span class="lineno"> 2496</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35" title="Return a non-unique reference to the type for a variable array of the specified element type...">getVariableArrayType</a>(</div>
+<div class="line"><a name="l02497"></a><span class="lineno"> 2497</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(iat-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>()),</div>
+<div class="line"><a name="l02498"></a><span class="lineno"> 2498</span>                                   <span class="comment">/*size*/</span> 0,</div>
+<div class="line"><a name="l02499"></a><span class="lineno"> 2499</span>                                   <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4a4c2f47d08e59b0457e60184462599c17">ArrayType::Normal</a>,</div>
+<div class="line"><a name="l02500"></a><span class="lineno"> 2500</span>                                   iat-><a class="code" href="classclang_1_1ArrayType.html#af1482f3b4fdc5bc2b166d70c99f17746">getIndexTypeCVRQualifiers</a>(),</div>
+<div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>                                   <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>());</div>
+<div class="line"><a name="l02502"></a><span class="lineno"> 2502</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>   }</div>
+<div class="line"><a name="l02504"></a><span class="lineno"> 2504</span> </div>
+<div class="line"><a name="l02505"></a><span class="lineno"> 2505</span>   <span class="comment">// Turn VLA types into [*] types.</span></div>
+<div class="line"><a name="l02506"></a><span class="lineno"> 2506</span>   <span class="keywordflow">case</span> Type::VariableArray: {</div>
+<div class="line"><a name="l02507"></a><span class="lineno"> 2507</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1VariableArrayType.html">VariableArrayType</a> *vat = cast<VariableArrayType>(ty);</div>
+<div class="line"><a name="l02508"></a><span class="lineno"> 2508</span>     result = <a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35" title="Return a non-unique reference to the type for a variable array of the specified element type...">getVariableArrayType</a>(</div>
+<div class="line"><a name="l02509"></a><span class="lineno"> 2509</span>                  <a class="code" href="classclang_1_1ASTContext.html#a903c5d90d49ea0954ac31a2530de0e31" title="Returns a vla type where known sizes are replaced with [*].">getVariableArrayDecayedType</a>(vat-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>()),</div>
+<div class="line"><a name="l02510"></a><span class="lineno"> 2510</span>                                   <span class="comment">/*size*/</span> 0,</div>
+<div class="line"><a name="l02511"></a><span class="lineno"> 2511</span>                                   <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4ab7515c281fcfefb38bc67fe5f08ccec8">ArrayType::Star</a>,</div>
+<div class="line"><a name="l02512"></a><span class="lineno"> 2512</span>                                   vat-><a class="code" href="classclang_1_1ArrayType.html#af1482f3b4fdc5bc2b166d70c99f17746">getIndexTypeCVRQualifiers</a>(),</div>
+<div class="line"><a name="l02513"></a><span class="lineno"> 2513</span>                                   vat-><a class="code" href="classclang_1_1VariableArrayType.html#a88bc9d6d756db38f960b3fe965a621f5">getBracketsRange</a>());</div>
+<div class="line"><a name="l02514"></a><span class="lineno"> 2514</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02515"></a><span class="lineno"> 2515</span>   }</div>
+<div class="line"><a name="l02516"></a><span class="lineno"> 2516</span>   }</div>
+<div class="line"><a name="l02517"></a><span class="lineno"> 2517</span> </div>
+<div class="line"><a name="l02518"></a><span class="lineno"> 2518</span>   <span class="comment">// Apply the top-level qualifiers from the original.</span></div>
+<div class="line"><a name="l02519"></a><span class="lineno"> 2519</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(result, split.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02520"></a><span class="lineno"> 2520</span> }</div>
+<div class="line"><a name="l02521"></a><span class="lineno"> 2521</span> <span class="comment"></span></div>
+<div class="line"><a name="l02522"></a><span class="lineno"> 2522</span> <span class="comment">/// getVariableArrayType - Returns a non-unique reference to the type for a</span></div>
+<div class="line"><a name="l02523"></a><span class="lineno"> 2523</span> <span class="comment">/// variable array of the specified element type.</span></div>
+<div class="line"><a name="l02524"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35"> 2524</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35" title="Return a non-unique reference to the type for a variable array of the specified element type...">ASTContext::getVariableArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> EltTy,</div>
+<div class="line"><a name="l02525"></a><span class="lineno"> 2525</span>                                           <a class="code" href="classclang_1_1Expr.html">Expr</a> *NumElts,</div>
+<div class="line"><a name="l02526"></a><span class="lineno"> 2526</span>                                           <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM,</div>
+<div class="line"><a name="l02527"></a><span class="lineno"> 2527</span>                                           <span class="keywordtype">unsigned</span> IndexTypeQuals,</div>
+<div class="line"><a name="l02528"></a><span class="lineno"> 2528</span>                                           <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Brackets)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02529"></a><span class="lineno"> 2529</span>   <span class="comment">// Since we don't unique expressions, it isn't possible to unique VLA's</span></div>
+<div class="line"><a name="l02530"></a><span class="lineno"> 2530</span>   <span class="comment">// that have an expression provided for their size.</span></div>
+<div class="line"><a name="l02531"></a><span class="lineno"> 2531</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon;</div>
+<div class="line"><a name="l02532"></a><span class="lineno"> 2532</span>   </div>
+<div class="line"><a name="l02533"></a><span class="lineno"> 2533</span>   <span class="comment">// Be sure to pull qualifiers off the element type.</span></div>
+<div class="line"><a name="l02534"></a><span class="lineno"> 2534</span>   <span class="keywordflow">if</span> (!EltTy.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>() || EltTy.<a class="code" href="classclang_1_1QualType.html#aaea13c31e0ef90d97220e4235cc7786e" title="Determine whether this particular QualType instance has any qualifiers, without looking through any t...">hasLocalQualifiers</a>()) {</div>
+<div class="line"><a name="l02535"></a><span class="lineno"> 2535</span>     <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> canonSplit = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(EltTy).<a class="code" href="classclang_1_1CanQual.html#a11308d3c199e62559802ef85562ccc1a">split</a>();</div>
+<div class="line"><a name="l02536"></a><span class="lineno"> 2536</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35" title="Return a non-unique reference to the type for a variable array of the specified element type...">getVariableArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0), NumElts, ASM,</div>
+<div class="line"><a name="l02537"></a><span class="lineno"> 2537</span>                                  IndexTypeQuals, Brackets);</div>
+<div class="line"><a name="l02538"></a><span class="lineno"> 2538</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(Canon, canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02539"></a><span class="lineno"> 2539</span>   }</div>
+<div class="line"><a name="l02540"></a><span class="lineno"> 2540</span>   </div>
+<div class="line"><a name="l02541"></a><span class="lineno"> 2541</span>   <a class="code" href="classclang_1_1VariableArrayType.html">VariableArrayType</a> *New = <span class="keyword">new</span>(*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02542"></a><span class="lineno"> 2542</span>     <a class="code" href="classclang_1_1VariableArrayType.html">VariableArrayType</a>(EltTy, Canon, NumElts, ASM, IndexTypeQuals, Brackets);</div>
+<div class="line"><a name="l02543"></a><span class="lineno"> 2543</span> </div>
+<div class="line"><a name="l02544"></a><span class="lineno"> 2544</span>   VariableArrayTypes.push_back(New);</div>
+<div class="line"><a name="l02545"></a><span class="lineno"> 2545</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02546"></a><span class="lineno"> 2546</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02547"></a><span class="lineno"> 2547</span> }</div>
+<div class="line"><a name="l02548"></a><span class="lineno"> 2548</span> <span class="comment"></span></div>
+<div class="line"><a name="l02549"></a><span class="lineno"> 2549</span> <span class="comment">/// getDependentSizedArrayType - Returns a non-unique reference to</span></div>
+<div class="line"><a name="l02550"></a><span class="lineno"> 2550</span> <span class="comment">/// the type for a dependently-sized array of the specified element</span></div>
+<div class="line"><a name="l02551"></a><span class="lineno"> 2551</span> <span class="comment">/// type.</span></div>
+<div class="line"><a name="l02552"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae3fbffbe20514ea67afcb39b3b74e474"> 2552</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ae3fbffbe20514ea67afcb39b3b74e474" title="Return a non-unique reference to the type for a dependently-sized array of the specified element type...">ASTContext::getDependentSizedArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> elementType,</div>
+<div class="line"><a name="l02553"></a><span class="lineno"> 2553</span>                                                 <a class="code" href="classclang_1_1Expr.html">Expr</a> *numElements,</div>
+<div class="line"><a name="l02554"></a><span class="lineno"> 2554</span>                                                 <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM,</div>
+<div class="line"><a name="l02555"></a><span class="lineno"> 2555</span>                                                 <span class="keywordtype">unsigned</span> elementTypeQuals,</div>
+<div class="line"><a name="l02556"></a><span class="lineno"> 2556</span>                                                 <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> brackets)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02557"></a><span class="lineno"> 2557</span>   assert((!numElements || numElements-><a class="code" href="classclang_1_1Expr.html#a48cd7038510f42d44e314d1b8d294824">isTypeDependent</a>() || </div>
+<div class="line"><a name="l02558"></a><span class="lineno"> 2558</span>           numElements-><a class="code" href="classclang_1_1Expr.html#a34f1652a9072dfd3c7119d23e1a14fa5">isValueDependent</a>()) &&</div>
+<div class="line"><a name="l02559"></a><span class="lineno"> 2559</span>          <span class="stringliteral">"Size must be type- or value-dependent!"</span>);</div>
+<div class="line"><a name="l02560"></a><span class="lineno"> 2560</span> </div>
+<div class="line"><a name="l02561"></a><span class="lineno"> 2561</span>   <span class="comment">// Dependently-sized array types that do not have a specified number</span></div>
+<div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>   <span class="comment">// of elements will have their sizes deduced from a dependent</span></div>
+<div class="line"><a name="l02563"></a><span class="lineno"> 2563</span>   <span class="comment">// initializer.  We do no canonicalization here at all, which is okay</span></div>
+<div class="line"><a name="l02564"></a><span class="lineno"> 2564</span>   <span class="comment">// because they can't be used in most locations.</span></div>
+<div class="line"><a name="l02565"></a><span class="lineno"> 2565</span>   <span class="keywordflow">if</span> (!numElements) {</div>
+<div class="line"><a name="l02566"></a><span class="lineno"> 2566</span>     <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a> *newType</div>
+<div class="line"><a name="l02567"></a><span class="lineno"> 2567</span>       = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02568"></a><span class="lineno"> 2568</span>           <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a>(*<span class="keyword">this</span>, elementType, <a class="code" href="classclang_1_1QualType.html">QualType</a>(),</div>
+<div class="line"><a name="l02569"></a><span class="lineno"> 2569</span>                                   numElements, ASM, elementTypeQuals,</div>
+<div class="line"><a name="l02570"></a><span class="lineno"> 2570</span>                                   brackets);</div>
+<div class="line"><a name="l02571"></a><span class="lineno"> 2571</span>     Types.push_back(newType);</div>
+<div class="line"><a name="l02572"></a><span class="lineno"> 2572</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(newType, 0);</div>
+<div class="line"><a name="l02573"></a><span class="lineno"> 2573</span>   }</div>
+<div class="line"><a name="l02574"></a><span class="lineno"> 2574</span> </div>
+<div class="line"><a name="l02575"></a><span class="lineno"> 2575</span>   <span class="comment">// Otherwise, we actually build a new type every time, but we</span></div>
+<div class="line"><a name="l02576"></a><span class="lineno"> 2576</span>   <span class="comment">// also build a canonical type.</span></div>
+<div class="line"><a name="l02577"></a><span class="lineno"> 2577</span> </div>
+<div class="line"><a name="l02578"></a><span class="lineno"> 2578</span>   <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> canonElementType = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(elementType).<a class="code" href="classclang_1_1CanQual.html#a11308d3c199e62559802ef85562ccc1a">split</a>();</div>
+<div class="line"><a name="l02579"></a><span class="lineno"> 2579</span> </div>
+<div class="line"><a name="l02580"></a><span class="lineno"> 2580</span>   <span class="keywordtype">void</span> *insertPos = 0;</div>
+<div class="line"><a name="l02581"></a><span class="lineno"> 2581</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02582"></a><span class="lineno"> 2582</span>   <a class="code" href="classclang_1_1DependentSizedArrayType.html#a581f671d72684809aae2d2cc3e14ef8e">DependentSizedArrayType::Profile</a>(ID, *<span class="keyword">this</span>,</div>
+<div class="line"><a name="l02583"></a><span class="lineno"> 2583</span>                                    <a class="code" href="classclang_1_1QualType.html">QualType</a>(canonElementType.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0),</div>
+<div class="line"><a name="l02584"></a><span class="lineno"> 2584</span>                                    ASM, elementTypeQuals, numElements);</div>
+<div class="line"><a name="l02585"></a><span class="lineno"> 2585</span> </div>
+<div class="line"><a name="l02586"></a><span class="lineno"> 2586</span>   <span class="comment">// Look for an existing type with these properties.</span></div>
+<div class="line"><a name="l02587"></a><span class="lineno"> 2587</span>   <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a> *canonTy =</div>
+<div class="line"><a name="l02588"></a><span class="lineno"> 2588</span>     DependentSizedArrayTypes.FindNodeOrInsertPos(ID, insertPos);</div>
+<div class="line"><a name="l02589"></a><span class="lineno"> 2589</span> </div>
+<div class="line"><a name="l02590"></a><span class="lineno"> 2590</span>   <span class="comment">// If we don't have one, build one.</span></div>
+<div class="line"><a name="l02591"></a><span class="lineno"> 2591</span>   <span class="keywordflow">if</span> (!canonTy) {</div>
+<div class="line"><a name="l02592"></a><span class="lineno"> 2592</span>     canonTy = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02593"></a><span class="lineno"> 2593</span>       <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a>(*<span class="keyword">this</span>, <a class="code" href="classclang_1_1QualType.html">QualType</a>(canonElementType.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0),</div>
+<div class="line"><a name="l02594"></a><span class="lineno"> 2594</span>                               <a class="code" href="classclang_1_1QualType.html">QualType</a>(), numElements, ASM, elementTypeQuals,</div>
+<div class="line"><a name="l02595"></a><span class="lineno"> 2595</span>                               brackets);</div>
+<div class="line"><a name="l02596"></a><span class="lineno"> 2596</span>     DependentSizedArrayTypes.InsertNode(canonTy, insertPos);</div>
+<div class="line"><a name="l02597"></a><span class="lineno"> 2597</span>     Types.push_back(canonTy);</div>
+<div class="line"><a name="l02598"></a><span class="lineno"> 2598</span>   }</div>
+<div class="line"><a name="l02599"></a><span class="lineno"> 2599</span> </div>
+<div class="line"><a name="l02600"></a><span class="lineno"> 2600</span>   <span class="comment">// Apply qualifiers from the element type to the array.</span></div>
+<div class="line"><a name="l02601"></a><span class="lineno"> 2601</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> canon = <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(canonTy,0),</div>
+<div class="line"><a name="l02602"></a><span class="lineno"> 2602</span>                                     canonElementType.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02603"></a><span class="lineno"> 2603</span> </div>
+<div class="line"><a name="l02604"></a><span class="lineno"> 2604</span>   <span class="comment">// If we didn't need extra canonicalization for the element type,</span></div>
+<div class="line"><a name="l02605"></a><span class="lineno"> 2605</span>   <span class="comment">// then just use that as our result.</span></div>
+<div class="line"><a name="l02606"></a><span class="lineno"> 2606</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1QualType.html">QualType</a>(canonElementType.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0) == elementType)</div>
+<div class="line"><a name="l02607"></a><span class="lineno"> 2607</span>     <span class="keywordflow">return</span> canon;</div>
+<div class="line"><a name="l02608"></a><span class="lineno"> 2608</span> </div>
+<div class="line"><a name="l02609"></a><span class="lineno"> 2609</span>   <span class="comment">// Otherwise, we need to build a type which follows the spelling</span></div>
+<div class="line"><a name="l02610"></a><span class="lineno"> 2610</span>   <span class="comment">// of the element type.</span></div>
+<div class="line"><a name="l02611"></a><span class="lineno"> 2611</span>   <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a> *sugaredType</div>
+<div class="line"><a name="l02612"></a><span class="lineno"> 2612</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02613"></a><span class="lineno"> 2613</span>         <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a>(*<span class="keyword">this</span>, elementType, canon, numElements,</div>
+<div class="line"><a name="l02614"></a><span class="lineno"> 2614</span>                                 ASM, elementTypeQuals, brackets);</div>
+<div class="line"><a name="l02615"></a><span class="lineno"> 2615</span>   Types.push_back(sugaredType);</div>
+<div class="line"><a name="l02616"></a><span class="lineno"> 2616</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(sugaredType, 0);</div>
+<div class="line"><a name="l02617"></a><span class="lineno"> 2617</span> }</div>
+<div class="line"><a name="l02618"></a><span class="lineno"> 2618</span> </div>
+<div class="line"><a name="l02619"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a66de3f90de039d0bc274b58f06e23ddd"> 2619</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a66de3f90de039d0bc274b58f06e23ddd" title="Return a unique reference to the type for an incomplete array of the specified element type...">ASTContext::getIncompleteArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> elementType,</div>
+<div class="line"><a name="l02620"></a><span class="lineno"> 2620</span>                                             <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM,</div>
+<div class="line"><a name="l02621"></a><span class="lineno"> 2621</span>                                             <span class="keywordtype">unsigned</span> elementTypeQuals)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02622"></a><span class="lineno"> 2622</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02623"></a><span class="lineno"> 2623</span>   <a class="code" href="classclang_1_1IncompleteArrayType.html#a3c2984a8d5e25dafd5b922bddb6f80a0">IncompleteArrayType::Profile</a>(ID, elementType, ASM, elementTypeQuals);</div>
+<div class="line"><a name="l02624"></a><span class="lineno"> 2624</span> </div>
+<div class="line"><a name="l02625"></a><span class="lineno"> 2625</span>   <span class="keywordtype">void</span> *insertPos = 0;</div>
+<div class="line"><a name="l02626"></a><span class="lineno"> 2626</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a> *iat =</div>
+<div class="line"><a name="l02627"></a><span class="lineno"> 2627</span>        IncompleteArrayTypes.FindNodeOrInsertPos(ID, insertPos))</div>
+<div class="line"><a name="l02628"></a><span class="lineno"> 2628</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(iat, 0);</div>
+<div class="line"><a name="l02629"></a><span class="lineno"> 2629</span> </div>
+<div class="line"><a name="l02630"></a><span class="lineno"> 2630</span>   <span class="comment">// If the element type isn't canonical, this won't be a canonical type</span></div>
+<div class="line"><a name="l02631"></a><span class="lineno"> 2631</span>   <span class="comment">// either, so fill in the canonical type field.  We also have to pull</span></div>
+<div class="line"><a name="l02632"></a><span class="lineno"> 2632</span>   <span class="comment">// qualifiers off the element type.</span></div>
+<div class="line"><a name="l02633"></a><span class="lineno"> 2633</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> canon;</div>
+<div class="line"><a name="l02634"></a><span class="lineno"> 2634</span> </div>
+<div class="line"><a name="l02635"></a><span class="lineno"> 2635</span>   <span class="keywordflow">if</span> (!elementType.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>() || elementType.<a class="code" href="classclang_1_1QualType.html#aaea13c31e0ef90d97220e4235cc7786e" title="Determine whether this particular QualType instance has any qualifiers, without looking through any t...">hasLocalQualifiers</a>()) {</div>
+<div class="line"><a name="l02636"></a><span class="lineno"> 2636</span>     <a class="code" href="structclang_1_1SplitQualType.html">SplitQualType</a> canonSplit = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(elementType).<a class="code" href="classclang_1_1CanQual.html#a11308d3c199e62559802ef85562ccc1a">split</a>();</div>
+<div class="line"><a name="l02637"></a><span class="lineno"> 2637</span>     canon = <a class="code" href="classclang_1_1ASTContext.html#a66de3f90de039d0bc274b58f06e23ddd" title="Return a unique reference to the type for an incomplete array of the specified element type...">getIncompleteArrayType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#a9b32923b827f51a3aec59b971c105ce7" title="The locally-unqualified type.">Ty</a>, 0),</div>
+<div class="line"><a name="l02638"></a><span class="lineno"> 2638</span>                                    ASM, elementTypeQuals);</div>
+<div class="line"><a name="l02639"></a><span class="lineno"> 2639</span>     canon = <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(canon, canonSplit.<a class="code" href="structclang_1_1SplitQualType.html#ae72870b2d6460e848856998c1e3573f9" title="The local qualifiers.">Quals</a>);</div>
+<div class="line"><a name="l02640"></a><span class="lineno"> 2640</span> </div>
+<div class="line"><a name="l02641"></a><span class="lineno"> 2641</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02642"></a><span class="lineno"> 2642</span>     <a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a> *existing =</div>
+<div class="line"><a name="l02643"></a><span class="lineno"> 2643</span>       IncompleteArrayTypes.FindNodeOrInsertPos(ID, insertPos);</div>
+<div class="line"><a name="l02644"></a><span class="lineno"> 2644</span>     assert(!existing && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void) existing;</div>
+<div class="line"><a name="l02645"></a><span class="lineno"> 2645</span>   }</div>
+<div class="line"><a name="l02646"></a><span class="lineno"> 2646</span> </div>
+<div class="line"><a name="l02647"></a><span class="lineno"> 2647</span>   <a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a> *newType = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02648"></a><span class="lineno"> 2648</span>     <a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a>(elementType, canon, ASM, elementTypeQuals);</div>
+<div class="line"><a name="l02649"></a><span class="lineno"> 2649</span> </div>
+<div class="line"><a name="l02650"></a><span class="lineno"> 2650</span>   IncompleteArrayTypes.InsertNode(newType, insertPos);</div>
+<div class="line"><a name="l02651"></a><span class="lineno"> 2651</span>   Types.push_back(newType);</div>
+<div class="line"><a name="l02652"></a><span class="lineno"> 2652</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(newType, 0);</div>
+<div class="line"><a name="l02653"></a><span class="lineno"> 2653</span> }</div>
+<div class="line"><a name="l02654"></a><span class="lineno"> 2654</span> <span class="comment"></span></div>
+<div class="line"><a name="l02655"></a><span class="lineno"> 2655</span> <span class="comment">/// getVectorType - Return the unique reference to a vector type of</span></div>
+<div class="line"><a name="l02656"></a><span class="lineno"> 2656</span> <span class="comment">/// the specified element type and size. VectorType must be a built-in type.</span></div>
+<div class="line"><a name="l02657"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a9ede456580df03d5d74568b3c533eaa9"> 2657</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a9ede456580df03d5d74568b3c533eaa9" title="Return the unique reference to a vector type of the specified element type and size.">ASTContext::getVectorType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> vecType, <span class="keywordtype">unsigned</span> NumElts,</div>
+<div class="line"><a name="l02658"></a><span class="lineno"> 2658</span>                                    <a class="code" href="classclang_1_1VectorType.html#a807990d3b88bf4e957936b17f7a4c45c">VectorType::VectorKind</a> VecKind)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02659"></a><span class="lineno"> 2659</span>   assert(vecType-><a class="code" href="classclang_1_1Type.html#aca18b319c5f725425b9479486319d333" title="isBuiltinType - returns true if the type is a builtin type.">isBuiltinType</a>());</div>
+<div class="line"><a name="l02660"></a><span class="lineno"> 2660</span> </div>
+<div class="line"><a name="l02661"></a><span class="lineno"> 2661</span>   <span class="comment">// Check if we've already instantiated a vector of this type.</span></div>
+<div class="line"><a name="l02662"></a><span class="lineno"> 2662</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02663"></a><span class="lineno"> 2663</span>   <a class="code" href="classclang_1_1VectorType.html#a0fbfe6df9c912393455a190b7e6923cb">VectorType::Profile</a>(ID, vecType, NumElts, Type::Vector, VecKind);</div>
+<div class="line"><a name="l02664"></a><span class="lineno"> 2664</span> </div>
+<div class="line"><a name="l02665"></a><span class="lineno"> 2665</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02666"></a><span class="lineno"> 2666</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1VectorType.html">VectorType</a> *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02667"></a><span class="lineno"> 2667</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(VTP, 0);</div>
+<div class="line"><a name="l02668"></a><span class="lineno"> 2668</span> </div>
+<div class="line"><a name="l02669"></a><span class="lineno"> 2669</span>   <span class="comment">// If the element type isn't canonical, this won't be a canonical type either,</span></div>
+<div class="line"><a name="l02670"></a><span class="lineno"> 2670</span>   <span class="comment">// so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02671"></a><span class="lineno"> 2671</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02672"></a><span class="lineno"> 2672</span>   <span class="keywordflow">if</span> (!vecType.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02673"></a><span class="lineno"> 2673</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a9ede456580df03d5d74568b3c533eaa9" title="Return the unique reference to a vector type of the specified element type and size.">getVectorType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(vecType), NumElts, VecKind);</div>
+<div class="line"><a name="l02674"></a><span class="lineno"> 2674</span> </div>
+<div class="line"><a name="l02675"></a><span class="lineno"> 2675</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02676"></a><span class="lineno"> 2676</span>     <a class="code" href="classclang_1_1VectorType.html">VectorType</a> *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02677"></a><span class="lineno"> 2677</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02678"></a><span class="lineno"> 2678</span>   }</div>
+<div class="line"><a name="l02679"></a><span class="lineno"> 2679</span>   <a class="code" href="classclang_1_1VectorType.html">VectorType</a> *New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>     <a class="code" href="classclang_1_1VectorType.html">VectorType</a>(vecType, NumElts, Canonical, VecKind);</div>
+<div class="line"><a name="l02681"></a><span class="lineno"> 2681</span>   VectorTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02682"></a><span class="lineno"> 2682</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02683"></a><span class="lineno"> 2683</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02684"></a><span class="lineno"> 2684</span> }</div>
+<div class="line"><a name="l02685"></a><span class="lineno"> 2685</span> <span class="comment"></span></div>
+<div class="line"><a name="l02686"></a><span class="lineno"> 2686</span> <span class="comment">/// getExtVectorType - Return the unique reference to an extended vector type of</span></div>
+<div class="line"><a name="l02687"></a><span class="lineno"> 2687</span> <span class="comment">/// the specified element type and size. VectorType must be a built-in type.</span></div>
+<div class="line"><a name="l02688"></a><span class="lineno"> 2688</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02689"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a083cfef8b192871196e505a9295a77ad"> 2689</a></span> <a class="code" href="classclang_1_1ASTContext.html#a083cfef8b192871196e505a9295a77ad" title="Return the unique reference to an extended vector type of the specified element type and size...">ASTContext::getExtVectorType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> vecType, <span class="keywordtype">unsigned</span> NumElts)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02690"></a><span class="lineno"> 2690</span>   assert(vecType-><a class="code" href="classclang_1_1Type.html#aca18b319c5f725425b9479486319d333" title="isBuiltinType - returns true if the type is a builtin type.">isBuiltinType</a>() || vecType-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>());</div>
+<div class="line"><a name="l02691"></a><span class="lineno"> 2691</span> </div>
+<div class="line"><a name="l02692"></a><span class="lineno"> 2692</span>   <span class="comment">// Check if we've already instantiated a vector of this type.</span></div>
+<div class="line"><a name="l02693"></a><span class="lineno"> 2693</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02694"></a><span class="lineno"> 2694</span>   <a class="code" href="classclang_1_1VectorType.html#a0fbfe6df9c912393455a190b7e6923cb">VectorType::Profile</a>(ID, vecType, NumElts, Type::ExtVector,</div>
+<div class="line"><a name="l02695"></a><span class="lineno"> 2695</span>                       <a class="code" href="classclang_1_1VectorType.html#a807990d3b88bf4e957936b17f7a4c45ca7898e4f62492152901a72e442e78ac1d">VectorType::GenericVector</a>);</div>
+<div class="line"><a name="l02696"></a><span class="lineno"> 2696</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02697"></a><span class="lineno"> 2697</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1VectorType.html">VectorType</a> *VTP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02698"></a><span class="lineno"> 2698</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(VTP, 0);</div>
+<div class="line"><a name="l02699"></a><span class="lineno"> 2699</span> </div>
+<div class="line"><a name="l02700"></a><span class="lineno"> 2700</span>   <span class="comment">// If the element type isn't canonical, this won't be a canonical type either,</span></div>
+<div class="line"><a name="l02701"></a><span class="lineno"> 2701</span>   <span class="comment">// so fill in the canonical type field.</span></div>
+<div class="line"><a name="l02702"></a><span class="lineno"> 2702</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02703"></a><span class="lineno"> 2703</span>   <span class="keywordflow">if</span> (!vecType.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02704"></a><span class="lineno"> 2704</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a083cfef8b192871196e505a9295a77ad" title="Return the unique reference to an extended vector type of the specified element type and size...">getExtVectorType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(vecType), NumElts);</div>
+<div class="line"><a name="l02705"></a><span class="lineno"> 2705</span> </div>
+<div class="line"><a name="l02706"></a><span class="lineno"> 2706</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02707"></a><span class="lineno"> 2707</span>     <a class="code" href="classclang_1_1VectorType.html">VectorType</a> *NewIP = VectorTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02708"></a><span class="lineno"> 2708</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02709"></a><span class="lineno"> 2709</span>   }</div>
+<div class="line"><a name="l02710"></a><span class="lineno"> 2710</span>   <a class="code" href="classclang_1_1ExtVectorType.html">ExtVectorType</a> *New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02711"></a><span class="lineno"> 2711</span>     <a class="code" href="classclang_1_1ExtVectorType.html">ExtVectorType</a>(vecType, NumElts, Canonical);</div>
+<div class="line"><a name="l02712"></a><span class="lineno"> 2712</span>   VectorTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02713"></a><span class="lineno"> 2713</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02714"></a><span class="lineno"> 2714</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02715"></a><span class="lineno"> 2715</span> }</div>
+<div class="line"><a name="l02716"></a><span class="lineno"> 2716</span> </div>
+<div class="line"><a name="l02717"></a><span class="lineno"> 2717</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02718"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a940a367d401d0e0536895c51b1ee163e"> 2718</a></span> <a class="code" href="classclang_1_1ASTContext.html#a940a367d401d0e0536895c51b1ee163e">ASTContext::getDependentSizedExtVectorType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> vecType,</div>
+<div class="line"><a name="l02719"></a><span class="lineno"> 2719</span>                                            <a class="code" href="classclang_1_1Expr.html">Expr</a> *SizeExpr,</div>
+<div class="line"><a name="l02720"></a><span class="lineno"> 2720</span>                                            <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> AttrLoc)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02721"></a><span class="lineno"> 2721</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02722"></a><span class="lineno"> 2722</span>   <a class="code" href="classclang_1_1DependentSizedExtVectorType.html#afdd0322b8e405a066c4a8c21ea338376">DependentSizedExtVectorType::Profile</a>(ID, *<span class="keyword">this</span>, <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(vecType),</div>
+<div class="line"><a name="l02723"></a><span class="lineno"> 2723</span>                                        SizeExpr);</div>
+<div class="line"><a name="l02724"></a><span class="lineno"> 2724</span> </div>
+<div class="line"><a name="l02725"></a><span class="lineno"> 2725</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02726"></a><span class="lineno"> 2726</span>   <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a> *Canon</div>
+<div class="line"><a name="l02727"></a><span class="lineno"> 2727</span>     = DependentSizedExtVectorTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02728"></a><span class="lineno"> 2728</span>   <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a> *New;</div>
+<div class="line"><a name="l02729"></a><span class="lineno"> 2729</span>   <span class="keywordflow">if</span> (Canon) {</div>
+<div class="line"><a name="l02730"></a><span class="lineno"> 2730</span>     <span class="comment">// We already have a canonical version of this array type; use it as</span></div>
+<div class="line"><a name="l02731"></a><span class="lineno"> 2731</span>     <span class="comment">// the canonical type for a newly-built type.</span></div>
+<div class="line"><a name="l02732"></a><span class="lineno"> 2732</span>     New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02733"></a><span class="lineno"> 2733</span>       <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a>(*<span class="keyword">this</span>, vecType, <a class="code" href="classclang_1_1QualType.html">QualType</a>(Canon, 0),</div>
+<div class="line"><a name="l02734"></a><span class="lineno"> 2734</span>                                   SizeExpr, AttrLoc);</div>
+<div class="line"><a name="l02735"></a><span class="lineno"> 2735</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02736"></a><span class="lineno"> 2736</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> CanonVecTy = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(vecType);</div>
+<div class="line"><a name="l02737"></a><span class="lineno"> 2737</span>     <span class="keywordflow">if</span> (CanonVecTy == vecType) {</div>
+<div class="line"><a name="l02738"></a><span class="lineno"> 2738</span>       New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02739"></a><span class="lineno"> 2739</span>         <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a>(*<span class="keyword">this</span>, vecType, <a class="code" href="classclang_1_1QualType.html">QualType</a>(), SizeExpr,</div>
+<div class="line"><a name="l02740"></a><span class="lineno"> 2740</span>                                     AttrLoc);</div>
+<div class="line"><a name="l02741"></a><span class="lineno"> 2741</span> </div>
+<div class="line"><a name="l02742"></a><span class="lineno"> 2742</span>       <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a> *CanonCheck</div>
+<div class="line"><a name="l02743"></a><span class="lineno"> 2743</span>         = DependentSizedExtVectorTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02744"></a><span class="lineno"> 2744</span>       assert(!CanonCheck && <span class="stringliteral">"Dependent-sized ext_vector canonical type broken"</span>);</div>
+<div class="line"><a name="l02745"></a><span class="lineno"> 2745</span>       (void)CanonCheck;</div>
+<div class="line"><a name="l02746"></a><span class="lineno"> 2746</span>       DependentSizedExtVectorTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02747"></a><span class="lineno"> 2747</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02748"></a><span class="lineno"> 2748</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon = <a class="code" href="classclang_1_1ASTContext.html#a940a367d401d0e0536895c51b1ee163e">getDependentSizedExtVectorType</a>(CanonVecTy, SizeExpr,</div>
+<div class="line"><a name="l02749"></a><span class="lineno"> 2749</span>                                                       <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l02750"></a><span class="lineno"> 2750</span>       New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) </div>
+<div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>         <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a>(*<span class="keyword">this</span>, vecType, Canon, SizeExpr, AttrLoc);</div>
+<div class="line"><a name="l02752"></a><span class="lineno"> 2752</span>     }</div>
+<div class="line"><a name="l02753"></a><span class="lineno"> 2753</span>   }</div>
+<div class="line"><a name="l02754"></a><span class="lineno"> 2754</span> </div>
+<div class="line"><a name="l02755"></a><span class="lineno"> 2755</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02756"></a><span class="lineno"> 2756</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02757"></a><span class="lineno"> 2757</span> }</div>
+<div class="line"><a name="l02758"></a><span class="lineno"> 2758</span> <span class="comment"></span></div>
+<div class="line"><a name="l02759"></a><span class="lineno"> 2759</span> <span class="comment">/// getFunctionNoProtoType - Return a K&R style C function type like 'int()'.</span></div>
+<div class="line"><a name="l02760"></a><span class="lineno"> 2760</span> <span class="comment">///</span></div>
+<div class="line"><a name="l02761"></a><span class="lineno"> 2761</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02762"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a5f935beb13cff87f834784b26504f2f3"> 2762</a></span> <a class="code" href="classclang_1_1ASTContext.html#a5f935beb13cff87f834784b26504f2f3" title="Return a K&R style C function type like 'int()'.">ASTContext::getFunctionNoProtoType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> ResultTy,</div>
+<div class="line"><a name="l02763"></a><span class="lineno"> 2763</span>                                    <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionType::ExtInfo</a> &Info)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02764"></a><span class="lineno"> 2764</span>   <span class="keyword">const</span> <a class="code" href="namespaceclang.html#ae6d16e133294b0b9c8c8d3108aadd25b" title="CallingConv - Specifies the calling convention that a function uses.">CallingConv</a> CallConv = Info.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#a8f7f2256b071196f5331f6d9bafc6da5">getCC</a>();</div>
+<div class="line"><a name="l02765"></a><span class="lineno"> 2765</span> </div>
+<div class="line"><a name="l02766"></a><span class="lineno"> 2766</span>   <span class="comment">// Unique functions, to guarantee there is only one function of a particular</span></div>
+<div class="line"><a name="l02767"></a><span class="lineno"> 2767</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02768"></a><span class="lineno"> 2768</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02769"></a><span class="lineno"> 2769</span>   <a class="code" href="classclang_1_1FunctionNoProtoType.html#ac2971ab379c3b13a109bcac4fb4aa9ee">FunctionNoProtoType::Profile</a>(ID, ResultTy, Info);</div>
+<div class="line"><a name="l02770"></a><span class="lineno"> 2770</span> </div>
+<div class="line"><a name="l02771"></a><span class="lineno"> 2771</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02772"></a><span class="lineno"> 2772</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a> *FT =</div>
+<div class="line"><a name="l02773"></a><span class="lineno"> 2773</span>         FunctionNoProtoTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02774"></a><span class="lineno"> 2774</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(FT, 0);</div>
+<div class="line"><a name="l02775"></a><span class="lineno"> 2775</span> </div>
+<div class="line"><a name="l02776"></a><span class="lineno"> 2776</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02777"></a><span class="lineno"> 2777</span>   <span class="keywordflow">if</span> (!ResultTy.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l02778"></a><span class="lineno"> 2778</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a5f935beb13cff87f834784b26504f2f3" title="Return a K&R style C function type like 'int()'.">getFunctionNoProtoType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(ResultTy), Info);</div>
+<div class="line"><a name="l02779"></a><span class="lineno"> 2779</span> </div>
+<div class="line"><a name="l02780"></a><span class="lineno"> 2780</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02781"></a><span class="lineno"> 2781</span>     <a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a> *NewIP =</div>
+<div class="line"><a name="l02782"></a><span class="lineno"> 2782</span>       FunctionNoProtoTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02783"></a><span class="lineno"> 2783</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02784"></a><span class="lineno"> 2784</span>   }</div>
+<div class="line"><a name="l02785"></a><span class="lineno"> 2785</span> </div>
+<div class="line"><a name="l02786"></a><span class="lineno"> 2786</span>   <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionProtoType::ExtInfo</a> newInfo = Info.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#a5762eb39dea9398e10f1c4a40b05dc4c">withCallingConv</a>(CallConv);</div>
+<div class="line"><a name="l02787"></a><span class="lineno"> 2787</span>   <a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a> *New = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02788"></a><span class="lineno"> 2788</span>     <a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a>(ResultTy, Canonical, newInfo);</div>
+<div class="line"><a name="l02789"></a><span class="lineno"> 2789</span>   Types.push_back(New);</div>
+<div class="line"><a name="l02790"></a><span class="lineno"> 2790</span>   FunctionNoProtoTypes.InsertNode(New, InsertPos);</div>
+<div class="line"><a name="l02791"></a><span class="lineno"> 2791</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(New, 0);</div>
+<div class="line"><a name="l02792"></a><span class="lineno"> 2792</span> }</div>
+<div class="line"><a name="l02793"></a><span class="lineno"> 2793</span> <span class="comment"></span></div>
+<div class="line"><a name="l02794"></a><span class="lineno"> 2794</span> <span class="comment">/// \brief Determine whether \p T is canonical as the result type of a function.</span></div>
+<div class="line"><a name="l02795"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#aed15dd38322916c494da6783a074e719"> 2795</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTContext_8cpp.html#aed15dd38322916c494da6783a074e719" title="Determine whether T is canonical as the result type of a function.">isCanonicalResultType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> T) {</div>
+<div class="line"><a name="l02796"></a><span class="lineno"> 2796</span>   <span class="keywordflow">return</span> T.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>() &&</div>
+<div class="line"><a name="l02797"></a><span class="lineno"> 2797</span>          (T.<a class="code" href="classclang_1_1QualType.html#abf2b347a1ba0ed6b4fad08600273324f" title="getObjCLifetime - Returns lifetime attribute of this type.">getObjCLifetime</a>() == <a class="code" href="classclang_1_1Qualifiers.html#a1280e3f4075ff54f856987cf002ba300a29b319bca942e44bf183ca2749b072b3" title="There is no lifetime qualification on this type.">Qualifiers::OCL_None</a> ||</div>
+<div class="line"><a name="l02798"></a><span class="lineno"> 2798</span>           T.<a class="code" href="classclang_1_1QualType.html#abf2b347a1ba0ed6b4fad08600273324f" title="getObjCLifetime - Returns lifetime attribute of this type.">getObjCLifetime</a>() == <a class="code" href="classclang_1_1Qualifiers.html#a1280e3f4075ff54f856987cf002ba300a1868aff47acf923ca643cb6950363615">Qualifiers::OCL_ExplicitNone</a>);</div>
+<div class="line"><a name="l02799"></a><span class="lineno"> 2799</span> }</div>
+<div class="line"><a name="l02800"></a><span class="lineno"> 2800</span> <span class="comment"></span></div>
+<div class="line"><a name="l02801"></a><span class="lineno"> 2801</span> <span class="comment">/// getFunctionType - Return a normal function type with a typed argument</span></div>
+<div class="line"><a name="l02802"></a><span class="lineno"> 2802</span> <span class="comment">/// list.  isVariadic indicates whether the argument list includes '...'.</span></div>
+<div class="line"><a name="l02803"></a><span class="lineno"> 2803</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02804"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb"> 2804</a></span> <a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb" title="Return a normal function type with a typed argument list.">ASTContext::getFunctionType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> ResultTy, <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<QualType></a> ArgArray,</div>
+<div class="line"><a name="l02805"></a><span class="lineno"> 2805</span>                             <span class="keyword">const</span> <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> &EPI)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02806"></a><span class="lineno"> 2806</span>   <span class="keywordtype">size_t</span> NumArgs = ArgArray.size();</div>
+<div class="line"><a name="l02807"></a><span class="lineno"> 2807</span> </div>
+<div class="line"><a name="l02808"></a><span class="lineno"> 2808</span>   <span class="comment">// Unique functions, to guarantee there is only one function of a particular</span></div>
+<div class="line"><a name="l02809"></a><span class="lineno"> 2809</span>   <span class="comment">// structure.</span></div>
+<div class="line"><a name="l02810"></a><span class="lineno"> 2810</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l02811"></a><span class="lineno"> 2811</span>   <a class="code" href="classclang_1_1FunctionProtoType.html#a768c5c26d9dfd1e9f65a3606a892b5eb">FunctionProtoType::Profile</a>(ID, ResultTy, ArgArray.begin(), NumArgs, EPI,</div>
+<div class="line"><a name="l02812"></a><span class="lineno"> 2812</span>                              *<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02813"></a><span class="lineno"> 2813</span> </div>
+<div class="line"><a name="l02814"></a><span class="lineno"> 2814</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l02815"></a><span class="lineno"> 2815</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *FTP =</div>
+<div class="line"><a name="l02816"></a><span class="lineno"> 2816</span>         FunctionProtoTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l02817"></a><span class="lineno"> 2817</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(FTP, 0);</div>
+<div class="line"><a name="l02818"></a><span class="lineno"> 2818</span> </div>
+<div class="line"><a name="l02819"></a><span class="lineno"> 2819</span>   <span class="comment">// Determine whether the type being created is already canonical or not.</span></div>
+<div class="line"><a name="l02820"></a><span class="lineno"> 2820</span>   <span class="keywordtype">bool</span> isCanonical =</div>
+<div class="line"><a name="l02821"></a><span class="lineno"> 2821</span>     EPI.ExceptionSpecType == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ea8cabd964c552c9a643fd6e57bad90220" title="no exception specification">EST_None</a> && <a class="code" href="ASTContext_8cpp.html#aed15dd38322916c494da6783a074e719" title="Determine whether T is canonical as the result type of a function.">isCanonicalResultType</a>(ResultTy) &&</div>
+<div class="line"><a name="l02822"></a><span class="lineno"> 2822</span>     !EPI.HasTrailingReturn;</div>
+<div class="line"><a name="l02823"></a><span class="lineno"> 2823</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i != NumArgs && isCanonical; ++i)</div>
+<div class="line"><a name="l02824"></a><span class="lineno"> 2824</span>     <span class="keywordflow">if</span> (!ArgArray[i].isCanonicalAsParam())</div>
+<div class="line"><a name="l02825"></a><span class="lineno"> 2825</span>       isCanonical = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02826"></a><span class="lineno"> 2826</span> </div>
+<div class="line"><a name="l02827"></a><span class="lineno"> 2827</span>   <span class="comment">// If this type isn't canonical, get the canonical version of it.</span></div>
+<div class="line"><a name="l02828"></a><span class="lineno"> 2828</span>   <span class="comment">// The exception spec is not part of the canonical type.</span></div>
+<div class="line"><a name="l02829"></a><span class="lineno"> 2829</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical;</div>
+<div class="line"><a name="l02830"></a><span class="lineno"> 2830</span>   <span class="keywordflow">if</span> (!isCanonical) {</div>
+<div class="line"><a name="l02831"></a><span class="lineno"> 2831</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<QualType, 16></a> CanonicalArgs;</div>
+<div class="line"><a name="l02832"></a><span class="lineno"> 2832</span>     CanonicalArgs.reserve(NumArgs);</div>
+<div class="line"><a name="l02833"></a><span class="lineno"> 2833</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i != NumArgs; ++i)</div>
+<div class="line"><a name="l02834"></a><span class="lineno"> 2834</span>       CanonicalArgs.push_back(<a class="code" href="classclang_1_1ASTContext.html#aebe1c0862e34693bddd4683b51558e35" title="Return the canonical parameter type corresponding to the specific potentially non-canonical one...">getCanonicalParamType</a>(ArgArray[i]));</div>
+<div class="line"><a name="l02835"></a><span class="lineno"> 2835</span> </div>
+<div class="line"><a name="l02836"></a><span class="lineno"> 2836</span>     <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> CanonicalEPI = EPI;</div>
+<div class="line"><a name="l02837"></a><span class="lineno"> 2837</span>     CanonicalEPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#afb2176e3ecf6965c85a4d16fa3010dce">HasTrailingReturn</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02838"></a><span class="lineno"> 2838</span>     CanonicalEPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a397c16170f77b96329bf09a9fd0d7bbf">ExceptionSpecType</a> = <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ea8cabd964c552c9a643fd6e57bad90220" title="no exception specification">EST_None</a>;</div>
+<div class="line"><a name="l02839"></a><span class="lineno"> 2839</span>     CanonicalEPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a573e6e3a7b3f29e7e6c790a8a03fc30a">NumExceptions</a> = 0;</div>
+<div class="line"><a name="l02840"></a><span class="lineno"> 2840</span> </div>
+<div class="line"><a name="l02841"></a><span class="lineno"> 2841</span>     <span class="comment">// Result types do not have ARC lifetime qualifiers.</span></div>
+<div class="line"><a name="l02842"></a><span class="lineno"> 2842</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> CanResultTy = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(ResultTy);</div>
+<div class="line"><a name="l02843"></a><span class="lineno"> 2843</span>     <span class="keywordflow">if</span> (ResultTy.<a class="code" href="classclang_1_1QualType.html#a4a3d75cf019a2e769498ef8d6878888b" title="Retrieve the set of qualifiers applied to this type.">getQualifiers</a>().<a class="code" href="classclang_1_1Qualifiers.html#aeb4f70f6bf4f8248170b71a5eebd2df1">hasObjCLifetime</a>()) {</div>
+<div class="line"><a name="l02844"></a><span class="lineno"> 2844</span>       <a class="code" href="classclang_1_1Qualifiers.html">Qualifiers</a> Qs = CanResultTy.<a class="code" href="classclang_1_1QualType.html#a4a3d75cf019a2e769498ef8d6878888b" title="Retrieve the set of qualifiers applied to this type.">getQualifiers</a>();</div>
+<div class="line"><a name="l02845"></a><span class="lineno"> 2845</span>       Qs.<a class="code" href="classclang_1_1Qualifiers.html#a15eb1c7a574f64ee8e68d1dd9f411f8c">removeObjCLifetime</a>();</div>
+<div class="line"><a name="l02846"></a><span class="lineno"> 2846</span>       CanResultTy = <a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(CanResultTy.<a class="code" href="classclang_1_1QualType.html#a5ddbce9d32b4f8043b641584599fe7e5" title="Retrieve the unqualified variant of the given type, removing as little sugar as possible.">getUnqualifiedType</a>(), Qs);</div>
+<div class="line"><a name="l02847"></a><span class="lineno"> 2847</span>     }</div>
+<div class="line"><a name="l02848"></a><span class="lineno"> 2848</span> </div>
+<div class="line"><a name="l02849"></a><span class="lineno"> 2849</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb" title="Return a normal function type with a typed argument list.">getFunctionType</a>(CanResultTy, CanonicalArgs, CanonicalEPI);</div>
+<div class="line"><a name="l02850"></a><span class="lineno"> 2850</span> </div>
+<div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>     <span class="comment">// Get the new insert position for the node we care about.</span></div>
+<div class="line"><a name="l02852"></a><span class="lineno"> 2852</span>     <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *NewIP =</div>
+<div class="line"><a name="l02853"></a><span class="lineno"> 2853</span>       FunctionProtoTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l02854"></a><span class="lineno"> 2854</span>     assert(NewIP == 0 && <span class="stringliteral">"Shouldn't be in the map!"</span>); (void)NewIP;</div>
+<div class="line"><a name="l02855"></a><span class="lineno"> 2855</span>   }</div>
+<div class="line"><a name="l02856"></a><span class="lineno"> 2856</span> </div>
+<div class="line"><a name="l02857"></a><span class="lineno"> 2857</span>   <span class="comment">// FunctionProtoType objects are allocated with extra bytes after</span></div>
+<div class="line"><a name="l02858"></a><span class="lineno"> 2858</span>   <span class="comment">// them for three variable size arrays at the end:</span></div>
+<div class="line"><a name="l02859"></a><span class="lineno"> 2859</span>   <span class="comment">//  - parameter types</span></div>
+<div class="line"><a name="l02860"></a><span class="lineno"> 2860</span>   <span class="comment">//  - exception types</span></div>
+<div class="line"><a name="l02861"></a><span class="lineno"> 2861</span>   <span class="comment">//  - consumed-arguments flags</span></div>
+<div class="line"><a name="l02862"></a><span class="lineno"> 2862</span>   <span class="comment">// Instead of the exception types, there could be a noexcept</span></div>
+<div class="line"><a name="l02863"></a><span class="lineno"> 2863</span>   <span class="comment">// expression, or information used to resolve the exception</span></div>
+<div class="line"><a name="l02864"></a><span class="lineno"> 2864</span>   <span class="comment">// specification.</span></div>
+<div class="line"><a name="l02865"></a><span class="lineno"> 2865</span>   <span class="keywordtype">size_t</span> Size = <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a>) +</div>
+<div class="line"><a name="l02866"></a><span class="lineno"> 2866</span>                 NumArgs * <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1QualType.html">QualType</a>);</div>
+<div class="line"><a name="l02867"></a><span class="lineno"> 2867</span>   <span class="keywordflow">if</span> (EPI.ExceptionSpecType == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eaf4e0e31c2f1227d7cf242aa7db6de5bd" title="throw(T1, T2)">EST_Dynamic</a>) {</div>
+<div class="line"><a name="l02868"></a><span class="lineno"> 2868</span>     Size += EPI.NumExceptions * <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1QualType.html">QualType</a>);</div>
+<div class="line"><a name="l02869"></a><span class="lineno"> 2869</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EPI.ExceptionSpecType == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eae88c93c6922c9b0f0850b72e78294e57" title="noexcept(expression)">EST_ComputedNoexcept</a>) {</div>
+<div class="line"><a name="l02870"></a><span class="lineno"> 2870</span>     Size += <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1Expr.html">Expr</a>*);</div>
+<div class="line"><a name="l02871"></a><span class="lineno"> 2871</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EPI.ExceptionSpecType == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ea5c47e4c2729a0db85f1534f536468533" title="not instantiated yet">EST_Uninstantiated</a>) {</div>
+<div class="line"><a name="l02872"></a><span class="lineno"> 2872</span>     Size += 2 * <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a>*);</div>
+<div class="line"><a name="l02873"></a><span class="lineno"> 2873</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EPI.ExceptionSpecType == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ead20bd279037259cf905259c48b900821" title="not evaluated yet, for special member function">EST_Unevaluated</a>) {</div>
+<div class="line"><a name="l02874"></a><span class="lineno"> 2874</span>     Size += <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a>*);</div>
+<div class="line"><a name="l02875"></a><span class="lineno"> 2875</span>   }</div>
+<div class="line"><a name="l02876"></a><span class="lineno"> 2876</span>   <span class="keywordflow">if</span> (EPI.ConsumedArguments)</div>
+<div class="line"><a name="l02877"></a><span class="lineno"> 2877</span>     Size += NumArgs * <span class="keyword">sizeof</span>(<a class="code" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a>);</div>
+<div class="line"><a name="l02878"></a><span class="lineno"> 2878</span> </div>
+<div class="line"><a name="l02879"></a><span class="lineno"> 2879</span>   <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *FTP = (<a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a>*) <a class="code" href="classclang_1_1ASTContext.html#a2b0efa9919a08d2fb955f3003c304aa9">Allocate</a>(Size, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>);</div>
+<div class="line"><a name="l02880"></a><span class="lineno"> 2880</span>   <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> newEPI = EPI;</div>
+<div class="line"><a name="l02881"></a><span class="lineno"> 2881</span>   <span class="keyword">new</span> (FTP) <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a>(ResultTy, ArgArray, Canonical, newEPI);</div>
+<div class="line"><a name="l02882"></a><span class="lineno"> 2882</span>   Types.push_back(FTP);</div>
+<div class="line"><a name="l02883"></a><span class="lineno"> 2883</span>   FunctionProtoTypes.InsertNode(FTP, InsertPos);</div>
+<div class="line"><a name="l02884"></a><span class="lineno"> 2884</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(FTP, 0);</div>
+<div class="line"><a name="l02885"></a><span class="lineno"> 2885</span> }</div>
+<div class="line"><a name="l02886"></a><span class="lineno"> 2886</span> </div>
+<div class="line"><a name="l02887"></a><span class="lineno"> 2887</span> <span class="preprocessor">#ifndef NDEBUG</span></div>
+<div class="line"><a name="l02888"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a1fd8a8b42d5187f0963521b574f03cfd"> 2888</a></span> <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTContext_8cpp.html#a1fd8a8b42d5187f0963521b574f03cfd">NeedsInjectedClassNameType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *D) {</div>
+<div class="line"><a name="l02889"></a><span class="lineno"> 2889</span>   <span class="keywordflow">if</span> (!isa<CXXRecordDecl>(D)) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02890"></a><span class="lineno"> 2890</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD = cast<CXXRecordDecl>(D);</div>
+<div class="line"><a name="l02891"></a><span class="lineno"> 2891</span>   <span class="keywordflow">if</span> (isa<ClassTemplatePartialSpecializationDecl>(RD))</div>
+<div class="line"><a name="l02892"></a><span class="lineno"> 2892</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02893"></a><span class="lineno"> 2893</span>   <span class="keywordflow">if</span> (RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a031f451f3db08a98be54471184eacb27" title="Retrieves the class template that is described by this class declaration.">getDescribedClassTemplate</a>() &&</div>
+<div class="line"><a name="l02894"></a><span class="lineno"> 2894</span>       !isa<ClassTemplateSpecializationDecl>(RD))</div>
+<div class="line"><a name="l02895"></a><span class="lineno"> 2895</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02896"></a><span class="lineno"> 2896</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02897"></a><span class="lineno"> 2897</span> }</div>
+<div class="line"><a name="l02898"></a><span class="lineno"> 2898</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l02899"></a><span class="lineno"> 2899</span> <span class="preprocessor"></span><span class="comment"></span></div>
+<div class="line"><a name="l02900"></a><span class="lineno"> 2900</span> <span class="comment">/// getInjectedClassNameType - Return the unique reference to the</span></div>
+<div class="line"><a name="l02901"></a><span class="lineno"> 2901</span> <span class="comment">/// injected class name type for the specified templated declaration.</span></div>
+<div class="line"><a name="l02902"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae9b39f8b326b9f84d0b29b871a3b477a"> 2902</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ae9b39f8b326b9f84d0b29b871a3b477a">ASTContext::getInjectedClassNameType</a>(<a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Decl.html">Decl</a>,</div>
+<div class="line"><a name="l02903"></a><span class="lineno"> 2903</span>                                               <a class="code" href="classclang_1_1QualType.html">QualType</a> TST)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02904"></a><span class="lineno"> 2904</span>   assert(<a class="code" href="ASTContext_8cpp.html#a1fd8a8b42d5187f0963521b574f03cfd">NeedsInjectedClassNameType</a>(Decl));</div>
+<div class="line"><a name="l02905"></a><span class="lineno"> 2905</span>   <span class="keywordflow">if</span> (Decl->TypeForDecl) {</div>
+<div class="line"><a name="l02906"></a><span class="lineno"> 2906</span>     assert(isa<InjectedClassNameType>(Decl->TypeForDecl));</div>
+<div class="line"><a name="l02907"></a><span class="lineno"> 2907</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *PrevDecl = Decl-><a class="code" href="classclang_1_1CXXRecordDecl.html#a97ec903bbc706cca327dac310ff0cb65">getPreviousDecl</a>()) {</div>
+<div class="line"><a name="l02908"></a><span class="lineno"> 2908</span>     assert(PrevDecl->TypeForDecl && <span class="stringliteral">"previous declaration has no type"</span>);</div>
+<div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>     Decl->TypeForDecl = PrevDecl->TypeForDecl;</div>
+<div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>     assert(isa<InjectedClassNameType>(Decl->TypeForDecl));</div>
+<div class="line"><a name="l02911"></a><span class="lineno"> 2911</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02912"></a><span class="lineno"> 2912</span>     <a class="code" href="classclang_1_1Type.html">Type</a> *newType =</div>
+<div class="line"><a name="l02913"></a><span class="lineno"> 2913</span>       <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1InjectedClassNameType.html" title="The injected class name of a C++ class template or class template partial specialization. Used to record that a type was spelled with a bare identifier rather than as a template-id; the equivalent for non-templated classes is just RecordType.">InjectedClassNameType</a>(Decl, TST);</div>
+<div class="line"><a name="l02914"></a><span class="lineno"> 2914</span>     Decl->TypeForDecl = newType;</div>
+<div class="line"><a name="l02915"></a><span class="lineno"> 2915</span>     Types.push_back(newType);</div>
+<div class="line"><a name="l02916"></a><span class="lineno"> 2916</span>   }</div>
+<div class="line"><a name="l02917"></a><span class="lineno"> 2917</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl, 0);</div>
+<div class="line"><a name="l02918"></a><span class="lineno"> 2918</span> }</div>
+<div class="line"><a name="l02919"></a><span class="lineno"> 2919</span> <span class="comment"></span></div>
+<div class="line"><a name="l02920"></a><span class="lineno"> 2920</span> <span class="comment">/// getTypeDeclType - Return the unique reference to the type for the</span></div>
+<div class="line"><a name="l02921"></a><span class="lineno"> 2921</span> <span class="comment">/// specified type declaration.</span></div>
+<div class="line"><a name="l02922"></a><span class="lineno"> 2922</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> ASTContext::getTypeDeclTypeSlow(<span class="keyword">const</span> <a class="code" href="classclang_1_1TypeDecl.html">TypeDecl</a> *<a class="code" href="classclang_1_1Decl.html">Decl</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02923"></a><span class="lineno"> 2923</span>   assert(Decl && <span class="stringliteral">"Passed null for Decl param"</span>);</div>
+<div class="line"><a name="l02924"></a><span class="lineno"> 2924</span>   assert(!Decl->TypeForDecl && <span class="stringliteral">"TypeForDecl present in slow case"</span>);</div>
+<div class="line"><a name="l02925"></a><span class="lineno"> 2925</span> </div>
+<div class="line"><a name="l02926"></a><span class="lineno"> 2926</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefNameDecl.html" title="Base class for declarations which introduce a typedef-name.">TypedefNameDecl</a> *Typedef = dyn_cast<TypedefNameDecl>(Decl))</div>
+<div class="line"><a name="l02927"></a><span class="lineno"> 2927</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a3b01e9bb794ab9bc18a7578bc18a0611" title="Return the unique reference to the type for the specified typedef-name decl.">getTypedefType</a>(Typedef);</div>
+<div class="line"><a name="l02928"></a><span class="lineno"> 2928</span> </div>
+<div class="line"><a name="l02929"></a><span class="lineno"> 2929</span>   assert(!isa<TemplateTypeParmDecl>(Decl) &&</div>
+<div class="line"><a name="l02930"></a><span class="lineno"> 2930</span>          <span class="stringliteral">"Template type parameter types are always available."</span>);</div>
+<div class="line"><a name="l02931"></a><span class="lineno"> 2931</span> </div>
+<div class="line"><a name="l02932"></a><span class="lineno"> 2932</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *Record = dyn_cast<RecordDecl>(Decl)) {</div>
+<div class="line"><a name="l02933"></a><span class="lineno"> 2933</span>     assert(Record->isFirstDecl() && <span class="stringliteral">"struct/union has previous declaration"</span>);</div>
+<div class="line"><a name="l02934"></a><span class="lineno"> 2934</span>     assert(!<a class="code" href="ASTContext_8cpp.html#a1fd8a8b42d5187f0963521b574f03cfd">NeedsInjectedClassNameType</a>(Record));</div>
+<div class="line"><a name="l02935"></a><span class="lineno"> 2935</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a2f2e06312812efc11ce91abe0695ba75">getRecordType</a>(Record);</div>
+<div class="line"><a name="l02936"></a><span class="lineno"> 2936</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *Enum = dyn_cast<EnumDecl>(Decl)) {</div>
+<div class="line"><a name="l02937"></a><span class="lineno"> 2937</span>     assert(Enum->isFirstDecl() && <span class="stringliteral">"enum has previous declaration"</span>);</div>
+<div class="line"><a name="l02938"></a><span class="lineno"> 2938</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#aab4f99c6cea9d2cdb61354f94dbae9f7">getEnumType</a>(Enum);</div>
+<div class="line"><a name="l02939"></a><span class="lineno"> 2939</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1UnresolvedUsingTypenameDecl.html" title="Represents a dependent using declaration which was marked with typename.">UnresolvedUsingTypenameDecl</a> *Using =</div>
+<div class="line"><a name="l02940"></a><span class="lineno"> 2940</span>                dyn_cast<UnresolvedUsingTypenameDecl>(Decl)) {</div>
+<div class="line"><a name="l02941"></a><span class="lineno"> 2941</span>     <a class="code" href="classclang_1_1Type.html">Type</a> *newType = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1UnresolvedUsingType.html" title="Represents the dependent type named by a dependently-scoped typename using declaration, e.g. using typename Base<T>::foo; Template instantiation turns these into the underlying type.">UnresolvedUsingType</a>(Using);</div>
+<div class="line"><a name="l02942"></a><span class="lineno"> 2942</span>     Decl->TypeForDecl = newType;</div>
+<div class="line"><a name="l02943"></a><span class="lineno"> 2943</span>     Types.push_back(newType);</div>
+<div class="line"><a name="l02944"></a><span class="lineno"> 2944</span>   } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02945"></a><span class="lineno"> 2945</span>     llvm_unreachable(<span class="stringliteral">"TypeDecl without a type?"</span>);</div>
+<div class="line"><a name="l02946"></a><span class="lineno"> 2946</span> </div>
+<div class="line"><a name="l02947"></a><span class="lineno"> 2947</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl, 0);</div>
+<div class="line"><a name="l02948"></a><span class="lineno"> 2948</span> }</div>
+<div class="line"><a name="l02949"></a><span class="lineno"> 2949</span> <span class="comment"></span></div>
+<div class="line"><a name="l02950"></a><span class="lineno"> 2950</span> <span class="comment">/// getTypedefType - Return the unique reference to the type for the</span></div>
+<div class="line"><a name="l02951"></a><span class="lineno"> 2951</span> <span class="comment">/// specified typedef name decl.</span></div>
+<div class="line"><a name="l02952"></a><span class="lineno"> 2952</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l02953"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a3b01e9bb794ab9bc18a7578bc18a0611"> 2953</a></span> <a class="code" href="classclang_1_1ASTContext.html#a3b01e9bb794ab9bc18a7578bc18a0611" title="Return the unique reference to the type for the specified typedef-name decl.">ASTContext::getTypedefType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefNameDecl.html" title="Base class for declarations which introduce a typedef-name.">TypedefNameDecl</a> *Decl,</div>
+<div class="line"><a name="l02954"></a><span class="lineno"> 2954</span>                            <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02955"></a><span class="lineno"> 2955</span>   <span class="keywordflow">if</span> (Decl->TypeForDecl) <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl, 0);</div>
+<div class="line"><a name="l02956"></a><span class="lineno"> 2956</span> </div>
+<div class="line"><a name="l02957"></a><span class="lineno"> 2957</span>   <span class="keywordflow">if</span> (Canonical.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l02958"></a><span class="lineno"> 2958</span>     Canonical = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Decl-><a class="code" href="classclang_1_1TypedefNameDecl.html#a5fccedff6d3854db365a540145029158">getUnderlyingType</a>());</div>
+<div class="line"><a name="l02959"></a><span class="lineno"> 2959</span>   <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *newType = <span class="keyword">new</span>(*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l02960"></a><span class="lineno"> 2960</span>     <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a>(Type::Typedef, Decl, Canonical);</div>
+<div class="line"><a name="l02961"></a><span class="lineno"> 2961</span>   Decl->TypeForDecl = newType;</div>
+<div class="line"><a name="l02962"></a><span class="lineno"> 2962</span>   Types.push_back(newType);</div>
+<div class="line"><a name="l02963"></a><span class="lineno"> 2963</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(newType, 0);</div>
+<div class="line"><a name="l02964"></a><span class="lineno"> 2964</span> }</div>
+<div class="line"><a name="l02965"></a><span class="lineno"> 2965</span> </div>
+<div class="line"><a name="l02966"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a2f2e06312812efc11ce91abe0695ba75"> 2966</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a2f2e06312812efc11ce91abe0695ba75">ASTContext::getRecordType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *Decl)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02967"></a><span class="lineno"> 2967</span>   <span class="keywordflow">if</span> (Decl->TypeForDecl) <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl, 0);</div>
+<div class="line"><a name="l02968"></a><span class="lineno"> 2968</span> </div>
+<div class="line"><a name="l02969"></a><span class="lineno"> 2969</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *PrevDecl = Decl-><a class="code" href="classclang_1_1RecordDecl.html#a96c030c52c307480cf658a98d5630de2">getPreviousDecl</a>())</div>
+<div class="line"><a name="l02970"></a><span class="lineno"> 2970</span>     <span class="keywordflow">if</span> (PrevDecl->TypeForDecl)</div>
+<div class="line"><a name="l02971"></a><span class="lineno"> 2971</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); </div>
+<div class="line"><a name="l02972"></a><span class="lineno"> 2972</span> </div>
+<div class="line"><a name="l02973"></a><span class="lineno"> 2973</span>   <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *newType = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1RecordType.html">RecordType</a>(Decl);</div>
+<div class="line"><a name="l02974"></a><span class="lineno"> 2974</span>   Decl->TypeForDecl = newType;</div>
+<div class="line"><a name="l02975"></a><span class="lineno"> 2975</span>   Types.push_back(newType);</div>
+<div class="line"><a name="l02976"></a><span class="lineno"> 2976</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(newType, 0);</div>
+<div class="line"><a name="l02977"></a><span class="lineno"> 2977</span> }</div>
+<div class="line"><a name="l02978"></a><span class="lineno"> 2978</span> </div>
+<div class="line"><a name="l02979"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#aab4f99c6cea9d2cdb61354f94dbae9f7"> 2979</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#aab4f99c6cea9d2cdb61354f94dbae9f7">ASTContext::getEnumType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *Decl)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02980"></a><span class="lineno"> 2980</span>   <span class="keywordflow">if</span> (Decl->TypeForDecl) <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl, 0);</div>
+<div class="line"><a name="l02981"></a><span class="lineno"> 2981</span> </div>
+<div class="line"><a name="l02982"></a><span class="lineno"> 2982</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumDecl.html">EnumDecl</a> *PrevDecl = Decl-><a class="code" href="classclang_1_1EnumDecl.html#a52f060da0a67f1efbdcdc7486c59eb83">getPreviousDecl</a>())</div>
+<div class="line"><a name="l02983"></a><span class="lineno"> 2983</span>     <span class="keywordflow">if</span> (PrevDecl->TypeForDecl)</div>
+<div class="line"><a name="l02984"></a><span class="lineno"> 2984</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Decl->TypeForDecl = PrevDecl->TypeForDecl, 0); </div>
+<div class="line"><a name="l02985"></a><span class="lineno"> 2985</span> </div>
+<div class="line"><a name="l02986"></a><span class="lineno"> 2986</span>   <a class="code" href="classclang_1_1EnumType.html">EnumType</a> *newType = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1EnumType.html">EnumType</a>(Decl);</div>
+<div class="line"><a name="l02987"></a><span class="lineno"> 2987</span>   Decl->TypeForDecl = newType;</div>
+<div class="line"><a name="l02988"></a><span class="lineno"> 2988</span>   Types.push_back(newType);</div>
+<div class="line"><a name="l02989"></a><span class="lineno"> 2989</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(newType, 0);</div>
+<div class="line"><a name="l02990"></a><span class="lineno"> 2990</span> }</div>
+<div class="line"><a name="l02991"></a><span class="lineno"> 2991</span> </div>
+<div class="line"><a name="l02992"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a5670f8abaeca3b7f97bca2040798d426"> 2992</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a5670f8abaeca3b7f97bca2040798d426">ASTContext::getAttributedType</a>(<a class="code" href="classclang_1_1AttributedType.html#ab4901f7a37f5539698cb5ebd706245ed">AttributedType::Kind</a> attrKind,</div>
+<div class="line"><a name="l02993"></a><span class="lineno"> 2993</span>                                        <a class="code" href="classclang_1_1QualType.html">QualType</a> modifiedType,</div>
+<div class="line"><a name="l02994"></a><span class="lineno"> 2994</span>                                        <a class="code" href="classclang_1_1QualType.html">QualType</a> equivalentType) {</div>
+<div class="line"><a name="l02995"></a><span class="lineno"> 2995</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1ast__matchers.html#a01337be70d74dc0a38b7c95466e58bc0" title="If the provided matcher matches a node, binds the node to ID.">id</a>;</div>
+<div class="line"><a name="l02996"></a><span class="lineno"> 2996</span>   <a class="code" href="classclang_1_1AttributedType.html#ae7bf3ce5e143538d02e9e1778d5f79b6">AttributedType::Profile</a>(<span class="keywordtype">id</span>, attrKind, modifiedType, equivalentType);</div>
+<div class="line"><a name="l02997"></a><span class="lineno"> 2997</span> </div>
+<div class="line"><a name="l02998"></a><span class="lineno"> 2998</span>   <span class="keywordtype">void</span> *insertPos = 0;</div>
+<div class="line"><a name="l02999"></a><span class="lineno"> 2999</span>   <a class="code" href="classclang_1_1AttributedType.html">AttributedType</a> *<a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a> = AttributedTypes.FindNodeOrInsertPos(<span class="keywordtype">id</span>, insertPos);</div>
+<div class="line"><a name="l03000"></a><span class="lineno"> 3000</span>   <span class="keywordflow">if</span> (type) <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(type, 0);</div>
+<div class="line"><a name="l03001"></a><span class="lineno"> 3001</span> </div>
+<div class="line"><a name="l03002"></a><span class="lineno"> 3002</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> canon = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(equivalentType);</div>
+<div class="line"><a name="l03003"></a><span class="lineno"> 3003</span>   type = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l03004"></a><span class="lineno"> 3004</span>            <a class="code" href="classclang_1_1AttributedType.html">AttributedType</a>(canon, attrKind, modifiedType, equivalentType);</div>
+<div class="line"><a name="l03005"></a><span class="lineno"> 3005</span> </div>
+<div class="line"><a name="l03006"></a><span class="lineno"> 3006</span>   Types.push_back(type);</div>
+<div class="line"><a name="l03007"></a><span class="lineno"> 3007</span>   AttributedTypes.InsertNode(type, insertPos);</div>
+<div class="line"><a name="l03008"></a><span class="lineno"> 3008</span> </div>
+<div class="line"><a name="l03009"></a><span class="lineno"> 3009</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(type, 0);</div>
+<div class="line"><a name="l03010"></a><span class="lineno"> 3010</span> }</div>
+<div class="line"><a name="l03011"></a><span class="lineno"> 3011</span> </div>
+<div class="line"><a name="l03012"></a><span class="lineno"> 3012</span> <span class="comment"></span></div>
+<div class="line"><a name="l03013"></a><span class="lineno"> 3013</span> <span class="comment">/// \brief Retrieve a substitution-result type.</span></div>
+<div class="line"><a name="l03014"></a><span class="lineno"> 3014</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03015"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#adee23a4da9e92664732e53aaf3d04f30"> 3015</a></span> <a class="code" href="classclang_1_1ASTContext.html#adee23a4da9e92664732e53aaf3d04f30" title="Retrieve a substitution-result type.">ASTContext::getSubstTemplateTypeParmType</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a> *Parm,</div>
+<div class="line"><a name="l03016"></a><span class="lineno"> 3016</span>                                          <a class="code" href="classclang_1_1QualType.html">QualType</a> Replacement)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03017"></a><span class="lineno"> 3017</span>   assert(Replacement.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()</div>
+<div class="line"><a name="l03018"></a><span class="lineno"> 3018</span>          && <span class="stringliteral">"replacement types must always be canonical"</span>);</div>
+<div class="line"><a name="l03019"></a><span class="lineno"> 3019</span> </div>
+<div class="line"><a name="l03020"></a><span class="lineno"> 3020</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03021"></a><span class="lineno"> 3021</span>   <a class="code" href="classclang_1_1SubstTemplateTypeParmType.html#a4728b4ae93a95d5943e5f92715a65306">SubstTemplateTypeParmType::Profile</a>(ID, Parm, Replacement);</div>
+<div class="line"><a name="l03022"></a><span class="lineno"> 3022</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03023"></a><span class="lineno"> 3023</span>   <a class="code" href="classclang_1_1SubstTemplateTypeParmType.html" title="Represents the result of substituting a type for a template type parameter.">SubstTemplateTypeParmType</a> *SubstParm</div>
+<div class="line"><a name="l03024"></a><span class="lineno"> 3024</span>     = SubstTemplateTypeParmTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03025"></a><span class="lineno"> 3025</span> </div>
+<div class="line"><a name="l03026"></a><span class="lineno"> 3026</span>   <span class="keywordflow">if</span> (!SubstParm) {</div>
+<div class="line"><a name="l03027"></a><span class="lineno"> 3027</span>     SubstParm = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l03028"></a><span class="lineno"> 3028</span>       <a class="code" href="classclang_1_1SubstTemplateTypeParmType.html" title="Represents the result of substituting a type for a template type parameter.">SubstTemplateTypeParmType</a>(Parm, Replacement);</div>
+<div class="line"><a name="l03029"></a><span class="lineno"> 3029</span>     Types.push_back(SubstParm);</div>
+<div class="line"><a name="l03030"></a><span class="lineno"> 3030</span>     SubstTemplateTypeParmTypes.InsertNode(SubstParm, InsertPos);</div>
+<div class="line"><a name="l03031"></a><span class="lineno"> 3031</span>   }</div>
+<div class="line"><a name="l03032"></a><span class="lineno"> 3032</span> </div>
+<div class="line"><a name="l03033"></a><span class="lineno"> 3033</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(SubstParm, 0);</div>
+<div class="line"><a name="l03034"></a><span class="lineno"> 3034</span> }</div>
+<div class="line"><a name="l03035"></a><span class="lineno"> 3035</span> <span class="comment"></span></div>
+<div class="line"><a name="l03036"></a><span class="lineno"> 3036</span> <span class="comment">/// \brief Retrieve a </span></div>
+<div class="line"><a name="l03037"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ae54b345be2b8989c7655107782ddae72"> 3037</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ae54b345be2b8989c7655107782ddae72" title="Retrieve a.">ASTContext::getSubstTemplateTypeParmPackType</a>(</div>
+<div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a> *Parm,</div>
+<div class="line"><a name="l03039"></a><span class="lineno"> 3039</span>                                               <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> &ArgPack) {</div>
+<div class="line"><a name="l03040"></a><span class="lineno"> 3040</span> <span class="preprocessor">#ifndef NDEBUG</span></div>
+<div class="line"><a name="l03041"></a><span class="lineno"> 3041</span> <span class="preprocessor"></span>  <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument::pack_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = ArgPack.<a class="code" href="classclang_1_1TemplateArgument.html#aec590020815d7ba7bc6ab7b6f81d0abb" title="Iterator referencing the first argument of a template argument pack.">pack_begin</a>(), </div>
+<div class="line"><a name="l03042"></a><span class="lineno"> 3042</span>                                     PEnd = ArgPack.<a class="code" href="classclang_1_1TemplateArgument.html#afa5da5057aa82802b95bb40b1b0585bd" title="Iterator referencing one past the last argument of a template argument pack.">pack_end</a>();</div>
+<div class="line"><a name="l03043"></a><span class="lineno"> 3043</span>        <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PEnd; ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>) {</div>
+<div class="line"><a name="l03044"></a><span class="lineno"> 3044</span>     assert(<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>->getKind() == <a class="code" href="classclang_1_1TemplateArgument.html#ad5158465bd96aebe0d9dc44207821220a7441a0aac50df9f775662d7fe21f5568" title="The template argument is a type.">TemplateArgument::Type</a> &&<span class="stringliteral">"Pack contains a non-type"</span>);</div>
+<div class="line"><a name="l03045"></a><span class="lineno"> 3045</span>     assert(<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>->getAsType().isCanonical() && <span class="stringliteral">"Pack contains non-canonical type"</span>);</div>
+<div class="line"><a name="l03046"></a><span class="lineno"> 3046</span>   }</div>
+<div class="line"><a name="l03047"></a><span class="lineno"> 3047</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l03048"></a><span class="lineno"> 3048</span> <span class="preprocessor"></span>  </div>
+<div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03050"></a><span class="lineno"> 3050</span>   <a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html#a437f544dd1f3c8dac89456ac549ee85d">SubstTemplateTypeParmPackType::Profile</a>(ID, Parm, ArgPack);</div>
+<div class="line"><a name="l03051"></a><span class="lineno"> 3051</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03052"></a><span class="lineno"> 3052</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html" title="Represents the result of substituting a set of types for a template type parameter pack...">SubstTemplateTypeParmPackType</a> *SubstParm</div>
+<div class="line"><a name="l03053"></a><span class="lineno"> 3053</span>         = SubstTemplateTypeParmPackTypes.FindNodeOrInsertPos(ID, InsertPos))</div>
+<div class="line"><a name="l03054"></a><span class="lineno"> 3054</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(SubstParm, 0);</div>
+<div class="line"><a name="l03055"></a><span class="lineno"> 3055</span>   </div>
+<div class="line"><a name="l03056"></a><span class="lineno"> 3056</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon;</div>
+<div class="line"><a name="l03057"></a><span class="lineno"> 3057</span>   <span class="keywordflow">if</span> (!Parm-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>()) {</div>
+<div class="line"><a name="l03058"></a><span class="lineno"> 3058</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a>(Parm, 0));</div>
+<div class="line"><a name="l03059"></a><span class="lineno"> 3059</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#ae54b345be2b8989c7655107782ddae72" title="Retrieve a.">getSubstTemplateTypeParmPackType</a>(cast<TemplateTypeParmType>(Canon),</div>
+<div class="line"><a name="l03060"></a><span class="lineno"> 3060</span>                                              ArgPack);</div>
+<div class="line"><a name="l03061"></a><span class="lineno"> 3061</span>     SubstTemplateTypeParmPackTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03062"></a><span class="lineno"> 3062</span>   }</div>
+<div class="line"><a name="l03063"></a><span class="lineno"> 3063</span> </div>
+<div class="line"><a name="l03064"></a><span class="lineno"> 3064</span>   <a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html" title="Represents the result of substituting a set of types for a template type parameter pack...">SubstTemplateTypeParmPackType</a> *SubstParm</div>
+<div class="line"><a name="l03065"></a><span class="lineno"> 3065</span>     = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html" title="Represents the result of substituting a set of types for a template type parameter pack...">SubstTemplateTypeParmPackType</a>(Parm, Canon,</div>
+<div class="line"><a name="l03066"></a><span class="lineno"> 3066</span>                                                                ArgPack);</div>
+<div class="line"><a name="l03067"></a><span class="lineno"> 3067</span>   Types.push_back(SubstParm);</div>
+<div class="line"><a name="l03068"></a><span class="lineno"> 3068</span>   SubstTemplateTypeParmTypes.InsertNode(SubstParm, InsertPos);</div>
+<div class="line"><a name="l03069"></a><span class="lineno"> 3069</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(SubstParm, 0);  </div>
+<div class="line"><a name="l03070"></a><span class="lineno"> 3070</span> }</div>
+<div class="line"><a name="l03071"></a><span class="lineno"> 3071</span> <span class="comment"></span></div>
+<div class="line"><a name="l03072"></a><span class="lineno"> 3072</span> <span class="comment">/// \brief Retrieve the template type parameter type for a template</span></div>
+<div class="line"><a name="l03073"></a><span class="lineno"> 3073</span> <span class="comment">/// parameter or parameter pack with the given depth, index, and (optionally)</span></div>
+<div class="line"><a name="l03074"></a><span class="lineno"> 3074</span> <span class="comment">/// name.</span></div>
+<div class="line"><a name="l03075"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ab3e1ca12b08899e4213bfc59534af423"> 3075</a></span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ab3e1ca12b08899e4213bfc59534af423" title="Retrieve the template type parameter type for a template parameter or parameter pack with the given d...">ASTContext::getTemplateTypeParmType</a>(<span class="keywordtype">unsigned</span> <a class="code" href="ASTMatchFinder_8cpp.html#a770e10d3d091ec85cafce08832ae2e87">Depth</a>, <span class="keywordtype">unsigned</span> Index,</div>
+<div class="line"><a name="l03076"></a><span class="lineno"> 3076</span>                                              <span class="keywordtype">bool</span> ParameterPack,</div>
+<div class="line"><a name="l03077"></a><span class="lineno"> 3077</span>                                              <a class="code" href="classclang_1_1TemplateTypeParmDecl.html" title="Declaration of a template type parameter.">TemplateTypeParmDecl</a> *TTPDecl)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03078"></a><span class="lineno"> 3078</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03079"></a><span class="lineno"> 3079</span>   <a class="code" href="classclang_1_1TemplateTypeParmType.html#a6d84bf76674585d275cad369c395dc04">TemplateTypeParmType::Profile</a>(ID, Depth, Index, ParameterPack, TTPDecl);</div>
+<div class="line"><a name="l03080"></a><span class="lineno"> 3080</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03081"></a><span class="lineno"> 3081</span>   <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a> *TypeParm</div>
+<div class="line"><a name="l03082"></a><span class="lineno"> 3082</span>     = TemplateTypeParmTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03083"></a><span class="lineno"> 3083</span> </div>
+<div class="line"><a name="l03084"></a><span class="lineno"> 3084</span>   <span class="keywordflow">if</span> (TypeParm)</div>
+<div class="line"><a name="l03085"></a><span class="lineno"> 3085</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(TypeParm, 0);</div>
+<div class="line"><a name="l03086"></a><span class="lineno"> 3086</span> </div>
+<div class="line"><a name="l03087"></a><span class="lineno"> 3087</span>   <span class="keywordflow">if</span> (TTPDecl) {</div>
+<div class="line"><a name="l03088"></a><span class="lineno"> 3088</span>     <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon = <a class="code" href="classclang_1_1ASTContext.html#ab3e1ca12b08899e4213bfc59534af423" title="Retrieve the template type parameter type for a template parameter or parameter pack with the given d...">getTemplateTypeParmType</a>(Depth, Index, ParameterPack);</div>
+<div class="line"><a name="l03089"></a><span class="lineno"> 3089</span>     TypeParm = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>(TTPDecl, Canon);</div>
+<div class="line"><a name="l03090"></a><span class="lineno"> 3090</span> </div>
+<div class="line"><a name="l03091"></a><span class="lineno"> 3091</span>     <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a> *TypeCheck </div>
+<div class="line"><a name="l03092"></a><span class="lineno"> 3092</span>       = TemplateTypeParmTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03093"></a><span class="lineno"> 3093</span>     assert(!TypeCheck && <span class="stringliteral">"Template type parameter canonical type broken"</span>);</div>
+<div class="line"><a name="l03094"></a><span class="lineno"> 3094</span>     (void)TypeCheck;</div>
+<div class="line"><a name="l03095"></a><span class="lineno"> 3095</span>   } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l03096"></a><span class="lineno"> 3096</span>     TypeParm = <span class="keyword">new</span> (*<span class="keyword">this</span>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>)</div>
+<div class="line"><a name="l03097"></a><span class="lineno"> 3097</span>       <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>(Depth, Index, ParameterPack);</div>
+<div class="line"><a name="l03098"></a><span class="lineno"> 3098</span> </div>
+<div class="line"><a name="l03099"></a><span class="lineno"> 3099</span>   Types.push_back(TypeParm);</div>
+<div class="line"><a name="l03100"></a><span class="lineno"> 3100</span>   TemplateTypeParmTypes.InsertNode(TypeParm, InsertPos);</div>
+<div class="line"><a name="l03101"></a><span class="lineno"> 3101</span> </div>
+<div class="line"><a name="l03102"></a><span class="lineno"> 3102</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(TypeParm, 0);</div>
+<div class="line"><a name="l03103"></a><span class="lineno"> 3103</span> }</div>
+<div class="line"><a name="l03104"></a><span class="lineno"> 3104</span> </div>
+<div class="line"><a name="l03105"></a><span class="lineno"> 3105</span> <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *</div>
+<div class="line"><a name="l03106"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a07f1a341d959c1dc23b505f16391866e"> 3106</a></span> <a class="code" href="classclang_1_1ASTContext.html#a07f1a341d959c1dc23b505f16391866e">ASTContext::getTemplateSpecializationTypeInfo</a>(<a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> Name,</div>
+<div class="line"><a name="l03107"></a><span class="lineno"> 3107</span>                                               <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> NameLoc,</div>
+<div class="line"><a name="l03108"></a><span class="lineno"> 3108</span>                                         <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgumentListInfo.html">TemplateArgumentListInfo</a> &<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>,</div>
+<div class="line"><a name="l03109"></a><span class="lineno"> 3109</span>                                               <a class="code" href="classclang_1_1QualType.html">QualType</a> Underlying)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03110"></a><span class="lineno"> 3110</span>   assert(!Name.<a class="code" href="classclang_1_1TemplateName.html#a68dc7f4090ed9ce391ba99779688e65b" title="Retrieve the underlying dependent template name structure, if any.">getAsDependentTemplateName</a>() && </div>
+<div class="line"><a name="l03111"></a><span class="lineno"> 3111</span>          <span class="stringliteral">"No dependent template names here!"</span>);</div>
+<div class="line"><a name="l03112"></a><span class="lineno"> 3112</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> TST = <a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080">getTemplateSpecializationType</a>(Name, Args, Underlying);</div>
+<div class="line"><a name="l03113"></a><span class="lineno"> 3113</span> </div>
+<div class="line"><a name="l03114"></a><span class="lineno"> 3114</span>   <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *DI = <a class="code" href="classclang_1_1ASTContext.html#a6541433da59fb48de550bd340bc58216" title="Allocate an uninitialized TypeSourceInfo.">CreateTypeSourceInfo</a>(TST);</div>
+<div class="line"><a name="l03115"></a><span class="lineno"> 3115</span>   <a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html">TemplateSpecializationTypeLoc</a> TL =</div>
+<div class="line"><a name="l03116"></a><span class="lineno"> 3116</span>       DI-><a class="code" href="classclang_1_1TypeSourceInfo.html#a51bc61879d5926193a3bb3ee1a280fee" title="Return the TypeLoc wrapper for the type source info.">getTypeLoc</a>().<a class="code" href="classclang_1_1TypeLoc.html#a9418837bde8b3c515cc00ba5b2a9818f" title="Convert to the specified TypeLoc type, asserting that this TypeLoc is of the desired type...">castAs</a><<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html">TemplateSpecializationTypeLoc</a>>();</div>
+<div class="line"><a name="l03117"></a><span class="lineno"> 3117</span>   TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a5542c3d1413024a428ceebe7dae86e0a">setTemplateKeywordLoc</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l03118"></a><span class="lineno"> 3118</span>   TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a84f6e2f968ab0b224e2e0f8cc423b171">setTemplateNameLoc</a>(NameLoc);</div>
+<div class="line"><a name="l03119"></a><span class="lineno"> 3119</span>   TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#aaa7b667e7a4aaf051ac7a6e4d228cc26">setLAngleLoc</a>(Args.<a class="code" href="classclang_1_1TemplateArgumentListInfo.html#a477773c4a5ba28801c4ec3e54e6f47ee">getLAngleLoc</a>());</div>
+<div class="line"><a name="l03120"></a><span class="lineno"> 3120</span>   TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#af24263fc3a1b71dac8e9f0d9addb5f92">setRAngleLoc</a>(Args.<a class="code" href="classclang_1_1TemplateArgumentListInfo.html#aa72ab34c341b1c8bd6778a9e15e64bfb">getRAngleLoc</a>());</div>
+<div class="line"><a name="l03121"></a><span class="lineno"> 3121</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a844fb73f9788cccc7d1c7375aea17d38">getNumArgs</a>(); i != e; ++i)</div>
+<div class="line"><a name="l03122"></a><span class="lineno"> 3122</span>     TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a19e3d9b1f0bb75e5b97851b94dc7811c">setArgLocInfo</a>(i, Args[i].getLocInfo());</div>
+<div class="line"><a name="l03123"></a><span class="lineno"> 3123</span>   <span class="keywordflow">return</span> DI;</div>
+<div class="line"><a name="l03124"></a><span class="lineno"> 3124</span> }</div>
+<div class="line"><a name="l03125"></a><span class="lineno"> 3125</span> </div>
+<div class="line"><a name="l03126"></a><span class="lineno"> 3126</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03127"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a42fe78dd74fe53eb94a3f733b860f3b5"> 3127</a></span> <a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080">ASTContext::getTemplateSpecializationType</a>(<a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> Template,</div>
+<div class="line"><a name="l03128"></a><span class="lineno"> 3128</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgumentListInfo.html">TemplateArgumentListInfo</a> &<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>,</div>
+<div class="line"><a name="l03129"></a><span class="lineno"> 3129</span>                                           <a class="code" href="classclang_1_1QualType.html">QualType</a> Underlying)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03130"></a><span class="lineno"> 3130</span>   assert(!Template.<a class="code" href="classclang_1_1TemplateName.html#a68dc7f4090ed9ce391ba99779688e65b" title="Retrieve the underlying dependent template name structure, if any.">getAsDependentTemplateName</a>() && </div>
+<div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>          <span class="stringliteral">"No dependent template names here!"</span>);</div>
+<div class="line"><a name="l03132"></a><span class="lineno"> 3132</span>   </div>
+<div class="line"><a name="l03133"></a><span class="lineno"> 3133</span>   <span class="keywordtype">unsigned</span> NumArgs = Args.<a class="code" href="classclang_1_1TemplateArgumentListInfo.html#aa7dc7d042c01adf26f0bd58e1623d3f4">size</a>();</div>
+<div class="line"><a name="l03134"></a><span class="lineno"> 3134</span> </div>
+<div class="line"><a name="l03135"></a><span class="lineno"> 3135</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 4></a> ArgVec;</div>
+<div class="line"><a name="l03136"></a><span class="lineno"> 3136</span>   ArgVec.reserve(NumArgs);</div>
+<div class="line"><a name="l03137"></a><span class="lineno"> 3137</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i != NumArgs; ++i)</div>
+<div class="line"><a name="l03138"></a><span class="lineno"> 3138</span>     ArgVec.push_back(Args[i].getArgument());</div>
+<div class="line"><a name="l03139"></a><span class="lineno"> 3139</span> </div>
+<div class="line"><a name="l03140"></a><span class="lineno"> 3140</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080">getTemplateSpecializationType</a>(Template, ArgVec.data(), NumArgs,</div>
+<div class="line"><a name="l03141"></a><span class="lineno"> 3141</span>                                        Underlying);</div>
+<div class="line"><a name="l03142"></a><span class="lineno"> 3142</span> }</div>
+<div class="line"><a name="l03143"></a><span class="lineno"> 3143</span> </div>
+<div class="line"><a name="l03144"></a><span class="lineno"> 3144</span> <span class="preprocessor">#ifndef NDEBUG</span></div>
+<div class="line"><a name="l03145"></a><span class="lineno"><a class="code" href="ASTContext_8cpp.html#a3ec55fddc3add7b1dc4f8a68064a2c7f"> 3145</a></span> <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTContext_8cpp.html#a3ec55fddc3add7b1dc4f8a68064a2c7f">hasAnyPackExpansions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> *<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>,</div>
+<div class="line"><a name="l03146"></a><span class="lineno"> 3146</span>                                  <span class="keywordtype">unsigned</span> NumArgs) {</div>
+<div class="line"><a name="l03147"></a><span class="lineno"> 3147</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumArgs; ++I)</div>
+<div class="line"><a name="l03148"></a><span class="lineno"> 3148</span>     <span class="keywordflow">if</span> (Args[I].isPackExpansion())</div>
+<div class="line"><a name="l03149"></a><span class="lineno"> 3149</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03150"></a><span class="lineno"> 3150</span>   </div>
+<div class="line"><a name="l03151"></a><span class="lineno"> 3151</span>   <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03152"></a><span class="lineno"> 3152</span> }</div>
+<div class="line"><a name="l03153"></a><span class="lineno"> 3153</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l03154"></a><span class="lineno"> 3154</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l03155"></a><span class="lineno"> 3155</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03156"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080"> 3156</a></span> <a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080">ASTContext::getTemplateSpecializationType</a>(<a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> Template,</div>
+<div class="line"><a name="l03157"></a><span class="lineno"> 3157</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> *<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>,</div>
+<div class="line"><a name="l03158"></a><span class="lineno"> 3158</span>                                           <span class="keywordtype">unsigned</span> NumArgs,</div>
+<div class="line"><a name="l03159"></a><span class="lineno"> 3159</span>                                           <a class="code" href="classclang_1_1QualType.html">QualType</a> Underlying)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03160"></a><span class="lineno"> 3160</span>   assert(!Template.<a class="code" href="classclang_1_1TemplateName.html#a68dc7f4090ed9ce391ba99779688e65b" title="Retrieve the underlying dependent template name structure, if any.">getAsDependentTemplateName</a>() && </div>
+<div class="line"><a name="l03161"></a><span class="lineno"> 3161</span>          <span class="stringliteral">"No dependent template names here!"</span>);</div>
+<div class="line"><a name="l03162"></a><span class="lineno"> 3162</span>   <span class="comment">// Look through qualified template names.</span></div>
+<div class="line"><a name="l03163"></a><span class="lineno"> 3163</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1QualifiedTemplateName.html" title="Represents a template name that was expressed as a qualified name.">QualifiedTemplateName</a> *QTN = Template.<a class="code" href="classclang_1_1TemplateName.html#a5ea970db151ca691358ca2071ff16899" title="Retrieve the underlying qualified template name structure, if any.">getAsQualifiedTemplateName</a>())</div>
+<div class="line"><a name="l03164"></a><span class="lineno"> 3164</span>     Template = <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a>(QTN->getTemplateDecl());</div>
+<div class="line"><a name="l03165"></a><span class="lineno"> 3165</span>   </div>
+<div class="line"><a name="l03166"></a><span class="lineno"> 3166</span>   <span class="keywordtype">bool</span> IsTypeAlias = </div>
+<div class="line"><a name="l03167"></a><span class="lineno"> 3167</span>     Template.<a class="code" href="classclang_1_1TemplateName.html#a12167fecfe7a4ce6342e322246337519" title="Retrieve the underlying template declaration that this template name refers to, if known...">getAsTemplateDecl</a>() &&</div>
+<div class="line"><a name="l03168"></a><span class="lineno"> 3168</span>     isa<TypeAliasTemplateDecl>(Template.<a class="code" href="classclang_1_1TemplateName.html#a12167fecfe7a4ce6342e322246337519" title="Retrieve the underlying template declaration that this template name refers to, if known...">getAsTemplateDecl</a>());</div>
+<div class="line"><a name="l03169"></a><span class="lineno"> 3169</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> CanonType;</div>
+<div class="line"><a name="l03170"></a><span class="lineno"> 3170</span>   <span class="keywordflow">if</span> (!Underlying.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l03171"></a><span class="lineno"> 3171</span>     CanonType = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Underlying);</div>
+<div class="line"><a name="l03172"></a><span class="lineno"> 3172</span>   <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l03173"></a><span class="lineno"> 3173</span>     <span class="comment">// We can get here with an alias template when the specialization contains</span></div>
+<div class="line"><a name="l03174"></a><span class="lineno"> 3174</span>     <span class="comment">// a pack expansion that does not match up with a parameter pack.</span></div>
+<div class="line"><a name="l03175"></a><span class="lineno"> 3175</span>     assert((!IsTypeAlias || <a class="code" href="ASTContext_8cpp.html#a3ec55fddc3add7b1dc4f8a68064a2c7f">hasAnyPackExpansions</a>(Args, NumArgs)) &&</div>
+<div class="line"><a name="l03176"></a><span class="lineno"> 3176</span>            <span class="stringliteral">"Caller must compute aliased type"</span>);</div>
+<div class="line"><a name="l03177"></a><span class="lineno"> 3177</span>     IsTypeAlias = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03178"></a><span class="lineno"> 3178</span>     CanonType = <a class="code" href="classclang_1_1ASTContext.html#a7db97ec8dbb8e1ad54688035b23a2716">getCanonicalTemplateSpecializationType</a>(Template, Args,</div>
+<div class="line"><a name="l03179"></a><span class="lineno"> 3179</span>                                                        NumArgs);</div>
+<div class="line"><a name="l03180"></a><span class="lineno"> 3180</span>   }</div>
+<div class="line"><a name="l03181"></a><span class="lineno"> 3181</span> </div>
+<div class="line"><a name="l03182"></a><span class="lineno"> 3182</span>   <span class="comment">// Allocate the (non-canonical) template specialization type, but don't</span></div>
+<div class="line"><a name="l03183"></a><span class="lineno"> 3183</span>   <span class="comment">// try to unique it: these types typically have location information that</span></div>
+<div class="line"><a name="l03184"></a><span class="lineno"> 3184</span>   <span class="comment">// we don't unique and don't want to lose.</span></div>
+<div class="line"><a name="l03185"></a><span class="lineno"> 3185</span>   <span class="keywordtype">void</span> *Mem = <a class="code" href="classclang_1_1ASTContext.html#a2b0efa9919a08d2fb955f3003c304aa9">Allocate</a>(<span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a>) +</div>
+<div class="line"><a name="l03186"></a><span class="lineno"> 3186</span>                        <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a>) * NumArgs +</div>
+<div class="line"><a name="l03187"></a><span class="lineno"> 3187</span>                        (IsTypeAlias? <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1QualType.html">QualType</a>) : 0),</div>
+<div class="line"><a name="l03188"></a><span class="lineno"> 3188</span>                        <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>);</div>
+<div class="line"><a name="l03189"></a><span class="lineno"> 3189</span>   <a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a> *Spec</div>
+<div class="line"><a name="l03190"></a><span class="lineno"> 3190</span>     = <span class="keyword">new</span> (Mem) <a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a>(Template, Args, NumArgs, CanonType,</div>
+<div class="line"><a name="l03191"></a><span class="lineno"> 3191</span>                                          IsTypeAlias ? Underlying : <a class="code" href="classclang_1_1QualType.html">QualType</a>());</div>
+<div class="line"><a name="l03192"></a><span class="lineno"> 3192</span> </div>
+<div class="line"><a name="l03193"></a><span class="lineno"> 3193</span>   Types.push_back(Spec);</div>
+<div class="line"><a name="l03194"></a><span class="lineno"> 3194</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Spec, 0);</div>
+<div class="line"><a name="l03195"></a><span class="lineno"> 3195</span> }</div>
+<div class="line"><a name="l03196"></a><span class="lineno"> 3196</span> </div>
+<div class="line"><a name="l03197"></a><span class="lineno"> 3197</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03198"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a7db97ec8dbb8e1ad54688035b23a2716"> 3198</a></span> <a class="code" href="classclang_1_1ASTContext.html#a7db97ec8dbb8e1ad54688035b23a2716">ASTContext::getCanonicalTemplateSpecializationType</a>(<a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> Template,</div>
+<div class="line"><a name="l03199"></a><span class="lineno"> 3199</span>                                                    <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> *<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>,</div>
+<div class="line"><a name="l03200"></a><span class="lineno"> 3200</span>                                                    <span class="keywordtype">unsigned</span> NumArgs)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03201"></a><span class="lineno"> 3201</span>   assert(!Template.<a class="code" href="classclang_1_1TemplateName.html#a68dc7f4090ed9ce391ba99779688e65b" title="Retrieve the underlying dependent template name structure, if any.">getAsDependentTemplateName</a>() && </div>
+<div class="line"><a name="l03202"></a><span class="lineno"> 3202</span>          <span class="stringliteral">"No dependent template names here!"</span>);</div>
+<div class="line"><a name="l03203"></a><span class="lineno"> 3203</span> </div>
+<div class="line"><a name="l03204"></a><span class="lineno"> 3204</span>   <span class="comment">// Look through qualified template names.</span></div>
+<div class="line"><a name="l03205"></a><span class="lineno"> 3205</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1QualifiedTemplateName.html" title="Represents a template name that was expressed as a qualified name.">QualifiedTemplateName</a> *QTN = Template.<a class="code" href="classclang_1_1TemplateName.html#a5ea970db151ca691358ca2071ff16899" title="Retrieve the underlying qualified template name structure, if any.">getAsQualifiedTemplateName</a>())</div>
+<div class="line"><a name="l03206"></a><span class="lineno"> 3206</span>     Template = <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a>(QTN->getTemplateDecl());</div>
+<div class="line"><a name="l03207"></a><span class="lineno"> 3207</span>   </div>
+<div class="line"><a name="l03208"></a><span class="lineno"> 3208</span>   <span class="comment">// Build the canonical template specialization type.</span></div>
+<div class="line"><a name="l03209"></a><span class="lineno"> 3209</span>   <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> CanonTemplate = <a class="code" href="classclang_1_1ASTContext.html#a3212c83e4168922b0fbe4bb4126c90ff" title="Retrieves the "canonical" template name that refers to a given template.">getCanonicalTemplateName</a>(Template);</div>
+<div class="line"><a name="l03210"></a><span class="lineno"> 3210</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 4></a> CanonArgs;</div>
+<div class="line"><a name="l03211"></a><span class="lineno"> 3211</span>   CanonArgs.reserve(NumArgs);</div>
+<div class="line"><a name="l03212"></a><span class="lineno"> 3212</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumArgs; ++I)</div>
+<div class="line"><a name="l03213"></a><span class="lineno"> 3213</span>     CanonArgs.push_back(<a class="code" href="classclang_1_1ASTContext.html#a356bcc90a0fe9ef630751c5a7670943f" title="Retrieve the "canonical" template argument.">getCanonicalTemplateArgument</a>(Args[I]));</div>
+<div class="line"><a name="l03214"></a><span class="lineno"> 3214</span> </div>
+<div class="line"><a name="l03215"></a><span class="lineno"> 3215</span>   <span class="comment">// Determine whether this canonical template specialization type already</span></div>
+<div class="line"><a name="l03216"></a><span class="lineno"> 3216</span>   <span class="comment">// exists.</span></div>
+<div class="line"><a name="l03217"></a><span class="lineno"> 3217</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03218"></a><span class="lineno"> 3218</span>   <a class="code" href="classclang_1_1TemplateSpecializationType.html#a4759dc8cf2727af542d7177421b15120">TemplateSpecializationType::Profile</a>(ID, CanonTemplate,</div>
+<div class="line"><a name="l03219"></a><span class="lineno"> 3219</span>                                       CanonArgs.data(), NumArgs, *<span class="keyword">this</span>);</div>
+<div class="line"><a name="l03220"></a><span class="lineno"> 3220</span> </div>
+<div class="line"><a name="l03221"></a><span class="lineno"> 3221</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03222"></a><span class="lineno"> 3222</span>   <a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a> *Spec</div>
+<div class="line"><a name="l03223"></a><span class="lineno"> 3223</span>     = TemplateSpecializationTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03224"></a><span class="lineno"> 3224</span> </div>
+<div class="line"><a name="l03225"></a><span class="lineno"> 3225</span>   <span class="keywordflow">if</span> (!Spec) {</div>
+<div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>     <span class="comment">// Allocate a new canonical template specialization type.</span></div>
+<div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>     <span class="keywordtype">void</span> *Mem = <a class="code" href="classclang_1_1ASTContext.html#a2b0efa9919a08d2fb955f3003c304aa9">Allocate</a>((<span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a>) +</div>
+<div class="line"><a name="l03228"></a><span class="lineno"> 3228</span>                           <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a>) * NumArgs),</div>
+<div class="line"><a name="l03229"></a><span class="lineno"> 3229</span>                          <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>);</div>
+<div class="line"><a name="l03230"></a><span class="lineno"> 3230</span>     Spec = <span class="keyword">new</span> (Mem) <a class="code" href="classclang_1_1TemplateSpecializationType.html" title="Represents a type template specialization; the template must be a class template, a type alias templa...">TemplateSpecializationType</a>(CanonTemplate,</div>
+<div class="line"><a name="l03231"></a><span class="lineno"> 3231</span>                                                 CanonArgs.data(), NumArgs,</div>
+<div class="line"><a name="l03232"></a><span class="lineno"> 3232</span>                                                 <a class="code" href="classclang_1_1QualType.html">QualType</a>(), <a class="code" href="classclang_1_1QualType.html">QualType</a>());</div>
+<div class="line"><a name="l03233"></a><span class="lineno"> 3233</span>     Types.push_back(Spec);</div>
+<div class="line"><a name="l03234"></a><span class="lineno"> 3234</span>     TemplateSpecializationTypes.InsertNode(Spec, InsertPos);</div>
+<div class="line"><a name="l03235"></a><span class="lineno"> 3235</span>   }</div>
+<div class="line"><a name="l03236"></a><span class="lineno"> 3236</span> </div>
+<div class="line"><a name="l03237"></a><span class="lineno"> 3237</span>   assert(Spec-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>() &&</div>
+<div class="line"><a name="l03238"></a><span class="lineno"> 3238</span>          <span class="stringliteral">"Non-dependent template-id type must have a canonical type"</span>);</div>
+<div class="line"><a name="l03239"></a><span class="lineno"> 3239</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(Spec, 0);</div>
+<div class="line"><a name="l03240"></a><span class="lineno"> 3240</span> }</div>
+<div class="line"><a name="l03241"></a><span class="lineno"> 3241</span> </div>
+<div class="line"><a name="l03242"></a><span class="lineno"> 3242</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03243"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#aab0ab5427f22ac0b0bf9bb398d1a1921"> 3243</a></span> <a class="code" href="classclang_1_1ASTContext.html#aab0ab5427f22ac0b0bf9bb398d1a1921">ASTContext::getElaboratedType</a>(<a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword,</div>
+<div class="line"><a name="l03244"></a><span class="lineno"> 3244</span>                               <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS,</div>
+<div class="line"><a name="l03245"></a><span class="lineno"> 3245</span>                               <a class="code" href="classclang_1_1QualType.html">QualType</a> NamedType)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03246"></a><span class="lineno"> 3246</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03247"></a><span class="lineno"> 3247</span>   <a class="code" href="classclang_1_1ElaboratedType.html#ad2341e8d505edcf67354013350fa3a8d">ElaboratedType::Profile</a>(ID, Keyword, NNS, NamedType);</div>
+<div class="line"><a name="l03248"></a><span class="lineno"> 3248</span> </div>
+<div class="line"><a name="l03249"></a><span class="lineno"> 3249</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03250"></a><span class="lineno"> 3250</span>   <a class="code" href="classclang_1_1ElaboratedType.html" title="Represents a type that was referred to using an elaborated type keyword, e.g., struct S...">ElaboratedType</a> *T = ElaboratedTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03251"></a><span class="lineno"> 3251</span>   <span class="keywordflow">if</span> (T)</div>
+<div class="line"><a name="l03252"></a><span class="lineno"> 3252</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03253"></a><span class="lineno"> 3253</span> </div>
+<div class="line"><a name="l03254"></a><span class="lineno"> 3254</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon = NamedType;</div>
+<div class="line"><a name="l03255"></a><span class="lineno"> 3255</span>   <span class="keywordflow">if</span> (!Canon.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l03256"></a><span class="lineno"> 3256</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(NamedType);</div>
+<div class="line"><a name="l03257"></a><span class="lineno"> 3257</span>     <a class="code" href="classclang_1_1ElaboratedType.html" title="Represents a type that was referred to using an elaborated type keyword, e.g., struct S...">ElaboratedType</a> *CheckT = ElaboratedTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03258"></a><span class="lineno"> 3258</span>     assert(!CheckT && <span class="stringliteral">"Elaborated canonical type broken"</span>);</div>
+<div class="line"><a name="l03259"></a><span class="lineno"> 3259</span>     (void)CheckT;</div>
+<div class="line"><a name="l03260"></a><span class="lineno"> 3260</span>   }</div>
+<div class="line"><a name="l03261"></a><span class="lineno"> 3261</span> </div>
+<div class="line"><a name="l03262"></a><span class="lineno"> 3262</span>   T = <span class="keyword">new</span> (*this) <a class="code" href="classclang_1_1ElaboratedType.html" title="Represents a type that was referred to using an elaborated type keyword, e.g., struct S...">ElaboratedType</a>(Keyword, NNS, NamedType, Canon);</div>
+<div class="line"><a name="l03263"></a><span class="lineno"> 3263</span>   Types.push_back(T);</div>
+<div class="line"><a name="l03264"></a><span class="lineno"> 3264</span>   ElaboratedTypes.InsertNode(T, InsertPos);</div>
+<div class="line"><a name="l03265"></a><span class="lineno"> 3265</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03266"></a><span class="lineno"> 3266</span> }</div>
+<div class="line"><a name="l03267"></a><span class="lineno"> 3267</span> </div>
+<div class="line"><a name="l03268"></a><span class="lineno"> 3268</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03269"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#af5bb4398bfea317faf70b72938e2ae1d"> 3269</a></span> <a class="code" href="classclang_1_1ASTContext.html#af5bb4398bfea317faf70b72938e2ae1d">ASTContext::getParenType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> InnerType)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03270"></a><span class="lineno"> 3270</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03271"></a><span class="lineno"> 3271</span>   <a class="code" href="classclang_1_1ParenType.html#a797f18844f51e436e1d81ce865bc11f2">ParenType::Profile</a>(ID, InnerType);</div>
+<div class="line"><a name="l03272"></a><span class="lineno"> 3272</span> </div>
+<div class="line"><a name="l03273"></a><span class="lineno"> 3273</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03274"></a><span class="lineno"> 3274</span>   <a class="code" href="classclang_1_1ParenType.html">ParenType</a> *T = ParenTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03275"></a><span class="lineno"> 3275</span>   <span class="keywordflow">if</span> (T)</div>
+<div class="line"><a name="l03276"></a><span class="lineno"> 3276</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03277"></a><span class="lineno"> 3277</span> </div>
+<div class="line"><a name="l03278"></a><span class="lineno"> 3278</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon = InnerType;</div>
+<div class="line"><a name="l03279"></a><span class="lineno"> 3279</span>   <span class="keywordflow">if</span> (!Canon.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l03280"></a><span class="lineno"> 3280</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(InnerType);</div>
+<div class="line"><a name="l03281"></a><span class="lineno"> 3281</span>     <a class="code" href="classclang_1_1ParenType.html">ParenType</a> *CheckT = ParenTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03282"></a><span class="lineno"> 3282</span>     assert(!CheckT && <span class="stringliteral">"Paren canonical type broken"</span>);</div>
+<div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>     (void)CheckT;</div>
+<div class="line"><a name="l03284"></a><span class="lineno"> 3284</span>   }</div>
+<div class="line"><a name="l03285"></a><span class="lineno"> 3285</span> </div>
+<div class="line"><a name="l03286"></a><span class="lineno"> 3286</span>   T = <span class="keyword">new</span> (*this) <a class="code" href="classclang_1_1ParenType.html">ParenType</a>(InnerType, Canon);</div>
+<div class="line"><a name="l03287"></a><span class="lineno"> 3287</span>   Types.push_back(T);</div>
+<div class="line"><a name="l03288"></a><span class="lineno"> 3288</span>   ParenTypes.InsertNode(T, InsertPos);</div>
+<div class="line"><a name="l03289"></a><span class="lineno"> 3289</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03290"></a><span class="lineno"> 3290</span> }</div>
+<div class="line"><a name="l03291"></a><span class="lineno"> 3291</span> </div>
+<div class="line"><a name="l03292"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#ac8deb55d1eb6321930d69be5b9b54a9a"> 3292</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#ac8deb55d1eb6321930d69be5b9b54a9a">ASTContext::getDependentNameType</a>(<a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword,</div>
+<div class="line"><a name="l03293"></a><span class="lineno"> 3293</span>                                           <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS,</div>
+<div class="line"><a name="l03294"></a><span class="lineno"> 3294</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name,</div>
+<div class="line"><a name="l03295"></a><span class="lineno"> 3295</span>                                           <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03296"></a><span class="lineno"> 3296</span>   assert(NNS-><a class="code" href="classclang_1_1NestedNameSpecifier.html#a860eb5e746ef604d75f0beae5634ca91" title="Whether this nested name specifier refers to a dependent type or not.">isDependent</a>() && <span class="stringliteral">"nested-name-specifier must be dependent"</span>);</div>
+<div class="line"><a name="l03297"></a><span class="lineno"> 3297</span> </div>
+<div class="line"><a name="l03298"></a><span class="lineno"> 3298</span>   <span class="keywordflow">if</span> (Canon.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>()) {</div>
+<div class="line"><a name="l03299"></a><span class="lineno"> 3299</span>     <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *CanonNNS = <a class="code" href="classclang_1_1ASTContext.html#a4aa2fc1f5513ef1371c0d2028f624410" title="Retrieves the "canonical" nested name specifier for a given nested name specifier.">getCanonicalNestedNameSpecifier</a>(NNS);</div>
+<div class="line"><a name="l03300"></a><span class="lineno"> 3300</span>     <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> CanonKeyword = Keyword;</div>
+<div class="line"><a name="l03301"></a><span class="lineno"> 3301</span>     <span class="keywordflow">if</span> (Keyword == <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95afab48992cbc393b33c4623486d7a2c2c13" title="No keyword precedes the qualified type name.">ETK_None</a>)</div>
+<div class="line"><a name="l03302"></a><span class="lineno"> 3302</span>       CanonKeyword = <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95afaad27d6f820e1631596ba08a9322ae41b" title="The "typename" keyword precedes the qualified type name, e.g., typename T::type.">ETK_Typename</a>;</div>
+<div class="line"><a name="l03303"></a><span class="lineno"> 3303</span>     </div>
+<div class="line"><a name="l03304"></a><span class="lineno"> 3304</span>     <span class="keywordflow">if</span> (CanonNNS != NNS || CanonKeyword != Keyword)</div>
+<div class="line"><a name="l03305"></a><span class="lineno"> 3305</span>       Canon = <a class="code" href="classclang_1_1ASTContext.html#ac8deb55d1eb6321930d69be5b9b54a9a">getDependentNameType</a>(CanonKeyword, CanonNNS, Name);</div>
+<div class="line"><a name="l03306"></a><span class="lineno"> 3306</span>   }</div>
+<div class="line"><a name="l03307"></a><span class="lineno"> 3307</span> </div>
+<div class="line"><a name="l03308"></a><span class="lineno"> 3308</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03309"></a><span class="lineno"> 3309</span>   <a class="code" href="classclang_1_1DependentNameType.html#aec03cf3d0fac0aa0c4f82df661a682b4">DependentNameType::Profile</a>(ID, Keyword, NNS, Name);</div>
+<div class="line"><a name="l03310"></a><span class="lineno"> 3310</span> </div>
+<div class="line"><a name="l03311"></a><span class="lineno"> 3311</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03312"></a><span class="lineno"> 3312</span>   <a class="code" href="classclang_1_1DependentNameType.html" title="Represents a qualified type name for which the type name is dependent.">DependentNameType</a> *T</div>
+<div class="line"><a name="l03313"></a><span class="lineno"> 3313</span>     = DependentNameTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03314"></a><span class="lineno"> 3314</span>   <span class="keywordflow">if</span> (T)</div>
+<div class="line"><a name="l03315"></a><span class="lineno"> 3315</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03316"></a><span class="lineno"> 3316</span> </div>
+<div class="line"><a name="l03317"></a><span class="lineno"> 3317</span>   T = <span class="keyword">new</span> (*this) <a class="code" href="classclang_1_1DependentNameType.html" title="Represents a qualified type name for which the type name is dependent.">DependentNameType</a>(Keyword, NNS, Name, Canon);</div>
+<div class="line"><a name="l03318"></a><span class="lineno"> 3318</span>   Types.push_back(T);</div>
+<div class="line"><a name="l03319"></a><span class="lineno"> 3319</span>   DependentNameTypes.InsertNode(T, InsertPos);</div>
+<div class="line"><a name="l03320"></a><span class="lineno"> 3320</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03321"></a><span class="lineno"> 3321</span> }</div>
+<div class="line"><a name="l03322"></a><span class="lineno"> 3322</span> </div>
+<div class="line"><a name="l03323"></a><span class="lineno"> 3323</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03324"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58"> 3324</a></span> <a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58">ASTContext::getDependentTemplateSpecializationType</a>(</div>
+<div class="line"><a name="l03325"></a><span class="lineno"> 3325</span>                                  <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword,</div>
+<div class="line"><a name="l03326"></a><span class="lineno"> 3326</span>                                  <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS,</div>
+<div class="line"><a name="l03327"></a><span class="lineno"> 3327</span>                                  <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name,</div>
+<div class="line"><a name="l03328"></a><span class="lineno"> 3328</span>                                  <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgumentListInfo.html">TemplateArgumentListInfo</a> &<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03329"></a><span class="lineno"> 3329</span>   <span class="comment">// TODO: avoid this copy</span></div>
+<div class="line"><a name="l03330"></a><span class="lineno"> 3330</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 16></a> ArgCopy;</div>
+<div class="line"><a name="l03331"></a><span class="lineno"> 3331</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, E = Args.<a class="code" href="classclang_1_1TemplateArgumentListInfo.html#aa7dc7d042c01adf26f0bd58e1623d3f4">size</a>(); I != E; ++I)</div>
+<div class="line"><a name="l03332"></a><span class="lineno"> 3332</span>     ArgCopy.push_back(Args[I].getArgument());</div>
+<div class="line"><a name="l03333"></a><span class="lineno"> 3333</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58">getDependentTemplateSpecializationType</a>(Keyword, NNS, Name,</div>
+<div class="line"><a name="l03334"></a><span class="lineno"> 3334</span>                                                 ArgCopy.size(),</div>
+<div class="line"><a name="l03335"></a><span class="lineno"> 3335</span>                                                 ArgCopy.data());</div>
+<div class="line"><a name="l03336"></a><span class="lineno"> 3336</span> }</div>
+<div class="line"><a name="l03337"></a><span class="lineno"> 3337</span> </div>
+<div class="line"><a name="l03338"></a><span class="lineno"> 3338</span> <a class="code" href="classclang_1_1QualType.html">QualType</a></div>
+<div class="line"><a name="l03339"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a7711b0e4fa30cd8b39635069118de054"> 3339</a></span> <a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58">ASTContext::getDependentTemplateSpecializationType</a>(</div>
+<div class="line"><a name="l03340"></a><span class="lineno"> 3340</span>                                  <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword,</div>
+<div class="line"><a name="l03341"></a><span class="lineno"> 3341</span>                                  <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS,</div>
+<div class="line"><a name="l03342"></a><span class="lineno"> 3342</span>                                  <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name,</div>
+<div class="line"><a name="l03343"></a><span class="lineno"> 3343</span>                                  <span class="keywordtype">unsigned</span> NumArgs,</div>
+<div class="line"><a name="l03344"></a><span class="lineno"> 3344</span>                                  <span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> *<a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l03345"></a><span class="lineno"> 3345</span>   assert((!NNS || NNS-><a class="code" href="classclang_1_1NestedNameSpecifier.html#a860eb5e746ef604d75f0beae5634ca91" title="Whether this nested name specifier refers to a dependent type or not.">isDependent</a>()) && </div>
+<div class="line"><a name="l03346"></a><span class="lineno"> 3346</span>          <span class="stringliteral">"nested-name-specifier must be dependent"</span>);</div>
+<div class="line"><a name="l03347"></a><span class="lineno"> 3347</span> </div>
+<div class="line"><a name="l03348"></a><span class="lineno"> 3348</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03349"></a><span class="lineno"> 3349</span>   <a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#aadc8c1101e4b807b793ceaf8c56d7bf7">DependentTemplateSpecializationType::Profile</a>(ID, *<span class="keyword">this</span>, Keyword, NNS,</div>
+<div class="line"><a name="l03350"></a><span class="lineno"> 3350</span>                                                Name, NumArgs, Args);</div>
+<div class="line"><a name="l03351"></a><span class="lineno"> 3351</span> </div>
+<div class="line"><a name="l03352"></a><span class="lineno"> 3352</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03353"></a><span class="lineno"> 3353</span>   <a class="code" href="classclang_1_1DependentTemplateSpecializationType.html">DependentTemplateSpecializationType</a> *T</div>
+<div class="line"><a name="l03354"></a><span class="lineno"> 3354</span>     = DependentTemplateSpecializationTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03355"></a><span class="lineno"> 3355</span>   <span class="keywordflow">if</span> (T)</div>
+<div class="line"><a name="l03356"></a><span class="lineno"> 3356</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03357"></a><span class="lineno"> 3357</span> </div>
+<div class="line"><a name="l03358"></a><span class="lineno"> 3358</span>   <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *CanonNNS = <a class="code" href="classclang_1_1ASTContext.html#a4aa2fc1f5513ef1371c0d2028f624410" title="Retrieves the "canonical" nested name specifier for a given nested name specifier.">getCanonicalNestedNameSpecifier</a>(NNS);</div>
+<div class="line"><a name="l03359"></a><span class="lineno"> 3359</span> </div>
+<div class="line"><a name="l03360"></a><span class="lineno"> 3360</span>   <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> CanonKeyword = Keyword;</div>
+<div class="line"><a name="l03361"></a><span class="lineno"> 3361</span>   <span class="keywordflow">if</span> (Keyword == <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95afab48992cbc393b33c4623486d7a2c2c13" title="No keyword precedes the qualified type name.">ETK_None</a>) CanonKeyword = <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95afaad27d6f820e1631596ba08a9322ae41b" title="The "typename" keyword precedes the qualified type name, e.g., typename T::type.">ETK_Typename</a>;</div>
+<div class="line"><a name="l03362"></a><span class="lineno"> 3362</span> </div>
+<div class="line"><a name="l03363"></a><span class="lineno"> 3363</span>   <span class="keywordtype">bool</span> AnyNonCanonArgs = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03364"></a><span class="lineno"> 3364</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 16></a> CanonArgs(NumArgs);</div>
+<div class="line"><a name="l03365"></a><span class="lineno"> 3365</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumArgs; ++I) {</div>
+<div class="line"><a name="l03366"></a><span class="lineno"> 3366</span>     CanonArgs[I] = <a class="code" href="classclang_1_1ASTContext.html#a356bcc90a0fe9ef630751c5a7670943f" title="Retrieve the "canonical" template argument.">getCanonicalTemplateArgument</a>(Args[I]);</div>
+<div class="line"><a name="l03367"></a><span class="lineno"> 3367</span>     <span class="keywordflow">if</span> (!CanonArgs[I].structurallyEquals(Args[I]))</div>
+<div class="line"><a name="l03368"></a><span class="lineno"> 3368</span>       AnyNonCanonArgs = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03369"></a><span class="lineno"> 3369</span>   }</div>
+<div class="line"><a name="l03370"></a><span class="lineno"> 3370</span> </div>
+<div class="line"><a name="l03371"></a><span class="lineno"> 3371</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon;</div>
+<div class="line"><a name="l03372"></a><span class="lineno"> 3372</span>   <span class="keywordflow">if</span> (AnyNonCanonArgs || CanonNNS != NNS || CanonKeyword != Keyword) {</div>
+<div class="line"><a name="l03373"></a><span class="lineno"> 3373</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58">getDependentTemplateSpecializationType</a>(CanonKeyword, CanonNNS,</div>
+<div class="line"><a name="l03374"></a><span class="lineno"> 3374</span>                                                    Name, NumArgs,</div>
+<div class="line"><a name="l03375"></a><span class="lineno"> 3375</span>                                                    CanonArgs.data());</div>
+<div class="line"><a name="l03376"></a><span class="lineno"> 3376</span> </div>
+<div class="line"><a name="l03377"></a><span class="lineno"> 3377</span>     <span class="comment">// Find the insert position again.</span></div>
+<div class="line"><a name="l03378"></a><span class="lineno"> 3378</span>     DependentTemplateSpecializationTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03379"></a><span class="lineno"> 3379</span>   }</div>
+<div class="line"><a name="l03380"></a><span class="lineno"> 3380</span> </div>
+<div class="line"><a name="l03381"></a><span class="lineno"> 3381</span>   <span class="keywordtype">void</span> *Mem = <a class="code" href="classclang_1_1ASTContext.html#a2b0efa9919a08d2fb955f3003c304aa9">Allocate</a>((<span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1DependentTemplateSpecializationType.html">DependentTemplateSpecializationType</a>) +</div>
+<div class="line"><a name="l03382"></a><span class="lineno"> 3382</span>                         <span class="keyword">sizeof</span>(<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a>) * NumArgs),</div>
+<div class="line"><a name="l03383"></a><span class="lineno"> 3383</span>                        <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>);</div>
+<div class="line"><a name="l03384"></a><span class="lineno"> 3384</span>   T = <span class="keyword">new</span> (Mem) <a class="code" href="classclang_1_1DependentTemplateSpecializationType.html">DependentTemplateSpecializationType</a>(Keyword, NNS,</div>
+<div class="line"><a name="l03385"></a><span class="lineno"> 3385</span>                                                     Name, NumArgs, Args, Canon);</div>
+<div class="line"><a name="l03386"></a><span class="lineno"> 3386</span>   Types.push_back(T);</div>
+<div class="line"><a name="l03387"></a><span class="lineno"> 3387</span>   DependentTemplateSpecializationTypes.InsertNode(T, InsertPos);</div>
+<div class="line"><a name="l03388"></a><span class="lineno"> 3388</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03389"></a><span class="lineno"> 3389</span> }</div>
+<div class="line"><a name="l03390"></a><span class="lineno"> 3390</span> </div>
+<div class="line"><a name="l03391"></a><span class="lineno"><a class="code" href="classclang_1_1ASTContext.html#a06285f3209aa603d17ec552e16870b18"> 3391</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTContext.html#a06285f3209aa603d17ec552e16870b18">ASTContext::getPackExpansionType</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> Pattern,</div>
+<div class="line"><a name="l03392"></a><span class="lineno"> 3392</span>                                           <a class="code" href="classllvm_1_1Optional.html">Optional<unsigned></a> NumExpansions) {</div>
+<div class="line"><a name="l03393"></a><span class="lineno"> 3393</span>   llvm::FoldingSetNodeID <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l03394"></a><span class="lineno"> 3394</span>   <a class="code" href="classclang_1_1PackExpansionType.html#a10f634c7a17c489ef903e78d22a1e3d4">PackExpansionType::Profile</a>(ID, Pattern, NumExpansions);</div>
+<div class="line"><a name="l03395"></a><span class="lineno"> 3395</span> </div>
+<div class="line"><a name="l03396"></a><span class="lineno"> 3396</span>   assert(Pattern-><a class="code" href="classclang_1_1Type.html#a0b94be09e2c77a36a9f66b7a875da9c8" title="Whether this type is or contains an unexpanded parameter pack, used to support C++0x variadic templat...">containsUnexpandedParameterPack</a>() &&</div>
+<div class="line"><a name="l03397"></a><span class="lineno"> 3397</span>          <span class="stringliteral">"Pack expansions must expand one or more parameter packs"</span>);</div>
+<div class="line"><a name="l03398"></a><span class="lineno"> 3398</span>   <span class="keywordtype">void</span> *InsertPos = 0;</div>
+<div class="line"><a name="l03399"></a><span class="lineno"> 3399</span>   <a class="code" href="classclang_1_1PackExpansionType.html" title="Represents a pack expansion of types.">PackExpansionType</a> *T</div>
+<div class="line"><a name="l03400"></a><span class="lineno"> 3400</span>     = PackExpansionTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03401"></a><span class="lineno"> 3401</span>   <span class="keywordflow">if</span> (T)</div>
+<div class="line"><a name="l03402"></a><span class="lineno"> 3402</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(T, 0);</div>
+<div class="line"><a name="l03403"></a><span class="lineno"> 3403</span> </div>
+<div class="line"><a name="l03404"></a><span class="lineno"> 3404</span>   <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon;</div>
+<div class="line"><a name="l03405"></a><span class="lineno"> 3405</span>   <span class="keywordflow">if</span> (!Pattern.<a class="code" href="classclang_1_1QualType.html#aa63a8e7edb01361c17917a8a865e3077">isCanonical</a>()) {</div>
+<div class="line"><a name="l03406"></a><span class="lineno"> 3406</span>     Canon = <a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Pattern);</div>
+<div class="line"><a name="l03407"></a><span class="lineno"> 3407</span>     <span class="comment">// The canonical type might not contain an unexpanded parameter pack, if it</span></div>
+<div class="line"><a name="l03408"></a><span class="lineno"> 3408</span>     <span class="comment">// contains an alias template specialization which ignores one of its</span></div>
+<div class="line"><a name="l03409"></a><span class="lineno"> 3409</span>     <span class="comment">// parameters.</span></div>
+<div class="line"><a name="l03410"></a><span class="lineno"> 3410</span>     <span class="keywordflow">if</span> (Canon-><a class="code" href="classclang_1_1Type.html#a0b94be09e2c77a36a9f66b7a875da9c8" title="Whether this type is or contains an unexpanded parameter pack, used to support C++0x variadic templat...">containsUnexpandedParameterPack</a>()) {</div>
+<div class="line"><a name="l03411"></a><span class="lineno"> 3411</span>       Canon = <a class="code" href="classclang_1_1ASTContext.html#a06285f3209aa603d17ec552e16870b18">getPackExpansionType</a>(<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Pattern), NumExpansions);</div>
+<div class="line"><a name="l03412"></a><span class="lineno"> 3412</span> </div>
+<div class="line"><a name="l03413"></a><span class="lineno"> 3413</span>       <span class="comment">// Find the insert position again, in case we inserted an element into</span></div>
+<div class="line"><a name="l03414"></a><span class="lineno"> 3414</span>       <span class="comment">// PackExpansionTypes and invalidated our insert position.</span></div>
+<div class="line"><a name="l03415"></a><span class="lineno"> 3415</span>       PackExpansionTypes.FindNodeOrInsertPos(ID, InsertPos);</div>
+<div class="line"><a name="l03416"></a><span class="lineno"> 3416</span>     }</div>
+<div class="line"><a name="l03417"></a><span class="lineno"> 3417</span>   }</div>
+<div class="line"><a name="l03418"></a><span class="lineno"> 3418</span> </div>
+<div class="line"><a name="l03419"></a><span class="lineno"> 3419</span>   T = <span class="keyword">new</span> (*this) <a class="code" href="classclang_1_1PackExpansionType.html" title="Represents a pack expansion of types.">PackExpansionType</a>(Pattern, Canon, NumExpansions);</div>
+<div class="line"><a name="l03420"></a><span class="lineno"> 3420</span>   Types.push_back(T);</div>
+<div class="line"><a name="l03421"></a><span class="lineno"> 3421</span>   PackExpansionTypes.InsertNode(T, InsertPos);</div>
+<div class="line"><a name="l03422"></a><span class="lineno"> 3422</span>   <span class="keywordflow">return</span> <a class="code" href="cla