[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/ASTWriter_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTWriter_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTWriter_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTWriter_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,5459 @@
+<!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: ASTWriter.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_76f5807b435ffff72c67c480f0b9aa5b.html">Serialization</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTWriter.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTWriter_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">//===--- ASTWriter.cpp - AST File Writer ----------------------------------===//</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 defines the ASTWriter class, which writes AST files.</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="ASTWriter_8h.html">clang/Serialization/ASTWriter.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor">#include "<a class="code" href="ASTCommon_8h.html">ASTCommon.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</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="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="Decl_8h.html">clang/AST/Decl.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor">#include "<a class="code" href="DeclContextInternals_8h.html">clang/AST/DeclContextInternals.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="DeclFriend_8h.html">clang/AST/DeclFriend.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</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="l00021"></a><span class="lineno">   21</span> <span class="preprocessor">#include "<a class="code" href="Expr_8h.html">clang/AST/Expr.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</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="l00023"></a><span class="lineno">   23</span> <span class="preprocessor">#include "<a class="code" href="Type_8h.html">clang/AST/Type.h</a>"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="preprocessor">#include "<a class="code" href="TypeLocVisitor_8h.html">clang/AST/TypeLocVisitor.h</a>"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="preprocessor">#include "<a class="code" href="FileManager_8h.html" title="Defines the clang::FileManager interface and associated types.">clang/Basic/FileManager.h</a>"</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="preprocessor">#include "<a class="code" href="FileSystemStatCache_8h.html" title="Defines the FileSystemStatCache interface.">clang/Basic/FileSystemStatCache.h</a>"</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="preprocessor">#include "<a class="code" href="OnDiskHashTable_8h.html" title="Defines facilities for reading and writing on-disk hash tables.">clang/Basic/OnDiskHashTable.h</a>"</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</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="l00029"></a><span class="lineno">   29</span> <span class="preprocessor">#include "<a class="code" href="SourceManagerInternals_8h.html" title="Defines implementation details of the clang::SourceManager class.">clang/Basic/SourceManagerInternals.h</a>"</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</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="l00031"></a><span class="lineno">   31</span> <span class="preprocessor">#include "<a class="code" href="TargetOptions_8h.html" title="Defines the clang::TargetOptions class.">clang/Basic/TargetOptions.h</a>"</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="preprocessor">#include "<a class="code" href="Version_8h.html" title="Defines version macros and version-related utility functions for Clang.">clang/Basic/Version.h</a>"</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="preprocessor">#include "<a class="code" href="VersionTuple_8h.html" title="Defines the clang::VersionTuple class, which represents a version in the form major[.minor[.subminor]].">clang/Basic/VersionTuple.h</a>"</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> <span class="preprocessor">#include "<a class="code" href="HeaderSearch_8h.html">clang/Lex/HeaderSearch.h</a>"</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> <span class="preprocessor">#include "<a class="code" href="HeaderSearchOptions_8h.html">clang/Lex/HeaderSearchOptions.h</a>"</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="preprocessor">#include "<a class="code" href="MacroInfo_8h.html" title="Defines the clang::MacroInfo and clang::MacroDirective classes.">clang/Lex/MacroInfo.h</a>"</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="preprocessor">#include "<a class="code" href="PreprocessingRecord_8h.html">clang/Lex/PreprocessingRecord.h</a>"</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="preprocessor">#include "<a class="code" href="Preprocessor_8h.html">clang/Lex/Preprocessor.h</a>"</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="preprocessor">#include "<a class="code" href="PreprocessorOptions_8h.html">clang/Lex/PreprocessorOptions.h</a>"</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="preprocessor">#include "<a class="code" href="IdentifierResolver_8h.html">clang/Sema/IdentifierResolver.h</a>"</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="preprocessor">#include "<a class="code" href="Sema_8h.html">clang/Sema/Sema.h</a>"</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> <span class="preprocessor">#include "<a class="code" href="ASTReader_8h.html">clang/Serialization/ASTReader.h</a>"</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="preprocessor">#include "llvm/ADT/APFloat.h"</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="preprocessor">#include "llvm/ADT/APInt.h"</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="preprocessor">#include "llvm/ADT/Hashing.h"</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="preprocessor">#include "llvm/ADT/StringExtras.h"</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="preprocessor">#include "llvm/Bitcode/BitstreamWriter.h"</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="preprocessor">#include "llvm/Support/FileSystem.h"</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="preprocessor">#include "llvm/Support/MemoryBuffer.h"</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="preprocessor">#include "llvm/Support/Path.h"</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="preprocessor">#include <algorithm></span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="preprocessor">#include <cstdio></span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="preprocessor">#include <string.h></span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="preprocessor">#include <utility></span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="keyword">using namespace </span>clang::serialization;</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> </div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> Allocator></div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">   59</a></span> <span class="keyword">static</span> StringRef <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(<span class="keyword">const</span> std::vector<T, Allocator> &v) {</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>   <span class="keywordflow">if</span> (v.empty()) <span class="keywordflow">return</span> StringRef();</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>   <span class="keywordflow">return</span> StringRef(reinterpret_cast<const char*>(&v[0]),</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>                          <span class="keyword">sizeof</span>(T) * v.size());</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span> }</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span> </div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a21721ada71f748c9658643c521640f70">   66</a></span> <span class="keyword">static</span> StringRef <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(<span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<T></a> &v) {</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>   <span class="keywordflow">return</span> StringRef(reinterpret_cast<const char*>(v.data()),</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>                          <span class="keyword">sizeof</span>(T) * v.size());</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> </div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span> <span class="comment">// Type serialization</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span> </div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>   <span class="keyword">class </span>ASTTypeWriter {</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>     <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>     <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record;</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="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="comment">    /// \brief Type code that corresponds to the record generated.</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span> <span class="comment"></span>    <a class="code" href="group__ASTAST.html#gaa8f0422e40ce8d66ef65c0ca39d44838" title="Record codes for each kind of type.">TypeCode</a> Code;</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span> </div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>     ASTTypeWriter(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer, <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record)</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>       : Writer(Writer), Record(Record), Code(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a81a62dc49641e74fc558135d203cf05a" title="An ExtQualType record.">TYPE_EXT_QUAL</a>) { }</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span> </div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>     <span class="keywordtype">void</span> VisitArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ArrayType.html">ArrayType</a> *T);</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>     <span class="keywordtype">void</span> VisitFunctionType(<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionType.html">FunctionType</a> *T);</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>     <span class="keywordtype">void</span> VisitTagType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *T);</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span> </div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#ae4a07ce35c58c50e8e1286f630ba03c4">   91</a></span> <span class="preprocessor">#define TYPE(Class, Base) void Visit##Class##Type(const Class##Type *T);</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a229b31cea6fe8b1467e5909b39e22caf">   92</a></span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Class, Base)</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>   };</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span> }</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span> </div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitBuiltinType(<span class="keyword">const</span> <a class="code" href="classclang_1_1BuiltinType.html">BuiltinType</a> *T) {</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>   llvm_unreachable(<span class="stringliteral">"Built-in types are never serialized"</span>);</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span> }</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> </div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitComplexType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ComplexType.html">ComplexType</a> *T) {</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ComplexType.html#a003ef818ba80a0004dd20256766803a6">getElementType</a>(), Record);</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac925d0e5cc832d99f8e3d21c5517db3d" title="A ComplexType record.">TYPE_COMPLEX</a>;</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span> }</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span> </div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitPointerType(<span class="keyword">const</span> <a class="code" href="classclang_1_1PointerType.html">PointerType</a> *T) {</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1PointerType.html#a3d0af079431148f7da7e2c400052cc66">getPointeeType</a>(), Record);</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a453cd1d29a477e7c16ba92befe68ce60" title="A PointerType record.">TYPE_POINTER</a>;</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span> }</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span> </div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitDecayedType(<span class="keyword">const</span> <a class="code" href="classclang_1_1DecayedType.html" title="Represents a pointer type decayed from an array or function type.">DecayedType</a> *T) {</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1DecayedType.html#a7db7718f11da1794eb58a91c5af8a6b1">getOriginalType</a>(), Record);</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a29c01dccb42b2c28155722429f07e8be" title="A DecayedType record.">TYPE_DECAYED</a>;</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span> }</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span> </div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitBlockPointerType(<span class="keyword">const</span> <a class="code" href="classclang_1_1BlockPointerType.html">BlockPointerType</a> *T) {</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1BlockPointerType.html#a93e7a12f31b37872b82f9c61207ecd84">getPointeeType</a>(), Record);</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a249f939198f12f12fad2f9537eeab75f" title="A BlockPointerType record.">TYPE_BLOCK_POINTER</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> </div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitLValueReferenceType(<span class="keyword">const</span> <a class="code" href="classclang_1_1LValueReferenceType.html">LValueReferenceType</a> *T) {</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ReferenceType.html#a50abac7cda4f5adb5a0d110f963b622c">getPointeeTypeAsWritten</a>(), Record);</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>   Record.push_back(T-><a class="code" href="classclang_1_1ReferenceType.html#a026700d1c43cc43684e6d3364a37f88a">isSpelledAsLValue</a>());</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a44eb6566d9a6235848046a03fd7b94ed" title="An LValueReferenceType record.">TYPE_LVALUE_REFERENCE</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> </div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitRValueReferenceType(<span class="keyword">const</span> <a class="code" href="classclang_1_1RValueReferenceType.html">RValueReferenceType</a> *T) {</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ReferenceType.html#a50abac7cda4f5adb5a0d110f963b622c">getPointeeTypeAsWritten</a>(), Record);</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3bc8ea296401efd35adb0b46062cb1a9" title="An RValueReferenceType record.">TYPE_RVALUE_REFERENCE</a>;</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span> }</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span> </div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitMemberPointerType(<span class="keyword">const</span> <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *T) {</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1MemberPointerType.html#a3f0b2f25c4ad91d2e8bd2752d9552199">getPointeeType</a>(), Record);</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>   Writer.AddTypeRef(<a class="code" href="classclang_1_1QualType.html">QualType</a>(T-><a class="code" href="classclang_1_1MemberPointerType.html#a74f40efdd2bcca293720459931fba7ea">getClass</a>(), 0), Record);</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a6d1555cf519242c930ca86e334233566" title="A MemberPointerType record.">TYPE_MEMBER_POINTER</a>;</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> }</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> </div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ArrayType.html">ArrayType</a> *T) {</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ArrayType.html#ad9681a11b43dc70a3c4db07d2a450d12">getElementType</a>(), Record);</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>   Record.push_back(T-><a class="code" href="classclang_1_1ArrayType.html#a2e6bb41232dd6894b4b12c4bba6506f0">getSizeModifier</a>()); <span class="comment">// FIXME: stable values</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>   Record.push_back(T-><a class="code" href="classclang_1_1ArrayType.html#af1482f3b4fdc5bc2b166d70c99f17746">getIndexTypeCVRQualifiers</a>()); <span class="comment">// FIXME: stable values</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> }</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> </div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitConstantArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ConstantArrayType.html">ConstantArrayType</a> *T) {</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>   VisitArrayType(T);</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>   Writer.AddAPInt(T-><a class="code" href="classclang_1_1ConstantArrayType.html#add90924c309ad1f353431f2b63e9ba2b">getSize</a>(), Record);</div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ab24d08c5f524ea2b4c6bf12f758e849e" title="A ConstantArrayType record.">TYPE_CONSTANT_ARRAY</a>;</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> }</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> </div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitIncompleteArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a> *T) {</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>   VisitArrayType(T);</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a48d67d01889e53fc437e0b1ebc3cdb45" title="An IncompleteArrayType record.">TYPE_INCOMPLETE_ARRAY</a>;</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> }</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="keywordtype">void</span> ASTTypeWriter::VisitVariableArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1VariableArrayType.html">VariableArrayType</a> *T) {</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>   VisitArrayType(T);</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>   Writer.AddSourceLocation(T-><a class="code" href="classclang_1_1VariableArrayType.html#a400df7dd06ebfff85c42fe2f63a0da45">getLBracketLoc</a>(), Record);</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>   Writer.AddSourceLocation(T-><a class="code" href="classclang_1_1VariableArrayType.html#addfed2e03a6a3a107306dc21be856142">getRBracketLoc</a>(), Record);</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>   Writer.AddStmt(T-><a class="code" href="classclang_1_1VariableArrayType.html#a4e902b28e4427e39b4e096865e218034">getSizeExpr</a>());</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a12c1023cccf7d9f9711eabd0873acf7e" title="A VariableArrayType record.">TYPE_VARIABLE_ARRAY</a>;</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> }</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> </div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitVectorType(<span class="keyword">const</span> <a class="code" href="classclang_1_1VectorType.html">VectorType</a> *T) {</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1VectorType.html#aa82693de604f63a6366f39372252ab42">getElementType</a>(), Record);</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>   Record.push_back(T-><a class="code" href="classclang_1_1VectorType.html#adfa7e090380e24449722cc934b2a71b1">getNumElements</a>());</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>   Record.push_back(T-><a class="code" href="classclang_1_1VectorType.html#a11d7df86c16906cee06ddffcc2845245">getVectorKind</a>());</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5220725764d02873f672d45f19d5267c" title="A VectorType record.">TYPE_VECTOR</a>;</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> </div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitExtVectorType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ExtVectorType.html">ExtVectorType</a> *T) {</div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>   VisitVectorType(T);</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7ef20ba4567c2ee102e0039ab1628591" title="An ExtVectorType record.">TYPE_EXT_VECTOR</a>;</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> }</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> </div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitFunctionType(<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionType.html">FunctionType</a> *T) {</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1FunctionType.html#aafa453cd7e81a7c3d6c61f261e68afe8">getResultType</a>(), Record);</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>   <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionType::ExtInfo</a> C = T-><a class="code" href="classclang_1_1FunctionType.html#a443ec10bc39b4f81172f845109697735">getExtInfo</a>();</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>   Record.push_back(C.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#a212508a618b9ce68b39437096cc6228e">getNoReturn</a>());</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>   Record.push_back(C.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#ab8e31adfbf03ca530e706f735059850a">getHasRegParm</a>());</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>   Record.push_back(C.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#a5ab8d0903420849b03fde081d36c4b24">getRegParm</a>());</div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>   <span class="comment">// FIXME: need to stabilize encoding of calling convention...</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>   Record.push_back(C.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#a8f7f2256b071196f5331f6d9bafc6da5">getCC</a>());</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>   Record.push_back(C.<a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html#aac7543221c2c3f753ea7335703f5f032">getProducesResult</a>());</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span> }</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span> </div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitFunctionNoProtoType(<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionNoProtoType.html">FunctionNoProtoType</a> *T) {</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>   VisitFunctionType(T);</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a07f1a75b062d966067040a003aaf9813" title="A FunctionNoProtoType record.">TYPE_FUNCTION_NO_PROTO</a>;</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> }</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> </div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitFunctionProtoType(<span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionProtoType.html">FunctionProtoType</a> *T) {</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>   VisitFunctionType(T);</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>   Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a3bf15e11417c0547307698e6b3fc8772">getNumArgs</a>());</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = T-><a class="code" href="classclang_1_1FunctionProtoType.html#a3bf15e11417c0547307698e6b3fc8772">getNumArgs</a>(); I != N; ++I)</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>     Writer.AddTypeRef(T-><a class="code" href="classclang_1_1FunctionProtoType.html#ab515293e3ef4f959921927dd03dcf085">getArgType</a>(I), Record);</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span>   Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#aa39a01bfe913d6cfb6828486fcd089c0">isVariadic</a>());</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>   Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a0959290524cb823eaf702fd56d7af95c">hasTrailingReturn</a>());</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span>   Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a04403b5a1d432a260897cc62776412ec">getTypeQuals</a>());</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>   Record.push_back(static_cast<unsigned>(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a76108e8e175fd02642848096e98864a9" title="Retrieve the ref-qualifier associated with this function type.">getRefQualifier</a>()));</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span>   Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#aca05d807672e96ef572bc2543d21e7a5" title="Get the kind of exception specification on this function.">getExceptionSpecType</a>());</div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>   <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1FunctionProtoType.html#aca05d807672e96ef572bc2543d21e7a5" title="Get the kind of exception specification on this function.">getExceptionSpecType</a>() == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eaf4e0e31c2f1227d7cf242aa7db6de5bd" title="throw(T1, T2)">EST_Dynamic</a>) {</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>     Record.push_back(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a5e6a964052744f2eedb60ee1acc5d17b">getNumExceptions</a>());</div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = T-><a class="code" href="classclang_1_1FunctionProtoType.html#a5e6a964052744f2eedb60ee1acc5d17b">getNumExceptions</a>(); I != N; ++I)</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>       Writer.AddTypeRef(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a214b9765161874c2160f6eb4490ac0ea">getExceptionType</a>(I), Record);</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1FunctionProtoType.html#aca05d807672e96ef572bc2543d21e7a5" title="Get the kind of exception specification on this function.">getExceptionSpecType</a>() == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eae88c93c6922c9b0f0850b72e78294e57" title="noexcept(expression)">EST_ComputedNoexcept</a>) {</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>     Writer.AddStmt(T-><a class="code" href="classclang_1_1FunctionProtoType.html#aece9ba4cb7583d32332d09f5e9b2a989">getNoexceptExpr</a>());</div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1FunctionProtoType.html#aca05d807672e96ef572bc2543d21e7a5" title="Get the kind of exception specification on this function.">getExceptionSpecType</a>() == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ea5c47e4c2729a0db85f1534f536468533" title="not instantiated yet">EST_Uninstantiated</a>) {</div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span>     Writer.AddDeclRef(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a4fa95c90028bf9c5b24000970268e1de" title="If this function type has an exception specification which hasn't been determined yet (either because...">getExceptionSpecDecl</a>(), Record);</div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span>     Writer.AddDeclRef(T-><a class="code" href="classclang_1_1FunctionProtoType.html#ad05e8a00edc7dcd00e26313557f58984" title="If this function type has an uninstantiated exception specification, this is the function whose excep...">getExceptionSpecTemplate</a>(), Record);</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (T-><a class="code" href="classclang_1_1FunctionProtoType.html#aca05d807672e96ef572bc2543d21e7a5" title="Get the kind of exception specification on this function.">getExceptionSpecType</a>() == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ead20bd279037259cf905259c48b900821" title="not evaluated yet, for special member function">EST_Unevaluated</a>) {</div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span>     Writer.AddDeclRef(T-><a class="code" href="classclang_1_1FunctionProtoType.html#a4fa95c90028bf9c5b24000970268e1de" title="If this function type has an exception specification which hasn't been determined yet (either because...">getExceptionSpecDecl</a>(), Record);</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span>   }</div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a365fce2f776c2c685252d5091106c431" title="A FunctionProtoType record.">TYPE_FUNCTION_PROTO</a>;</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> </div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitUnresolvedUsingType(<span class="keyword">const</span> <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> *T) {</div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1UnresolvedUsingType.html#a8ca2c384e6a3294539f7768b958045c1">getDecl</a>(), Record);</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac72aae936231124ca0c55589752df37c" title="An UnresolvedUsingType record.">TYPE_UNRESOLVED_USING</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> </div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitTypedefType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *T) {</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1TypedefType.html#ad4e7a184d08d09e9abc74424f6769e9d">getDecl</a>(), Record);</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>   assert(!T-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>() && <span class="stringliteral">"Invalid typedef ?"</span>);</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1Type.html#a6bd50f807f10864ef809b41555e8d47c">getCanonicalTypeInternal</a>(), Record);</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae192168496dff60dd5778dda91ea74f0" title="A TypedefType record.">TYPE_TYPEDEF</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> </div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitTypeOfExprType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TypeOfExprType.html" title="TypeOfExprType (GCC extension).">TypeOfExprType</a> *T) {</div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span>   Writer.AddStmt(T-><a class="code" href="classclang_1_1TypeOfExprType.html#a5b4ef05d4afa3eb4a58faf98faa5aea9">getUnderlyingExpr</a>());</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7fc2c8a9416e4238834312dae957735d" title="A TypeOfExprType record.">TYPE_TYPEOF_EXPR</a>;</div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> }</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> </div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitTypeOfType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TypeOfType.html" title="TypeOfType (GCC extension).">TypeOfType</a> *T) {</div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1TypeOfType.html#af458ea77644bbffb1b688cb1ed224dd3">getUnderlyingType</a>(), Record);</div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838af7f4dfb7b65252a257ab850a7b434c82" title="A TypeOfType record.">TYPE_TYPEOF</a>;</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> }</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> <span class="keywordtype">void</span> ASTTypeWriter::VisitDecltypeType(<span class="keyword">const</span> <a class="code" href="classclang_1_1DecltypeType.html" title="DecltypeType (C++0x)">DecltypeType</a> *T) {</div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1DecltypeType.html#a45a753eb95d79ff38bf2749fc7ae8c56">getUnderlyingType</a>(), Record);</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span>   Writer.AddStmt(T-><a class="code" href="classclang_1_1DecltypeType.html#add1b313aa64d37e9c911d283f3401331">getUnderlyingExpr</a>());</div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae0764a60cedade004a865894533f43f9" title="a DecltypeType record.">TYPE_DECLTYPE</a>;</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> }</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> </div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitUnaryTransformType(<span class="keyword">const</span> <a class="code" href="classclang_1_1UnaryTransformType.html" title="A unary type transform, which is a type constructed from another.">UnaryTransformType</a> *T) {</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1UnaryTransformType.html#a91bc376135a6944fd6e012b86f16b575">getBaseType</a>(), Record);</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1UnaryTransformType.html#afb47a5d6212826d4069958a93ad1f7cc">getUnderlyingType</a>(), Record);</div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span>   Record.push_back(T-><a class="code" href="classclang_1_1UnaryTransformType.html#a4d1f3196ba49bc09e9375801e4ba2c83">getUTTKind</a>());</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac2c4f4052ef5add0343d8017937629d9" title="A UnaryTransformType record.">TYPE_UNARY_TRANSFORM</a>;</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> }</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> </div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitAutoType(<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> *T) {</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>   Writer.AddTypeRef(T-><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>(), Record);</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>   Record.push_back(T-><a class="code" href="classclang_1_1AutoType.html#a5d7b865788a4281765a8ff354346573d">isDecltypeAuto</a>());</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span>   <span class="keywordflow">if</span> (T-><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="l00255"></a><span class="lineno">  255</span>     Record.push_back(T-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>());</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a161587fe9cc342bf38c02a626c397d53" title="A AutoType record.">TYPE_AUTO</a>;</div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> }</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> </div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitTagType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *T) {</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span>   Record.push_back(T-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>());</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>()-><a class="code" href="classclang_1_1TagDecl.html#af0cd382c994f3c21fcf6b8b792973344" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>(), Record);</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span>   assert(!T-><a class="code" href="classclang_1_1TagType.html#a996c409b468cbbd690d6e4fcbb31f0ff" title="Determines whether this type is in the process of being defined.">isBeingDefined</a>() &&</div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span>          <span class="stringliteral">"Cannot serialize in the middle of a type definition"</span>);</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> }</div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> </div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitRecordType(<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *T) {</div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span>   VisitTagType(T);</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a8c72a0ce1aedd7a2426cdf86cab7d62d" title="A RecordType record.">TYPE_RECORD</a>;</div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> }</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="keywordtype">void</span> ASTTypeWriter::VisitEnumType(<span class="keyword">const</span> <a class="code" href="classclang_1_1EnumType.html">EnumType</a> *T) {</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span>   VisitTagType(T);</div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3cc4fc6c5d8a0743bc2f918cd4d5d453" title="An EnumType record.">TYPE_ENUM</a>;</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> }</div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> </div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitAttributedType(<span class="keyword">const</span> <a class="code" href="classclang_1_1AttributedType.html">AttributedType</a> *T) {</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1AttributedType.html#a165331786c7252831f6bdb55a26771df">getModifiedType</a>(), Record);</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1AttributedType.html#a955333e57a6b9133f29eeb79d9fc1261">getEquivalentType</a>(), Record);</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>   Record.push_back(T-><a class="code" href="classclang_1_1AttributedType.html#a322059789653d821e17adeb1e66fd19f">getAttrKind</a>());</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a485b499c0753ab99a364675a3eee5ad0" title="An AttributedType record.">TYPE_ATTRIBUTED</a>;</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> }</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span> </div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> ASTTypeWriter::VisitSubstTemplateTypeParmType(</div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span>                                         <span class="keyword">const</span> <a class="code" href="classclang_1_1SubstTemplateTypeParmType.html" title="Represents the result of substituting a type for a template type parameter.">SubstTemplateTypeParmType</a> *T) {</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>   Writer.AddTypeRef(<a class="code" href="classclang_1_1QualType.html">QualType</a>(T-><a class="code" href="classclang_1_1SubstTemplateTypeParmType.html#a4fdbb33f91edf4ff112e261797b55864" title="Gets the template parameter that was substituted for.">getReplacedParameter</a>(), 0), Record);</div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1SubstTemplateTypeParmType.html#a3bd08b2415d6ba919edff5b873710e62">getReplacementType</a>(), Record);</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a0a7b59e1878dbf993e2e36fed8fe467c" title="A SubstTemplateTypeParmType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM</a>;</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> }</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> </div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> ASTTypeWriter::VisitSubstTemplateTypeParmPackType(</div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span>                                       <span class="keyword">const</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> *T) {</div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span>   Writer.AddTypeRef(<a class="code" href="classclang_1_1QualType.html">QualType</a>(T-><a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html#a58385f12b4ecd08f297633ca4dab5039" title="Gets the template parameter that was substituted for.">getReplacedParameter</a>(), 0), Record);</div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>   Writer.AddTemplateArgument(T-><a class="code" href="classclang_1_1SubstTemplateTypeParmPackType.html#aa8b84739b06be4acbacc8454ac0d6a74">getArgumentPack</a>(), Record);</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d48385df2fb698004dc7f0ba65f24d9" title="A SubstTemplateTypeParmPackType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM_PACK</a>;</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> </div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span> ASTTypeWriter::VisitTemplateSpecializationType(</div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>                                        <span class="keyword">const</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> *T) {</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span>   Record.push_back(T-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>());</div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>   Writer.AddTemplateName(T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#a2ddf2c895073c46976b80c87e640440b" title="Retrieve the name of the template that we are specializing.">getTemplateName</a>(), Record);</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span>   Record.push_back(T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#a6cca470d31671d28f2396183e1dd9b66" title="Retrieve the number of template arguments.">getNumArgs</a>());</div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateSpecializationType::iterator</a> ArgI = T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#a62d5c90bdadda935b1252149de1ec375">begin</a>(), ArgE = T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#acd929f4b12444beaf37ae5d4b185c8f8">end</a>();</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>          ArgI != ArgE; ++ArgI)</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span>     Writer.AddTemplateArgument(*ArgI, Record);</div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#ab97065d1306299b7f90afedd4380180b" title="Determine if this template specialization type is for a type alias template that has been substituted...">isTypeAlias</a>() ? T-><a class="code" href="classclang_1_1TemplateSpecializationType.html#a0430f437271c8ecc51486212fecf76c3">getAliasedType</a>() :</div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span>                     T-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>() ? <a class="code" href="classclang_1_1QualType.html">QualType</a>()</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span>                                                 : T->getCanonicalTypeInternal(),</div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span>                     Record);</div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a532df5a5689cc53db51781e575b63e91" title="An TemplateSpecializationType record.">TYPE_TEMPLATE_SPECIALIZATION</a>;</div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span> }</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span> </div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> ASTTypeWriter::VisitDependentSizedArrayType(<span class="keyword">const</span> <a class="code" href="classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a> *T) {</div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span>   VisitArrayType(T);</div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span>   Writer.AddStmt(T-><a class="code" href="classclang_1_1DependentSizedArrayType.html#a7298e8e47bf638677a28b0a9cef7067c">getSizeExpr</a>());</div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span>   Writer.AddSourceRange(T-><a class="code" href="classclang_1_1DependentSizedArrayType.html#a8683f22f77054f3de4542feed67ff62f">getBracketsRange</a>(), Record);</div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a60f156a1f3e063a669dd72ebc71ea4bf" title="A DependentSizedArrayType record.">TYPE_DEPENDENT_SIZED_ARRAY</a>;</div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span> }</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> </div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span> ASTTypeWriter::VisitDependentSizedExtVectorType(</div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span>                                         <span class="keyword">const</span> <a class="code" href="classclang_1_1DependentSizedExtVectorType.html">DependentSizedExtVectorType</a> *T) {</div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span>   <span class="comment">// FIXME: Serialize this type (C++ only)</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span>   llvm_unreachable(<span class="stringliteral">"Cannot serialize dependent sized extended vector types"</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> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> ASTTypeWriter::VisitTemplateTypeParmType(<span class="keyword">const</span> <a class="code" href="classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a> *T) {</div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>   Record.push_back(T-><a class="code" href="classclang_1_1TemplateTypeParmType.html#afb4d599a17c1dfddb70a493ecf4308bd">getDepth</a>());</div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span>   Record.push_back(T-><a class="code" href="classclang_1_1TemplateTypeParmType.html#a0978efe0312deb5df3931c377317a477">getIndex</a>());</div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span>   Record.push_back(T-><a class="code" href="classclang_1_1TemplateTypeParmType.html#a0b00b9c913029b2f1dc4130b62003514">isParameterPack</a>());</div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1TemplateTypeParmType.html#a7194b13a88874ad83c229db28c8e454a">getDecl</a>(), Record);</div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a867b307628077d23cdd86a6bc27c9544" title="An TemplateTypeParmType record.">TYPE_TEMPLATE_TYPE_PARM</a>;</div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span> }</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span> </div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span> ASTTypeWriter::VisitDependentNameType(<span class="keyword">const</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="l00341"></a><span class="lineno">  341</span>   Record.push_back(T-><a class="code" href="classclang_1_1TypeWithKeyword.html#afa0ac8f11f4773937a5e54ee0f2bc672">getKeyword</a>());</div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span>   Writer.AddNestedNameSpecifier(T-><a class="code" href="classclang_1_1DependentNameType.html#aa1122227c11c6c56cd682540848fbdeb" title="Retrieve the qualification on this type.">getQualifier</a>(), Record);</div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span>   Writer.AddIdentifierRef(T-><a class="code" href="classclang_1_1DependentNameType.html#abc08bbe46dad07a9b75d2934443ed317" title="Retrieve the type named by the typename specifier as an identifier.">getIdentifier</a>(), Record);</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1Type.html#ae3568358da9008f207a1a87516c50b58">isCanonicalUnqualified</a>() ? <a class="code" href="classclang_1_1QualType.html">QualType</a>()</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>                                                 : T->getCanonicalTypeInternal(),</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>                     Record);</div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d950ffe5e20b29296722e5e08ca9c5c" title="A DependentNameType record.">TYPE_DEPENDENT_NAME</a>;</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span> }</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span> </div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span> ASTTypeWriter::VisitDependentTemplateSpecializationType(</div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>                                 <span class="keyword">const</span> <a class="code" href="classclang_1_1DependentTemplateSpecializationType.html">DependentTemplateSpecializationType</a> *T) {</div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span>   Record.push_back(T-><a class="code" href="classclang_1_1TypeWithKeyword.html#afa0ac8f11f4773937a5e54ee0f2bc672">getKeyword</a>());</div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>   Writer.AddNestedNameSpecifier(T-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#a1acec1ec68c5f4171ab16878ff80866f">getQualifier</a>(), Record);</div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>   Writer.AddIdentifierRef(T-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#a273f0d7431775d29baba1e600807cbf9">getIdentifier</a>(), Record);</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>   Record.push_back(T-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#a1081d43391acc8c1187d0a651fe37a9e" title="Retrieve the number of template arguments.">getNumArgs</a>());</div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">DependentTemplateSpecializationType::iterator</a></div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>          I = T-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#a7543670607c29cce840af3aba8734c90">begin</a>(), E = T-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#a384d84590df08d4da2f1802fc8bf72d1">end</a>(); I != E; ++I)</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>     Writer.AddTemplateArgument(*I, Record);</div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a21bd2748c097a472baaaa45cd353bec8" title="A DependentTemplateSpecializationType record.">TYPE_DEPENDENT_TEMPLATE_SPECIALIZATION</a>;</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> </div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitPackExpansionType(<span class="keyword">const</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="l00364"></a><span class="lineno">  364</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1PackExpansionType.html#aa7803ad1867a24e8676fed74a16f8e5a" title="Retrieve the pattern of this pack expansion, which is the type that will be repeatedly instantiated w...">getPattern</a>(), Record);</div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>   <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<unsigned></a> NumExpansions = T-><a class="code" href="classclang_1_1PackExpansionType.html#af9e51dd4bcdbb594dbff5b1d8ebecc06" title="Retrieve the number of expansions that this pack expansion will generate, if known.">getNumExpansions</a>())</div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>     Record.push_back(*NumExpansions + 1);</div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span>   <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span>     Record.push_back(0);</div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5a1dd79684e18fb1202ef9db340c35ee" title="A PackExpansionType record.">TYPE_PACK_EXPANSION</a>;</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span> }</div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> </div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitParenType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ParenType.html">ParenType</a> *T) {</div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ParenType.html#aaefeb3398336309cba225d55cfaf3486">getInnerType</a>(), Record);</div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a1f9cbdd76e827f3a56023d222a3e458e" title="A ParenType record.">TYPE_PAREN</a>;</div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span> }</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> </div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitElaboratedType(<span class="keyword">const</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) {</div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span>   Record.push_back(T-><a class="code" href="classclang_1_1TypeWithKeyword.html#afa0ac8f11f4773937a5e54ee0f2bc672">getKeyword</a>());</div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span>   Writer.AddNestedNameSpecifier(T-><a class="code" href="classclang_1_1ElaboratedType.html#a521f496cd170ad03905f51e4166ccb9e" title="Retrieve the qualification on this type.">getQualifier</a>(), Record);</div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ElaboratedType.html#af481939bfd45ec8dad748a83bfa1f698" title="Retrieve the type named by the qualified-id.">getNamedType</a>(), Record);</div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae7b7b0f26fdaafeca11969c17ba17ebd" title="An ElaboratedType record.">TYPE_ELABORATED</a>;</div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> }</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> <span class="keywordtype">void</span> ASTTypeWriter::VisitInjectedClassNameType(<span class="keyword">const</span> <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> *T) {</div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1InjectedClassNameType.html#a91182eee1ca190e85467b4e2bf380c0c">getDecl</a>()-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>(), Record);</div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1InjectedClassNameType.html#aed48cae203a4edf8f1792d68e1808e44">getInjectedSpecializationType</a>(), Record);</div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838aaa42be527610372704021bda58e340ec" title="An InjectedClassNameType record.">TYPE_INJECTED_CLASS_NAME</a>;</div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> }</div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span> </div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitObjCInterfaceType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCInterfaceType.html">ObjCInterfaceType</a> *T) {</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span>   Writer.AddDeclRef(T-><a class="code" href="classclang_1_1ObjCInterfaceType.html#a22c3016490a2aa2488269034583daf88" title="getDecl - Get the declaration of this interface.">getDecl</a>()-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a8595a624c397109ebce97034e683be37" title="Retrieves the canonical declaration of this Objective-C class.">getCanonicalDecl</a>(), Record);</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ad8afd65a2f44583464070982f4298446" title="An ObjCInterfaceType record.">TYPE_OBJC_INTERFACE</a>;</div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span> }</div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span> </div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span> <span class="keywordtype">void</span> ASTTypeWriter::VisitObjCObjectType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCObjectType.html">ObjCObjectType</a> *T) {</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ObjCObjectType.html#aba1d123748b1cc7d77232844bd1e6680">getBaseType</a>(), Record);</div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span>   Record.push_back(T-><a class="code" href="classclang_1_1ObjCObjectType.html#acf1d5aaa06ea64118ea0ddf9bdaacba5">getNumProtocols</a>());</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ObjCObjectType.html#a6be60d57cfe17bfa069665245fe26b7f">ObjCObjectType::qual_iterator</a> I = T-><a class="code" href="classclang_1_1ObjCObjectType.html#abbe213af9df78ba8bdea17bdca5bbb55">qual_begin</a>(),</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>        E = T-><a class="code" href="classclang_1_1ObjCObjectType.html#abfa4909b2eb30f31e73679d69c99e520">qual_end</a>(); I != E; ++I)</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>     Writer.AddDeclRef(*I, Record);</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a90de7a55ca63e402ddf39d31d0faa837" title="An ObjCObjectType record.">TYPE_OBJC_OBJECT</a>;</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> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span> ASTTypeWriter::VisitObjCObjectPointerType(<span class="keyword">const</span> <a class="code" href="classclang_1_1ObjCObjectPointerType.html">ObjCObjectPointerType</a> *T) {</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1ObjCObjectPointerType.html#a610d3fc1a15aafd545c35748819a5227">getPointeeType</a>(), Record);</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4834a65b93ea8691ebcd96d2eccd479f" title="An ObjCObjectPointerType record.">TYPE_OBJC_OBJECT_POINTER</a>;</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span> }</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span> </div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span> ASTTypeWriter::VisitAtomicType(<span class="keyword">const</span> <a class="code" href="classclang_1_1AtomicType.html">AtomicType</a> *T) {</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span>   Writer.AddTypeRef(T-><a class="code" href="classclang_1_1AtomicType.html#a00c483aa6cbb1980e6aa1c3d1f4ee847">getValueType</a>(), Record);</div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>   Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838add9b8caafe9f5a9fa4ab70aae8b7423c" title="An AtomicType record.">TYPE_ATOMIC</a>;</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span> }</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span> </div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span> <span class="keyword">namespace </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> <span class="keyword">class </span>TypeLocWriter : <span class="keyword">public</span> <a class="code" href="classclang_1_1TypeLocVisitor.html">TypeLocVisitor</a><TypeLocWriter> {</div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>   <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>   <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record;</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> </div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>   TypeLocWriter(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer, <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record)</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span>     : Writer(Writer), Record(Record) { }</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span> </div>
+<div class="line"><a name="l00426"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a55c58528f838d8fdfa42d024f2cad815">  426</a></span> <span class="preprocessor">#define ABSTRACT_TYPELOC(CLASS, PARENT)</span></div>
+<div class="line"><a name="l00427"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a63bcd70674be7d8825e683d84b5fad15">  427</a></span> <span class="preprocessor"></span><span class="preprocessor">#define TYPELOC(CLASS, PARENT) \</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span> <span class="preprocessor">    void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeLocNodes.def"</span></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="keywordtype">void</span> VisitArrayTypeLoc(<a class="code" href="classclang_1_1ArrayTypeLoc.html" title="Wrapper for source info for arrays.">ArrayTypeLoc</a> TyLoc);</div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>   <span class="keywordtype">void</span> VisitFunctionTypeLoc(<a class="code" href="classclang_1_1FunctionTypeLoc.html" title="Wrapper for source info for functions.">FunctionTypeLoc</a> TyLoc);</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span> };</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> }</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span> </div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="keywordtype">void</span> TypeLocWriter::VisitQualifiedTypeLoc(<a class="code" href="classclang_1_1QualifiedTypeLoc.html" title="Wrapper of type source information for a type with non-trivial direct qualifiers.">QualifiedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>   <span class="comment">// nothing to do</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span> }</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="keywordtype">void</span> TypeLocWriter::VisitBuiltinTypeLoc(<a class="code" href="classclang_1_1BuiltinTypeLoc.html" title="Wrapper for source info for builtin types.">BuiltinTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#afa95d183a012b5e8d2f09330e0e80a20">getBuiltinLoc</a>(), Record);</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>   <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a6d12f2ca8e8029a9ec6bbc70ee48a8fa">needsExtraLocalData</a>()) {</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>     Record.push_back(TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a5851eff0c4dde103c2da212bb0d0618a">getWrittenTypeSpec</a>());</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>     Record.push_back(TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#aa02608ab223b340d3b03653c15536162">getWrittenSignSpec</a>());</div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span>     Record.push_back(TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#abb619da5f0c962a1c07f2eeda418d439">getWrittenWidthSpec</a>());</div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>     Record.push_back(TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a9853ba6056ac6cfb86bfbacd5b080c67">hasModeAttr</a>());</div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>   }</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span> }</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span> <span class="keywordtype">void</span> TypeLocWriter::VisitComplexTypeLoc(<a class="code" href="classclang_1_1ComplexTypeLoc.html">ComplexTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span> }</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="keywordtype">void</span> TypeLocWriter::VisitPointerTypeLoc(<a class="code" href="classclang_1_1PointerTypeLoc.html" title="Wrapper for source info for pointers.">PointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1PointerTypeLoc.html#ad8eef257cc39098e1196089cff8445e6">getStarLoc</a>(), Record);</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span> }</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="keywordtype">void</span> TypeLocWriter::VisitDecayedTypeLoc(<a class="code" href="classclang_1_1DecayedTypeLoc.html" title="Wrapper for source info for pointers decayed from arrays and functions.">DecayedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span>   <span class="comment">// nothing to do</span></div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span> }</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span> <span class="keywordtype">void</span> TypeLocWriter::VisitBlockPointerTypeLoc(<a class="code" href="classclang_1_1BlockPointerTypeLoc.html" title="Wrapper for source info for block pointers.">BlockPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1BlockPointerTypeLoc.html#a58eed1d24e70e0e281806dfd0345f5e7">getCaretLoc</a>(), Record);</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span> }</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span> <span class="keywordtype">void</span> TypeLocWriter::VisitLValueReferenceTypeLoc(<a class="code" href="classclang_1_1LValueReferenceTypeLoc.html">LValueReferenceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1LValueReferenceTypeLoc.html#a94db6bf50e61bc743a8dd9d048f7c0d2">getAmpLoc</a>(), Record);</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span> }</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span> <span class="keywordtype">void</span> TypeLocWriter::VisitRValueReferenceTypeLoc(<a class="code" href="classclang_1_1RValueReferenceTypeLoc.html">RValueReferenceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1RValueReferenceTypeLoc.html#a0a79d6601f40216f96440f822d70df3a">getAmpAmpLoc</a>(), Record);</div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span> }</div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="keywordtype">void</span> TypeLocWriter::VisitMemberPointerTypeLoc(<a class="code" href="classclang_1_1MemberPointerTypeLoc.html" title="Wrapper for source info for member pointers.">MemberPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1MemberPointerTypeLoc.html#ab89f610056a5148108b1fe7e3110f91f">getStarLoc</a>(), Record);</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>   Writer.AddTypeSourceInfo(TL.<a class="code" href="classclang_1_1MemberPointerTypeLoc.html#abf1d376b3adc318042f1cc89dd9d30bf">getClassTInfo</a>(), Record);</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="keywordtype">void</span> TypeLocWriter::VisitArrayTypeLoc(<a class="code" href="classclang_1_1ArrayTypeLoc.html" title="Wrapper for source info for arrays.">ArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#a10f6a1f03eb17cfacb8d1a6701dfb49b">getLBracketLoc</a>(), Record);</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#acff4ea1ffe885ce65cd76ccb4ffb84b4">getRBracketLoc</a>(), Record);</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span>   Record.push_back(TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#aa935ff378133b9b71a7fa8d529e9bcb5">getSizeExpr</a>() ? 1 : 0);</div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>   <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#aa935ff378133b9b71a7fa8d529e9bcb5">getSizeExpr</a>())</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>     Writer.AddStmt(TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#aa935ff378133b9b71a7fa8d529e9bcb5">getSizeExpr</a>());</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="keywordtype">void</span> TypeLocWriter::VisitConstantArrayTypeLoc(<a class="code" href="classclang_1_1ConstantArrayTypeLoc.html">ConstantArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span>   VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> }</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="keywordtype">void</span> TypeLocWriter::VisitIncompleteArrayTypeLoc(<a class="code" href="classclang_1_1IncompleteArrayTypeLoc.html">IncompleteArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>   VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> }</div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="keywordtype">void</span> TypeLocWriter::VisitVariableArrayTypeLoc(<a class="code" href="classclang_1_1VariableArrayTypeLoc.html">VariableArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>   VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span> }</div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span> <span class="keywordtype">void</span> TypeLocWriter::VisitDependentSizedArrayTypeLoc(</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>                                             <a class="code" href="classclang_1_1DependentSizedArrayTypeLoc.html">DependentSizedArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>   VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span> }</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span> <span class="keywordtype">void</span> TypeLocWriter::VisitDependentSizedExtVectorTypeLoc(</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>                                         <a class="code" href="classclang_1_1DependentSizedExtVectorTypeLoc.html">DependentSizedExtVectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span> }</div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="keywordtype">void</span> TypeLocWriter::VisitVectorTypeLoc(<a class="code" href="classclang_1_1VectorTypeLoc.html">VectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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="keywordtype">void</span> TypeLocWriter::VisitExtVectorTypeLoc(<a class="code" href="classclang_1_1ExtVectorTypeLoc.html">ExtVectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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> <span class="keywordtype">void</span> TypeLocWriter::VisitFunctionTypeLoc(<a class="code" href="classclang_1_1FunctionTypeLoc.html" title="Wrapper for source info for functions.">FunctionTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a5bf34e29caa620bf31c81fa218cba02a">getLocalRangeBegin</a>(), Record);</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a2231885b0e93ae8599bf530dfab2d039">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#ae145fdff710cd63eb15aff53de477c8b">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#aee524565257bd8319ab08babc41f39bd">getLocalRangeEnd</a>(), Record);</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#acb477418ed362b15bfb115255acb7b33">getNumArgs</a>(); i != e; ++i)</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>     Writer.AddDeclRef(TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a24a1c2e1785837b33c29f9563e5d18fa">getArg</a>(i), Record);</div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span> }</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="keywordtype">void</span> TypeLocWriter::VisitFunctionProtoTypeLoc(<a class="code" href="classclang_1_1FunctionProtoTypeLoc.html">FunctionProtoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>   VisitFunctionTypeLoc(TL);</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span> }</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span> <span class="keywordtype">void</span> TypeLocWriter::VisitFunctionNoProtoTypeLoc(<a class="code" href="classclang_1_1FunctionNoProtoTypeLoc.html">FunctionNoProtoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span>   VisitFunctionTypeLoc(TL);</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span> }</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span> <span class="keywordtype">void</span> TypeLocWriter::VisitUnresolvedUsingTypeLoc(<a class="code" href="classclang_1_1UnresolvedUsingTypeLoc.html" title="Wrapper for source info for unresolved typename using decls.">UnresolvedUsingTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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="keywordtype">void</span> TypeLocWriter::VisitTypedefTypeLoc(<a class="code" href="classclang_1_1TypedefTypeLoc.html" title="Wrapper for source info for typedefs.">TypedefTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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="keywordtype">void</span> TypeLocWriter::VisitTypeOfExprTypeLoc(<a class="code" href="classclang_1_1TypeOfExprTypeLoc.html">TypeOfExprTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ae3bff98f86acc8556386e4a57d594890">getTypeofLoc</a>(), Record);</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#aad167acb29a6860246436b9d36d1f0e1">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#a212c846eed3d257a0f56dbbafd738043">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span> }</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="keywordtype">void</span> TypeLocWriter::VisitTypeOfTypeLoc(<a class="code" href="classclang_1_1TypeOfTypeLoc.html">TypeOfTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ae3bff98f86acc8556386e4a57d594890">getTypeofLoc</a>(), Record);</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#aad167acb29a6860246436b9d36d1f0e1">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#a212c846eed3d257a0f56dbbafd738043">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>   Writer.AddTypeSourceInfo(TL.<a class="code" href="classclang_1_1TypeOfTypeLoc.html#aa15a8d3ad5416aecd3b0f770201b7df8">getUnderlyingTInfo</a>(), Record);</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> <span class="keywordtype">void</span> TypeLocWriter::VisitDecltypeTypeLoc(<a class="code" href="classclang_1_1DecltypeTypeLoc.html">DecltypeTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span> }</div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span> <span class="keywordtype">void</span> TypeLocWriter::VisitUnaryTransformTypeLoc(<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html">UnaryTransformTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#ab17c86d104a2eb52910dc37b45754a9b">getKWLoc</a>(), Record);</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#a809cb47ddceb979ec44ad6885f23a723">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#a99be48e75d6d97400cbe5cc1afd70b4d">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>   Writer.AddTypeSourceInfo(TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#a662da36208df595f6a8b18a45ef2a7ec">getUnderlyingTInfo</a>(), Record);</div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span> }</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span> <span class="keywordtype">void</span> TypeLocWriter::VisitAutoTypeLoc(<a class="code" href="classclang_1_1AutoTypeLoc.html">AutoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span> }</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="keywordtype">void</span> TypeLocWriter::VisitRecordTypeLoc(<a class="code" href="classclang_1_1RecordTypeLoc.html" title="Wrapper for source info for record types.">RecordTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span> }</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span> <span class="keywordtype">void</span> TypeLocWriter::VisitEnumTypeLoc(<a class="code" href="classclang_1_1EnumTypeLoc.html" title="Wrapper for source info for enum types.">EnumTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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> <span class="keywordtype">void</span> TypeLocWriter::VisitAttributedTypeLoc(<a class="code" href="classclang_1_1AttributedTypeLoc.html" title="Type source information for an attributed type.">AttributedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a88c87f3eb7f950125effc3e16c4bef7c">getAttrNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>   <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a09c336a4e2efeafa088f8ecf38a86b83">hasAttrOperand</a>()) {</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>     <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> range = TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#ac6daf500add516310b9fa70f4853417c">getAttrOperandParensRange</a>();</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>     Writer.AddSourceLocation(range.<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>(), Record);</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>     Writer.AddSourceLocation(range.<a class="code" href="classclang_1_1SourceRange.html#a982d28235ad96ce81b3e8144b7b245c0">getEnd</a>(), Record);</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>   }</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>   <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a9c6781ee99d0cf9942961de59ddb765a">hasAttrExprOperand</a>()) {</div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>     <a class="code" href="classclang_1_1Expr.html">Expr</a> *operand = TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a7378c90abacbef14ce7a6616dd09a4fe">getAttrExprOperand</a>();</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>     Record.push_back(operand ? 1 : 0);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>     <span class="keywordflow">if</span> (operand) Writer.AddStmt(operand);</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#ad7efd3ab9490b3a6fca9c4c1a205a165">hasAttrEnumOperand</a>()) {</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>     Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a459c59517adc32c533f19d2725b90802">getAttrEnumOperandLoc</a>(), Record);</div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>   }</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span> }</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="keywordtype">void</span> TypeLocWriter::VisitTemplateTypeParmTypeLoc(<a class="code" href="classclang_1_1TemplateTypeParmTypeLoc.html" title="Wrapper for template type parameters.">TemplateTypeParmTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span> }</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span> <span class="keywordtype">void</span> TypeLocWriter::VisitSubstTemplateTypeParmTypeLoc(</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>                                             <a class="code" href="classclang_1_1SubstTemplateTypeParmTypeLoc.html" title="Wrapper for substituted template type parameters.">SubstTemplateTypeParmTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</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> <span class="keywordtype">void</span> TypeLocWriter::VisitSubstTemplateTypeParmPackTypeLoc(</div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>                                           <a class="code" href="classclang_1_1SubstTemplateTypeParmPackTypeLoc.html" title="Wrapper for substituted template type parameters.">SubstTemplateTypeParmPackTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span> }</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span> <span class="keywordtype">void</span> TypeLocWriter::VisitTemplateSpecializationTypeLoc(</div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>                                            <a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html">TemplateSpecializationTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a1633b37ee53cf45afbf09936acb4c6ff">getTemplateKeywordLoc</a>(), Record);</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a502b0fc79a65cd0b4993362649247b94">getTemplateNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#addc091ef8bf43bcfc39eb92d4f59cf94">getLAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a331e4fead1acdc04d56e0b5f4fe67c83">getRAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</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="l00583"></a><span class="lineno">  583</span>     Writer.AddTemplateArgumentLocInfo(TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a4f966b495597cc4a424161bf3b890113">getArgLoc</a>(i).<a class="code" href="classclang_1_1TemplateArgumentLoc.html#ab0f5cfb1abd0ac0c6720609f9ee87d6e">getArgument</a>().<a class="code" href="classclang_1_1TemplateArgument.html#a17d8d61d5172e159f898a9021695bd56" title="Return the kind of stored template argument.">getKind</a>(),</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span>                                       TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a4f966b495597cc4a424161bf3b890113">getArgLoc</a>(i).<a class="code" href="classclang_1_1TemplateArgumentLoc.html#acef400f6a9b069a8e24c13fde723f22f">getLocInfo</a>(), Record);</div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span> }</div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="keywordtype">void</span> TypeLocWriter::VisitParenTypeLoc(<a class="code" href="classclang_1_1ParenTypeLoc.html">ParenTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ParenTypeLoc.html#a7ffbedc1a3a32cb0645783f545e60b5a">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ParenTypeLoc.html#ab673fd2d4eb2ef542445668f4338da28">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span> }</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="keywordtype">void</span> TypeLocWriter::VisitElaboratedTypeLoc(<a class="code" href="classclang_1_1ElaboratedTypeLoc.html">ElaboratedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ElaboratedTypeLoc.html#a4a6a9edc6d5d6857a1abee86908a24ec">getElaboratedKeywordLoc</a>(), Record);</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>   Writer.AddNestedNameSpecifierLoc(TL.<a class="code" href="classclang_1_1ElaboratedTypeLoc.html#aefeb29afe6a7afefa52e8887609d18cb">getQualifierLoc</a>(), Record);</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span> }</div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span> <span class="keywordtype">void</span> TypeLocWriter::VisitInjectedClassNameTypeLoc(<a class="code" href="classclang_1_1InjectedClassNameTypeLoc.html" title="Wrapper for source info for injected class names of class templates.">InjectedClassNameTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#abf882e1f1e653b6295ae16c08271a4c4">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span> }</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span> <span class="keywordtype">void</span> TypeLocWriter::VisitDependentNameTypeLoc(<a class="code" href="classclang_1_1DependentNameTypeLoc.html">DependentNameTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#aace19a9bb987d7e7583a79c6ba86e52c">getElaboratedKeywordLoc</a>(), Record);</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>   Writer.AddNestedNameSpecifierLoc(TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#a0e0cc34e29348bcaa53bdc16e167d011">getQualifierLoc</a>(), Record);</div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#a50ab2fdf909fc3f67a15f4f98677f1e5">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span> }</div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span> <span class="keywordtype">void</span> TypeLocWriter::VisitDependentTemplateSpecializationTypeLoc(</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>        <a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html">DependentTemplateSpecializationTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#af8fc3a54d905e6957271744e4f0cec6c">getElaboratedKeywordLoc</a>(), Record);</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span>   Writer.AddNestedNameSpecifierLoc(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a1e7451a904f71285bffd419fb5e97d9a">getQualifierLoc</a>(), Record);</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a74cf6b4bd94ae16c9433ab5ba2af195c">getTemplateKeywordLoc</a>(), Record);</div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ad6d26f08f5f71da5cb58d3d818034d39">getTemplateNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a5853c5e1bc04807d6a91621788ee2c9d">getLAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a3e250b8c219875b6bd8492d76b27efaa">getRAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, E = TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ad855aa803fca4917c429991ca53c8841">getNumArgs</a>(); I != E; ++I)</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>     Writer.AddTemplateArgumentLocInfo(TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ac1d2b81654ca9fc54760895880f60c09">getArgLoc</a>(I).<a class="code" href="classclang_1_1TemplateArgumentLoc.html#ab0f5cfb1abd0ac0c6720609f9ee87d6e">getArgument</a>().<a class="code" href="classclang_1_1TemplateArgument.html#a17d8d61d5172e159f898a9021695bd56" title="Return the kind of stored template argument.">getKind</a>(),</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>                                       TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ac1d2b81654ca9fc54760895880f60c09">getArgLoc</a>(I).<a class="code" href="classclang_1_1TemplateArgumentLoc.html#acef400f6a9b069a8e24c13fde723f22f">getLocInfo</a>(), Record);</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> <span class="keywordtype">void</span> TypeLocWriter::VisitPackExpansionTypeLoc(<a class="code" href="classclang_1_1PackExpansionTypeLoc.html">PackExpansionTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1PackExpansionTypeLoc.html#a489c07760315677c222d8cf9b0490a33">getEllipsisLoc</a>(), Record);</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span> }</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span> <span class="keywordtype">void</span> TypeLocWriter::VisitObjCInterfaceTypeLoc(<a class="code" href="classclang_1_1ObjCInterfaceTypeLoc.html" title="Wrapper for source info for ObjC interfaces.">ObjCInterfaceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ObjCInterfaceTypeLoc.html#a9490f08929e289f02176390cc1da509d">getNameLoc</a>(), Record);</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span> }</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span> <span class="keywordtype">void</span> TypeLocWriter::VisitObjCObjectTypeLoc(<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html">ObjCObjectTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>   Record.push_back(TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a18bd93ef53673f43b7a3f15df1109278">hasBaseTypeAsWritten</a>());</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a2a4ffbf3f698d31b02435dd8e7c1438d">getLAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a2adba35ce069eacb16419a1c8efd8073">getRAngleLoc</a>(), Record);</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a787fe11dd1b2d9335c602f39b4b38f54">getNumProtocols</a>(); i != e; ++i)</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>     Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#ac11fe3a6fe70fdefab98188fb341c628">getProtocolLoc</a>(i), Record);</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span> }</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span> <span class="keywordtype">void</span> TypeLocWriter::VisitObjCObjectPointerTypeLoc(<a class="code" href="classclang_1_1ObjCObjectPointerTypeLoc.html" title="Wraps an ObjCPointerType with source location information.">ObjCObjectPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1ObjCObjectPointerTypeLoc.html#a3954b1e9fc2b909bb416e0e580012da6">getStarLoc</a>(), Record);</div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span> }</div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span> <span class="keywordtype">void</span> TypeLocWriter::VisitAtomicTypeLoc(<a class="code" href="classclang_1_1AtomicTypeLoc.html">AtomicTypeLoc</a> TL) {</div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#a78deb72869a27369328b4d8e6b5d7250">getKWLoc</a>(), Record);</div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#ae3cbeba69ba892f0c88cec2230a13d3b">getLParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span>   Writer.AddSourceLocation(TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#a80d8f95c6f662b029bbbba2e18160962">getRParenLoc</a>(), Record);</div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span> }</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="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="comment">// ASTWriter Implementation</span></div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span> </div>
+<div class="line"><a name="l00640"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a301c72d94ad5f4b4ee10dd98ec974ed5">  640</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTWriter_8cpp.html#a301c72d94ad5f4b4ee10dd98ec974ed5">EmitBlockID</a>(<span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> *Name,</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>                         llvm::BitstreamWriter &Stream,</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>                         <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record) {</div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>   Record.clear();</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>   Record.push_back(ID);</div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>   Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record);</div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span> </div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span>   <span class="comment">// Emit the block name if present.</span></div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>   <span class="keywordflow">if</span> (Name == 0 || Name[0] == 0) <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>   Record.clear();</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>   <span class="keywordflow">while</span> (*Name)</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>     Record.push_back(*Name++);</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>   Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record);</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span> }</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span> </div>
+<div class="line"><a name="l00655"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#acd7fbb426dab12305823b171bc9316fc">  655</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTWriter_8cpp.html#acd7fbb426dab12305823b171bc9316fc">EmitRecordID</a>(<span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> *Name,</div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span>                          llvm::BitstreamWriter &Stream,</div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span>                          <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record) {</div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>   Record.clear();</div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>   Record.push_back(ID);</div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span>   <span class="keywordflow">while</span> (*Name)</div>
+<div class="line"><a name="l00661"></a><span class="lineno">  661</span>     Record.push_back(*Name++);</div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span>   Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record);</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> </div>
+<div class="line"><a name="l00665"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#aaaca29a0e5e782b23f93d912019b00c9">  665</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTWriter_8cpp.html#aaaca29a0e5e782b23f93d912019b00c9">AddStmtsExprs</a>(llvm::BitstreamWriter &Stream,</div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span>                           <a class="code" href="classllvm_1_1SmallVectorImpl.html">ASTWriter::RecordDataImpl</a> &Record) {</div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span> <span class="preprocessor">#define RECORD(X) EmitRecordID(X, #X, Stream, Record)</span></div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span> <span class="preprocessor"></span>  <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aa6685a9adef71b06b2261be21c2f6987" title="A marker record that indicates that we are at the end of an expression.">STMT_STOP</a>);</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab71bcfaeaee327a79d9b88a8b98d1104" title="A NULL expression.">STMT_NULL_PTR</a>);</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65abdd9cd9b919b7cd8944314bcd93b7699" title="A NullStmt record.">STMT_NULL</a>);</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a6b9795d06baac13b414064446df08cf7" title="A CompoundStmt record.">STMT_COMPOUND</a>);</div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aa30d667708194ccd847bb34cf1252b26" title="A CaseStmt record.">STMT_CASE</a>);</div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65abb4e636e77bd014c852e56a37edacb50" title="A DefaultStmt record.">STMT_DEFAULT</a>);</div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65acc4118572905843cc37d8e876e838d30" title="A LabelStmt record.">STMT_LABEL</a>);</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a71d16fa2cfc5d3b171e96a5f6c243695" title="An AttributedStmt record.">STMT_ATTRIBUTED</a>);</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a28df8ce1989ba1cfc511ec8f2b2dc3e3" title="An IfStmt record.">STMT_IF</a>);</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65adf86643d6edde521194a118e56d251cc" title="A SwitchStmt record.">STMT_SWITCH</a>);</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a3898aa96d90df2769b0afe3d55cd4004" title="A WhileStmt record.">STMT_WHILE</a>);</div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a26921c564cb14bf66bd5234a8e539bc5" title="A DoStmt record.">STMT_DO</a>);</div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a70728ba4195bec253f065dedce9730d6" title="A ForStmt record.">STMT_FOR</a>);</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a7f083295a854746af7a6f00c7752ac2c" title="A GotoStmt record.">STMT_GOTO</a>);</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aff506f63c4b562c56de8f6b3978bb07d" title="An IndirectGotoStmt record.">STMT_INDIRECT_GOTO</a>);</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a605f814dac396fd59100b1124259f70f" title="A ContinueStmt record.">STMT_CONTINUE</a>);</div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aedf6ba0fb135af879f91bfaf308b8e5e" title="A BreakStmt record.">STMT_BREAK</a>);</div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a5ae1a922cb82140b5239f77171718124" title="A ReturnStmt record.">STMT_RETURN</a>);</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae0af889ca44bd1aaab7500ef44a115f4" title="A DeclStmt record.">STMT_DECL</a>);</div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a36f31e403001685fef606e05f5b51fb7" title="A GCC-style AsmStmt record.">STMT_GCCASM</a>);</div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aaa74ebeb6b5aadb401a2987babfd5ef0" title="A MS-style AsmStmt record.">STMT_MSASM</a>);</div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a61de87232b53b50a0ece32ad02208b1e" title="A PredefinedExpr record.">EXPR_PREDEFINED</a>);</div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65abfa3a34ca1851ae00d66d7ae767ca1e3" title="A DeclRefExpr record.">EXPR_DECL_REF</a>);</div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ad29a63b1a0c93540b8f0c72f6b38952c" title="An IntegerLiteral record.">EXPR_INTEGER_LITERAL</a>);</div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab5601bb946fff9f98e4fa1a27825515a" title="A FloatingLiteral record.">EXPR_FLOATING_LITERAL</a>);</div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a3758f1508dd7c65abddaee55ee94795e" title="An ImaginaryLiteral record.">EXPR_IMAGINARY_LITERAL</a>);</div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a2db564d270fc15a7119dbe72478c3aec" title="A StringLiteral record.">EXPR_STRING_LITERAL</a>);</div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a4b83b925e522441c956cb22b327c2749" title="A CharacterLiteral record.">EXPR_CHARACTER_LITERAL</a>);</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ac9178914fd229547ccbd2a960419f68e" title="A ParenExpr record.">EXPR_PAREN</a>);</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65afac0e038f0631082dace432ad2008c2c" title="A UnaryOperator record.">EXPR_UNARY_OPERATOR</a>);</div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aecf63890694575a44a219214457a0412" title="A SizefAlignOfExpr record.">EXPR_SIZEOF_ALIGN_OF</a>);</div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65afa47c6c970f7cc38b5b41d767424cbeb" title="An ArraySubscriptExpr record.">EXPR_ARRAY_SUBSCRIPT</a>);</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a92a9101d542cc66b01f70bfc9b1d8be4" title="A CallExpr record.">EXPR_CALL</a>);</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a0f090fafa4eae9bc294415fcdaed023f" title="A MemberExpr record.">EXPR_MEMBER</a>);</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aaf49afc3cc60608b73432197dbab0528" title="A BinaryOperator record.">EXPR_BINARY_OPERATOR</a>);</div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a14020e19dd32a2bc046938b17f6936ea" title="A CompoundAssignOperator record.">EXPR_COMPOUND_ASSIGN_OPERATOR</a>);</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aaf3e26105ae936787164413fdcd4ea38" title="A ConditionOperator record.">EXPR_CONDITIONAL_OPERATOR</a>);</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a324f1fee1a7beb126bb6155bb48d502f" title="An ImplicitCastExpr record.">EXPR_IMPLICIT_CAST</a>);</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a4c56303f5375a7cae2f326db9e270e74" title="A CStyleCastExpr record.">EXPR_CSTYLE_CAST</a>);</div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a05cd350ae4d9fdb11fb0dd26dbfd9a02" title="A CompoundLiteralExpr record.">EXPR_COMPOUND_LITERAL</a>);</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a564484e6e47e82532a56678ad5e4f5a1" title="An ExtVectorElementExpr record.">EXPR_EXT_VECTOR_ELEMENT</a>);</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ac1a398c68a389c8cff4caab1036ac638" title="An InitListExpr record.">EXPR_INIT_LIST</a>);</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a0511cc52b4788f7b73349ab7e6cc963d" title="A DesignatedInitExpr record.">EXPR_DESIGNATED_INIT</a>);</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ac75c9a6b0dd9920a54f9e13c25bf3bd0" title="An ImplicitValueInitExpr record.">EXPR_IMPLICIT_VALUE_INIT</a>);</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a1948a1e2e442f00262083aa1d3e7ed71" title="A VAArgExpr record.">EXPR_VA_ARG</a>);</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65af2a5a84789575344d925d525801f29d1" title="An AddrLabelExpr record.">EXPR_ADDR_LABEL</a>);</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a3ed631c823ad6bd9901e8a8f8a132540" title="A StmtExpr record.">EXPR_STMT</a>);</div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65abb98bf674569d46acffb33e4f3e9509a" title="A ChooseExpr record.">EXPR_CHOOSE</a>);</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a92f6be2be3a4cabe39db6b43a1ba38c7" title="A GNUNullExpr record.">EXPR_GNU_NULL</a>);</div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab05b6c9f50bdcd8851ca5b0b08184de3" title="A ShuffleVectorExpr record.">EXPR_SHUFFLE_VECTOR</a>);</div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65abedb8db1289395479a4fb81c9d629843" title="BlockExpr.">EXPR_BLOCK</a>);</div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a8e9d5d3283b5099a2565faf6ae4551c9" title="A GenericSelectionExpr record.">EXPR_GENERIC_SELECTION</a>);</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a15301a7d1f27402e000d779fc8d41cea" title="An ObjCStringLiteral record.">EXPR_OBJC_STRING_LITERAL</a>);</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a4dde2d01bbb4f788c70327432de1bbdb">EXPR_OBJC_BOXED_EXPRESSION</a>);</div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a80445761d5c8e83bed0e5c3d6609db87">EXPR_OBJC_ARRAY_LITERAL</a>);</div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a8bbbaf79b5dc0e3d587e0f5c98e85df2">EXPR_OBJC_DICTIONARY_LITERAL</a>);</div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a4beb1a5722514f87d1585aef9b41776d" title="An ObjCEncodeExpr record.">EXPR_OBJC_ENCODE</a>);</div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab3d924036bb521c54bd6cd2396e041d1" title="An ObjCSelectorExpr record.">EXPR_OBJC_SELECTOR_EXPR</a>);</div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a81693c570546775f59e7073eb81f6b5e" title="An ObjCProtocolExpr record.">EXPR_OBJC_PROTOCOL_EXPR</a>);</div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a07e462b98e5a3f4b76802e606a5eaf4f" title="An ObjCIvarRefExpr record.">EXPR_OBJC_IVAR_REF_EXPR</a>);</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a98cdc5dba17b31d12d5c6c61aac8e309" title="An ObjCPropertyRefExpr record.">EXPR_OBJC_PROPERTY_REF_EXPR</a>);</div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae5ae4b402006f355fc2040f15302cbfe" title="UNUSED.">EXPR_OBJC_KVC_REF_EXPR</a>);</div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a9d548ed92d9e6d7b28a6fd57aa29ad44" title="An ObjCMessageExpr record.">EXPR_OBJC_MESSAGE_EXPR</a>);</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a5c1396af2136793835e4f69c37f409b1" title="An ObjCForCollectionStmt record.">STMT_OBJC_FOR_COLLECTION</a>);</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a269b0a9467d508054b8d4a7000ec22a4" title="An ObjCAtCatchStmt record.">STMT_OBJC_CATCH</a>);</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab154033684a7ad2204dbc8b2f9d1fd2b" title="An ObjCAtFinallyStmt record.">STMT_OBJC_FINALLY</a>);</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a22f0cb9e8cfa80f40ccb10cc202e1b39" title="An ObjCAtTryStmt record.">STMT_OBJC_AT_TRY</a>);</div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a417d63bef80755dc76a890c79c6e5856" title="An ObjCAtSynchronizedStmt record.">STMT_OBJC_AT_SYNCHRONIZED</a>);</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65af1d6e45177c44a6ba7221f1e70df8db5" title="An ObjCAtThrowStmt record.">STMT_OBJC_AT_THROW</a>);</div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a4fde7bd41cc99b1d41f2f2b6a804f853" title="A ObjCBoolLiteralExpr record.">EXPR_OBJC_BOOL_LITERAL</a>);</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a2117d42687c0c44315dfc3159f486378" title="A CXXOperatorCallExpr record.">EXPR_CXX_OPERATOR_CALL</a>);</div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a8474af3b01756f2efe0d7afca06b69b3" title="A CXXConstructExpr record.">EXPR_CXX_CONSTRUCT</a>);</div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a14b8a74b10f17b1a0741e6c28547a78f" title="A CXXStaticCastExpr record.">EXPR_CXX_STATIC_CAST</a>);</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a8cfd5ec2274dd3aded96ed55b017596d" title="A CXXDynamicCastExpr record.">EXPR_CXX_DYNAMIC_CAST</a>);</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a3fe8816647142b5eddae38d0c2a8dfa7" title="A CXXReinterpretCastExpr record.">EXPR_CXX_REINTERPRET_CAST</a>);</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a9a37e0baaa1839e307a31c670c987a1b" title="A CXXConstCastExpr record.">EXPR_CXX_CONST_CAST</a>);</div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ace42c845ef1e023352c1a2c72ef72cf8" title="A CXXFunctionalCastExpr record.">EXPR_CXX_FUNCTIONAL_CAST</a>);</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ad080fc010e3e3ddc268a82e3efae3451" title="A UserDefinedLiteral record.">EXPR_USER_DEFINED_LITERAL</a>);</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aaf77d6a2690a88a8efc7f3e1ed49195b" title="A CXXStdInitializerListExpr record.">EXPR_CXX_STD_INITIALIZER_LIST</a>);</div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a65322298470f0244f4bfad111a4aee30" title="A CXXBoolLiteralExpr record.">EXPR_CXX_BOOL_LITERAL</a>);</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aa922e32c6f56dff32506dabbba363b53">EXPR_CXX_NULL_PTR_LITERAL</a>);</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65afe77b628af799404d1126364c3a4405f">EXPR_CXX_TYPEID_EXPR</a>);</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a096aef425cdab621b2b8609975e5a3a1">EXPR_CXX_TYPEID_TYPE</a>);</div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a19dad696b2e42e6df6511cd37643d50b">EXPR_CXX_UUIDOF_EXPR</a>);</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a05b1214563f583cfade7aa5011334947">EXPR_CXX_UUIDOF_TYPE</a>);</div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a15f3b87f8f12e25b8d1c8b54eebfd7ca">EXPR_CXX_THIS</a>);</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aee091a8c665a9894858953ee5a21715e">EXPR_CXX_THROW</a>);</div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65afd84b0f6945100ca556934d10e2876b2">EXPR_CXX_DEFAULT_ARG</a>);</div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a509ab66b335828ea9352f487f28fbda7">EXPR_CXX_BIND_TEMPORARY</a>);</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae9b0a33338ba52748be2d4e9cb6e1090">EXPR_CXX_SCALAR_VALUE_INIT</a>);</div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a5c7a7ae85bdccff3fdd841f7bf361a40">EXPR_CXX_NEW</a>);</div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65adaf660ab4b73ecac8784b84dbe6a94b2">EXPR_CXX_DELETE</a>);</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a470e311f48df9d69dbb2533728207cdf">EXPR_CXX_PSEUDO_DESTRUCTOR</a>);</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a146300d168ddb3957e000518710ff6d7">EXPR_EXPR_WITH_CLEANUPS</a>);</div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ab69fb0c7556950b8eeb685cdd6eec690">EXPR_CXX_DEPENDENT_SCOPE_MEMBER</a>);</div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a9f825d7899e0d35ed9cd8695767fdc07">EXPR_CXX_DEPENDENT_SCOPE_DECL_REF</a>);</div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a2492ae23da1aff7a87e18dfede8f0a47">EXPR_CXX_UNRESOLVED_CONSTRUCT</a>);</div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae2117d67faf78438941fe1918cfa6f8c">EXPR_CXX_UNRESOLVED_MEMBER</a>);</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a12936598dc3266e45bafb10c65cfab07">EXPR_CXX_UNRESOLVED_LOOKUP</a>);</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65aad5ee61ce866e24c5a89e1e8d61c90f8">EXPR_CXX_UNARY_TYPE_TRAIT</a>);</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a48db4c936d7074284d691f86da15b238">EXPR_CXX_NOEXCEPT</a>);</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a5f7296c9886d6d0daa6f42fdc22d2a86">EXPR_OPAQUE_VALUE</a>);</div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65a3dec1ba4b6bc461220fa47645563ef3a">EXPR_BINARY_TYPE_TRAIT</a>);</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65af2d1d22d235d0b56fd4e758f79f61ed9">EXPR_PACK_EXPANSION</a>);</div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65afff777764e2349d2fa8c3c10cafe7e58">EXPR_SIZEOF_PACK</a>);</div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae65942c446a9a5de556cac05c01141f4">EXPR_SUBST_NON_TYPE_TEMPLATE_PARM_PACK</a>);</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggab68acefcc947e7c17930046344f61d65ae180dda455f01e37d3af67fe5809c5ef">EXPR_CUDA_KERNEL_CALL</a>);</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span> <span class="preprocessor">#undef RECORD</span></div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span> <span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span> </div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span> <span class="keywordtype">void</span> ASTWriter::WriteBlockInfoBlock() {</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>   RecordData Record;</div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>   Stream.EnterSubblock(llvm::bitc::BLOCKINFO_BLOCK_ID, 3);</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> </div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span> <span class="preprocessor">#define BLOCK(X) EmitBlockID(X ## _ID, #X, Stream, Record)</span></div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span> <span class="preprocessor"></span><span class="preprocessor">#define RECORD(X) EmitRecordID(X, #X, Stream, Record)</span></div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>   <span class="comment">// Control Block.</span></div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(CONTROL_BLOCK);</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daf7c48b6a596a1dbb07aa6ea532467221" title="AST file metadata, including the AST file version number and information about the compiler used to b...">METADATA</a>);</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da5fb7601ad841ddee67ac78ff2e13a7a1" title="Record code for the list of other AST files imported by this AST file.">IMPORTS</a>);</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0dade18acf95ac28fdd7f692d48b169fd48" title="Record code for the language options table.">LANGUAGE_OPTIONS</a>);</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da3cea96b4ac8dab2bbeb07498ec599f34" title="Record code for the target options table.">TARGET_OPTIONS</a>);</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da8c9fb65b62a052d7810ca761f44a784b" title="Record code for the original file that was used to generate the AST file, including both its file ID ...">ORIGINAL_FILE</a>);</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0dadf15009d70ca93bfbdfe76e469a80a63" title="The directory that the PCH was originally created in.">ORIGINAL_PCH_DIR</a>);</div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da65d582908301c1ce8faabcc3526b1afd" title="Record code for file ID of the file or buffer that was used to generate the AST file.">ORIGINAL_FILE_ID</a>);</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daa850cd1493f85ec4285050d84c872f19" title="Offsets into the input-files block where input files reside.">INPUT_FILE_OFFSETS</a>);</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da27d2d0682f3e960953d646ebfdc7a902" title="Record code for the diagnostic options table.">DIAGNOSTIC_OPTIONS</a>);</div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da0ac970ee55c7b81336e686372806e34c" title="Record code for the filesystem options table.">FILE_SYSTEM_OPTIONS</a>);</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da661da03ded7dec1b205b5f4d00c1b96c" title="Record code for the headers search options table.">HEADER_SEARCH_OPTIONS</a>);</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da4dd1e44eddd34b743585629b8be1fb43" title="Record code for the preprocessor options table.">PREPROCESSOR_OPTIONS</a>);</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>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(INPUT_FILES_BLOCK);</div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabafa89ed64576af15d65e2cf65cf8bc0c5e2" title="An input file.">INPUT_FILE</a>);</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span> </div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span>   <span class="comment">// AST Top-Level Block.</span></div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(AST_BLOCK);</div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2a11ed5a2402c1a271b5c040a94becf6" title="Record code for the offsets of each type.">TYPE_OFFSET</a>);</div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4313da958a7f896206838434c7cfa00a" title="Record code for the offsets of each decl.">DECL_OFFSET</a>);</div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a75f75aefa510fb3df97b05166d6ebc77" title="Record code for the table of offsets of each identifier ID.">IDENTIFIER_OFFSET</a>);</div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61afade7e75c6741cbe69ce1c7f892939ed" title="Record code for the identifier table.">IDENTIFIER_TABLE</a>);</div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a3b9734c8499cb19775f61a8e78951f5a" title="Record code for the array of external definitions.">EXTERNAL_DEFINITIONS</a>);</div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a1d77ad6615e11b76a4950d353380fd6c" title="Record code for the set of non-builtin, special types.">SPECIAL_TYPES</a>);</div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a0e91a77940e12622d6c06b9894c26c88" title="Record code for the extra statistics we gather while generating an AST file.">STATISTICS</a>);</div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61aa523dfefabea4d6558c4c29f1cd194bb" title="Record code for the array of tentative definitions.">TENTATIVE_DEFINITIONS</a>);</div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61abc42da679ffc76fc6e6ba17462eade8e" title="Record code for the array of unused file scoped decls.">UNUSED_FILESCOPED_DECLS</a>);</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61af8e5a96f3ae108dad4a47073b1d7a91a" title="Record code for the array of locally-scoped extern "C" declarations.">LOCALLY_SCOPED_EXTERN_C_DECLS</a>);</div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61acc88a4a761cef90b76afd0ef0000d241" title="Record code for the table of offsets into the Objective-C method pool.">SELECTOR_OFFSETS</a>);</div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a7c16a27867a801efcdf541a0b125c186" title="Record code for the Objective-C method pool,.">METHOD_POOL</a>);</div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4b3a51c797807dc8b4064cde3f78dbe7" title="The value of the next COUNTER to dispense. [PP_COUNTER_VALUE, Val].">PP_COUNTER_VALUE</a>);</div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a95c245f5656bcecd52eb3a6cf5074cfb" title="Record code for the table of offsets into the block of source-location information.">SOURCE_LOCATION_OFFSETS</a>);</div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a74798f08273080c4cbc7000854dd77af" title="Record code for the set of source location entries that need to be preloaded by the AST reader...">SOURCE_LOCATION_PRELOADS</a>);</div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2c2eae2c318477fe4b99c37ea5999afd" title="Record code for the set of ext_vector type names.">EXT_VECTOR_DECLS</a>);</div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a64734b86fef73f10ce4af733adcb808f" title="Record code for the table of offsets to entries in the preprocessing record.">PPD_ENTITIES_OFFSETS</a>);</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a93aa05f186dba3624d66ced74fcb25ff" title="Record code for referenced selector pool.">REFERENCED_SELECTOR_POOL</a>);</div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61af125a2bdfc8a3143e3d4c9d101e33ab1" title="Record code for an update to the TU's lexically contained declarations.">TU_UPDATE_LEXICAL</a>);</div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a9f5b7dea901bf88fc2e25fa5167074c7" title="Record code for the array describing the locations (in the LOCAL_REDECLARATIONS record) of the redecl...">LOCAL_REDECLARATIONS_MAP</a>);</div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61afb00096b7a8f8d652396f5ccfb50312d" title="Record code for declarations that Sema keeps references of.">SEMA_DECL_REFS</a>);</div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a97cb18aa17d64d84525caf069998ed98" title="Record code for weak undeclared identifiers.">WEAK_UNDECLARED_IDENTIFIERS</a>);</div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a204b29436e98a2fa33eade72eafe161b" title="Record code for pending implicit instantiations.">PENDING_IMPLICIT_INSTANTIATIONS</a>);</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61aa3c1acaa5c2fd822a6b8d27c4502a253" title="Record code for a decl replacement block.">DECL_REPLACEMENTS</a>);</div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a609793c84076ede169d2e02e2b21a6f5" title="Record code for an update to a decl context's lookup table.">UPDATE_VISIBLE</a>);</div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a0dc3fd460af9ad7036cbbb7d76ab7763" title="Record for offsets of DECL_UPDATES records for declarations that were modified after being deserializ...">DECL_UPDATE_OFFSETS</a>);</div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a54fc4d5570f86ff7bab7b617d20e8439" title="Record of updates for a declaration that was modified after being deserialized.">DECL_UPDATES</a>);</div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a1e40ea1c917dad85762fc3d95d0eedd5" title="Record code for the table of offsets to CXXBaseSpecifier sets.">CXX_BASE_SPECIFIER_OFFSETS</a>);</div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a635ee8a5480818dc61a8588b464ae3ba" title="Record code for #pragma diagnostic mappings.">DIAG_PRAGMA_MAPPINGS</a>);</div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61aeb0cc3872f14ea33239413f2b0d7cd45" title="Record code for special CUDA declarations.">CUDA_SPECIAL_DECL_REFS</a>);</div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae302244f09bfe5600603d1f99a0b33cc" title="Record code for header search information.">HEADER_SEARCH_TABLE</a>);</div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2f5d007813806d23d1163c8af348f8bd" title="Record code for floating point #pragma options.">FP_PRAGMA_OPTIONS</a>);</div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2e31b0866e036d548c246db2d77cdc44" title="Record code for enabled OpenCL extensions.">OPENCL_EXTENSIONS</a>);</div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2a3222160e74959dce38adeb0da9155c" title="The list of delegating constructor declarations.">DELEGATING_CTORS</a>);</div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a19484a48a2aa3c19ef1b0103caa7c546" title="Record code for the set of known namespaces, which are used for typo correction.">KNOWN_NAMESPACES</a>);</div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a9a15a54215d354829be20a16a2675747" title="Record code for undefined but used functions and variables that need a definition in this TU...">UNDEFINED_BUT_USED</a>);</div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61afeae560206e641d92a821a2e182842aa" title="Record code for the remapping information used to relate loaded modules to the various offsets and ID...">MODULE_OFFSET_MAP</a>);</div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4a666a70523ee5bc39e5327cddf1e2a7" title="Record code for the source manager line table information, which stores information about #line direc...">SOURCE_MANAGER_LINE_TABLE</a>);</div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae78fa43dd3e657eed3f36a2742a7b3fa" title="Record code for map of Objective-C class definition IDs to the ObjC categories in a module that are a...">OBJC_CATEGORIES_MAP</a>);</div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a9fc367ee45502cf8ed5d6c08844a2fab" title="Record code for a file sorted array of DeclIDs in a module.">FILE_SORTED_DECLS</a>);</div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61acb06d535f3f483895cb82ebf49fb3958" title="Record code for an array of all of the (sub)modules that were imported by the AST file...">IMPORTED_MODULES</a>);</div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a74a8a02e4250fd43e73fefd0c4a25795" title="Record code for the set of merged declarations in an AST file.">MERGED_DECLARATIONS</a>);</div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61aed447dad650bc9518eac124c99b01f62" title="Record code for the array of redeclaration chains.">LOCAL_REDECLARATIONS</a>);</div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a77cd689f33b22c3e1ff8bc2f680d0863" title="Record code for the array of Objective-C categories (including extensions).">OBJC_CATEGORIES</a>);</div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a6437a7905d50efedd7e71a2ccbd48558" title="Record code for the table of offsets of each macro ID.">MACRO_OFFSET</a>);</div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae8508a6ed74023f05db0c64416e7353a" title="Mapping table from the identifier ID to the offset of the macro directive history for the identifier...">MACRO_TABLE</a>);</div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a3d996aa5fcbf9637ed32d966643bca82" title="Record code for late parsed template functions.">LATE_PARSED_TEMPLATE</a>);</div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span> </div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span>   <span class="comment">// SourceManager Block.</span></div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(SOURCE_MANAGER_BLOCK);</div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba6d9d90a56581c3bf9e24dfa039dcb690" title="Describes a source location entry (SLocEntry) for a file.">SM_SLOC_FILE_ENTRY</a>);</div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba85ab295116bb1ccd84ded43120c70a97" title="Describes a source location entry (SLocEntry) for a buffer.">SM_SLOC_BUFFER_ENTRY</a>);</div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba978f1939522698b4646798b398f9583e" title="Describes a blob that contains the data for a buffer entry. This kind of record always directly follo...">SM_SLOC_BUFFER_BLOB</a>);</div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18bab9697e28301a9fe8a0909e53ded959bf" title="Describes a source location entry (SLocEntry) for a macro expansion.">SM_SLOC_EXPANSION_ENTRY</a>);</div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span> </div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span>   <span class="comment">// Preprocessor Block.</span></div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(PREPROCESSOR_BLOCK);</div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea8ca7ad4a6df779fd9436062f2e96d027" title="An object-like macro definition. [PP_MACRO_OBJECT_LIKE, IdentInfoID, SLoc, IsUsed].">PP_MACRO_OBJECT_LIKE</a>);</div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea10d6fb44eb9ef583168289980016e99e" title="A function-like macro definition. [PP_MACRO_FUNCTION_LIKE, <ObjectLikeStuff>, IsC99Varargs, IsGNUVarars, NumArgs, ArgIdentInfoID* ].">PP_MACRO_FUNCTION_LIKE</a>);</div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea0368b4b130a6a6d60ac6e2602327ed1f" title="Describes one token. [PP_TOKEN, SLoc, Length, IdentInfoID, Kind, Flags].">PP_TOKEN</a>);</div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span>   </div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span>   <span class="comment">// Decls and Types block.</span></div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(DECLTYPES_BLOCK);</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a81a62dc49641e74fc558135d203cf05a" title="An ExtQualType record.">TYPE_EXT_QUAL</a>);</div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac925d0e5cc832d99f8e3d21c5517db3d" title="A ComplexType record.">TYPE_COMPLEX</a>);</div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a453cd1d29a477e7c16ba92befe68ce60" title="A PointerType record.">TYPE_POINTER</a>);</div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a249f939198f12f12fad2f9537eeab75f" title="A BlockPointerType record.">TYPE_BLOCK_POINTER</a>);</div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a44eb6566d9a6235848046a03fd7b94ed" title="An LValueReferenceType record.">TYPE_LVALUE_REFERENCE</a>);</div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3bc8ea296401efd35adb0b46062cb1a9" title="An RValueReferenceType record.">TYPE_RVALUE_REFERENCE</a>);</div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a6d1555cf519242c930ca86e334233566" title="A MemberPointerType record.">TYPE_MEMBER_POINTER</a>);</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ab24d08c5f524ea2b4c6bf12f758e849e" title="A ConstantArrayType record.">TYPE_CONSTANT_ARRAY</a>);</div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a48d67d01889e53fc437e0b1ebc3cdb45" title="An IncompleteArrayType record.">TYPE_INCOMPLETE_ARRAY</a>);</div>
+<div class="line"><a name="l00877"></a><span class="lineno">  877</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a12c1023cccf7d9f9711eabd0873acf7e" title="A VariableArrayType record.">TYPE_VARIABLE_ARRAY</a>);</div>
+<div class="line"><a name="l00878"></a><span class="lineno">  878</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5220725764d02873f672d45f19d5267c" title="A VectorType record.">TYPE_VECTOR</a>);</div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7ef20ba4567c2ee102e0039ab1628591" title="An ExtVectorType record.">TYPE_EXT_VECTOR</a>);</div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a365fce2f776c2c685252d5091106c431" title="A FunctionProtoType record.">TYPE_FUNCTION_PROTO</a>);</div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a07f1a75b062d966067040a003aaf9813" title="A FunctionNoProtoType record.">TYPE_FUNCTION_NO_PROTO</a>);</div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae192168496dff60dd5778dda91ea74f0" title="A TypedefType record.">TYPE_TYPEDEF</a>);</div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7fc2c8a9416e4238834312dae957735d" title="A TypeOfExprType record.">TYPE_TYPEOF_EXPR</a>);</div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838af7f4dfb7b65252a257ab850a7b434c82" title="A TypeOfType record.">TYPE_TYPEOF</a>);</div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a8c72a0ce1aedd7a2426cdf86cab7d62d" title="A RecordType record.">TYPE_RECORD</a>);</div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3cc4fc6c5d8a0743bc2f918cd4d5d453" title="An EnumType record.">TYPE_ENUM</a>);</div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ad8afd65a2f44583464070982f4298446" title="An ObjCInterfaceType record.">TYPE_OBJC_INTERFACE</a>);</div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a90de7a55ca63e402ddf39d31d0faa837" title="An ObjCObjectType record.">TYPE_OBJC_OBJECT</a>);</div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4834a65b93ea8691ebcd96d2eccd479f" title="An ObjCObjectPointerType record.">TYPE_OBJC_OBJECT_POINTER</a>);</div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae0764a60cedade004a865894533f43f9" title="a DecltypeType record.">TYPE_DECLTYPE</a>);</div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae7b7b0f26fdaafeca11969c17ba17ebd" title="An ElaboratedType record.">TYPE_ELABORATED</a>);</div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a0a7b59e1878dbf993e2e36fed8fe467c" title="A SubstTemplateTypeParmType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM</a>);</div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac72aae936231124ca0c55589752df37c" title="An UnresolvedUsingType record.">TYPE_UNRESOLVED_USING</a>);</div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838aaa42be527610372704021bda58e340ec" title="An InjectedClassNameType record.">TYPE_INJECTED_CLASS_NAME</a>);</div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a90de7a55ca63e402ddf39d31d0faa837" title="An ObjCObjectType record.">TYPE_OBJC_OBJECT</a>);</div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a867b307628077d23cdd86a6bc27c9544" title="An TemplateTypeParmType record.">TYPE_TEMPLATE_TYPE_PARM</a>);</div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a532df5a5689cc53db51781e575b63e91" title="An TemplateSpecializationType record.">TYPE_TEMPLATE_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d950ffe5e20b29296722e5e08ca9c5c" title="A DependentNameType record.">TYPE_DEPENDENT_NAME</a>);</div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a21bd2748c097a472baaaa45cd353bec8" title="A DependentTemplateSpecializationType record.">TYPE_DEPENDENT_TEMPLATE_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a60f156a1f3e063a669dd72ebc71ea4bf" title="A DependentSizedArrayType record.">TYPE_DEPENDENT_SIZED_ARRAY</a>);</div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a1f9cbdd76e827f3a56023d222a3e458e" title="A ParenType record.">TYPE_PAREN</a>);</div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5a1dd79684e18fb1202ef9db340c35ee" title="A PackExpansionType record.">TYPE_PACK_EXPANSION</a>);</div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a485b499c0753ab99a364675a3eee5ad0" title="An AttributedType record.">TYPE_ATTRIBUTED</a>);</div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d48385df2fb698004dc7f0ba65f24d9" title="A SubstTemplateTypeParmPackType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM_PACK</a>);</div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838add9b8caafe9f5a9fa4ab70aae8b7423c" title="An AtomicType record.">TYPE_ATOMIC</a>);</div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda422905d00e014ff3366cc40b89711606" title="A TypedefDecl record.">DECL_TYPEDEF</a>);</div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdacd7c98403463dcf489152e6fa9d3d945" title="An EnumDecl record.">DECL_ENUM</a>);</div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda7482e398f9d4b3572edf31ceef7321b6" title="A RecordDecl record.">DECL_RECORD</a>);</div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda403e04c8a8e8fb93b42c47b0a4a281ec" title="An EnumConstantDecl record.">DECL_ENUM_CONSTANT</a>);</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda734329bcfd9120f9b3b236afe244cdb6" title="A FunctionDecl record.">DECL_FUNCTION</a>);</div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdad671fb3a1248ff419a78b03de2627ff2" title="A ObjCMethodDecl record.">DECL_OBJC_METHOD</a>);</div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaef76e58559ff67edde439d11659799a1" title="A ObjCInterfaceDecl record.">DECL_OBJC_INTERFACE</a>);</div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaa2d8a7ed3305a60642923457f00342a4" title="A ObjCProtocolDecl record.">DECL_OBJC_PROTOCOL</a>);</div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdae7b40f478012ac8c54e85b15e3f554a0" title="A ObjCIvarDecl record.">DECL_OBJC_IVAR</a>);</div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdac0374c2338d0b6d7f6b89e53f5cb7e99" title="A ObjCAtDefsFieldDecl record.">DECL_OBJC_AT_DEFS_FIELD</a>);</div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda9d2bade248d45ed77a08e8e67d672f5c" title="A ObjCCategoryDecl record.">DECL_OBJC_CATEGORY</a>);</div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda3aa3dbb4e9ac94effc9e5387c29cb90d" title="A ObjCCategoryImplDecl record.">DECL_OBJC_CATEGORY_IMPL</a>);</div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaa78f787c020e807d2d898c6ed5b0aec7" title="A ObjCImplementationDecl record.">DECL_OBJC_IMPLEMENTATION</a>);</div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdab5f2312d906173ef82ae105eb0e37b28" title="A ObjCCompatibleAliasDecl record.">DECL_OBJC_COMPATIBLE_ALIAS</a>);</div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaea4b9b30a65f8ddf318618ba75badd03" title="A ObjCPropertyDecl record.">DECL_OBJC_PROPERTY</a>);</div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdafd181d330770c596655a55cd71b3d3b1" title="A ObjCPropertyImplDecl record.">DECL_OBJC_PROPERTY_IMPL</a>);</div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda6120228ff3e758994f18127141c92776" title="A FieldDecl record.">DECL_FIELD</a>);</div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda12a623153683addf39e3f7ab76436e7f" title="A MSPropertyDecl record.">DECL_MS_PROPERTY</a>);</div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda9e384c28f844c88209addf1f19313b93" title="A VarDecl record.">DECL_VAR</a>);</div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdac13bfc8bb173049dae77fd26f64ef2e7" title="An ImplicitParamDecl record.">DECL_IMPLICIT_PARAM</a>);</div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda41b4f032561d1c9e5ce9cab230a10873" title="A ParmVarDecl record.">DECL_PARM_VAR</a>);</div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda59169ddb05fdadf4f01d076ad022c230" title="A FileScopeAsmDecl record.">DECL_FILE_SCOPE_ASM</a>);</div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda7fe348c25ed39f51854ad19638ad47f6" title="A BlockDecl record.">DECL_BLOCK</a>);</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda7495f341b29a95f3276043a6624af2c4" title="A record that stores the set of declarations that are lexically stored within a given DeclContext...">DECL_CONTEXT_LEXICAL</a>);</div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdafcf73a1ed9070059c5895e18ce3af9aa" title="A record that stores the set of declarations that are visible from a given DeclContext.">DECL_CONTEXT_VISIBLE</a>);</div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda6b89a684e9175c5c25cad4fe81de4d8f" title="A NamespaceDecl record.">DECL_NAMESPACE</a>);</div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda45b71c0438956cbee9a413a8a5834663" title="A NamespaceAliasDecl record.">DECL_NAMESPACE_ALIAS</a>);</div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaa1ed3dc4b7b54f7af8cd702301edf975" title="A UsingDecl record.">DECL_USING</a>);</div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdade80aee8eacf0a4a0329c6113cceb62d" title="A UsingShadowDecl record.">DECL_USING_SHADOW</a>);</div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda7352d48af4c2d5673e6df36791b3f1e5" title="A UsingDirecitveDecl record.">DECL_USING_DIRECTIVE</a>);</div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda86471ab6a2686044ba40e26d7cbd1cfb" title="An UnresolvedUsingValueDecl record.">DECL_UNRESOLVED_USING_VALUE</a>);</div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda50096bcaaf14487b945a50e062068065" title="An UnresolvedUsingTypenameDecl record.">DECL_UNRESOLVED_USING_TYPENAME</a>);</div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda66c711e5b8b3fa167fb631ea808ce51c" title="A LinkageSpecDecl record.">DECL_LINKAGE_SPEC</a>);</div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda0be36518ee3508d58f57e79cd4f3d422" title="A CXXRecordDecl record.">DECL_CXX_RECORD</a>);</div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdac5ac3305af665d429e087d64d552ab2b" title="A CXXMethodDecl record.">DECL_CXX_METHOD</a>);</div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda5e014c2f3e11b717c7d823a0056a112d" title="A CXXConstructorDecl record.">DECL_CXX_CONSTRUCTOR</a>);</div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdad7b9da85abdab5479d659b52d73d8470" title="A CXXDestructorDecl record.">DECL_CXX_DESTRUCTOR</a>);</div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda5f8545610ce81e63b47fed439ea6d4f9" title="A CXXConversionDecl record.">DECL_CXX_CONVERSION</a>);</div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda3990274a16f9fb97491db7fb9e01c670" title="An AccessSpecDecl record.">DECL_ACCESS_SPEC</a>);</div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdac27c78d9d3b5ddfbe725823297959c7b" title="A FriendDecl record.">DECL_FRIEND</a>);</div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdabcd82d8fac55480ad52e08aee7ccc9b9" title="A FriendTemplateDecl record.">DECL_FRIEND_TEMPLATE</a>);</div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaddf901f5899e3d84bb0c46bdd2d5e0b6" title="A ClassTemplateDecl record.">DECL_CLASS_TEMPLATE</a>);</div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda50c0ee0699a40d0812832aab60f54fb8" title="A ClassTemplateSpecializationDecl record.">DECL_CLASS_TEMPLATE_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaf82863a157f36e650fa3980583ff0a92" title="A ClassTemplatePartialSpecializationDecl record.">DECL_CLASS_TEMPLATE_PARTIAL_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaf028c95ad16e759cf48a2acbd4948786" title="A VarTemplateDecl record.">DECL_VAR_TEMPLATE</a>);</div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaa5b1a183a61933cb343d1b9a5646bdea" title="A VarTemplateSpecializationDecl record.">DECL_VAR_TEMPLATE_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda102c06473f86dfa837395febaf1d30da" title="A VarTemplatePartialSpecializationDecl record.">DECL_VAR_TEMPLATE_PARTIAL_SPECIALIZATION</a>);</div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda4fa76ad6349893ed73ae76a98443b938" title="A FunctionTemplateDecl record.">DECL_FUNCTION_TEMPLATE</a>);</div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdaa4cf8077e30fcd491a0f13bfe0f14c78" title="A TemplateTypeParmDecl record.">DECL_TEMPLATE_TYPE_PARM</a>);</div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda6bad0d6d72827a5f9190ff7809c4ed32" title="A NonTypeTemplateParmDecl record.">DECL_NON_TYPE_TEMPLATE_PARM</a>);</div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda29c1244e56ca7a593e4ac12af0d1b68c" title="A TemplateTemplateParmDecl record.">DECL_TEMPLATE_TEMPLATE_PARM</a>);</div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda25d91d05124c41f0df560b04150fcd99" title="A StaticAssertDecl record.">DECL_STATIC_ASSERT</a>);</div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda08f7f5d6d4c5d5f058ffa092bf90c1b4" title="A record containing CXXBaseSpecifiers.">DECL_CXX_BASE_SPECIFIERS</a>);</div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda264c6686da8818d66c46468494c53a38" title="A IndirectFieldDecl record.">DECL_INDIRECTFIELD</a>);</div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdabd86eb9aadb4a00eef20646f83eee97b" title="A NonTypeTemplateParmDecl record that stores an expanded non-type template parameter pack...">DECL_EXPANDED_NON_TYPE_TEMPLATE_PARM_PACK</a>);</div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span>   </div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span>   <span class="comment">// Statements and Exprs can occur in the Decls and Types block.</span></div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span>   <a class="code" href="ASTWriter_8cpp.html#aaaca29a0e5e782b23f93d912019b00c9">AddStmtsExprs</a>(Stream, Record);</div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span> </div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span>   <a class="code" href="Template_8h.html#aed31b0aae3b75e71601a579bec5040b0">BLOCK</a>(PREPROCESSOR_DETAIL_BLOCK);</div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a917e25be9fbc280765180bcb2660ab13" title="Describes a macro expansion within the preprocessing record.">PPD_MACRO_EXPANSION</a>);</div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623ad7c7599728ddb7b15c0656913a9d97d5" title="Describes a macro definition within the preprocessing record.">PPD_MACRO_DEFINITION</a>);</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span>   <a class="code" href="ASTWriter_8cpp.html#a68b724c6f8c1aa5182b573cd3c897200">RECORD</a>(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a6a2477427b4e4e86dfa3a7d250712a5e" title="Describes an inclusion directive within the preprocessing record.">PPD_INCLUSION_DIRECTIVE</a>);</div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span>   </div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span> <span class="preprocessor">#undef RECORD</span></div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span> <span class="preprocessor"></span><span class="preprocessor">#undef BLOCK</span></div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span> <span class="preprocessor"></span>  Stream.ExitBlock();</div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span> }</div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span> <span class="comment"></span></div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span> <span class="comment">/// \brief Adjusts the given filename to only write out the portion of the</span></div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span> <span class="comment">/// filename that is not part of the system root directory.</span></div>
+<div class="line"><a name="l00977"></a><span class="lineno">  977</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span> <span class="comment">/// \param Filename the file name to adjust.</span></div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span> <span class="comment">/// \param isysroot When non-NULL, the PCH file is a relocatable PCH file and</span></div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span> <span class="comment">/// the returned filename will be adjusted by this system root.</span></div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span> <span class="comment">/// \returns either the original filename (if it needs no adjustment) or the</span></div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span> <span class="comment">/// adjusted filename (which points into the @p Filename parameter).</span></div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span> <span class="comment"></span><span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *</div>
+<div class="line"><a name="l00986"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b">  986</a></span> <a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b" title="Adjusts the given filename to only write out the portion of the filename that is not part of the syst...">adjustFilenameForRelocatablePCH</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *Filename, StringRef isysroot) {</div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span>   assert(Filename && <span class="stringliteral">"No file name to adjust?"</span>);</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="keywordflow">if</span> (isysroot.empty())</div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span>     <span class="keywordflow">return</span> Filename;</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">// Verify that the filename and the system root have the same prefix.</span></div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span>   <span class="keywordtype">unsigned</span> Pos = 0;</div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span>   <span class="keywordflow">for</span> (; Filename[Pos] && Pos < isysroot.size(); ++Pos)</div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>     <span class="keywordflow">if</span> (Filename[Pos] != isysroot[Pos])</div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>       <span class="keywordflow">return</span> Filename; <span class="comment">// Prefixes don't match.</span></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">// We hit the end of the filename before we hit the end of the system root.</span></div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span>   <span class="keywordflow">if</span> (!Filename[Pos])</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>     <span class="keywordflow">return</span> Filename;</div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span> </div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>   <span class="comment">// If the file name has a '/' at the current position, skip over the '/'.</span></div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>   <span class="comment">// We distinguish sysroot-based includes from absolute includes by the</span></div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>   <span class="comment">// absence of '/' at the beginning of sysroot-based includes.</span></div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>   <span class="keywordflow">if</span> (Filename[Pos] == <span class="charliteral">'/'</span>)</div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>     ++Pos;</div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> </div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>   <span class="keywordflow">return</span> Filename + Pos;</div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> }</div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="comment"></span></div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span> <span class="comment">/// \brief Write the control block.</span></div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteControlBlock(<a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP, <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="l01013"></a><span class="lineno"> 1013</span>                                   StringRef isysroot,</div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>                                   <span class="keyword">const</span> std::string &OutputFile) {</div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a5bbe2d7d78c97db37bc84589d5125df8" title="The control block, which contains all of the information that needs to be validated prior to committi...">CONTROL_BLOCK_ID</a>, 5);</div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>   RecordData Record;</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>   <span class="comment">// Metadata</span></div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>   BitCodeAbbrev *MetadataAbbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daf7c48b6a596a1dbb07aa6ea532467221" title="AST file metadata, including the AST file version number and information about the compiler used to b...">METADATA</a>));</div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); <span class="comment">// Major</span></div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); <span class="comment">// Minor</span></div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); <span class="comment">// Clang maj.</span></div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 16)); <span class="comment">// Clang min.</span></div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// Relocatable</span></div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// Errors</span></div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>   MetadataAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// SVN branch/tag</span></div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>   <span class="keywordtype">unsigned</span> MetadataAbbrevCode = Stream.EmitAbbrev(MetadataAbbrev);</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daf7c48b6a596a1dbb07aa6ea532467221" title="AST file metadata, including the AST file version number and information about the compiler used to b...">METADATA</a>);</div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a83e5eab408c4f73ee99909391464ff27" title="AST file major version number supported by this version of Clang.">VERSION_MAJOR</a>);</div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a77f39b19cda1d1d8acef6f86c86be95d" title="AST file minor version number supported by this version of Clang.">VERSION_MINOR</a>);</div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>   Record.push_back(CLANG_VERSION_MAJOR);</div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>   Record.push_back(CLANG_VERSION_MINOR);</div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>   Record.push_back(!isysroot.empty());</div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>   Record.push_back(ASTHasCompilerErrors);</div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>   Stream.EmitRecordWithBlob(MetadataAbbrevCode, Record,</div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>                             <a class="code" href="namespaceclang.html#ad7362431b8742d66c944c9cd9d6c4b03" title="Retrieves the full repository version that is an amalgamation of the information in getClangRepositor...">getClangFullRepositoryVersion</a>());</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">// Imports</span></div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>   <span class="keywordflow">if</span> (Chain) {</div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>     <a class="code" href="classclang_1_1serialization_1_1ModuleManager.html" title="Manages the set of modules loaded by an AST reader.">serialization::ModuleManager</a> &Mgr = Chain->getModuleManager();</div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<char, 128></a> ModulePaths;</div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>     Record.clear();</div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> </div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1serialization_1_1ModuleManager.html#a45d0c34b971032d2314c7b69f1603939">ModuleManager::ModuleIterator</a> M = Mgr.<a class="code" href="classclang_1_1serialization_1_1ModuleManager.html#a6e426db31e4fb8f13e7b4c80ae40b7d5" title="Forward iterator to traverse all loaded modules. This is reverse source-order.">begin</a>(), MEnd = Mgr.<a class="code" href="classclang_1_1serialization_1_1ModuleManager.html#a9ae0715ad1ab54078eab0c41b144b263" title="Forward iterator end-point to traverse all loaded modules.">end</a>();</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>          M != MEnd; ++M) {</div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>       <span class="comment">// Skip modules that weren't directly imported.</span></div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>       <span class="keywordflow">if</span> (!(*M)->isDirectlyImported())</div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> </div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>       Record.push_back((<span class="keywordtype">unsigned</span>)(*M)->Kind); <span class="comment">// FIXME: Stable encoding</span></div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>       AddSourceLocation((*M)->ImportLoc, Record);</div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>       Record.push_back((*M)->File->getSize());</div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>       Record.push_back((*M)->File->getModificationTime());</div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>       <span class="comment">// FIXME: This writes the absolute path for AST files we depend on.</span></div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>       <span class="keyword">const</span> std::string &FileName = (*M)->FileName;</div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>       Record.push_back(FileName.size());</div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>       Record.append(FileName.begin(), FileName.end());</div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>     }</div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da5fb7601ad841ddee67ac78ff2e13a7a1" title="Record code for the list of other AST files imported by this AST file.">IMPORTS</a>, Record);</div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>   }</div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> </div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>   <span class="comment">// Language options.</span></div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>   Record.clear();</div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</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 = Context.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>();</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> <span class="preprocessor">#define LANGOPT(Name, Bits, Default, Description) \</span></div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> <span class="preprocessor">  Record.push_back(LangOpts.Name);</span></div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span> <span class="preprocessor"></span><span class="preprocessor">#define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \</span></div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> <span class="preprocessor">  Record.push_back(static_cast<unsigned>(LangOpts.get##Name()));</span></div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/LangOptions.def"</span>  </div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <span class="preprocessor">#define SANITIZER(NAME, ID) Record.push_back(LangOpts.Sanitize.ID);</span></div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/Sanitizers.def"</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>   Record.push_back((<span class="keywordtype">unsigned</span>) LangOpts.ObjCRuntime.getKind());</div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>   AddVersionTuple(LangOpts.ObjCRuntime.getVersion(), Record);</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>   </div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>   Record.push_back(LangOpts.CurrentModule.size());</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>   Record.append(LangOpts.CurrentModule.begin(), LangOpts.CurrentModule.end());</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> </div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>   <span class="comment">// Comment options.</span></div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>   Record.push_back(LangOpts.CommentOpts.BlockCommandNames.size());</div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>   <span class="keywordflow">for</span> (CommentOptions::BlockCommandNamesTy::const_iterator</div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>            I = LangOpts.CommentOpts.BlockCommandNames.begin(),</div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>            IEnd = LangOpts.CommentOpts.BlockCommandNames.end();</div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>        I != IEnd; ++I) {</div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>     AddString(*I, Record);</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>   }</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>   Record.push_back(LangOpts.CommentOpts.ParseAllComments);</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> </div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0dade18acf95ac28fdd7f692d48b169fd48" title="Record code for the language options table.">LANGUAGE_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> </div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>   <span class="comment">// Target options.</span></div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>   Record.clear();</div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetInfo.html" title="Exposes information about the current target.">TargetInfo</a> &Target = Context.<a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>();</div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &TargetOpts = Target.getTargetOpts();</div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>   AddString(TargetOpts.Triple, Record);</div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>   AddString(TargetOpts.CPU, Record);</div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>   AddString(TargetOpts.ABI, Record);</div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>   AddString(TargetOpts.CXXABI, Record);</div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>   AddString(TargetOpts.LinkerVersion, Record);</div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>   Record.push_back(TargetOpts.FeaturesAsWritten.size());</div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = TargetOpts.FeaturesAsWritten.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>     AddString(TargetOpts.FeaturesAsWritten[I], Record);</div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>   }</div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>   Record.push_back(TargetOpts.Features.size());</div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = TargetOpts.Features.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>     AddString(TargetOpts.Features[I], Record);</div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>   }</div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da3cea96b4ac8dab2bbeb07498ec599f34" title="Record code for the target options table.">TARGET_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> </div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>   <span class="comment">// Diagnostic options.</span></div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>   Record.clear();</div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1DiagnosticOptions.html" title="Options for controlling the compiler diagnostics engine.">DiagnosticOptions</a> &DiagOpts</div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>     = Context.<a class="code" href="classclang_1_1ASTContext.html#a9038dcc99a0eb802f7d2686b5a9de271">getDiagnostics</a>().<a class="code" href="classclang_1_1DiagnosticsEngine.html#a8469212767b5537795d077fe84cb32b4" title="Retrieve the diagnostic options.">getDiagnosticOptions</a>();</div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <span class="preprocessor">#define DIAGOPT(Name, Bits, Default) Record.push_back(DiagOpts.Name);</span></div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> <span class="preprocessor"></span><span class="preprocessor">#define ENUM_DIAGOPT(Name, Type, Bits, Default) \</span></div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> <span class="preprocessor">  Record.push_back(static_cast<unsigned>(DiagOpts.get##Name()));</span></div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/DiagnosticOptions.def"</span></div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>   Record.push_back(DiagOpts.Warnings.size());</div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = DiagOpts.Warnings.size(); I != N; ++I)</div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>     AddString(DiagOpts.Warnings[I], Record);</div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>   <span class="comment">// Note: we don't serialize the log or serialization file names, because they</span></div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>   <span class="comment">// are generally transient files and will almost always be overridden.</span></div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da27d2d0682f3e960953d646ebfdc7a902" title="Record code for the diagnostic options table.">DIAGNOSTIC_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> </div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>   <span class="comment">// File system options.</span></div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>   Record.clear();</div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1FileSystemOptions.html" title="Keeps track of options that affect how file operations are performed.">FileSystemOptions</a> &FSOpts</div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>     = Context.<a class="code" href="classclang_1_1ASTContext.html#a091e2575135f7f9f1aeb25ba0090bfde">getSourceManager</a>().<a class="code" href="classclang_1_1SourceManager.html#aa80ae8266b98edd041407e7f96fa7501">getFileManager</a>().<a class="code" href="classclang_1_1FileManager.html#aab22bc477c1e3363509ac7965d195dbe" title="Returns the current file system options.">getFileSystemOptions</a>();</div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>   AddString(FSOpts.WorkingDir, Record);</div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da0ac970ee55c7b81336e686372806e34c" title="Record code for the filesystem options table.">FILE_SYSTEM_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> </div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>   <span class="comment">// Header search options.</span></div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>   Record.clear();</div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1HeaderSearchOptions.html">HeaderSearchOptions</a> &HSOpts</div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>     = PP.<a class="code" href="classclang_1_1Preprocessor.html#a9dc8733c4a182dee512c14dbdcfe046e">getHeaderSearchInfo</a>().<a class="code" href="classclang_1_1HeaderSearch.html#a2987826005bf4f311ff97f2a54503010" title="Retrieve the header-search options with which this header search was initialized.">getHeaderSearchOpts</a>();</div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>   AddString(HSOpts.Sysroot, Record);</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>   <span class="comment">// Include entries.</span></div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>   Record.push_back(HSOpts.UserEntries.size());</div>
+<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = HSOpts.UserEntries.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>     <span class="keyword">const</span> <a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html">HeaderSearchOptions::Entry</a> &Entry = HSOpts.UserEntries[I];</div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>     AddString(Entry.<a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html#a288b55e3fcc00ead4f5a98e5993a792b">Path</a>, Record);</div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>     Record.push_back(static_cast<unsigned>(Entry.<a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html#a15fac189b02d8e6498f5ca42acc025a3">Group</a>));</div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>     Record.push_back(Entry.<a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html#a9c22b253b2d1671ec495aa86faee1085">IsFramework</a>);</div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>     Record.push_back(Entry.<a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html#aca2c90ab43e0ea8786f0fb7b5c03b166">IgnoreSysRoot</a>);</div>
+<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>   }</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>   <span class="comment">// System header prefixes.</span></div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>   Record.push_back(HSOpts.SystemHeaderPrefixes.size());</div>
+<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = HSOpts.SystemHeaderPrefixes.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>     AddString(HSOpts.SystemHeaderPrefixes[I].Prefix, Record);</div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>     Record.push_back(HSOpts.SystemHeaderPrefixes[I].IsSystemHeader);</div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>   }</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>   AddString(HSOpts.ResourceDir, Record);</div>
+<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>   AddString(HSOpts.ModuleCachePath, Record);</div>
+<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>   Record.push_back(HSOpts.DisableModuleHash);</div>
+<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>   Record.push_back(HSOpts.UseBuiltinIncludes);</div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>   Record.push_back(HSOpts.UseStandardSystemIncludes);</div>
+<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>   Record.push_back(HSOpts.UseStandardCXXIncludes);</div>
+<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>   Record.push_back(HSOpts.UseLibcxx);</div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da661da03ded7dec1b205b5f4d00c1b96c" title="Record code for the headers search options table.">HEADER_SEARCH_OPTIONS</a>, Record);</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>   <span class="comment">// Preprocessor options.</span></div>
+<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>   Record.clear();</div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts = PP.<a class="code" href="classclang_1_1Preprocessor.html#aea9ff7861eb6442ccaeb0e3b56553234" title="Retrieve the preprocessor options used to initialize this preprocessor.">getPreprocessorOpts</a>();</div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> </div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>   <span class="comment">// Macro definitions.</span></div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>   Record.push_back(PPOpts.Macros.size());</div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = PPOpts.Macros.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>     AddString(PPOpts.Macros[I].first, Record);</div>
+<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>     Record.push_back(PPOpts.Macros[I].second);</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>   <span class="comment">// Includes</span></div>
+<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>   Record.push_back(PPOpts.Includes.size());</div>
+<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = PPOpts.Includes.size(); I != N; ++I)</div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>     AddString(PPOpts.Includes[I], Record);</div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> </div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>   <span class="comment">// Macro includes</span></div>
+<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>   Record.push_back(PPOpts.MacroIncludes.size());</div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = PPOpts.MacroIncludes.size(); I != N; ++I)</div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>     AddString(PPOpts.MacroIncludes[I], Record);</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>   Record.push_back(PPOpts.UsePredefines);</div>
+<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>   <span class="comment">// Detailed record is important since it is used for the module cache hash.</span></div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>   Record.push_back(PPOpts.DetailedRecord);</div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>   AddString(PPOpts.ImplicitPCHInclude, Record);</div>
+<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>   AddString(PPOpts.ImplicitPTHInclude, Record);</div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>   Record.push_back(static_cast<unsigned>(PPOpts.ObjCXXARCStandardLibrary));</div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da4dd1e44eddd34b743585629b8be1fb43" title="Record code for the preprocessor options table.">PREPROCESSOR_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span> </div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>   <span class="comment">// Original file name and file ID</span></div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>   <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> = Context.<a class="code" href="classclang_1_1ASTContext.html#a091e2575135f7f9f1aeb25ba0090bfde">getSourceManager</a>();</div>
+<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>   <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *MainFile = <a class="code" href="AnalysisBasedWarnings_8cpp.html#afe4356a77609114d8df0bfc9c2b8701f">SM</a>.<a class="code" href="classclang_1_1SourceManager.html#a89a4d1fa8ccc458bce84b0d72b4545db" title="Returns the FileEntry record for the provided FileID.">getFileEntryForID</a>(<a class="code" href="AnalysisBasedWarnings_8cpp.html#afe4356a77609114d8df0bfc9c2b8701f">SM</a>.<a class="code" href="classclang_1_1SourceManager.html#ad3ac47ab7380c82d19243a2db765479c" title="Returns the FileID of the main source file.">getMainFileID</a>())) {</div>
+<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>     BitCodeAbbrev *FileAbbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>     FileAbbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da8c9fb65b62a052d7810ca761f44a784b" title="Record code for the original file that was used to generate the AST file, including both its file ID ...">ORIGINAL_FILE</a>));</div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>     FileAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// File ID</span></div>
+<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>     FileAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// File name</span></div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>     <span class="keywordtype">unsigned</span> FileAbbrevCode = Stream.EmitAbbrev(FileAbbrev);</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>     <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> MainFilePath(MainFile->getName());</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>     llvm::sys::fs::make_absolute(MainFilePath);</div>
+<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> </div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *MainFileNameStr = MainFilePath.c_str();</div>
+<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>     MainFileNameStr = <a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b" title="Adjusts the given filename to only write out the portion of the filename that is not part of the syst...">adjustFilenameForRelocatablePCH</a>(MainFileNameStr,</div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>                                                       isysroot);</div>
+<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>     Record.clear();</div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da8c9fb65b62a052d7810ca761f44a784b" title="Record code for the original file that was used to generate the AST file, including both its file ID ...">ORIGINAL_FILE</a>);</div>
+<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>     Record.push_back(<a class="code" href="AnalysisBasedWarnings_8cpp.html#afe4356a77609114d8df0bfc9c2b8701f">SM</a>.<a class="code" href="classclang_1_1SourceManager.html#ad3ac47ab7380c82d19243a2db765479c" title="Returns the FileID of the main source file.">getMainFileID</a>().getOpaqueValue());</div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>     Stream.EmitRecordWithBlob(FileAbbrevCode, Record, MainFileNameStr);</div>
+<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>   }</div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span> </div>
+<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>   Record.clear();</div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>   Record.push_back(<a class="code" href="AnalysisBasedWarnings_8cpp.html#afe4356a77609114d8df0bfc9c2b8701f">SM</a>.<a class="code" href="classclang_1_1SourceManager.html#ad3ac47ab7380c82d19243a2db765479c" title="Returns the FileID of the main source file.">getMainFileID</a>().getOpaqueValue());</div>
+<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0da65d582908301c1ce8faabcc3526b1afd" title="Record code for file ID of the file or buffer that was used to generate the AST file.">ORIGINAL_FILE_ID</a>, Record);</div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span> </div>
+<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>   <span class="comment">// Original PCH directory</span></div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>   <span class="keywordflow">if</span> (!OutputFile.empty() && OutputFile != <span class="stringliteral">"-"</span>) {</div>
+<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>     BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0dadf15009d70ca93bfbdfe76e469a80a63" title="The directory that the PCH was originally created in.">ORIGINAL_PCH_DIR</a>));</div>
+<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// File name</span></div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>     <span class="keywordtype">unsigned</span> AbbrevCode = Stream.EmitAbbrev(Abbrev);</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_1SmallString.html">SmallString<128></a> OutputPath(OutputFile);</div>
+<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span> </div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>     llvm::sys::fs::make_absolute(OutputPath);</div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>     StringRef origDir = llvm::sys::path::parent_path(OutputPath);</div>
+<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> </div>
+<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>     RecordData Record;</div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0dadf15009d70ca93bfbdfe76e469a80a63" title="The directory that the PCH was originally created in.">ORIGINAL_PCH_DIR</a>);</div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>     Stream.EmitRecordWithBlob(AbbrevCode, Record, origDir);</div>
+<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>   }</div>
+<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> </div>
+<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>   WriteInputFiles(Context.SourceMgr,</div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>                   PP.<a class="code" href="classclang_1_1Preprocessor.html#a9dc8733c4a182dee512c14dbdcfe046e">getHeaderSearchInfo</a>().<a class="code" href="classclang_1_1HeaderSearch.html#a2987826005bf4f311ff97f2a54503010" title="Retrieve the header-search options with which this header search was initialized.">getHeaderSearchOpts</a>(),</div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>                   isysroot,</div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>                   PP.<a class="code" href="classclang_1_1Preprocessor.html#a0c1874f57abd66b9fa0d282e6cab5cd6">getLangOpts</a>().Modules);</div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>   Stream.ExitBlock();</div>
+<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> }</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> <span class="keyword">namespace  </span>{<span class="comment"></span></div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <span class="comment">  /// \brief An input file.</span></div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> <span class="comment"></span>  <span class="keyword">struct </span>InputFileEntry {</div>
+<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *File;</div>
+<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>     <span class="keywordtype">bool</span> IsSystemFile;</div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>     <span class="keywordtype">bool</span> BufferOverridden;</div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>   };</div>
+<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span> }</div>
+<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> </div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span> <span class="keywordtype">void</span> ASTWriter::WriteInputFiles(<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="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>,</div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>                                 <a class="code" href="classclang_1_1HeaderSearchOptions.html">HeaderSearchOptions</a> &HSOpts,</div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>                                 StringRef isysroot,</div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>                                 <span class="keywordtype">bool</span> Modules) {</div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118afe9df8046c9d364fb90443d20c989f18" title="The block of input files, which were used as inputs to create this AST file.">INPUT_FILES_BLOCK_ID</a>, 4);</div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>   RecordData Record;</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>   <span class="comment">// Create input-file abbreviation.</span></div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>   BitCodeAbbrev *IFAbbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>   IFAbbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabafa89ed64576af15d65e2cf65cf8bc0c5e2" title="An input file.">INPUT_FILE</a>));</div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>   IFAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// ID</span></div>
+<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>   IFAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 12)); <span class="comment">// Size</span></div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>   IFAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 32)); <span class="comment">// Modification time</span></div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>   IFAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// Overridden</span></div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>   IFAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// File name</span></div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>   <span class="keywordtype">unsigned</span> IFAbbrevCode = Stream.EmitAbbrev(IFAbbrev);</div>
+<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> </div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>   <span class="comment">// Get all ContentCache objects for files, sorted by whether the file is a</span></div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>   <span class="comment">// system one or not. System files go at the back, users files at the front.</span></div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>   std::deque<InputFileEntry> SortedFiles;</div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 1, N = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a6ce8e7c14e399ddc5efa3d0d19b541f1" title="Get the number of local SLocEntries we have.">local_sloc_entry_size</a>(); I != N; ++I) {</div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>     <span class="comment">// Get this source location entry.</span></div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html" title="This is a discriminated union of FileInfo and ExpansionInfo.">SrcMgr::SLocEntry</a> *SLoc = &SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a06bd6d8f9ae3d855d407c226b5ddb8bb" title="Get a local SLocEntry. This is exposed for indexing.">getLocalSLocEntry</a>(I);</div>
+<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>     assert(&SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#ad1585a31ee5f93aaca7cce35f3f6922c">getSLocEntry</a>(FileID::get(I)) == SLoc);</div>
+<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> </div>
+<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>     <span class="comment">// We only care about file entries that were not overridden.</span></div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>     <span class="keywordflow">if</span> (!SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#aa47bccb623f117f7d7c0ed0582e55ce2">isFile</a>())</div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html" title="One instance of this struct is kept for every file loaded or used.">SrcMgr::ContentCache</a> *<a class="code" href="classclang_1_1TypePropertyCache.html">Cache</a> = SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#a1fb51637aa60930cf8993b7a6dfd0f4d">getFile</a>().<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a0dfcfbd07292c9ab7f537f2dd38d14c4">getContentCache</a>();</div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>     <span class="keywordflow">if</span> (!Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>)</div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span> </div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>     InputFileEntry Entry;</div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>     Entry.File = Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>;</div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>     Entry.IsSystemFile = Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a6f69c64e25a406440e3ae3f669fb103e" title="True if this content cache was initially created for a source file considered as a system one...">IsSystemFile</a>;</div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>     Entry.BufferOverridden = Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#ad03a3e5e9323f3a1701fece2705df276" title="Indicates whether the buffer itself was provided to override the actual file contents.">BufferOverridden</a>;</div>
+<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>     <span class="keywordflow">if</span> (Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a6f69c64e25a406440e3ae3f669fb103e" title="True if this content cache was initially created for a source file considered as a system one...">IsSystemFile</a>)</div>
+<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>       SortedFiles.push_back(Entry);</div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>       SortedFiles.push_front(Entry);</div>
+<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>   }</div>
+<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span> </div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>   <span class="comment">// If we have an isysroot for a Darwin SDK, include its SDKSettings.plist in</span></div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>   <span class="comment">// the set of (non-system) input files. This is simple heuristic for</span></div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>   <span class="comment">// detecting whether the system headers may have changed, because it is too</span></div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>   <span class="comment">// expensive to stat() all of the system headers.</span></div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>   <a class="code" href="classclang_1_1FileManager.html" title="Implements support for file system lookup, file system caching, and directory search management...">FileManager</a> &FileMgr = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#aa80ae8266b98edd041407e7f96fa7501">getFileManager</a>();</div>
+<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>   <span class="keywordflow">if</span> (!HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a7b2c49429c3e24836a745727bd14dfbb">Sysroot</a>.empty() && !Chain) {</div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>     <a class="code" href="classllvm_1_1SmallString.html">llvm::SmallString<128></a> SDKSettingsFileName(HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a7b2c49429c3e24836a745727bd14dfbb">Sysroot</a>);</div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>     llvm::sys::path::append(SDKSettingsFileName, <span class="stringliteral">"SDKSettings.plist"</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_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *SDKSettingsFile = FileMgr.getFile(SDKSettingsFileName)) {</div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>       InputFileEntry Entry = { SDKSettingsFile, <span class="keyword">false</span>, <span class="keyword">false</span> };</div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>       SortedFiles.push_front(Entry);</div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>     }</div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>   }</div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> </div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>   <span class="comment">// Add the compiler's own module.map in the set of (non-system) input files.</span></div>
+<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>   <span class="comment">// This is a simple heuristic for detecting whether the compiler's headers</span></div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>   <span class="comment">// have changed, because we don't want to stat() all of them.</span></div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>   <span class="keywordflow">if</span> (Modules && !Chain) {</div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>     <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = StringRef(HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#ac3915152e45f4ff70c81bd8f48947006">ResourceDir</a>);</div>
+<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>     llvm::sys::path::append(P, <span class="stringliteral">"include"</span>);</div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>     llvm::sys::path::append(P, <span class="stringliteral">"module.map"</span>);</div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *ModuleMapFile = FileMgr.getFile(P)) {</div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>       InputFileEntry Entry = { ModuleMapFile, <span class="keyword">false</span>, <span class="keyword">false</span> };</div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>       SortedFiles.push_front(Entry);</div>
+<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>     }</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>   <span class="keywordtype">unsigned</span> UserFilesNum = 0;</div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>   <span class="comment">// Write out all of the input files.</span></div>
+<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>   std::vector<uint32_t> InputFileOffsets;</div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>   <span class="keywordflow">for</span> (std::deque<InputFileEntry>::iterator</div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>          I = SortedFiles.begin(), E = SortedFiles.end(); I != E; ++I) {</div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>     <span class="keyword">const</span> InputFileEntry &Entry = *I;</div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span> </div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>     uint32_t &InputFileID = InputFileIDs[Entry.File];</div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>     <span class="keywordflow">if</span> (InputFileID != 0)</div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>       <span class="keywordflow">continue</span>; <span class="comment">// already recorded this file.</span></div>
+<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> </div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>     <span class="comment">// Record this entry's offset.</span></div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>     InputFileOffsets.push_back(Stream.GetCurrentBitNo());</div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span> </div>
+<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>     InputFileID = InputFileOffsets.size();</div>
+<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span> </div>
+<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>     <span class="keywordflow">if</span> (!Entry.IsSystemFile)</div>
+<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>       ++UserFilesNum;</div>
+<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span> </div>
+<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>     Record.clear();</div>
+<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabafa89ed64576af15d65e2cf65cf8bc0c5e2" title="An input file.">INPUT_FILE</a>);</div>
+<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>     Record.push_back(InputFileOffsets.size());</div>
+<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span> </div>
+<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>     <span class="comment">// Emit size/modification time for this file.</span></div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>     Record.push_back(Entry.File->getSize());</div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>     Record.push_back(Entry.File->getModificationTime());</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>     <span class="comment">// Whether this file was overridden.</span></div>
+<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>     Record.push_back(Entry.BufferOverridden);</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="comment">// Turn the file name into an absolute path, if it isn't already.</span></div>
+<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *Filename = Entry.File->getName();</div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>     <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> FilePath(Filename);</div>
+<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>     </div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>     <span class="comment">// Ask the file manager to fixup the relative path for us. This will </span></div>
+<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>     <span class="comment">// honor the working directory.</span></div>
+<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>     FileMgr.FixupRelativePath(FilePath);</div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>     </div>
+<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>     <span class="comment">// FIXME: This call to make_absolute shouldn't be necessary, the</span></div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>     <span class="comment">// call to FixupRelativePath should always return an absolute path.</span></div>
+<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>     llvm::sys::fs::make_absolute(FilePath);</div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>     Filename = FilePath.c_str();</div>
+<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>     </div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>     Filename = <a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b" title="Adjusts the given filename to only write out the portion of the filename that is not part of the syst...">adjustFilenameForRelocatablePCH</a>(Filename, isysroot);</div>
+<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span> </div>
+<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>     Stream.EmitRecordWithBlob(IFAbbrevCode, Record, Filename);</div>
+<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>   }  </div>
+<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span> </div>
+<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>   Stream.ExitBlock();</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>   <span class="comment">// Create input file offsets abbreviation.</span></div>
+<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>   BitCodeAbbrev *OffsetsAbbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>   OffsetsAbbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daa850cd1493f85ec4285050d84c872f19" title="Offsets into the input-files block where input files reside.">INPUT_FILE_OFFSETS</a>));</div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>   OffsetsAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// # input files</span></div>
+<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>   OffsetsAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// # non-system</span></div>
+<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>                                                                 <span class="comment">//   input files</span></div>
+<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>   OffsetsAbbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));   <span class="comment">// Array</span></div>
+<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>   <span class="keywordtype">unsigned</span> OffsetsAbbrevCode = Stream.EmitAbbrev(OffsetsAbbrev);</div>
+<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span> </div>
+<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>   <span class="comment">// Write input file offsets.</span></div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>   Record.clear();</div>
+<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0daa850cd1493f85ec4285050d84c872f19" title="Offsets into the input-files block where input files reside.">INPUT_FILE_OFFSETS</a>);</div>
+<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>   Record.push_back(InputFileOffsets.size());</div>
+<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>   Record.push_back(UserFilesNum);</div>
+<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>   Stream.EmitRecordWithBlob(OffsetsAbbrevCode, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(InputFileOffsets));</div>
+<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span> }</div>
+<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> </div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> <span class="comment">// Source Manager Serialization</span></div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span> <span class="comment"></span></div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span> <span class="comment">/// \brief Create an abbreviation for the SLocEntry that refers to a</span></div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span> <span class="comment">/// file.</span></div>
+<div class="line"><a name="l01397"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#afd79cffb752effdf7db304e48130c995"> 1397</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTWriter_8cpp.html#afd79cffb752effdf7db304e48130c995" title="Create an abbreviation for the SLocEntry that refers to a file.">CreateSLocFileAbbrev</a>(llvm::BitstreamWriter &Stream) {</div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba6d9d90a56581c3bf9e24dfa039dcb690" title="Describes a source location entry (SLocEntry) for a file.">SM_SLOC_FILE_ENTRY</a>));</div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Offset</span></div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Include location</span></div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); <span class="comment">// Characteristic</span></div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// Line directives</span></div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>   <span class="comment">// FileEntry fields.</span></div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// Input File ID</span></div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// NumCreatedFIDs</span></div>
+<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 24)); <span class="comment">// FirstDeclIndex</span></div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// NumDecls</span></div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>   <span class="keywordflow">return</span> Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> }</div>
+<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span> <span class="comment"></span></div>
+<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span> <span class="comment">/// \brief Create an abbreviation for the SLocEntry that refers to a</span></div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span> <span class="comment">/// buffer.</span></div>
+<div class="line"><a name="l01415"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a11c7fe8fc8ffe5103990734f5eef9060"> 1415</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTWriter_8cpp.html#a11c7fe8fc8ffe5103990734f5eef9060" title="Create an abbreviation for the SLocEntry that refers to a buffer.">CreateSLocBufferAbbrev</a>(llvm::BitstreamWriter &Stream) {</div>
+<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba85ab295116bb1ccd84ded43120c70a97" title="Describes a source location entry (SLocEntry) for a buffer.">SM_SLOC_BUFFER_ENTRY</a>));</div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Offset</span></div>
+<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Include location</span></div>
+<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); <span class="comment">// Characteristic</span></div>
+<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// Line directives</span></div>
+<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Buffer name blob</span></div>
+<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>   <span class="keywordflow">return</span> Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> }</div>
+<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span> <span class="comment"></span></div>
+<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> <span class="comment">/// \brief Create an abbreviation for the SLocEntry that refers to a</span></div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> <span class="comment">/// buffer's blob.</span></div>
+<div class="line"><a name="l01429"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#aa536b6e0544a790f75eb1f5ce6790b41"> 1429</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTWriter_8cpp.html#aa536b6e0544a790f75eb1f5ce6790b41" title="Create an abbreviation for the SLocEntry that refers to a buffer's blob.">CreateSLocBufferBlobAbbrev</a>(llvm::BitstreamWriter &Stream) {</div>
+<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba978f1939522698b4646798b398f9583e" title="Describes a blob that contains the data for a buffer entry. This kind of record always directly follo...">SM_SLOC_BUFFER_BLOB</a>));</div>
+<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Blob</span></div>
+<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>   <span class="keywordflow">return</span> Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span> }</div>
+<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span> <span class="comment"></span></div>
+<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span> <span class="comment">/// \brief Create an abbreviation for the SLocEntry that refers to a macro</span></div>
+<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span> <span class="comment">/// expansion.</span></div>
+<div class="line"><a name="l01439"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a69e01edc96031d4763167fadc56c30ee"> 1439</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTWriter_8cpp.html#a69e01edc96031d4763167fadc56c30ee" title="Create an abbreviation for the SLocEntry that refers to a macro expansion.">CreateSLocExpansionAbbrev</a>(llvm::BitstreamWriter &Stream) {</div>
+<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18bab9697e28301a9fe8a0909e53ded959bf" title="Describes a source location entry (SLocEntry) for a macro expansion.">SM_SLOC_EXPANSION_ENTRY</a>));</div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Offset</span></div>
+<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Spelling location</span></div>
+<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// Start location</span></div>
+<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); <span class="comment">// End location</span></div>
+<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// Token length</span></div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>   <span class="keywordflow">return</span> Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</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="keyword">namespace </span>{</div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>   <span class="comment">// Trait used for the on-disk hash table of header search information.</span></div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>   <span class="keyword">class </span>HeaderFileInfoTrait {</div>
+<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>     <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</div>
+<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1HeaderSearch.html" title="Encapsulates the information needed to find the file referenced by a #include or #include_next, (sub-)framework lookup, etc.">HeaderSearch</a> &HS;</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="comment">// Keep track of the framework names we've used during serialization.</span></div>
+<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<char, 128></a> FrameworkStringData;</div>
+<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>     llvm::StringMap<unsigned> FrameworkNameOffset;</div>
+<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>     </div>
+<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>     HeaderFileInfoTrait(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer, <span class="keyword">const</span> <a class="code" href="classclang_1_1HeaderSearch.html" title="Encapsulates the information needed to find the file referenced by a #include or #include_next, (sub-)framework lookup, etc.">HeaderSearch</a> &HS)</div>
+<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>       : Writer(Writer), HS(HS) { }</div>
+<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>     </div>
+<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>     <span class="keyword">struct </span>key_type {</div>
+<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *FE;</div>
+<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>       <span class="keyword">const</span> <span class="keywordtype">char</span> *Filename;</div>
+<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>     };</div>
+<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>     <span class="keyword">typedef</span> <span class="keyword">const</span> key_type &key_type_ref;</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="keyword">typedef</span> <a class="code" href="structclang_1_1HeaderFileInfo.html" title="The preprocessor keeps track of this information for each file that is #included.">HeaderFileInfo</a> data_type;</div>
+<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>     <span class="keyword">typedef</span> <span class="keyword">const</span> data_type &data_type_ref;</div>
+<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>     </div>
+<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>     <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ComputeHash</a>(key_type_ref key) {</div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>       <span class="comment">// The hash is based only on size/time of the file, so that the reader can</span></div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>       <span class="comment">// match even when symlinking or excess path elements ("foo/../", "../")</span></div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>       <span class="comment">// change the form of the name. However, complete path is still the key.</span></div>
+<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>       <span class="keywordflow">return</span> llvm::hash_combine(key.FE->getSize(),</div>
+<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>                                 key.FE->getModificationTime());</div>
+<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>     }</div>
+<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>     </div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>     std::pair<unsigned,unsigned></div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>     EmitKeyDataLength(raw_ostream& Out, key_type_ref key, data_type_ref Data) {</div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>       <span class="keywordtype">unsigned</span> KeyLen = strlen(key.Filename) + 1 + 8 + 8;</div>
+<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>       <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, KeyLen);</div>
+<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>       <span class="keywordtype">unsigned</span> DataLen = 1 + 2 + 4 + 4;</div>
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>       <span class="keywordflow">if</span> (Data.isModuleHeader)</div>
+<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>         DataLen += 4;</div>
+<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>       <a class="code" href="namespaceclang_1_1io.html#afa2c9b85c298452a9b69c25c7a2a14fb">clang::io::Emit8</a>(Out, DataLen);</div>
+<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>       <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>     }</div>
+<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>     </div>
+<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>     <span class="keywordtype">void</span> EmitKey(raw_ostream& Out, key_type_ref key, <span class="keywordtype">unsigned</span> KeyLen) {</div>
+<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>       <a class="code" href="namespaceclang_1_1io.html#adc11c56eabdde7cb004baa05d8480974">clang::io::Emit64</a>(Out, key.FE->getSize());</div>
+<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>       KeyLen -= 8;</div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>       <a class="code" href="namespaceclang_1_1io.html#adc11c56eabdde7cb004baa05d8480974">clang::io::Emit64</a>(Out, key.FE->getModificationTime());</div>
+<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>       KeyLen -= 8;</div>
+<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>       Out.write(key.Filename, KeyLen);</div>
+<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>     }</div>
+<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>     </div>
+<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>     <span class="keywordtype">void</span> EmitData(raw_ostream &Out, key_type_ref key,</div>
+<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>                   data_type_ref Data, <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>       <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>       uint64_t Start = Out.tell(); (void)Start;</div>
+<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>       </div>
+<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>       <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> Flags = (Data.HeaderRole << 6)</div>
+<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>                           | (Data.isImport << 5)</div>
+<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>                           | (Data.isPragmaOnce << 4)</div>
+<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>                           | (Data.DirInfo << 2)</div>
+<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>                           | (Data.Resolved << 1)</div>
+<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>                           | Data.IndexHeaderMapHeader;</div>
+<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>       <a class="code" href="namespaceclang_1_1io.html#afa2c9b85c298452a9b69c25c7a2a14fb">Emit8</a>(Out, (uint8_t)Flags);</div>
+<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>       <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">Emit16</a>(Out, (uint16_t) Data.NumIncludes);</div>
+<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>       </div>
+<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>       <span class="keywordflow">if</span> (!Data.ControllingMacro)</div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, (uint32_t)Data.ControllingMacroID);</div>
+<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, (uint32_t)Writer.getIdentifierRef(Data.ControllingMacro));</div>
+<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>       </div>
+<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>       <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = 0;</div>
+<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>       <span class="keywordflow">if</span> (!Data.Framework.empty()) {</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>         <span class="comment">// If this header refers into a framework, save the framework name.</span></div>
+<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>         llvm::StringMap<unsigned>::iterator Pos</div>
+<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>           = FrameworkNameOffset.find(Data.Framework);</div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>         <span class="keywordflow">if</span> (Pos == FrameworkNameOffset.end()) {</div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>           <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = FrameworkStringData.size() + 1;</div>
+<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>           FrameworkStringData.append(Data.Framework.begin(), </div>
+<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>                                      Data.Framework.end());</div>
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>           FrameworkStringData.push_back(0);</div>
+<div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>           </div>
+<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>           FrameworkNameOffset[Data.Framework] = <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>;</div>
+<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>         } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>           <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = Pos->second;</div>
+<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>       }</div>
+<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>);</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span> </div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>       <span class="keywordflow">if</span> (Data.isModuleHeader) {</div>
+<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>         <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod = HS.findModuleForHeader(key.FE).getModule();</div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, Writer.getExistingSubmoduleID(Mod));</div>
+<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>       }</div>
+<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span> </div>
+<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>       assert(Out.tell() - Start == DataLen && <span class="stringliteral">"Wrong data length"</span>);</div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>     }</div>
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>     </div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *strings_begin()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FrameworkStringData.begin(); }</div>
+<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *strings_end()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FrameworkStringData.end(); }</div>
+<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>   };</div>
+<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span> <span class="comment"></span></div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span> <span class="comment">/// \brief Write the header search block for the list of files that </span></div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span> <span class="comment">/// \param HS The header search structure to save.</span></div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteHeaderSearch(<span class="keyword">const</span> <a class="code" href="classclang_1_1HeaderSearch.html" title="Encapsulates the information needed to find the file referenced by a #include or #include_next, (sub-)framework lookup, etc.">HeaderSearch</a> &HS, StringRef isysroot) {</div>
+<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<const FileEntry *, 16></a> FilesByUID;</div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>   HS.<a class="code" href="classclang_1_1HeaderSearch.html#a835b49793639b408e983c0c31fbe48c4">getFileMgr</a>().<a class="code" href="classclang_1_1FileManager.html#afc5325d1ac484f958914e4cc1259b069" title="Produce an array mapping from the unique IDs assigned to each file to the corresponding FileEntry poi...">GetUniqueIDMapping</a>(FilesByUID);</div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>   </div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>   <span class="keywordflow">if</span> (FilesByUID.size() > HS.<a class="code" href="classclang_1_1HeaderSearch.html#ac1f366c3b863711353beae252eeaebd3">header_file_size</a>())</div>
+<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>     FilesByUID.resize(HS.<a class="code" href="classclang_1_1HeaderSearch.html#ac1f366c3b863711353beae252eeaebd3">header_file_size</a>());</div>
+<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>   </div>
+<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>   HeaderFileInfoTrait GeneratorTrait(*<span class="keyword">this</span>, HS);</div>
+<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>   <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<HeaderFileInfoTrait></a> Generator;  </div>
+<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<const char *, 4></a> SavedStrings;</div>
+<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>   <span class="keywordtype">unsigned</span> NumHeaderSearchEntries = 0;</div>
+<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> UID = 0, LastUID = FilesByUID.size(); UID != LastUID; ++UID) {</div>
+<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *File = FilesByUID[UID];</div>
+<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>     <span class="keywordflow">if</span> (!File)</div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> </div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>     <span class="comment">// Use HeaderSearch's getFileInfo to make sure we get the HeaderFileInfo</span></div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>     <span class="comment">// from the external source if it was not provided already.</span></div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>     <span class="keyword">const</span> <a class="code" href="structclang_1_1HeaderFileInfo.html" title="The preprocessor keeps track of this information for each file that is #included.">HeaderFileInfo</a> &HFI = HS.<a class="code" href="classclang_1_1HeaderSearch.html#af8c7ffe0fe7791550a746ed30a0bf1c0" title="Return the HeaderFileInfo structure for the specified FileEntry.">getFileInfo</a>(File);</div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>     <span class="keywordflow">if</span> (HFI.<a class="code" href="structclang_1_1HeaderFileInfo.html#aeec64e2b6e20fdab779e56019cad9234" title="Whether this header file info was supplied by an external source.">External</a> && Chain)</div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>     <span class="keywordflow">if</span> (HFI.<a class="code" href="structclang_1_1HeaderFileInfo.html#a2ba6a0c7b39e43e5fc7bb4310e776299" title="Whether this header is part of a module.">isModuleHeader</a> && !HFI.<a class="code" href="structclang_1_1HeaderFileInfo.html#a7831ddf7e23772302c7600cb7dee3433" title="Whether this header is part of the module that we are building.">isCompilingModuleHeader</a>)</div>
+<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span> </div>
+<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>     <span class="comment">// Turn the file name into an absolute path, if it isn't already.</span></div>
+<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *Filename = File-><a class="code" href="classclang_1_1FileEntry.html#a94ddac74f217c35e19420dd6c419e25f">getName</a>();</div>
+<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>     Filename = <a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b" title="Adjusts the given filename to only write out the portion of the filename that is not part of the syst...">adjustFilenameForRelocatablePCH</a>(Filename, isysroot);</div>
+<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>       </div>
+<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>     <span class="comment">// If we performed any translation on the file name at all, we need to</span></div>
+<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>     <span class="comment">// save this string, since the generator will refer to it later.</span></div>
+<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>     <span class="keywordflow">if</span> (Filename != File-><a class="code" href="classclang_1_1FileEntry.html#a94ddac74f217c35e19420dd6c419e25f">getName</a>()) {</div>
+<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>       Filename = strdup(Filename);</div>
+<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>       SavedStrings.push_back(Filename);</div>
+<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>     }</div>
+<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>     </div>
+<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>     HeaderFileInfoTrait::key_type key = { File, Filename };</div>
+<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>     Generator.insert(key, HFI, GeneratorTrait);</div>
+<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>     ++NumHeaderSearchEntries;</div>
+<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>   }</div>
+<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>   </div>
+<div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>   <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> TableData;</div>
+<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>   uint32_t BucketOffset;</div>
+<div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>   {</div>
+<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>     llvm::raw_svector_ostream Out(TableData);</div>
+<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>     <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>     BucketOffset = Generator.<a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html#a8b2855b6f4e23f0aa765a143178d4296">Emit</a>(Out, GeneratorTrait);</div>
+<div class="line"><a name="l01601"></a><span class="lineno"> 1601</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="comment">// Create a blob abbreviation</span></div>
+<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae302244f09bfe5600603d1f99a0b33cc" title="Record code for header search information.">HEADER_SEARCH_TABLE</a>));</div>
+<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>   <span class="keywordtype">unsigned</span> TableAbbrev = Stream.EmitAbbrev(Abbrev);</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="comment">// Write the header search table</span></div>
+<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>   RecordData Record;</div>
+<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae302244f09bfe5600603d1f99a0b33cc" title="Record code for header search information.">HEADER_SEARCH_TABLE</a>);</div>
+<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>   Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>   Record.push_back(NumHeaderSearchEntries);</div>
+<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>   Record.push_back(TableData.size());</div>
+<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>   TableData.append(GeneratorTrait.strings_begin(),GeneratorTrait.strings_end());</div>
+<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>   Stream.EmitRecordWithBlob(TableAbbrev, Record, TableData.str());</div>
+<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>   </div>
+<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>   <span class="comment">// Free all of the strings we had to duplicate.</span></div>
+<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = SavedStrings.size(); I != N; ++I)</div>
+<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>     <a class="code" href="namespaceclang_1_1ento.html#a41369c7fcbbfc6d969e262ee946eedf9">free</a>(const_cast<char *>(SavedStrings[I]));</div>
+<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span> }</div>
+<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span> <span class="comment"></span></div>
+<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span> <span class="comment">/// \brief Writes the block containing the serialized form of the</span></div>
+<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span> <span class="comment">/// source manager.</span></div>
+<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01630"></a><span class="lineno"> 1630</span> <span class="comment">/// TODO: We should probably use an on-disk hash table (stored in a</span></div>
+<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span> <span class="comment">/// blob), indexed based on the file name, so that we only create</span></div>
+<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span> <span class="comment">/// entries for files that we actually need. In the common case (no</span></div>
+<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span> <span class="comment">/// errors), we probably won't have to create file entries for any of</span></div>
+<div class="line"><a name="l01634"></a><span class="lineno"> 1634</span> <span class="comment">/// the files in the AST.</span></div>
+<div class="line"><a name="l01635"></a><span class="lineno"> 1635</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteSourceManagerBlock(<a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">SourceManager</a> &SourceMgr,</div>
+<div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>                                         <span class="keyword">const</span> <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP,</div>
+<div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>                                         StringRef isysroot) {</div>
+<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>   RecordData Record;</div>
+<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span> </div>
+<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>   <span class="comment">// Enter the source manager block.</span></div>
+<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a56dc99fd6e0ab0d1eb2aa3a7e903641c" title="The block containing information about the source manager.">SOURCE_MANAGER_BLOCK_ID</a>, 3);</div>
+<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span> </div>
+<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>   <span class="comment">// Abbreviations for the various kinds of source-location entries.</span></div>
+<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>   <span class="keywordtype">unsigned</span> SLocFileAbbrv = <a class="code" href="ASTWriter_8cpp.html#afd79cffb752effdf7db304e48130c995" title="Create an abbreviation for the SLocEntry that refers to a file.">CreateSLocFileAbbrev</a>(Stream);</div>
+<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>   <span class="keywordtype">unsigned</span> SLocBufferAbbrv = <a class="code" href="ASTWriter_8cpp.html#a11c7fe8fc8ffe5103990734f5eef9060" title="Create an abbreviation for the SLocEntry that refers to a buffer.">CreateSLocBufferAbbrev</a>(Stream);</div>
+<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>   <span class="keywordtype">unsigned</span> SLocBufferBlobAbbrv = <a class="code" href="ASTWriter_8cpp.html#aa536b6e0544a790f75eb1f5ce6790b41" title="Create an abbreviation for the SLocEntry that refers to a buffer's blob.">CreateSLocBufferBlobAbbrev</a>(Stream);</div>
+<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>   <span class="keywordtype">unsigned</span> SLocExpansionAbbrv = <a class="code" href="ASTWriter_8cpp.html#a69e01edc96031d4763167fadc56c30ee" title="Create an abbreviation for the SLocEntry that refers to a macro expansion.">CreateSLocExpansionAbbrev</a>(Stream);</div>
+<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span> </div>
+<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>   <span class="comment">// Write out the source location entry table. We skip the first</span></div>
+<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>   <span class="comment">// entry, which is always the same dummy entry.</span></div>
+<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>   std::vector<uint32_t> SLocEntryOffsets;</div>
+<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>   RecordData PreloadSLocs;</div>
+<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>   SLocEntryOffsets.reserve(SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a6ce8e7c14e399ddc5efa3d0d19b541f1" title="Get the number of local SLocEntries we have.">local_sloc_entry_size</a>() - 1);</div>
+<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 1, N = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a6ce8e7c14e399ddc5efa3d0d19b541f1" title="Get the number of local SLocEntries we have.">local_sloc_entry_size</a>();</div>
+<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>        I != N; ++I) {</div>
+<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>     <span class="comment">// Get this source location entry.</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_1SrcMgr_1_1SLocEntry.html" title="This is a discriminated union of FileInfo and ExpansionInfo.">SrcMgr::SLocEntry</a> *SLoc = &SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a06bd6d8f9ae3d855d407c226b5ddb8bb" title="Get a local SLocEntry. This is exposed for indexing.">getLocalSLocEntry</a>(I);</div>
+<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>     <a class="code" href="classclang_1_1FileID.html" title="An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with it...">FileID</a> FID = FileID::get(I);</div>
+<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>     assert(&SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#ad1585a31ee5f93aaca7cce35f3f6922c">getSLocEntry</a>(FID) == SLoc);</div>
+<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span> </div>
+<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>     <span class="comment">// Record the offset of this source-location entry.</span></div>
+<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>     SLocEntryOffsets.push_back(Stream.GetCurrentBitNo());</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="comment">// Figure out which record code to use.</span></div>
+<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>     <span class="keywordtype">unsigned</span> Code;</div>
+<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>     <span class="keywordflow">if</span> (SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#aa47bccb623f117f7d7c0ed0582e55ce2">isFile</a>()) {</div>
+<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html" title="One instance of this struct is kept for every file loaded or used.">SrcMgr::ContentCache</a> *Cache = SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#a1fb51637aa60930cf8993b7a6dfd0f4d">getFile</a>().<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a0dfcfbd07292c9ab7f537f2dd38d14c4">getContentCache</a>();</div>
+<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>       <span class="keywordflow">if</span> (Cache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>) {</div>
+<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>         Code = <a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba6d9d90a56581c3bf9e24dfa039dcb690" title="Describes a source location entry (SLocEntry) for a file.">SM_SLOC_FILE_ENTRY</a>;</div>
+<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>       } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>         Code = <a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba85ab295116bb1ccd84ded43120c70a97" title="Describes a source location entry (SLocEntry) for a buffer.">SM_SLOC_BUFFER_ENTRY</a>;</div>
+<div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>     } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>       Code = <a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18bab9697e28301a9fe8a0909e53ded959bf" title="Describes a source location entry (SLocEntry) for a macro expansion.">SM_SLOC_EXPANSION_ENTRY</a>;</div>
+<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>     Record.clear();</div>
+<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>     Record.push_back(Code);</div>
+<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span> </div>
+<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>     <span class="comment">// Starting offset of this entry within this module, so skip the dummy.</span></div>
+<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>     Record.push_back(SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#af792006aa81706c77a4b35924e5d9f1c">getOffset</a>() - 2);</div>
+<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>     <span class="keywordflow">if</span> (SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#aa47bccb623f117f7d7c0ed0582e55ce2">isFile</a>()) {</div>
+<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html" title="Information about a FileID, basically just the logical file that it represents and include stack info...">SrcMgr::FileInfo</a> &File = SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#a1fb51637aa60930cf8993b7a6dfd0f4d">getFile</a>();</div>
+<div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>       Record.push_back(File.<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a5045eb47939537fcea0b4906edf2fdcb">getIncludeLoc</a>().<a class="code" href="classclang_1_1SourceLocation.html#a3b9eca838127c4105fd77fd0d3b5962a" title="When a SourceLocation itself cannot be used, this returns an (opaque) 32-bit integer encoding for it...">getRawEncoding</a>());</div>
+<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>       Record.push_back(File.<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a89208e39e8a93a665ea3358e5b273f49" title="Return whether this is a system header or not.">getFileCharacteristic</a>()); <span class="comment">// FIXME: stable encoding</span></div>
+<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>       Record.push_back(File.<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a6e3a3ddc593c52f403695164f3af62f2" title="Return true if this FileID has #line directives in it.">hasLineDirectives</a>());</div>
+<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span> </div>
+<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html" title="One instance of this struct is kept for every file loaded or used.">SrcMgr::ContentCache</a> *Content = File.<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#a0dfcfbd07292c9ab7f537f2dd38d14c4">getContentCache</a>();</div>
+<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>       <span class="keywordflow">if</span> (Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>) {</div>
+<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>         assert(Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a> == Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a72749d7b00871e22159ff842f1ddc2b7" title="References the file which the contents were actually loaded from.">ContentsEntry</a> &&</div>
+<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>                <span class="stringliteral">"Writing to AST an overridden file is not supported"</span>);</div>
+<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span> </div>
+<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>         <span class="comment">// The source location entry is a file. Emit input file ID.</span></div>
+<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>         assert(InputFileIDs[Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>] != 0 && <span class="stringliteral">"Missed file entry"</span>);</div>
+<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>         Record.push_back(InputFileIDs[Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a9c12b5c698444f94948c0c92f32bcc71" title="Reference to the file entry representing this ContentCache.">OrigEntry</a>]);</div>
+<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span> </div>
+<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>         Record.push_back(File.NumCreatedFIDs);</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>         FileDeclIDsTy::iterator FDI = FileDeclIDs.find(FID);</div>
+<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>         <span class="keywordflow">if</span> (FDI != FileDeclIDs.end()) {</div>
+<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>           Record.push_back(FDI->second->FirstDeclIndex);</div>
+<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>           Record.push_back(FDI->second->DeclIDs.size());</div>
+<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>         } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>           Record.push_back(0);</div>
+<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>           Record.push_back(0);</div>
+<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>         }</div>
+<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>         </div>
+<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>         Stream.EmitRecordWithAbbrev(SLocFileAbbrv, Record);</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="keywordflow">if</span> (Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#ad03a3e5e9323f3a1701fece2705df276" title="Indicates whether the buffer itself was provided to override the actual file contents.">BufferOverridden</a>) {</div>
+<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>           Record.clear();</div>
+<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>           Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba978f1939522698b4646798b398f9583e" title="Describes a blob that contains the data for a buffer entry. This kind of record always directly follo...">SM_SLOC_BUFFER_BLOB</a>);</div>
+<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>           <span class="keyword">const</span> llvm::MemoryBuffer *Buffer</div>
+<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>             = Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a0829ce6b26e0511684921dcc97c1752b" title="Returns the memory buffer for the associated content.">getBuffer</a>(PP.<a class="code" href="classclang_1_1Preprocessor.html#a663f9d8c8151906a9bf39954f3d15c60">getDiagnostics</a>(), PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>());</div>
+<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>           Stream.EmitRecordWithBlob(SLocBufferBlobAbbrv, Record,</div>
+<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>                                     StringRef(Buffer->getBufferStart(),</div>
+<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>                                               Buffer->getBufferSize() + 1));          </div>
+<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>         }</div>
+<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>         <span class="comment">// The source location entry is a buffer. The blob associated</span></div>
+<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>         <span class="comment">// with this entry contains the contents of the buffer.</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>         <span class="comment">// We add one to the size so that we capture the trailing NULL</span></div>
+<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>         <span class="comment">// that is required by llvm::MemoryBuffer::getMemBuffer (on</span></div>
+<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>         <span class="comment">// the reader side).</span></div>
+<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>         <span class="keyword">const</span> llvm::MemoryBuffer *Buffer</div>
+<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>           = Content-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a0829ce6b26e0511684921dcc97c1752b" title="Returns the memory buffer for the associated content.">getBuffer</a>(PP.<a class="code" href="classclang_1_1Preprocessor.html#a663f9d8c8151906a9bf39954f3d15c60">getDiagnostics</a>(), PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>());</div>
+<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>         <span class="keyword">const</span> <span class="keywordtype">char</span> *Name = Buffer->getBufferIdentifier();</div>
+<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>         Stream.EmitRecordWithBlob(SLocBufferAbbrv, Record,</div>
+<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>                                   StringRef(Name, strlen(Name) + 1));</div>
+<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>         Record.clear();</div>
+<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>         Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a7a73d31b092572eacc1fe3df5865b18ba978f1939522698b4646798b398f9583e" title="Describes a blob that contains the data for a buffer entry. This kind of record always directly follo...">SM_SLOC_BUFFER_BLOB</a>);</div>
+<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>         Stream.EmitRecordWithBlob(SLocBufferBlobAbbrv, Record,</div>
+<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>                                   StringRef(Buffer->getBufferStart(),</div>
+<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>                                                   Buffer->getBufferSize() + 1));</div>
+<div class="line"><a name="l01733"></a><span class="lineno"> 1733</span> </div>
+<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>         <span class="keywordflow">if</span> (strcmp(Name, <span class="stringliteral">"<built-in>"</span>) == 0) {</div>
+<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>           PreloadSLocs.push_back(SLocEntryOffsets.size());</div>
+<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>         }</div>
+<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>       }</div>
+<div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>       <span class="comment">// The source location entry is a macro expansion.</span></div>
+<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1SrcMgr_1_1ExpansionInfo.html" title="Each ExpansionInfo encodes the expansion location - where the token was ultimately expanded...">SrcMgr::ExpansionInfo</a> &Expansion = SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#a70c810882ffb1f90ac48cef5ae359df8">getExpansion</a>();</div>
+<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>       Record.push_back(Expansion.<a class="code" href="classclang_1_1SrcMgr_1_1ExpansionInfo.html#a14aec0e16875b0f713fdbc942f9aa28e">getSpellingLoc</a>().<a class="code" href="classclang_1_1SourceLocation.html#a3b9eca838127c4105fd77fd0d3b5962a" title="When a SourceLocation itself cannot be used, this returns an (opaque) 32-bit integer encoding for it...">getRawEncoding</a>());</div>
+<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>       Record.push_back(Expansion.<a class="code" href="classclang_1_1SrcMgr_1_1ExpansionInfo.html#ab8fe7bf9eedf3cfa68847437c6ddab6e">getExpansionLocStart</a>().<a class="code" href="classclang_1_1SourceLocation.html#a3b9eca838127c4105fd77fd0d3b5962a" title="When a SourceLocation itself cannot be used, this returns an (opaque) 32-bit integer encoding for it...">getRawEncoding</a>());</div>
+<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>       Record.push_back(Expansion.<a class="code" href="classclang_1_1SrcMgr_1_1ExpansionInfo.html#aa3253b5ce34eed597ad20c35a5738bb6">isMacroArgExpansion</a>() ? 0</div>
+<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>                              : Expansion.<a class="code" href="classclang_1_1SrcMgr_1_1ExpansionInfo.html#a23a06e3e093cb6f9984a79370a55fe95">getExpansionLocEnd</a>().<a class="code" href="classclang_1_1SourceLocation.html#a3b9eca838127c4105fd77fd0d3b5962a" title="When a SourceLocation itself cannot be used, this returns an (opaque) 32-bit integer encoding for it...">getRawEncoding</a>());</div>
+<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span> </div>
+<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>       <span class="comment">// Compute the token length for this macro expansion.</span></div>
+<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>       <span class="keywordtype">unsigned</span> NextOffset = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a8a50989d1a33eb3f72c9c28d399f1a42">getNextLocalOffset</a>();</div>
+<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>       <span class="keywordflow">if</span> (I + 1 != N)</div>
+<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>         NextOffset = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a06bd6d8f9ae3d855d407c226b5ddb8bb" title="Get a local SLocEntry. This is exposed for indexing.">getLocalSLocEntry</a>(I + 1).<a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#af792006aa81706c77a4b35924e5d9f1c">getOffset</a>();</div>
+<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>       Record.push_back(NextOffset - SLoc-><a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#af792006aa81706c77a4b35924e5d9f1c">getOffset</a>() - 1);</div>
+<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>       Stream.EmitRecordWithAbbrev(SLocExpansionAbbrv, Record);</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>   }</div>
+<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span> </div>
+<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>   Stream.ExitBlock();</div>
+<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span> </div>
+<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>   <span class="keywordflow">if</span> (SLocEntryOffsets.empty())</div>
+<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span> </div>
+<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>   <span class="comment">// Write the source-location offsets table into the AST block. This</span></div>
+<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>   <span class="comment">// table is used for lazily loading source-location information.</span></div>
+<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a95c245f5656bcecd52eb3a6cf5074cfb" title="Record code for the table of offsets into the block of source-location information.">SOURCE_LOCATION_OFFSETS</a>));</div>
+<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 16)); <span class="comment">// # of slocs</span></div>
+<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 16)); <span class="comment">// total size</span></div>
+<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// offsets</span></div>
+<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>   <span class="keywordtype">unsigned</span> SLocOffsetsAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span> </div>
+<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>   Record.clear();</div>
+<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a95c245f5656bcecd52eb3a6cf5074cfb" title="Record code for the table of offsets into the block of source-location information.">SOURCE_LOCATION_OFFSETS</a>);</div>
+<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>   Record.push_back(SLocEntryOffsets.size());</div>
+<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>   Record.push_back(SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#a8a50989d1a33eb3f72c9c28d399f1a42">getNextLocalOffset</a>() - 1); <span class="comment">// skip dummy</span></div>
+<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>   Stream.EmitRecordWithBlob(SLocOffsetsAbbrev, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(SLocEntryOffsets));</div>
+<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span> </div>
+<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>   <span class="comment">// Write the source location entry preloads array, telling the AST</span></div>
+<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>   <span class="comment">// reader which source locations entries it should load eagerly.</span></div>
+<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a74798f08273080c4cbc7000854dd77af" title="Record code for the set of source location entries that need to be preloaded by the AST reader...">SOURCE_LOCATION_PRELOADS</a>, PreloadSLocs);</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">// Write the line table. It depends on remapping working, so it must come</span></div>
+<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>   <span class="comment">// after the source location offsets.</span></div>
+<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>   <span class="keywordflow">if</span> (SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#aa10f445df85a98e46437b2db1dffc032" title="Determine if the source manager has a line table.">hasLineTable</a>()) {</div>
+<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>     <a class="code" href="classclang_1_1LineTableInfo.html" title="Used to hold and unique data used to represent #line information.">LineTableInfo</a> &LineTable = SourceMgr.<a class="code" href="classclang_1_1SourceManager.html#af8b2eab6301eb653ca3ba47e6b65a910" title="Retrieve the stored line table.">getLineTable</a>();</div>
+<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span> </div>
+<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>     Record.<a class="code" href="classclang_1_1LineTableInfo.html#a80f9f7699989ef43c8623a5cb3ee0154">clear</a>();</div>
+<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>     <span class="comment">// Emit the file names</span></div>
+<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>     Record.push_back(LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#a7ed1991c24004528dd5b8797a3bad2a7">getNumFilenames</a>());</div>
+<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#a7ed1991c24004528dd5b8797a3bad2a7">getNumFilenames</a>(); I != N; ++I) {</div>
+<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>       <span class="comment">// Emit the file name</span></div>
+<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>       <span class="keyword">const</span> <span class="keywordtype">char</span> *Filename = LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#a1a0c8b5b5abd15dda916410e0e2042c7">getFilename</a>(I);</div>
+<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>       Filename = <a class="code" href="ASTWriter_8cpp.html#a0c1f9f2fd04573e168bd253290f1a04b" title="Adjusts the given filename to only write out the portion of the filename that is not part of the syst...">adjustFilenameForRelocatablePCH</a>(Filename, isysroot);</div>
+<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>       <span class="keywordtype">unsigned</span> FilenameLen = Filename? strlen(Filename) : 0;</div>
+<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>       Record.push_back(FilenameLen);</div>
+<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>       <span class="keywordflow">if</span> (FilenameLen)</div>
+<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>         Record.insert(Record.end(), Filename, Filename + FilenameLen);</div>
+<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>     }</div>
+<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span> </div>
+<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>     <span class="comment">// Emit the line entries</span></div>
+<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1LineTableInfo.html#a65acfe598cf59e9be23211f59f99d3aa">LineTableInfo::iterator</a> L = LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#ad0ee093c9f61217b5120fbe4d2dd418d">begin</a>(), LEnd = LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#a8c72ce1444fde0a77494b8d794abb2d8">end</a>();</div>
+<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>          L != LEnd; ++L) {</div>
+<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>       <span class="comment">// Only emit entries for local files.</span></div>
+<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>       <span class="keywordflow">if</span> (L->first.ID < 0)</div>
+<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span> </div>
+<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>       <span class="comment">// Emit the file ID</span></div>
+<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>       Record.push_back(L->first.ID);</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>       <span class="comment">// Emit the line entries</span></div>
+<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>       Record.push_back(L->second.size());</div>
+<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>       <span class="keywordflow">for</span> (std::vector<LineEntry>::iterator LE = L->second.begin(),</div>
+<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>                                          LEEnd = L->second.end();</div>
+<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>            LE != LEEnd; ++LE) {</div>
+<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>         Record.push_back(LE->FileOffset);</div>
+<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>         Record.push_back(LE->LineNo);</div>
+<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>         Record.push_back(LE->FilenameID);</div>
+<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>         Record.push_back((<span class="keywordtype">unsigned</span>)LE->FileKind);</div>
+<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>         Record.push_back(LE->IncludeOffset);</div>
+<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>       }</div>
+<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>     }</div>
+<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4a666a70523ee5bc39e5327cddf1e2a7" title="Record code for the source manager line table information, which stores information about #line direc...">SOURCE_MANAGER_LINE_TABLE</a>, Record);</div>
+<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>   }</div>
+<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span> }</div>
+<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span> </div>
+<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span> <span class="comment">// Preprocessor Serialization</span></div>
+<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span> <span class="comment">//===----------------------------------------------------------------------===//</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="keyword">namespace </span>{</div>
+<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span> <span class="keyword">class </span>ASTMacroTableTrait {</div>
+<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>   <span class="keyword">typedef</span> <a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> key_type;</div>
+<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>   <span class="keyword">typedef</span> key_type key_type_ref;</div>
+<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span> </div>
+<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>   <span class="keyword">struct </span>Data {</div>
+<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>     uint32_t MacroDirectivesOffset;</div>
+<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>   };</div>
+<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span> </div>
+<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>   <span class="keyword">typedef</span> Data data_type;</div>
+<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>   <span class="keyword">typedef</span> <span class="keyword">const</span> data_type &data_type_ref;</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="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ComputeHash</a>(<a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> IdID) {</div>
+<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>     <span class="keywordflow">return</span> llvm::hash_value(IdID);</div>
+<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>   }</div>
+<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span> </div>
+<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>   std::pair<unsigned,unsigned></div>
+<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>   <span class="keyword">static</span> EmitKeyDataLength(raw_ostream& Out,</div>
+<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>                            key_type_ref Key, data_type_ref Data) {</div>
+<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>     <span class="keywordtype">unsigned</span> KeyLen = 4; <span class="comment">// IdentID.</span></div>
+<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>     <span class="keywordtype">unsigned</span> DataLen = 4; <span class="comment">// MacroDirectivesOffset.</span></div>
+<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>     <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>   }</div>
+<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span> </div>
+<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>   <span class="keyword">static</span> <span class="keywordtype">void</span> EmitKey(raw_ostream& Out, key_type_ref Key, <span class="keywordtype">unsigned</span> KeyLen) {</div>
+<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Key);</div>
+<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>   }</div>
+<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span> </div>
+<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>   <span class="keyword">static</span> <span class="keywordtype">void</span> EmitData(raw_ostream& Out, key_type_ref Key, data_type_ref Data,</div>
+<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>                        <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Data.MacroDirectivesOffset);</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"> 1862</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span> </div>
+<div class="line"><a name="l01864"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#a08a534cfbd17b8cd0855b1c45d668d5b"> 1864</a></span> <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="ASTWriter_8cpp.html#a08a534cfbd17b8cd0855b1c45d668d5b">compareMacroDirectives</a>(</div>
+<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>     <span class="keyword">const</span> std::pair<const IdentifierInfo *, MacroDirective *> *<a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>,</div>
+<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>     <span class="keyword">const</span> std::pair<const IdentifierInfo *, MacroDirective *> *Y) {</div>
+<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>   <span class="keywordflow">return</span> X->first->getName().compare(Y->first->getName());</div>
+<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span> }</div>
+<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span> </div>
+<div class="line"><a name="l01870"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda"> 1870</a></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda">shouldIgnoreMacro</a>(<a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *MD, <span class="keywordtype">bool</span> IsModule,</div>
+<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>                               <span class="keyword">const</span> <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP) {</div>
+<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = MD-><a class="code" href="classclang_1_1MacroDirective.html#af9a6655668ad545b8146b95ec9f3a593">getMacroInfo</a>())</div>
+<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>     <span class="keywordflow">if</span> (MI->isBuiltinMacro())</div>
+<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span> </div>
+<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>   <span class="keywordflow">if</span> (IsModule) {</div>
+<div class="line"><a name="l01877"></a><span class="lineno"> 1877</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> Loc = MD-><a class="code" href="classclang_1_1MacroDirective.html#a25efa3067619bbcc0c7e41d6147d9325">getLocation</a>();</div>
+<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>     <span class="keywordflow">if</span> (Loc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>())</div>
+<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>     <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>().<a class="code" href="classclang_1_1SourceManager.html#a2689190a49ad77cb4f5d022d48d92a9a" title="Return the FileID for a SourceLocation.">getFileID</a>(Loc) == PP.<a class="code" href="classclang_1_1Preprocessor.html#a870eb0cfb41f9e619ab76b1109dc3bae" title="Returns the file ID for the preprocessor predefines.">getPredefinesFileID</a>())</div>
+<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01882"></a><span class="lineno"> 1882</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="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span> }</div>
+<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span> <span class="comment"></span></div>
+<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span> <span class="comment">/// \brief Writes the block containing the serialized form of the</span></div>
+<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span> <span class="comment">/// preprocessor.</span></div>
+<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WritePreprocessor(<span class="keyword">const</span> <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP, <span class="keywordtype">bool</span> IsModule) {</div>
+<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>   <a class="code" href="classclang_1_1PreprocessingRecord.html" title="A record of the steps taken while preprocessing a source file, including the various preprocessing di...">PreprocessingRecord</a> *PPRec = PP.<a class="code" href="classclang_1_1Preprocessor.html#a8171dc8090e99e44f3d0b4c8cf9f6d28" title="Retrieve the preprocessing record, or NULL if there is no preprocessing record.">getPreprocessingRecord</a>();</div>
+<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>   <span class="keywordflow">if</span> (PPRec)</div>
+<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>     WritePreprocessorDetail(*PPRec);</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>   RecordData Record;</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">// If the preprocessor __COUNTER__ value has been bumped, remember it.</span></div>
+<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>   <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#a29485810f9cd6ebe8f2eaba642ef132a">getCounterValue</a>() != 0) {</div>
+<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>     Record.push_back(PP.<a class="code" href="classclang_1_1Preprocessor.html#a29485810f9cd6ebe8f2eaba642ef132a">getCounterValue</a>());</div>
+<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4b3a51c797807dc8b4064cde3f78dbe7" title="The value of the next COUNTER to dispense. [PP_COUNTER_VALUE, Val].">PP_COUNTER_VALUE</a>, Record);</div>
+<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>     Record.clear();</div>
+<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>   }</div>
+<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span> </div>
+<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>   <span class="comment">// Enter the preprocessor block.</span></div>
+<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a7b7fafbdd31095bfff39a27bc1b178b5" title="The block containing information about the preprocessor.">PREPROCESSOR_BLOCK_ID</a>, 3);</div>
+<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span> </div>
+<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>   <span class="comment">// If the AST file contains __DATE__ or __TIME__ emit a warning about this.</span></div>
+<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>   <span class="comment">// FIXME: use diagnostics subsystem for localization etc.</span></div>
+<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>   <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#a21d6e2896317bc7bce96844eb6c65364">SawDateOrTime</a>())</div>
+<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>     fprintf(stderr, <span class="stringliteral">"warning: precompiled header used __DATE__ or __TIME__.\n"</span>);</div>
+<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span> </div>
+<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span> </div>
+<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>   <span class="comment">// Loop over all the macro directives that are live at the end of the file,</span></div>
+<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>   <span class="comment">// emitting each to the PP section.</span></div>
+<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span> </div>
+<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>   <span class="comment">// Construct the list of macro directives that need to be serialized.</span></div>
+<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<std::pair<const IdentifierInfo *, MacroDirective *></a>, 2></div>
+<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>     MacroDirectives;</div>
+<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Preprocessor.html#a7a56501d62045ff4543c2ec39bc18a36">Preprocessor::macro_iterator</a></div>
+<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>          I = PP.<a class="code" href="classclang_1_1Preprocessor.html#a14bf2cfdb0462d04757f9efe57675130">macro_begin</a>(<span class="comment">/*IncludeExternalMacros=*/</span><span class="keyword">false</span>),</div>
+<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>          E = PP.<a class="code" href="classclang_1_1Preprocessor.html#afa3880bbdba3dfeff8101e28c0ac60bb">macro_end</a>(<span class="comment">/*IncludeExternalMacros=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>        I != E; ++I) {</div>
+<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>     MacroDirectives.push_back(std::make_pair(I->first, I->second));</div>
+<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>   }</div>
+<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span> </div>
+<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>   <span class="comment">// Sort the set of macro definitions that need to be serialized by the</span></div>
+<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>   <span class="comment">// name of the macro, to provide a stable ordering.</span></div>
+<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>   llvm::array_pod_sort(MacroDirectives.begin(), MacroDirectives.end(),</div>
+<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>                        &<a class="code" href="ASTWriter_8cpp.html#a08a534cfbd17b8cd0855b1c45d668d5b">compareMacroDirectives</a>);</div>
+<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span> </div>
+<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>   <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<ASTMacroTableTrait></a> Generator;</div>
+<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span> </div>
+<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>   <span class="comment">// Emit the macro directives as a list and associate the offset with the</span></div>
+<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>   <span class="comment">// identifier they belong to.</span></div>
+<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = MacroDirectives.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = MacroDirectives[I].first;</div>
+<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>     uint64_t MacroDirectiveOffset = Stream.GetCurrentBitNo();</div>
+<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>     <a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *MD = MacroDirectives[I].second;</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="comment">// If the macro or identifier need no updates, don't write the macro history</span></div>
+<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>     <span class="comment">// for this one.</span></div>
+<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>     <span class="comment">// FIXME: Chain the macro history instead of re-writing it.</span></div>
+<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>     <span class="keywordflow">if</span> (MD-><a class="code" href="classclang_1_1MacroDirective.html#abd5a44e431c358334e04197675ab8f9c" title="Return true if the macro directive was loaded from a PCH file.">isFromPCH</a>() &&</div>
+<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>         Name-><a class="code" href="classclang_1_1IdentifierInfo.html#a531b4f970808ca7228c5dd63e3af57ad" title="Return true if the identifier in its current state was loaded from an AST file.">isFromAST</a>() && !Name-><a class="code" href="classclang_1_1IdentifierInfo.html#a08b734a14f8c46980af95a151f032553" title="Determine whether this identifier has changed since it was loaded from an AST file.">hasChangedSinceDeserialization</a>())</div>
+<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span> </div>
+<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>     <span class="comment">// Emit the macro directives in reverse source order.</span></div>
+<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>     <span class="keywordflow">for</span> (; MD; MD = MD-><a class="code" href="classclang_1_1MacroDirective.html#a070eb21f41b137f73f0c034e4f48426f" title="Get previous definition of the macro with the same name.">getPrevious</a>()) {</div>
+<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>       <span class="keywordflow">if</span> (MD-><a class="code" href="classclang_1_1MacroDirective.html#a1519b1695c44b3008d7af1bdfe879c33" title="Determine whether this macro directive is hidden.">isHidden</a>())</div>
+<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>       <span class="keywordflow">if</span> (<a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda">shouldIgnoreMacro</a>(MD, IsModule, PP))</div>
+<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span> </div>
+<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>       AddSourceLocation(MD-><a class="code" href="classclang_1_1MacroDirective.html#a25efa3067619bbcc0c7e41d6147d9325">getLocation</a>(), Record);</div>
+<div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>       Record.push_back(MD-><a class="code" href="classclang_1_1MacroDirective.html#a2a39a915d7591471e8fab0e4ab2f32b9">getKind</a>());</div>
+<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *DefMD = dyn_cast<DefMacroDirective>(MD)) {</div>
+<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>         <a class="code" href="namespaceclang_1_1serialization.html#aa45d728abd3462ec39bbf90af1efb7dc" title="An ID number that refers to a macro in an AST file.">MacroID</a> InfoID = getMacroRef(DefMD->getInfo(), Name);</div>
+<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>         Record.push_back(InfoID);</div>
+<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>         Record.push_back(DefMD->isImported());</div>
+<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>         Record.push_back(DefMD->isAmbiguous());</div>
+<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span> </div>
+<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1VisibilityMacroDirective.html" title="A directive for setting the module visibility of a macro.">VisibilityMacroDirective</a> *</div>
+<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>                    VisMD = dyn_cast<VisibilityMacroDirective>(MD)) {</div>
+<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>         Record.push_back(VisMD->isPublic());</div>
+<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>       }</div>
+<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>     }</div>
+<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>     <span class="keywordflow">if</span> (Record.empty())</div>
+<div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>       <span class="keywordflow">continue</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>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea908de4b5112d9c2dd9b96083b6f71260" title="The macro directives history for a particular identifier.">PP_MACRO_DIRECTIVE_HISTORY</a>, Record);</div>
+<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>     Record.clear();</div>
+<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span> </div>
+<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>     IdentMacroDirectivesOffsetMap[Name] = MacroDirectiveOffset;</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>     <a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> NameID = getIdentifierRef(Name);</div>
+<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>     ASTMacroTableTrait::Data <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>;</div>
+<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>     data.MacroDirectivesOffset = MacroDirectiveOffset;</div>
+<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>     Generator.insert(NameID, data);</div>
+<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>   }</div>
+<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span> <span class="comment"></span></div>
+<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span> <span class="comment">  /// \brief Offsets of each of the macros into the bitstream, indexed by</span></div>
+<div class="line"><a name="l01982"></a><span class="lineno"> 1982</span> <span class="comment">  /// the local macro ID</span></div>
+<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span> <span class="comment">  /// For each identifier that is associated with a macro, this map</span></div>
+<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span> <span class="comment">  /// provides the offset into the bitstream where that macro is</span></div>
+<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span> <span class="comment">  /// defined.</span></div>
+<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span> <span class="comment"></span>  std::vector<uint32_t> MacroOffsets;</div>
+<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span> </div>
+<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = MacroInfosToEmit.size(); I != N; ++I) {</div>
+<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = MacroInfosToEmit[I].Name;</div>
+<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>     <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = MacroInfosToEmit[I].MI;</div>
+<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>     <a class="code" href="namespaceclang_1_1serialization.html#aa45d728abd3462ec39bbf90af1efb7dc" title="An ID number that refers to a macro in an AST file.">MacroID</a> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a> = MacroInfosToEmit[I].ID;</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="keywordflow">if</span> (ID < FirstMacroID) {</div>
+<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>       assert(0 && <span class="stringliteral">"Loaded MacroInfo entered MacroInfosToEmit ?"</span>);</div>
+<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>       <span class="keywordflow">continue</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> </div>
+<div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>     <span class="comment">// Record the local offset of this macro.</span></div>
+<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>     <span class="keywordtype">unsigned</span> Index = ID - FirstMacroID;</div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>     <span class="keywordflow">if</span> (Index == MacroOffsets.size())</div>
+<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>       MacroOffsets.push_back(Stream.GetCurrentBitNo());</div>
+<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>     <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>       <span class="keywordflow">if</span> (Index > MacroOffsets.size())</div>
+<div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>         MacroOffsets.resize(Index + 1);</div>
+<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span> </div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>       MacroOffsets[Index] = Stream.GetCurrentBitNo();</div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>     }</div>
+<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span> </div>
+<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>     AddIdentifierRef(Name, Record);</div>
+<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>     Record.push_back(inferSubmoduleIDFromLocation(MI-><a class="code" href="classclang_1_1MacroInfo.html#a24668f58f405f65ea486b4214e13b641" title="Return the location that the macro was defined at.">getDefinitionLoc</a>()));</div>
+<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>     AddSourceLocation(MI-><a class="code" href="classclang_1_1MacroInfo.html#a24668f58f405f65ea486b4214e13b641" title="Return the location that the macro was defined at.">getDefinitionLoc</a>(), Record);</div>
+<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>     AddSourceLocation(MI-><a class="code" href="classclang_1_1MacroInfo.html#a2a294d84af6129e17f8517f0a076565d" title="Return the location of the last token in the macro.">getDefinitionEndLoc</a>(), Record);</div>
+<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>     Record.push_back(MI-><a class="code" href="classclang_1_1MacroInfo.html#adaa5e481e32f17b953a956d6091ea272" title="Return false if this macro is defined in the main file and has not yet been used.">isUsed</a>());</div>
+<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>     <span class="keywordtype">unsigned</span> Code;</div>
+<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>     <span class="keywordflow">if</span> (MI-><a class="code" href="classclang_1_1MacroInfo.html#acf9efae22d2becd90755c62bad279613">isObjectLike</a>()) {</div>
+<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>       Code = <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea8ca7ad4a6df779fd9436062f2e96d027" title="An object-like macro definition. [PP_MACRO_OBJECT_LIKE, IdentInfoID, SLoc, IsUsed].">PP_MACRO_OBJECT_LIKE</a>;</div>
+<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>       Code = <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea10d6fb44eb9ef583168289980016e99e" title="A function-like macro definition. [PP_MACRO_FUNCTION_LIKE, <ObjectLikeStuff>, IsC99Varargs, IsGNUVarars, NumArgs, ArgIdentInfoID* ].">PP_MACRO_FUNCTION_LIKE</a>;</div>
+<div class="line"><a name="l02020"></a><span class="lineno"> 2020</span> </div>
+<div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>       Record.push_back(MI-><a class="code" href="classclang_1_1MacroInfo.html#a68e9485c3119dcc54ec2dcc99ca194da">isC99Varargs</a>());</div>
+<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>       Record.push_back(MI-><a class="code" href="classclang_1_1MacroInfo.html#ad2bf502e4236c85b30b311deb3c9ea16">isGNUVarargs</a>());</div>
+<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>       Record.push_back(MI-><a class="code" href="classclang_1_1MacroInfo.html#ac1e88c35c4c564c8b4c88239b54637d8">hasCommaPasting</a>());</div>
+<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>       Record.push_back(MI-><a class="code" href="classclang_1_1MacroInfo.html#a0a9f2bfdc7e64284273208aec6138160">getNumArgs</a>());</div>
+<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1MacroInfo.html#aadf9f13edc8699efade9b9fc56b07753">MacroInfo::arg_iterator</a> I = MI-><a class="code" href="classclang_1_1MacroInfo.html#a22c2da5f8c160e2b074e82d3d51abb74">arg_begin</a>(), E = MI-><a class="code" href="classclang_1_1MacroInfo.html#af01ddc21005daf7e24f466b21832013e">arg_end</a>();</div>
+<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>            I != E; ++I)</div>
+<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>         AddIdentifierRef(*I, Record);</div>
+<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>     }</div>
+<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span> </div>
+<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>     <span class="comment">// If we have a detailed preprocessing record, record the macro definition</span></div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>     <span class="comment">// ID that corresponds to this macro.</span></div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>     <span class="keywordflow">if</span> (PPRec)</div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>       Record.push_back(MacroDefinitions[PPRec-><a class="code" href="classclang_1_1PreprocessingRecord.html#aaebcce69d158b8e7b60d6315eb8518e5" title="Retrieve the macro definition that corresponds to the given MacroInfo.">findMacroDefinition</a>(MI)]);</div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span> </div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>     Stream.EmitRecord(Code, Record);</div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>     Record.clear();</div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span> </div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>     <span class="comment">// Emit the tokens array.</span></div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> TokNo = 0, e = MI-><a class="code" href="classclang_1_1MacroInfo.html#ab512ca1f6fb1c116d6e0e79c71999770" title="Return the number of tokens that this macro expands to.">getNumTokens</a>(); TokNo != e; ++TokNo) {</div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>       <span class="comment">// Note that we know that the preprocessor does not have any annotation</span></div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>       <span class="comment">// tokens in it because they are created by the parser, and thus can't</span></div>
+<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>       <span class="comment">// be in a macro definition.</span></div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>       <span class="keyword">const</span> <a class="code" href="classclang_1_1Token.html">Token</a> &Tok = MI-><a class="code" href="classclang_1_1MacroInfo.html#a3a7a58bd12a2c8a9dc2f7574a07f5133">getReplacementToken</a>(TokNo);</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>       AddToken(Tok, Record);</div>
+<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>       Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea0368b4b130a6a6d60ac6e2602327ed1f" title="Describes one token. [PP_TOKEN, SLoc, Length, IdentInfoID, Kind, Flags].">PP_TOKEN</a>, Record);</div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>       Record.clear();</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>     }</div>
+<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>     ++NumMacros;</div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>   }</div>
+<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span> </div>
+<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>   Stream.ExitBlock();</div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span> </div>
+<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>   <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> MacroTable;</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>   uint32_t BucketOffset;</div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>   {</div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>     llvm::raw_svector_ostream Out(MacroTable);</div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>     <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>     BucketOffset = Generator.Emit(Out);</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> </div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>   <span class="comment">// Write the macro table</span></div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae8508a6ed74023f05db0c64416e7353a" title="Mapping table from the identifier ID to the offset of the macro directive history for the identifier...">MACRO_TABLE</a>));</div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>   <span class="keywordtype">unsigned</span> MacroTableAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span> </div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ae8508a6ed74023f05db0c64416e7353a" title="Mapping table from the identifier ID to the offset of the macro directive history for the identifier...">MACRO_TABLE</a>);</div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>   Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>   Stream.EmitRecordWithBlob(MacroTableAbbrev, Record, MacroTable.str());</div>
+<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>   Record.clear();</div>
+<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span> </div>
+<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>   <span class="comment">// Write the offsets table for macro IDs.</span></div>
+<div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a6437a7905d50efedd7e71a2ccbd48558" title="Record code for the table of offsets of each macro ID.">MACRO_OFFSET</a>));</div>
+<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// # of macros</span></div>
+<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// first ID</span></div>
+<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span> </div>
+<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>   <span class="keywordtype">unsigned</span> MacroOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>   Record.clear();</div>
+<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a6437a7905d50efedd7e71a2ccbd48558" title="Record code for the table of offsets of each macro ID.">MACRO_OFFSET</a>);</div>
+<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>   Record.push_back(MacroOffsets.size());</div>
+<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>   Record.push_back(FirstMacroID - <a class="code" href="namespaceclang_1_1serialization.html#acb79f0b53ff51f2ac274d3b88f64f48e" title="The number of predefined macro IDs.">NUM_PREDEF_MACRO_IDS</a>);</div>
+<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>   Stream.EmitRecordWithBlob(MacroOffsetAbbrev, Record,</div>
+<div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>                             <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(MacroOffsets));</div>
+<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span> }</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> <span class="keywordtype">void</span> ASTWriter::WritePreprocessorDetail(<a class="code" href="classclang_1_1PreprocessingRecord.html" title="A record of the steps taken while preprocessing a source file, including the various preprocessing di...">PreprocessingRecord</a> &PPRec) {</div>
+<div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>   <span class="keywordflow">if</span> (PPRec.<a class="code" href="classclang_1_1PreprocessingRecord.html#aaaa2e2cf0907cfcc1f61e5d4c80332e8" title="Begin iterator for local, non-loaded, preprocessed entities.">local_begin</a>() == PPRec.<a class="code" href="classclang_1_1PreprocessingRecord.html#ace2c19eb1c655a2ef328a91815d8a2bc" title="End iterator for local, non-loaded, preprocessed entities.">local_end</a>())</div>
+<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span> </div>
+<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<PPEntityOffset, 64></a> PreprocessedEntityOffsets;</div>
+<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span> </div>
+<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>   <span class="comment">// Enter the preprocessor block.</span></div>
+<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a4076e5615133322343c23f5e6532e98a" title="The block containing the detailed preprocessing record.">PREPROCESSOR_DETAIL_BLOCK_ID</a>, 3);</div>
+<div class="line"><a name="l02101"></a><span class="lineno"> 2101</span> </div>
+<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>   <span class="comment">// If the preprocessor has a preprocessing record, emit it.</span></div>
+<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>   <span class="keywordtype">unsigned</span> NumPreprocessingRecords = 0;</div>
+<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>   <span class="keyword">using namespace </span>llvm;</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="comment">// Set up the abbreviation for </span></div>
+<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>   <span class="keywordtype">unsigned</span> InclusionAbbrev = 0;</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>     BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a6a2477427b4e4e86dfa3a7d250712a5e" title="Describes an inclusion directive within the preprocessing record.">PPD_INCLUSION_DIRECTIVE</a>));</div>
+<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// filename length</span></div>
+<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// in quotes</span></div>
+<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); <span class="comment">// kind</span></div>
+<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// imported module</span></div>
+<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>     InclusionAbbrev = Stream.EmitAbbrev(Abbrev);</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>   </div>
+<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>   <span class="keywordtype">unsigned</span> FirstPreprocessorEntityID </div>
+<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>     = (Chain ? PPRec.getNumLoadedPreprocessedEntities() : 0) </div>
+<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>     + <a class="code" href="namespaceclang_1_1serialization.html#a5dd21099233264cda83ab0176df5244e" title="The number of predefined preprocessed entity IDs.">NUM_PREDEF_PP_ENTITY_IDS</a>;</div>
+<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>   <span class="keywordtype">unsigned</span> NextPreprocessorEntityID = FirstPreprocessorEntityID;</div>
+<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>   RecordData Record;</div>
+<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1PreprocessingRecord_1_1iterator.html">PreprocessingRecord::iterator</a> E = PPRec.<a class="code" href="classclang_1_1PreprocessingRecord.html#aaaa2e2cf0907cfcc1f61e5d4c80332e8" title="Begin iterator for local, non-loaded, preprocessed entities.">local_begin</a>(),</div>
+<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>                                   EEnd = PPRec.<a class="code" href="classclang_1_1PreprocessingRecord.html#ace2c19eb1c655a2ef328a91815d8a2bc" title="End iterator for local, non-loaded, preprocessed entities.">local_end</a>();</div>
+<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>        E != EEnd; </div>
+<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>        (void)++E, ++NumPreprocessingRecords, ++NextPreprocessorEntityID) {</div>
+<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>     Record.clear();</div>
+<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span> </div>
+<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>     PreprocessedEntityOffsets.push_back(<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html" title="Source range/offset of a preprocessed entity.">PPEntityOffset</a>((*E)->getSourceRange(),</div>
+<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>                                                      Stream.GetCurrentBitNo()));</div>
+<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span> </div>
+<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1MacroDefinition.html" title="Record the location of a macro definition.">MacroDefinition</a> *MD = dyn_cast<MacroDefinition>(*E)) {</div>
+<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>       <span class="comment">// Record this macro definition's ID.</span></div>
+<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>       MacroDefinitions[MD] = NextPreprocessorEntityID;</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>       AddIdentifierRef(MD->getName(), Record);</div>
+<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>       Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623ad7c7599728ddb7b15c0656913a9d97d5" title="Describes a macro definition within the preprocessing record.">PPD_MACRO_DEFINITION</a>, Record);</div>
+<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02140"></a><span class="lineno"> 2140</span>     }</div>
+<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span> </div>
+<div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1MacroExpansion.html" title="Records the location of a macro expansion.">MacroExpansion</a> *ME = dyn_cast<MacroExpansion>(*E)) {</div>
+<div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>       Record.push_back(ME->isBuiltinMacro());</div>
+<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>       <span class="keywordflow">if</span> (ME->isBuiltinMacro())</div>
+<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>         AddIdentifierRef(ME->getName(), Record);</div>
+<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>         Record.push_back(MacroDefinitions[ME->getDefinition()]);</div>
+<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>       Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a917e25be9fbc280765180bcb2660ab13" title="Describes a macro expansion within the preprocessing record.">PPD_MACRO_EXPANSION</a>, Record);</div>
+<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>     }</div>
+<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span> </div>
+<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1InclusionDirective.html" title="Record the location of an inclusion directive, such as an #include or #import statement.">InclusionDirective</a> *ID = dyn_cast<InclusionDirective>(*E)) {</div>
+<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a6a2477427b4e4e86dfa3a7d250712a5e" title="Describes an inclusion directive within the preprocessing record.">PPD_INCLUSION_DIRECTIVE</a>);</div>
+<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>       Record.push_back(ID->getFileName().size());</div>
+<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>       Record.push_back(ID->wasInQuotes());</div>
+<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>       Record.push_back(static_cast<unsigned>(ID->getKind()));</div>
+<div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>       Record.push_back(ID->importedModule());</div>
+<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>       <a class="code" href="classllvm_1_1SmallString.html">SmallString<64></a> Buffer;</div>
+<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>       Buffer += ID->getFileName();</div>
+<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>       <span class="comment">// Check that the FileEntry is not null because it was not resolved and</span></div>
+<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>       <span class="comment">// we create a PCH even with compiler errors.</span></div>
+<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>       <span class="keywordflow">if</span> (ID->getFile())</div>
+<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>         Buffer += ID->getFile()->getName();</div>
+<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>       Stream.EmitRecordWithBlob(InclusionAbbrev, Record, Buffer);</div>
+<div class="line"><a name="l02165"></a><span class="lineno"> 2165</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>     }</div>
+<div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>     </div>
+<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>     llvm_unreachable(<span class="stringliteral">"Unhandled PreprocessedEntity in ASTWriter"</span>);</div>
+<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>   }</div>
+<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>   Stream.ExitBlock();</div>
+<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span> </div>
+<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>   <span class="comment">// Write the offsets table for the preprocessing record.</span></div>
+<div class="line"><a name="l02173"></a><span class="lineno"> 2173</span>   <span class="keywordflow">if</span> (NumPreprocessingRecords > 0) {</div>
+<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>     assert(PreprocessedEntityOffsets.size() == NumPreprocessingRecords);</div>
+<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span> </div>
+<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>     <span class="comment">// Write the offsets table for identifier IDs.</span></div>
+<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>     <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>     BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a64734b86fef73f10ce4af733adcb808f" title="Record code for the table of offsets to entries in the preprocessing record.">PPD_ENTITIES_OFFSETS</a>));</div>
+<div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// first pp entity</span></div>
+<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>     <span class="keywordtype">unsigned</span> PPEOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span> </div>
+<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>     Record.clear();</div>
+<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a64734b86fef73f10ce4af733adcb808f" title="Record code for the table of offsets to entries in the preprocessing record.">PPD_ENTITIES_OFFSETS</a>);</div>
+<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>     Record.push_back(FirstPreprocessorEntityID - <a class="code" href="namespaceclang_1_1serialization.html#a5dd21099233264cda83ab0176df5244e" title="The number of predefined preprocessed entity IDs.">NUM_PREDEF_PP_ENTITY_IDS</a>);</div>
+<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>     Stream.EmitRecordWithBlob(PPEOffsetAbbrev, Record,</div>
+<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>                               <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(PreprocessedEntityOffsets));</div>
+<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>   }</div>
+<div class="line"><a name="l02190"></a><span class="lineno"> 2190</span> }</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> <span class="keywordtype">unsigned</span> ASTWriter::getSubmoduleID(<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod) {</div>
+<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>   llvm::DenseMap<Module *, unsigned>::iterator Known = SubmoduleIDs.find(Mod);</div>
+<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>   <span class="keywordflow">if</span> (Known != SubmoduleIDs.end())</div>
+<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>     <span class="keywordflow">return</span> Known->second;</div>
+<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>   </div>
+<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>   <span class="keywordflow">return</span> SubmoduleIDs[Mod] = NextSubmoduleID++;</div>
+<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span> }</div>
+<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span> </div>
+<div class="line"><a name="l02200"></a><span class="lineno"><a class="code" href="classclang_1_1ASTWriter.html#a02c4e9149e1dfad054bfa6b64cb4aa0a"> 2200</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1ASTWriter.html#a02c4e9149e1dfad054bfa6b64cb4aa0a" title="Retrieve a submodule ID for this module. Returns 0 If no ID has been associated with the module...">ASTWriter::getExistingSubmoduleID</a>(<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>   <span class="keywordflow">if</span> (!Mod)</div>
+<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>     <span class="keywordflow">return</span> 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>   llvm::DenseMap<Module *, unsigned>::const_iterator</div>
+<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>     Known = SubmoduleIDs.find(Mod);</div>
+<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>   <span class="keywordflow">if</span> (Known != SubmoduleIDs.end())</div>
+<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>     <span class="keywordflow">return</span> Known->second;</div>
+<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span> </div>
+<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>   <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span> }</div>
+<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span> <span class="comment"></span></div>
+<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span> <span class="comment">/// \brief Compute the number of modules within the given tree (including the</span></div>
+<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span> <span class="comment">/// given module).</span></div>
+<div class="line"><a name="l02214"></a><span class="lineno"><a class="code" href="ASTWriter_8cpp.html#aa2e5e8005b5e2903cef01e16762e8380"> 2214</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTWriter_8cpp.html#aa2e5e8005b5e2903cef01e16762e8380" title="Compute the number of modules within the given tree (including the given module).">getNumberOfModules</a>(<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod) {</div>
+<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>   <span class="keywordtype">unsigned</span> ChildModules = 0;</div>
+<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Module.html#aade7ef252a186121e056cf35f6d56fb5">Module::submodule_iterator</a> Sub = Mod-><a class="code" href="classclang_1_1Module.html#a9c95e62394e8873c8825a8c3993923d1">submodule_begin</a>(),</div>
+<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>                                SubEnd = Mod-><a class="code" href="classclang_1_1Module.html#aefeb9dd237268b0c0f9ef0a2fb24dcf9">submodule_end</a>();</div>
+<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>        Sub != SubEnd; ++Sub)</div>
+<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>     ChildModules += <a class="code" href="ASTWriter_8cpp.html#aa2e5e8005b5e2903cef01e16762e8380" title="Compute the number of modules within the given tree (including the given module).">getNumberOfModules</a>(*Sub);</div>
+<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>   </div>
+<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>   <span class="keywordflow">return</span> ChildModules + 1;</div>
+<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span> }</div>
+<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span> </div>
+<div class="line"><a name="l02224"></a><span class="lineno"> 2224</span> <span class="keywordtype">void</span> ASTWriter::WriteSubmodules(<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *WritingModule) {</div>
+<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>   <span class="comment">// Determine the dependencies of our module and each of it's submodules.</span></div>
+<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>   <span class="comment">// FIXME: This feels like it belongs somewhere else, but there are no</span></div>
+<div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>   <span class="comment">// other consumers of this information.</span></div>
+<div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>   <a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">SourceManager</a> &SrcMgr = PP-><a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>();</div>
+<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>   <a class="code" href="classclang_1_1ModuleMap.html">ModuleMap</a> &ModMap = PP-><a class="code" href="classclang_1_1Preprocessor.html#a9dc8733c4a182dee512c14dbdcfe046e">getHeaderSearchInfo</a>().<a class="code" href="classclang_1_1HeaderSearch.html#ae56afbc5eac06aa39ed7c49a5d6dd717" title="Retrieve the module map.">getModuleMap</a>();</div>
+<div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ASTContext_1_1import__iterator.html" title="Iterator that visits import declarations.">ASTContext::import_iterator</a> I = Context-><a class="code" href="classclang_1_1ASTContext.html#a479c5898a6d1e723a46af29fab1932b9">local_import_begin</a>(),</div>
+<div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>                                 IEnd = Context-><a class="code" href="classclang_1_1ASTContext.html#a61fda96a1ca619d1dca7ef2839364408">local_import_end</a>();</div>
+<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>        I != IEnd; ++I) {</div>
+<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *ImportedFrom</div>
+<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>           = ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a5fbb3347d523ee9b3f32c71ef4322102" title="Infers the (sub)module based on the given source location and source manager.">inferModuleFromLocation</a>(<a class="code" href="classclang_1_1FullSourceLoc.html" title="A SourceLocation and its associated SourceManager.">FullSourceLoc</a>(I->getLocation(), </div>
+<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>                                                          SrcMgr))) {</div>
+<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>       ImportedFrom->Imports.push_back(I->getImportedModule());</div>
+<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>     }</div>
+<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span>   }</div>
+<div class="line"><a name="l02239"></a><span class="lineno"> 2239</span>   </div>
+<div class="line"><a name="l02240"></a><span class="lineno"> 2240</span>   <span class="comment">// Enter the submodule description block.</span></div>
+<div class="line"><a name="l02241"></a><span class="lineno"> 2241</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a14912d6f1fd55657162378580af7dcca" title="The block containing the submodule structure.">SUBMODULE_BLOCK_ID</a>, <a class="code" href="group__ASTAST.html#ga8decc2dcd9f26ed926985ee1dcd8e364" title="The number of allowed abbreviations in bits.">NUM_ALLOWED_ABBREVS_SIZE</a>);</div>
+<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>   </div>
+<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>   <span class="comment">// Write the abbreviations needed for the submodules block.</span></div>
+<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ac1f045f2cbed2eb0c1e62142d1a635bd" title="Defines the major attributes of a submodule, including its name and parent.">SUBMODULE_DEFINITION</a>));</div>
+<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// ID</span></div>
+<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); <span class="comment">// Parent</span></div>
+<div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// IsFramework</span></div>
+<div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// IsExplicit</span></div>
+<div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// IsSystem  </span></div>
+<div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// InferSubmodules...</span></div>
+<div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// InferExplicit...</span></div>
+<div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// InferExportWild...</span></div>
+<div class="line"><a name="l02255"></a><span class="lineno"> 2255</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// ConfigMacrosExh...</span></div>
+<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>   <span class="keywordtype">unsigned</span> DefinitionAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span> </div>
+<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a2cb7f4c593234b567f3ec480bf52c397" title="Specifies the umbrella header used to create this module, if any.">SUBMODULE_UMBRELLA_HEADER</a>));</div>
+<div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>   <span class="keywordtype">unsigned</span> UmbrellaAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span> </div>
+<div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a15fa82930e16d13023a653fb14d7ea08" title="Specifies a header that falls into this (sub)module.">SUBMODULE_HEADER</a>));</div>
+<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>   <span class="keywordtype">unsigned</span> HeaderAbbrev = Stream.EmitAbbrev(Abbrev);</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>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a062b09f326841f5582e1f391dc099909" title="Specifies a top-level header that falls into this (sub)module.">SUBMODULE_TOPHEADER</a>));</div>
+<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>   <span class="keywordtype">unsigned</span> TopHeaderAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span> </div>
+<div class="line"><a name="l02274"></a><span class="lineno"> 2274</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a20abdcf339f65537381003762d806e15" title="Specifies an umbrella directory.">SUBMODULE_UMBRELLA_DIR</a>));</div>
+<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span>   <span class="keywordtype">unsigned</span> UmbrellaDirAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02278"></a><span class="lineno"> 2278</span> </div>
+<div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a51856a095208e1798945b73e3011d80e" title="Specifies a required feature.">SUBMODULE_REQUIRES</a>));</div>
+<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// State</span></div>
+<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));     <span class="comment">// Feature</span></div>
+<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>   <span class="keywordtype">unsigned</span> RequiresAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span> </div>
+<div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a028742fbd584e17f5cae06fcfb9d59a6" title="Specifies a header that has been explicitly excluded from this submodule.">SUBMODULE_EXCLUDED_HEADER</a>));</div>
+<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>   <span class="keywordtype">unsigned</span> ExcludedHeaderAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span> </div>
+<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a68d99f7f9863d47c0cbbf070e7ad1712" title="Specifies a header that is private to this submodule.">SUBMODULE_PRIVATE_HEADER</a>));</div>
+<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// Name</span></div>
+<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>   <span class="keywordtype">unsigned</span> PrivateHeaderAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span> </div>
+<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ad76793b4612c3b89d8c6740f24fd4bbb" title="Specifies a library or framework to link against.">SUBMODULE_LINK_LIBRARY</a>));</div>
+<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); <span class="comment">// IsFramework</span></div>
+<div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));     <span class="comment">// Name</span></div>
+<div class="line"><a name="l02299"></a><span class="lineno"> 2299</span>   <span class="keywordtype">unsigned</span> LinkLibraryAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02300"></a><span class="lineno"> 2300</span> </div>
+<div class="line"><a name="l02301"></a><span class="lineno"> 2301</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02302"></a><span class="lineno"> 2302</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ae3517e307cebf2dd4ae0a81af459c3ae" title="Specifies a configuration macro for this module.">SUBMODULE_CONFIG_MACRO</a>));</div>
+<div class="line"><a name="l02303"></a><span class="lineno"> 2303</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));    <span class="comment">// Macro name</span></div>
+<div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>   <span class="keywordtype">unsigned</span> ConfigMacroAbbrev = Stream.EmitAbbrev(Abbrev);</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>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a7b3e8b2f3d01c92396ae70e18c1c413d" title="Specifies a conflict with another module.">SUBMODULE_CONFLICT</a>));</div>
+<div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6));  <span class="comment">// Other module</span></div>
+<div class="line"><a name="l02309"></a><span class="lineno"> 2309</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));    <span class="comment">// Message</span></div>
+<div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>   <span class="keywordtype">unsigned</span> ConflictAbbrev = Stream.EmitAbbrev(Abbrev);</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">// Write the submodule metadata block.</span></div>
+<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>   RecordData Record;</div>
+<div class="line"><a name="l02314"></a><span class="lineno"> 2314</span>   Record.push_back(<a class="code" href="ASTWriter_8cpp.html#aa2e5e8005b5e2903cef01e16762e8380" title="Compute the number of modules within the given tree (including the given module).">getNumberOfModules</a>(WritingModule));</div>
+<div class="line"><a name="l02315"></a><span class="lineno"> 2315</span>   Record.push_back(FirstSubmoduleID - <a class="code" href="namespaceclang_1_1serialization.html#a69297642be2092db8de7ab442eb7fd87" title="The number of predefined submodule IDs.">NUM_PREDEF_SUBMODULE_IDS</a>);</div>
+<div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a4205f24f830979982872b647b508c667" title="Metadata for submodules as a whole.">SUBMODULE_METADATA</a>, Record);</div>
+<div class="line"><a name="l02317"></a><span class="lineno"> 2317</span>   </div>
+<div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>   <span class="comment">// Write all of the submodules.</span></div>
+<div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>   std::queue<Module *> Q;</div>
+<div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>   Q.push(WritingModule);</div>
+<div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>   <span class="keywordflow">while</span> (!Q.empty()) {</div>
+<div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>     <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod = Q.front();</div>
+<div class="line"><a name="l02323"></a><span class="lineno"> 2323</span>     Q.pop();</div>
+<div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>     <span class="keywordtype">unsigned</span> ID = getSubmoduleID(Mod);</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">// Emit the definition of the block.</span></div>
+<div class="line"><a name="l02327"></a><span class="lineno"> 2327</span>     Record.clear();</div>
+<div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ac1f045f2cbed2eb0c1e62142d1a635bd" title="Defines the major attributes of a submodule, including its name and parent.">SUBMODULE_DEFINITION</a>);</div>
+<div class="line"><a name="l02329"></a><span class="lineno"> 2329</span>     Record.push_back(ID);</div>
+<div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>     <span class="keywordflow">if</span> (Mod-><a class="code" href="classclang_1_1Module.html#a2bf2f0da38465698656382734688ebef" title="The parent of this module. This will be NULL for the top-level module.">Parent</a>) {</div>
+<div class="line"><a name="l02331"></a><span class="lineno"> 2331</span>       assert(SubmoduleIDs[Mod-><a class="code" href="classclang_1_1Module.html#a2bf2f0da38465698656382734688ebef" title="The parent of this module. This will be NULL for the top-level module.">Parent</a>] && <span class="stringliteral">"Submodule parent not written?"</span>);</div>
+<div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>       Record.push_back(SubmoduleIDs[Mod-><a class="code" href="classclang_1_1Module.html#a2bf2f0da38465698656382734688ebef" title="The parent of this module. This will be NULL for the top-level module.">Parent</a>]);</div>
+<div class="line"><a name="l02333"></a><span class="lineno"> 2333</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02334"></a><span class="lineno"> 2334</span>       Record.push_back(0);</div>
+<div class="line"><a name="l02335"></a><span class="lineno"> 2335</span>     }</div>
+<div class="line"><a name="l02336"></a><span class="lineno"> 2336</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#ad335b91a8d39f2a2ca9643f1c88aac8d" title="Whether this is a framework module.">IsFramework</a>);</div>
+<div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a01104f84f55ecbc9a4cd7b634a1f05ca" title="Whether this is an explicit submodule.">IsExplicit</a>);</div>
+<div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a505c7530ef3ac10e3f8c207e5722a158" title="Whether this is a "system" module (which assumes that all headers in it are system headers)...">IsSystem</a>);</div>
+<div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a07cb2506efca1aba4c0959b7a0f8443c" title="Whether we should infer submodules for this module based on the headers.">InferSubmodules</a>);</div>
+<div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#ae64ff7e3ba9cb2d5fa98f6b55c58d921" title="Whether, when inferring submodules, the inferred submodules should be explicit.">InferExplicitSubmodules</a>);</div>
+<div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#aab3a3e63b2c07e737f21296484abbcf9" title="Whether, when inferring submodules, the inferr submodules should export all modules they import (e...">InferExportWildcard</a>);</div>
+<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>     Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a97a926961c5f156791faf98633970246" title="Whether the set of configuration macros is exhaustive.">ConfigMacrosExhaustive</a>);</div>
+<div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>     Stream.EmitRecordWithBlob(DefinitionAbbrev, Record, Mod-><a class="code" href="classclang_1_1Module.html#a51eba6562bd16dec5a8e7c2c5ed76890" title="The name of this module.">Name</a>);</div>
+<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>     </div>
+<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>     <span class="comment">// Emit the requirements.</span></div>
+<div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#a6a7dd241fac5a94bf0188a235da237c1" title="The set of language features required to use this module.">Requirements</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>       Record.clear();</div>
+<div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a51856a095208e1798945b73e3011d80e" title="Specifies a required feature.">SUBMODULE_REQUIRES</a>);</div>
+<div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>       Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a6a7dd241fac5a94bf0188a235da237c1" title="The set of language features required to use this module.">Requirements</a>[I].second);</div>
+<div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>       Stream.EmitRecordWithBlob(RequiresAbbrev, Record,</div>
+<div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#a6a7dd241fac5a94bf0188a235da237c1" title="The set of language features required to use this module.">Requirements</a>[I].first);</div>
+<div class="line"><a name="l02352"></a><span class="lineno"> 2352</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">// Emit the umbrella header, if there is one.</span></div>
+<div class="line"><a name="l02355"></a><span class="lineno"> 2355</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *UmbrellaHeader = Mod-><a class="code" href="classclang_1_1Module.html#adc5b168a2266a0c3db0af7769dd0d4f5" title="Retrieve the header that serves as the umbrella header for this module.">getUmbrellaHeader</a>()) {</div>
+<div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>       Record.clear();</div>
+<div class="line"><a name="l02357"></a><span class="lineno"> 2357</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a2cb7f4c593234b567f3ec480bf52c397" title="Specifies the umbrella header used to create this module, if any.">SUBMODULE_UMBRELLA_HEADER</a>);</div>
+<div class="line"><a name="l02358"></a><span class="lineno"> 2358</span>       Stream.EmitRecordWithBlob(UmbrellaAbbrev, Record, </div>
+<div class="line"><a name="l02359"></a><span class="lineno"> 2359</span>                                 UmbrellaHeader->getName());</div>
+<div class="line"><a name="l02360"></a><span class="lineno"> 2360</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1DirectoryEntry.html" title="Cached information about one directory (either on disk or in the virtual file system).">DirectoryEntry</a> *UmbrellaDir = Mod-><a class="code" href="classclang_1_1Module.html#a2a142c05e037bb81a45fdf60c236cea7" title="Retrieve the directory for which this module serves as the umbrella.">getUmbrellaDir</a>()) {</div>
+<div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>       Record.clear();</div>
+<div class="line"><a name="l02362"></a><span class="lineno"> 2362</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a20abdcf339f65537381003762d806e15" title="Specifies an umbrella directory.">SUBMODULE_UMBRELLA_DIR</a>);</div>
+<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span>       Stream.EmitRecordWithBlob(UmbrellaDirAbbrev, Record, </div>
+<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>                                 UmbrellaDir->getName());      </div>
+<div class="line"><a name="l02365"></a><span class="lineno"> 2365</span>     }</div>
+<div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>     </div>
+<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>     <span class="comment">// Emit the headers.</span></div>
+<div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#abb4d0264cc1709091f4d2337ec17b832" title="The headers that are part of this module.">NormalHeaders</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>       Record.clear();</div>
+<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a15fa82930e16d13023a653fb14d7ea08" title="Specifies a header that falls into this (sub)module.">SUBMODULE_HEADER</a>);</div>
+<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>       Stream.EmitRecordWithBlob(HeaderAbbrev, Record, </div>
+<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#abb4d0264cc1709091f4d2337ec17b832" title="The headers that are part of this module.">NormalHeaders</a>[I]->getName());</div>
+<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>     }</div>
+<div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>     <span class="comment">// Emit the excluded headers.</span></div>
+<div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#a0fb319704fd02cce3cb3d7bd88a21c51" title="The headers that are explicitly excluded from this module.">ExcludedHeaders</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02376"></a><span class="lineno"> 2376</span>       Record.clear();</div>
+<div class="line"><a name="l02377"></a><span class="lineno"> 2377</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a028742fbd584e17f5cae06fcfb9d59a6" title="Specifies a header that has been explicitly excluded from this submodule.">SUBMODULE_EXCLUDED_HEADER</a>);</div>
+<div class="line"><a name="l02378"></a><span class="lineno"> 2378</span>       Stream.EmitRecordWithBlob(ExcludedHeaderAbbrev, Record, </div>
+<div class="line"><a name="l02379"></a><span class="lineno"> 2379</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#a0fb319704fd02cce3cb3d7bd88a21c51" title="The headers that are explicitly excluded from this module.">ExcludedHeaders</a>[I]->getName());</div>
+<div class="line"><a name="l02380"></a><span class="lineno"> 2380</span>     }</div>
+<div class="line"><a name="l02381"></a><span class="lineno"> 2381</span>     <span class="comment">// Emit the private headers.</span></div>
+<div class="line"><a name="l02382"></a><span class="lineno"> 2382</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#a03cc716919c98f60df2b1e2ed346f8bb" title="The headers that are private to this module.">PrivateHeaders</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02383"></a><span class="lineno"> 2383</span>       Record.clear();</div>
+<div class="line"><a name="l02384"></a><span class="lineno"> 2384</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a68d99f7f9863d47c0cbbf070e7ad1712" title="Specifies a header that is private to this submodule.">SUBMODULE_PRIVATE_HEADER</a>);</div>
+<div class="line"><a name="l02385"></a><span class="lineno"> 2385</span>       Stream.EmitRecordWithBlob(PrivateHeaderAbbrev, Record, </div>
+<div class="line"><a name="l02386"></a><span class="lineno"> 2386</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#a03cc716919c98f60df2b1e2ed346f8bb" title="The headers that are private to this module.">PrivateHeaders</a>[I]->getName());</div>
+<div class="line"><a name="l02387"></a><span class="lineno"> 2387</span>     }</div>
+<div class="line"><a name="l02388"></a><span class="lineno"> 2388</span>     <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const FileEntry *></a></div>
+<div class="line"><a name="l02389"></a><span class="lineno"> 2389</span>       TopHeaders = Mod-><a class="code" href="classclang_1_1Module.html#a67ed11f173f3b4ff4e32a6bdcb7047e4" title="The top-level headers associated with this module.">getTopHeaders</a>(PP-><a class="code" href="classclang_1_1Preprocessor.html#a07eb04f847b5976cec8b174764b99424">getFileManager</a>());</div>
+<div class="line"><a name="l02390"></a><span class="lineno"> 2390</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = TopHeaders.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02391"></a><span class="lineno"> 2391</span>       Record.clear();</div>
+<div class="line"><a name="l02392"></a><span class="lineno"> 2392</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a062b09f326841f5582e1f391dc099909" title="Specifies a top-level header that falls into this (sub)module.">SUBMODULE_TOPHEADER</a>);</div>
+<div class="line"><a name="l02393"></a><span class="lineno"> 2393</span>       Stream.EmitRecordWithBlob(TopHeaderAbbrev, Record,</div>
+<div class="line"><a name="l02394"></a><span class="lineno"> 2394</span>                                 TopHeaders[I]->getName());</div>
+<div class="line"><a name="l02395"></a><span class="lineno"> 2395</span>     }</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>     <span class="comment">// Emit the imports. </span></div>
+<div class="line"><a name="l02398"></a><span class="lineno"> 2398</span>     <span class="keywordflow">if</span> (!Mod-><a class="code" href="classclang_1_1Module.html#adf590ab26fa6d5c23acda05c8f93165d" title="The set of modules imported by this module, and on which this module depends.">Imports</a>.empty()) {</div>
+<div class="line"><a name="l02399"></a><span class="lineno"> 2399</span>       Record.clear();</div>
+<div class="line"><a name="l02400"></a><span class="lineno"> 2400</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#adf590ab26fa6d5c23acda05c8f93165d" title="The set of modules imported by this module, and on which this module depends.">Imports</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02401"></a><span class="lineno"> 2401</span>         <span class="keywordtype">unsigned</span> ImportedID = getSubmoduleID(Mod-><a class="code" href="classclang_1_1Module.html#adf590ab26fa6d5c23acda05c8f93165d" title="The set of modules imported by this module, and on which this module depends.">Imports</a>[I]);</div>
+<div class="line"><a name="l02402"></a><span class="lineno"> 2402</span>         assert(ImportedID && <span class="stringliteral">"Unknown submodule!"</span>);                                           </div>
+<div class="line"><a name="l02403"></a><span class="lineno"> 2403</span>         Record.push_back(ImportedID);</div>
+<div class="line"><a name="l02404"></a><span class="lineno"> 2404</span>       }</div>
+<div class="line"><a name="l02405"></a><span class="lineno"> 2405</span>       Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a74e5834c1d1f89ab8cfa76731b77e67b" title="Specifies the submodules that are imported by this submodule.">SUBMODULE_IMPORTS</a>, Record);</div>
+<div class="line"><a name="l02406"></a><span class="lineno"> 2406</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">// Emit the exports. </span></div>
+<div class="line"><a name="l02409"></a><span class="lineno"> 2409</span>     <span class="keywordflow">if</span> (!Mod-><a class="code" href="classclang_1_1Module.html#a05638ca4f7fe86eb9363440c20c01130" title="The set of export declarations.">Exports</a>.empty()) {</div>
+<div class="line"><a name="l02410"></a><span class="lineno"> 2410</span>       Record.clear();</div>
+<div class="line"><a name="l02411"></a><span class="lineno"> 2411</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#a05638ca4f7fe86eb9363440c20c01130" title="The set of export declarations.">Exports</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02412"></a><span class="lineno"> 2412</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Exported = Mod-><a class="code" href="classclang_1_1Module.html#a05638ca4f7fe86eb9363440c20c01130" title="The set of export declarations.">Exports</a>[I].getPointer()) {</div>
+<div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>           <span class="keywordtype">unsigned</span> ExportedID = SubmoduleIDs[Exported];</div>
+<div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>           assert(ExportedID > 0 && <span class="stringliteral">"Unknown submodule ID?"</span>);</div>
+<div class="line"><a name="l02415"></a><span class="lineno"> 2415</span>           Record.push_back(ExportedID);</div>
+<div class="line"><a name="l02416"></a><span class="lineno"> 2416</span>         } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02417"></a><span class="lineno"> 2417</span>           Record.push_back(0);</div>
+<div class="line"><a name="l02418"></a><span class="lineno"> 2418</span>         }</div>
+<div class="line"><a name="l02419"></a><span class="lineno"> 2419</span>         </div>
+<div class="line"><a name="l02420"></a><span class="lineno"> 2420</span>         Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a05638ca4f7fe86eb9363440c20c01130" title="The set of export declarations.">Exports</a>[I].getInt());</div>
+<div class="line"><a name="l02421"></a><span class="lineno"> 2421</span>       }</div>
+<div class="line"><a name="l02422"></a><span class="lineno"> 2422</span>       Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ae484be2b1c799948a691aa4a9b177ed4" title="Specifies the submodules that are re-exported from this submodule.">SUBMODULE_EXPORTS</a>, Record);</div>
+<div class="line"><a name="l02423"></a><span class="lineno"> 2423</span>     }</div>
+<div class="line"><a name="l02424"></a><span class="lineno"> 2424</span> </div>
+<div class="line"><a name="l02425"></a><span class="lineno"> 2425</span>     <span class="comment">//FIXME: How do we emit the 'use'd modules?  They may not be submodules.</span></div>
+<div class="line"><a name="l02426"></a><span class="lineno"> 2426</span>     <span class="comment">// Might be unnecessary as use declarations are only used to build the</span></div>
+<div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>     <span class="comment">// module itself.</span></div>
+<div class="line"><a name="l02428"></a><span class="lineno"> 2428</span> </div>
+<div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>     <span class="comment">// Emit the link libraries.</span></div>
+<div class="line"><a name="l02430"></a><span class="lineno"> 2430</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#a59f744ae0f6907785614508d01a5cd59" title="The set of libraries or frameworks to link against when an entity from this module is used...">LinkLibraries</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>       Record.clear();</div>
+<div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ad76793b4612c3b89d8c6740f24fd4bbb" title="Specifies a library or framework to link against.">SUBMODULE_LINK_LIBRARY</a>);</div>
+<div class="line"><a name="l02433"></a><span class="lineno"> 2433</span>       Record.push_back(Mod-><a class="code" href="classclang_1_1Module.html#a59f744ae0f6907785614508d01a5cd59" title="The set of libraries or frameworks to link against when an entity from this module is used...">LinkLibraries</a>[I].IsFramework);</div>
+<div class="line"><a name="l02434"></a><span class="lineno"> 2434</span>       Stream.EmitRecordWithBlob(LinkLibraryAbbrev, Record,</div>
+<div class="line"><a name="l02435"></a><span class="lineno"> 2435</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#a59f744ae0f6907785614508d01a5cd59" title="The set of libraries or frameworks to link against when an entity from this module is used...">LinkLibraries</a>[I].Library);</div>
+<div class="line"><a name="l02436"></a><span class="lineno"> 2436</span>     }</div>
+<div class="line"><a name="l02437"></a><span class="lineno"> 2437</span> </div>
+<div class="line"><a name="l02438"></a><span class="lineno"> 2438</span>     <span class="comment">// Emit the conflicts.</span></div>
+<div class="line"><a name="l02439"></a><span class="lineno"> 2439</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Mod-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02440"></a><span class="lineno"> 2440</span>       Record.clear();</div>
+<div class="line"><a name="l02441"></a><span class="lineno"> 2441</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a7b3e8b2f3d01c92396ae70e18c1c413d" title="Specifies a conflict with another module.">SUBMODULE_CONFLICT</a>);</div>
+<div class="line"><a name="l02442"></a><span class="lineno"> 2442</span>       <span class="keywordtype">unsigned</span> OtherID = getSubmoduleID(Mod-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>[I].Other);</div>
+<div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>       assert(OtherID && <span class="stringliteral">"Unknown submodule!"</span>);</div>
+<div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>       Record.push_back(OtherID);</div>
+<div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>       Stream.EmitRecordWithBlob(ConflictAbbrev, Record,</div>
+<div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>[I].Message);</div>
+<div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>     }</div>
+<div class="line"><a name="l02448"></a><span class="lineno"> 2448</span> </div>
+<div class="line"><a name="l02449"></a><span class="lineno"> 2449</span>     <span class="comment">// Emit the configuration macros.</span></div>
+<div class="line"><a name="l02450"></a><span class="lineno"> 2450</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N =  Mod-><a class="code" href="classclang_1_1Module.html#a162d6fa484ed34109093c8264dd116d3" title="The set of "configuration macros", which are macros that (intentionally) change how this module is bu...">ConfigMacros</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02451"></a><span class="lineno"> 2451</span>       Record.clear();</div>
+<div class="line"><a name="l02452"></a><span class="lineno"> 2452</span>       Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ae3517e307cebf2dd4ae0a81af459c3ae" title="Specifies a configuration macro for this module.">SUBMODULE_CONFIG_MACRO</a>);</div>
+<div class="line"><a name="l02453"></a><span class="lineno"> 2453</span>       Stream.EmitRecordWithBlob(ConfigMacroAbbrev, Record,</div>
+<div class="line"><a name="l02454"></a><span class="lineno"> 2454</span>                                 Mod-><a class="code" href="classclang_1_1Module.html#a162d6fa484ed34109093c8264dd116d3" title="The set of "configuration macros", which are macros that (intentionally) change how this module is bu...">ConfigMacros</a>[I]);</div>
+<div class="line"><a name="l02455"></a><span class="lineno"> 2455</span>     }</div>
+<div class="line"><a name="l02456"></a><span class="lineno"> 2456</span> </div>
+<div class="line"><a name="l02457"></a><span class="lineno"> 2457</span>     <span class="comment">// Queue up the submodules of this module.</span></div>
+<div class="line"><a name="l02458"></a><span class="lineno"> 2458</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Module.html#aade7ef252a186121e056cf35f6d56fb5">Module::submodule_iterator</a> Sub = Mod-><a class="code" href="classclang_1_1Module.html#a9c95e62394e8873c8825a8c3993923d1">submodule_begin</a>(),</div>
+<div class="line"><a name="l02459"></a><span class="lineno"> 2459</span>                                  SubEnd = Mod-><a class="code" href="classclang_1_1Module.html#aefeb9dd237268b0c0f9ef0a2fb24dcf9">submodule_end</a>();</div>
+<div class="line"><a name="l02460"></a><span class="lineno"> 2460</span>          Sub != SubEnd; ++Sub)</div>
+<div class="line"><a name="l02461"></a><span class="lineno"> 2461</span>       Q.push(*Sub);</div>
+<div class="line"><a name="l02462"></a><span class="lineno"> 2462</span>   }</div>
+<div class="line"><a name="l02463"></a><span class="lineno"> 2463</span>   </div>
+<div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>   Stream.ExitBlock();</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>   assert((NextSubmoduleID - FirstSubmoduleID</div>
+<div class="line"><a name="l02467"></a><span class="lineno"> 2467</span>             == <a class="code" href="ASTWriter_8cpp.html#aa2e5e8005b5e2903cef01e16762e8380" title="Compute the number of modules within the given tree (including the given module).">getNumberOfModules</a>(WritingModule)) && <span class="stringliteral">"Wrong # of submodules"</span>);</div>
+<div class="line"><a name="l02468"></a><span class="lineno"> 2468</span> }</div>
+<div class="line"><a name="l02469"></a><span class="lineno"> 2469</span> </div>
+<div class="line"><a name="l02470"></a><span class="lineno"> 2470</span> <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">serialization::SubmoduleID</a> </div>
+<div class="line"><a name="l02471"></a><span class="lineno"><a class="code" href="classclang_1_1ASTWriter.html#a17868a1a7f8c1c5b7e678d7d642d1d79"> 2471</a></span> <a class="code" href="classclang_1_1ASTWriter.html#a17868a1a7f8c1c5b7e678d7d642d1d79" title="Infer the submodule ID that contains an entity at the given source location.">ASTWriter::inferSubmoduleIDFromLocation</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> Loc) {</div>
+<div class="line"><a name="l02472"></a><span class="lineno"> 2472</span>   <span class="keywordflow">if</span> (Loc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>() || !WritingModule)</div>
+<div class="line"><a name="l02473"></a><span class="lineno"> 2473</span>     <span class="keywordflow">return</span> 0; <span class="comment">// No submodule</span></div>
+<div class="line"><a name="l02474"></a><span class="lineno"> 2474</span>     </div>
+<div class="line"><a name="l02475"></a><span class="lineno"> 2475</span>   <span class="comment">// Find the module that owns this location.</span></div>
+<div class="line"><a name="l02476"></a><span class="lineno"> 2476</span>   <a class="code" href="classclang_1_1ModuleMap.html">ModuleMap</a> &ModMap = PP-><a class="code" href="classclang_1_1Preprocessor.html#a9dc8733c4a182dee512c14dbdcfe046e">getHeaderSearchInfo</a>().<a class="code" href="classclang_1_1HeaderSearch.html#ae56afbc5eac06aa39ed7c49a5d6dd717" title="Retrieve the module map.">getModuleMap</a>();</div>
+<div class="line"><a name="l02477"></a><span class="lineno"> 2477</span>   <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *OwningMod </div>
+<div class="line"><a name="l02478"></a><span class="lineno"> 2478</span>     = ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a5fbb3347d523ee9b3f32c71ef4322102" title="Infers the (sub)module based on the given source location and source manager.">inferModuleFromLocation</a>(<a class="code" href="classclang_1_1FullSourceLoc.html" title="A SourceLocation and its associated SourceManager.">FullSourceLoc</a>(Loc,PP-><a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>()));</div>
+<div class="line"><a name="l02479"></a><span class="lineno"> 2479</span>   <span class="keywordflow">if</span> (!OwningMod)</div>
+<div class="line"><a name="l02480"></a><span class="lineno"> 2480</span>     <span class="keywordflow">return</span> 0;</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="comment">// Check whether this submodule is part of our own module.</span></div>
+<div class="line"><a name="l02483"></a><span class="lineno"> 2483</span>   <span class="keywordflow">if</span> (WritingModule != OwningMod && !OwningMod-><a class="code" href="classclang_1_1Module.html#a5e82edd084f8a16ccd723b0768c62911" title="Determine whether this module is a submodule of the given other module.">isSubModuleOf</a>(WritingModule))</div>
+<div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>   </div>
+<div class="line"><a name="l02486"></a><span class="lineno"> 2486</span>   <span class="keywordflow">return</span> getSubmoduleID(OwningMod);</div>
+<div class="line"><a name="l02487"></a><span class="lineno"> 2487</span> }</div>
+<div class="line"><a name="l02488"></a><span class="lineno"> 2488</span> </div>
+<div class="line"><a name="l02489"></a><span class="lineno"> 2489</span> <span class="keywordtype">void</span> ASTWriter::WritePragmaDiagnosticMappings(<span class="keyword">const</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="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>,</div>
+<div class="line"><a name="l02490"></a><span class="lineno"> 2490</span>                                               <span class="keywordtype">bool</span> isModule) {</div>
+<div class="line"><a name="l02491"></a><span class="lineno"> 2491</span>   <span class="comment">// Make sure set diagnostic pragmas don't affect the translation unit that</span></div>
+<div class="line"><a name="l02492"></a><span class="lineno"> 2492</span>   <span class="comment">// imports the module.</span></div>
+<div class="line"><a name="l02493"></a><span class="lineno"> 2493</span>   <span class="comment">// FIXME: Make diagnostic pragma sections work properly with modules.</span></div>
+<div class="line"><a name="l02494"></a><span class="lineno"> 2494</span>   <span class="keywordflow">if</span> (isModule)</div>
+<div class="line"><a name="l02495"></a><span class="lineno"> 2495</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02496"></a><span class="lineno"> 2496</span> </div>
+<div class="line"><a name="l02497"></a><span class="lineno"> 2497</span>   llvm::SmallDenseMap<const DiagnosticsEngine::DiagState *, unsigned, 64></div>
+<div class="line"><a name="l02498"></a><span class="lineno"> 2498</span>       DiagStateIDMap;</div>
+<div class="line"><a name="l02499"></a><span class="lineno"> 2499</span>   <span class="keywordtype">unsigned</span> CurrID = 0;</div>
+<div class="line"><a name="l02500"></a><span class="lineno"> 2500</span>   DiagStateIDMap[&Diag.DiagStates.front()] = ++CurrID; <span class="comment">// the command-line one.</span></div>
+<div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>   RecordData Record;</div>
+<div class="line"><a name="l02502"></a><span class="lineno"> 2502</span>   <span class="keywordflow">for</span> (DiagnosticsEngine::DiagStatePointsTy::const_iterator</div>
+<div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>          I = Diag.DiagStatePoints.begin(), E = Diag.DiagStatePoints.end();</div>
+<div class="line"><a name="l02504"></a><span class="lineno"> 2504</span>          I != E; ++I) {</div>
+<div class="line"><a name="l02505"></a><span class="lineno"> 2505</span>     <span class="keyword">const</span> DiagnosticsEngine::DiagStatePoint &point = *I;</div>
+<div class="line"><a name="l02506"></a><span class="lineno"> 2506</span>     <span class="keywordflow">if</span> (point.Loc.isInvalid())</div>
+<div class="line"><a name="l02507"></a><span class="lineno"> 2507</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02508"></a><span class="lineno"> 2508</span> </div>
+<div class="line"><a name="l02509"></a><span class="lineno"> 2509</span>     Record.push_back(point.Loc.getRawEncoding());</div>
+<div class="line"><a name="l02510"></a><span class="lineno"> 2510</span>     <span class="keywordtype">unsigned</span> &DiagStateID = DiagStateIDMap[point.State];</div>
+<div class="line"><a name="l02511"></a><span class="lineno"> 2511</span>     Record.push_back(DiagStateID);</div>
+<div class="line"><a name="l02512"></a><span class="lineno"> 2512</span>     </div>
+<div class="line"><a name="l02513"></a><span class="lineno"> 2513</span>     <span class="keywordflow">if</span> (DiagStateID == 0) {</div>
+<div class="line"><a name="l02514"></a><span class="lineno"> 2514</span>       DiagStateID = ++CurrID;</div>
+<div class="line"><a name="l02515"></a><span class="lineno"> 2515</span>       <span class="keywordflow">for</span> (DiagnosticsEngine::DiagState::const_iterator</div>
+<div class="line"><a name="l02516"></a><span class="lineno"> 2516</span>              I = point.State->begin(), E = point.State->end(); I != E; ++I) {</div>
+<div class="line"><a name="l02517"></a><span class="lineno"> 2517</span>         <span class="keywordflow">if</span> (I->second.isPragma()) {</div>
+<div class="line"><a name="l02518"></a><span class="lineno"> 2518</span>           Record.push_back(I->first);</div>
+<div class="line"><a name="l02519"></a><span class="lineno"> 2519</span>           Record.push_back(I->second.getMapping());</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>       }</div>
+<div class="line"><a name="l02522"></a><span class="lineno"> 2522</span>       Record.push_back(-1); <span class="comment">// mark the end of the diag/map pairs for this</span></div>
+<div class="line"><a name="l02523"></a><span class="lineno"> 2523</span>                             <span class="comment">// location.</span></div>
+<div class="line"><a name="l02524"></a><span class="lineno"> 2524</span>     }</div>
+<div class="line"><a name="l02525"></a><span class="lineno"> 2525</span>   }</div>
+<div class="line"><a name="l02526"></a><span class="lineno"> 2526</span> </div>
+<div class="line"><a name="l02527"></a><span class="lineno"> 2527</span>   <span class="keywordflow">if</span> (!Record.empty())</div>
+<div class="line"><a name="l02528"></a><span class="lineno"> 2528</span>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a635ee8a5480818dc61a8588b464ae3ba" title="Record code for #pragma diagnostic mappings.">DIAG_PRAGMA_MAPPINGS</a>, Record);</div>
+<div class="line"><a name="l02529"></a><span class="lineno"> 2529</span> }</div>
+<div class="line"><a name="l02530"></a><span class="lineno"> 2530</span> </div>
+<div class="line"><a name="l02531"></a><span class="lineno"> 2531</span> <span class="keywordtype">void</span> ASTWriter::WriteCXXBaseSpecifiersOffsets() {</div>
+<div class="line"><a name="l02532"></a><span class="lineno"> 2532</span>   <span class="keywordflow">if</span> (CXXBaseSpecifiersOffsets.empty())</div>
+<div class="line"><a name="l02533"></a><span class="lineno"> 2533</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02534"></a><span class="lineno"> 2534</span> </div>
+<div class="line"><a name="l02535"></a><span class="lineno"> 2535</span>   RecordData Record;</div>
+<div class="line"><a name="l02536"></a><span class="lineno"> 2536</span> </div>
+<div class="line"><a name="l02537"></a><span class="lineno"> 2537</span>   <span class="comment">// Create a blob abbreviation for the C++ base specifiers offsets.</span></div>
+<div class="line"><a name="l02538"></a><span class="lineno"> 2538</span>   <span class="keyword">using namespace </span>llvm;</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>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02541"></a><span class="lineno"> 2541</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a1e40ea1c917dad85762fc3d95d0eedd5" title="Record code for the table of offsets to CXXBaseSpecifier sets.">CXX_BASE_SPECIFIER_OFFSETS</a>));</div>
+<div class="line"><a name="l02542"></a><span class="lineno"> 2542</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// size</span></div>
+<div class="line"><a name="l02543"></a><span class="lineno"> 2543</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02544"></a><span class="lineno"> 2544</span>   <span class="keywordtype">unsigned</span> BaseSpecifierOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02545"></a><span class="lineno"> 2545</span>   </div>
+<div class="line"><a name="l02546"></a><span class="lineno"> 2546</span>   <span class="comment">// Write the base specifier offsets table.</span></div>
+<div class="line"><a name="l02547"></a><span class="lineno"> 2547</span>   Record.clear();</div>
+<div class="line"><a name="l02548"></a><span class="lineno"> 2548</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a1e40ea1c917dad85762fc3d95d0eedd5" title="Record code for the table of offsets to CXXBaseSpecifier sets.">CXX_BASE_SPECIFIER_OFFSETS</a>);</div>
+<div class="line"><a name="l02549"></a><span class="lineno"> 2549</span>   Record.push_back(CXXBaseSpecifiersOffsets.size());</div>
+<div class="line"><a name="l02550"></a><span class="lineno"> 2550</span>   Stream.EmitRecordWithBlob(BaseSpecifierOffsetAbbrev, Record,</div>
+<div class="line"><a name="l02551"></a><span class="lineno"> 2551</span>                             <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(CXXBaseSpecifiersOffsets));</div>
+<div class="line"><a name="l02552"></a><span class="lineno"> 2552</span> }</div>
+<div class="line"><a name="l02553"></a><span class="lineno"> 2553</span> </div>
+<div class="line"><a name="l02554"></a><span class="lineno"> 2554</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02555"></a><span class="lineno"> 2555</span> <span class="comment">// Type Serialization</span></div>
+<div class="line"><a name="l02556"></a><span class="lineno"> 2556</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02557"></a><span class="lineno"> 2557</span> <span class="comment"></span></div>
+<div class="line"><a name="l02558"></a><span class="lineno"> 2558</span> <span class="comment">/// \brief Write the representation of a type to the AST stream.</span></div>
+<div class="line"><a name="l02559"></a><span class="lineno"> 2559</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteType(<a class="code" href="classclang_1_1QualType.html">QualType</a> T) {</div>
+<div class="line"><a name="l02560"></a><span class="lineno"> 2560</span>   <a class="code" href="classclang_1_1serialization_1_1TypeIdx.html" title="A type index; the type ID with the qualifier bits removed.">TypeIdx</a> &Idx = TypeIdxs[T];</div>
+<div class="line"><a name="l02561"></a><span class="lineno"> 2561</span>   <span class="keywordflow">if</span> (Idx.<a class="code" href="classclang_1_1serialization_1_1TypeIdx.html#a178c860a50ea73712ddcd23f5f992cdf">getIndex</a>() == 0) <span class="comment">// we haven't seen this type before.</span></div>
+<div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>     Idx = <a class="code" href="classclang_1_1serialization_1_1TypeIdx.html" title="A type index; the type ID with the qualifier bits removed.">TypeIdx</a>(NextTypeID++);</div>
+<div class="line"><a name="l02563"></a><span class="lineno"> 2563</span> </div>
+<div class="line"><a name="l02564"></a><span class="lineno"> 2564</span>   assert(Idx.<a class="code" href="classclang_1_1serialization_1_1TypeIdx.html#a178c860a50ea73712ddcd23f5f992cdf">getIndex</a>() >= FirstTypeID && <span class="stringliteral">"Re-writing a type from a prior AST"</span>);</div>
+<div class="line"><a name="l02565"></a><span class="lineno"> 2565</span> </div>
+<div class="line"><a name="l02566"></a><span class="lineno"> 2566</span>   <span class="comment">// Record the offset for this type.</span></div>
+<div class="line"><a name="l02567"></a><span class="lineno"> 2567</span>   <span class="keywordtype">unsigned</span> Index = Idx.<a class="code" href="classclang_1_1serialization_1_1TypeIdx.html#a178c860a50ea73712ddcd23f5f992cdf">getIndex</a>() - FirstTypeID;</div>
+<div class="line"><a name="l02568"></a><span class="lineno"> 2568</span>   <span class="keywordflow">if</span> (TypeOffsets.size() == Index)</div>
+<div class="line"><a name="l02569"></a><span class="lineno"> 2569</span>     TypeOffsets.push_back(Stream.GetCurrentBitNo());</div>
+<div class="line"><a name="l02570"></a><span class="lineno"> 2570</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TypeOffsets.size() < Index) {</div>
+<div class="line"><a name="l02571"></a><span class="lineno"> 2571</span>     TypeOffsets.resize(Index + 1);</div>
+<div class="line"><a name="l02572"></a><span class="lineno"> 2572</span>     TypeOffsets[Index] = Stream.GetCurrentBitNo();</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>   RecordData Record;</div>
+<div class="line"><a name="l02576"></a><span class="lineno"> 2576</span> </div>
+<div class="line"><a name="l02577"></a><span class="lineno"> 2577</span>   <span class="comment">// Emit the type's representation.</span></div>
+<div class="line"><a name="l02578"></a><span class="lineno"> 2578</span>   ASTTypeWriter W(*<span class="keyword">this</span>, Record);</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="keywordflow">if</span> (T.<a class="code" href="classclang_1_1QualType.html#a1f317a48964092d811f14fafcc521c95" title="Determine whether this particular QualType instance has any "non-fast" qualifiers, e.g., those that are stored in an ExtQualType instance.">hasLocalNonFastQualifiers</a>()) {</div>
+<div class="line"><a name="l02581"></a><span class="lineno"> 2581</span>     <a class="code" href="classclang_1_1Qualifiers.html">Qualifiers</a> Qs = T.<a class="code" href="classclang_1_1QualType.html#ad2baca05dc1fa00a603a300973272610" title="Retrieve the set of qualifiers local to this particular QualType instance, not including any qualifie...">getLocalQualifiers</a>();</div>
+<div class="line"><a name="l02582"></a><span class="lineno"> 2582</span>     AddTypeRef(T.<a class="code" href="classclang_1_1QualType.html#a4eb06a6c255d8af37f6e98cd8abdf4d3" title="Return this type with all of the instance-specific qualifiers removed, but without removing any quali...">getLocalUnqualifiedType</a>(), Record);</div>
+<div class="line"><a name="l02583"></a><span class="lineno"> 2583</span>     Record.push_back(Qs.<a class="code" href="classclang_1_1Qualifiers.html#a5e82f4bd15b5f71265a3dc5495b9bcf4">getAsOpaqueValue</a>());</div>
+<div class="line"><a name="l02584"></a><span class="lineno"> 2584</span>     W.Code = <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a81a62dc49641e74fc558135d203cf05a" title="An ExtQualType record.">TYPE_EXT_QUAL</a>;</div>
+<div class="line"><a name="l02585"></a><span class="lineno"> 2585</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02586"></a><span class="lineno"> 2586</span>     <span class="keywordflow">switch</span> (T-><a class="code" href="classclang_1_1Type.html#a34cea2e4e1895806fbbac92110b66db0">getTypeClass</a>()) {</div>
+<div class="line"><a name="l02587"></a><span class="lineno"> 2587</span>       <span class="comment">// For all of the concrete, non-dependent types, call the</span></div>
+<div class="line"><a name="l02588"></a><span class="lineno"> 2588</span>       <span class="comment">// appropriate visitor function.</span></div>
+<div class="line"><a name="l02589"></a><span class="lineno"> 2589</span> <span class="preprocessor">#define TYPE(Class, Base) \</span></div>
+<div class="line"><a name="l02590"></a><span class="lineno"> 2590</span> <span class="preprocessor">    case Type::Class: W.Visit##Class##Type(cast<Class##Type>(T)); break;</span></div>
+<div class="line"><a name="l02591"></a><span class="lineno"> 2591</span> <span class="preprocessor"></span><span class="preprocessor">#define ABSTRACT_TYPE(Class, Base)</span></div>
+<div class="line"><a name="l02592"></a><span class="lineno"> 2592</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeNodes.def"</span></div>
+<div class="line"><a name="l02593"></a><span class="lineno"> 2593</span>     }</div>
+<div class="line"><a name="l02594"></a><span class="lineno"> 2594</span>   }</div>
+<div class="line"><a name="l02595"></a><span class="lineno"> 2595</span> </div>
+<div class="line"><a name="l02596"></a><span class="lineno"> 2596</span>   <span class="comment">// Emit the serialized record.</span></div>
+<div class="line"><a name="l02597"></a><span class="lineno"> 2597</span>   Stream.EmitRecord(W.Code, Record);</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>   <span class="comment">// Flush any expressions that were written as part of this type.</span></div>
+<div class="line"><a name="l02600"></a><span class="lineno"> 2600</span>   FlushStmts();</div>
+<div class="line"><a name="l02601"></a><span class="lineno"> 2601</span> }</div>
+<div class="line"><a name="l02602"></a><span class="lineno"> 2602</span> </div>
+<div class="line"><a name="l02603"></a><span class="lineno"> 2603</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02604"></a><span class="lineno"> 2604</span> <span class="comment">// Declaration Serialization</span></div>
+<div class="line"><a name="l02605"></a><span class="lineno"> 2605</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02606"></a><span class="lineno"> 2606</span> <span class="comment"></span></div>
+<div class="line"><a name="l02607"></a><span class="lineno"> 2607</span> <span class="comment">/// \brief Write the block containing all of the declaration IDs</span></div>
+<div class="line"><a name="l02608"></a><span class="lineno"> 2608</span> <span class="comment">/// lexically declared within the given DeclContext.</span></div>
+<div class="line"><a name="l02609"></a><span class="lineno"> 2609</span> <span class="comment">///</span></div>
+<div class="line"><a name="l02610"></a><span class="lineno"> 2610</span> <span class="comment">/// \returns the offset of the DECL_CONTEXT_LEXICAL block within the</span></div>
+<div class="line"><a name="l02611"></a><span class="lineno"> 2611</span> <span class="comment">/// bistream, or 0 if no block was written.</span></div>
+<div class="line"><a name="l02612"></a><span class="lineno"> 2612</span> <span class="comment"></span>uint64_t ASTWriter::WriteDeclContextLexicalBlock(<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> &Context,</div>
+<div class="line"><a name="l02613"></a><span class="lineno"> 2613</span>                                                  <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l02614"></a><span class="lineno"> 2614</span>   <span class="keywordflow">if</span> (DC-><a class="code" href="classclang_1_1DeclContext.html#a290e11133d2a09ff37073aa841a9ae14">decls_empty</a>())</div>
+<div class="line"><a name="l02615"></a><span class="lineno"> 2615</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02616"></a><span class="lineno"> 2616</span> </div>
+<div class="line"><a name="l02617"></a><span class="lineno"> 2617</span>   uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = Stream.GetCurrentBitNo();</div>
+<div class="line"><a name="l02618"></a><span class="lineno"> 2618</span>   RecordData Record;</div>
+<div class="line"><a name="l02619"></a><span class="lineno"> 2619</span>   Record.push_back(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cda7495f341b29a95f3276043a6624af2c4" title="A record that stores the set of declarations that are lexically stored within a given DeclContext...">DECL_CONTEXT_LEXICAL</a>);</div>
+<div class="line"><a name="l02620"></a><span class="lineno"> 2620</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<KindDeclIDPair, 64></a> Decls;</div>
+<div class="line"><a name="l02621"></a><span class="lineno"> 2621</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DeclContext_1_1decl__iterator.html">DeclContext::decl_iterator</a> D = DC-><a class="code" href="classclang_1_1DeclContext.html#a805f9e2d87050dee8b306e22e68b9225">decls_begin</a>(), DEnd = DC-><a class="code" href="classclang_1_1DeclContext.html#a2d01679b86c5d8ff983b6323421dcdbf">decls_end</a>();</div>
+<div class="line"><a name="l02622"></a><span class="lineno"> 2622</span>          D != DEnd; ++D)</div>
+<div class="line"><a name="l02623"></a><span class="lineno"> 2623</span>     Decls.push_back(std::make_pair((*D)->getKind(), GetDeclRef(*D)));</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>   ++NumLexicalDeclContexts;</div>
+<div class="line"><a name="l02626"></a><span class="lineno"> 2626</span>   Stream.EmitRecordWithBlob(DeclContextLexicalAbbrev, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(Decls));</div>
+<div class="line"><a name="l02627"></a><span class="lineno"> 2627</span>   <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>;</div>
+<div class="line"><a name="l02628"></a><span class="lineno"> 2628</span> }</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="keywordtype">void</span> ASTWriter::WriteTypeDeclOffsets() {</div>
+<div class="line"><a name="l02631"></a><span class="lineno"> 2631</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02632"></a><span class="lineno"> 2632</span>   RecordData Record;</div>
+<div class="line"><a name="l02633"></a><span class="lineno"> 2633</span> </div>
+<div class="line"><a name="l02634"></a><span class="lineno"> 2634</span>   <span class="comment">// Write the type offsets array</span></div>
+<div class="line"><a name="l02635"></a><span class="lineno"> 2635</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02636"></a><span class="lineno"> 2636</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2a11ed5a2402c1a271b5c040a94becf6" title="Record code for the offsets of each type.">TYPE_OFFSET</a>));</div>
+<div class="line"><a name="l02637"></a><span class="lineno"> 2637</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// # of types</span></div>
+<div class="line"><a name="l02638"></a><span class="lineno"> 2638</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// base type index</span></div>
+<div class="line"><a name="l02639"></a><span class="lineno"> 2639</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// types block</span></div>
+<div class="line"><a name="l02640"></a><span class="lineno"> 2640</span>   <span class="keywordtype">unsigned</span> TypeOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02641"></a><span class="lineno"> 2641</span>   Record.clear();</div>
+<div class="line"><a name="l02642"></a><span class="lineno"> 2642</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2a11ed5a2402c1a271b5c040a94becf6" title="Record code for the offsets of each type.">TYPE_OFFSET</a>);</div>
+<div class="line"><a name="l02643"></a><span class="lineno"> 2643</span>   Record.push_back(TypeOffsets.size());</div>
+<div class="line"><a name="l02644"></a><span class="lineno"> 2644</span>   Record.push_back(FirstTypeID - <a class="code" href="group__ASTAST.html#ga448a4b7b0620397aaff0744d9d21a324" title="The number of predefined type IDs that are reserved for the PREDEF_TYPE_* constants.">NUM_PREDEF_TYPE_IDS</a>);</div>
+<div class="line"><a name="l02645"></a><span class="lineno"> 2645</span>   Stream.EmitRecordWithBlob(TypeOffsetAbbrev, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(TypeOffsets));</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>   <span class="comment">// Write the declaration offsets array</span></div>
+<div class="line"><a name="l02648"></a><span class="lineno"> 2648</span>   Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02649"></a><span class="lineno"> 2649</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4313da958a7f896206838434c7cfa00a" title="Record code for the offsets of each decl.">DECL_OFFSET</a>));</div>
+<div class="line"><a name="l02650"></a><span class="lineno"> 2650</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// # of declarations</span></div>
+<div class="line"><a name="l02651"></a><span class="lineno"> 2651</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// base decl ID</span></div>
+<div class="line"><a name="l02652"></a><span class="lineno"> 2652</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); <span class="comment">// declarations block</span></div>
+<div class="line"><a name="l02653"></a><span class="lineno"> 2653</span>   <span class="keywordtype">unsigned</span> DeclOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02654"></a><span class="lineno"> 2654</span>   Record.clear();</div>
+<div class="line"><a name="l02655"></a><span class="lineno"> 2655</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a4313da958a7f896206838434c7cfa00a" title="Record code for the offsets of each decl.">DECL_OFFSET</a>);</div>
+<div class="line"><a name="l02656"></a><span class="lineno"> 2656</span>   Record.push_back(DeclOffsets.size());</div>
+<div class="line"><a name="l02657"></a><span class="lineno"> 2657</span>   Record.push_back(FirstDeclID - <a class="code" href="group__ASTAST.html#ga6d344ffeb5a7cec8c1fd486fbc97db52" title="The number of declaration IDs that are predefined.">NUM_PREDEF_DECL_IDS</a>);</div>
+<div class="line"><a name="l02658"></a><span class="lineno"> 2658</span>   Stream.EmitRecordWithBlob(DeclOffsetAbbrev, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(DeclOffsets));</div>
+<div class="line"><a name="l02659"></a><span class="lineno"> 2659</span> }</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="keywordtype">void</span> ASTWriter::WriteFileDeclIDsMap() {</div>
+<div class="line"><a name="l02662"></a><span class="lineno"> 2662</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02663"></a><span class="lineno"> 2663</span>   RecordData Record;</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="comment">// Join the vectors of DeclIDs from all files.</span></div>
+<div class="line"><a name="l02666"></a><span class="lineno"> 2666</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<DeclID, 256></a> FileSortedIDs;</div>
+<div class="line"><a name="l02667"></a><span class="lineno"> 2667</span>   <span class="keywordflow">for</span> (FileDeclIDsTy::iterator</div>
+<div class="line"><a name="l02668"></a><span class="lineno"> 2668</span>          FI = FileDeclIDs.begin(), FE = FileDeclIDs.end(); FI != FE; ++FI) {</div>
+<div class="line"><a name="l02669"></a><span class="lineno"> 2669</span>     DeclIDInFileInfo &Info = *FI->second;</div>
+<div class="line"><a name="l02670"></a><span class="lineno"> 2670</span>     Info.FirstDeclIndex = FileSortedIDs.size();</div>
+<div class="line"><a name="l02671"></a><span class="lineno"> 2671</span>     <span class="keywordflow">for</span> (LocDeclIDsTy::iterator</div>
+<div class="line"><a name="l02672"></a><span class="lineno"> 2672</span>            DI = Info.DeclIDs.begin(), DE = Info.DeclIDs.end(); DI != DE; ++DI)</div>
+<div class="line"><a name="l02673"></a><span class="lineno"> 2673</span>       FileSortedIDs.push_back(DI->second);</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> </div>
+<div class="line"><a name="l02676"></a><span class="lineno"> 2676</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02677"></a><span class="lineno"> 2677</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a9fc367ee45502cf8ed5d6c08844a2fab" title="Record code for a file sorted array of DeclIDs in a module.">FILE_SORTED_DECLS</a>));</div>
+<div class="line"><a name="l02678"></a><span class="lineno"> 2678</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l02679"></a><span class="lineno"> 2679</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>   <span class="keywordtype">unsigned</span> AbbrevCode = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02681"></a><span class="lineno"> 2681</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a9fc367ee45502cf8ed5d6c08844a2fab" title="Record code for a file sorted array of DeclIDs in a module.">FILE_SORTED_DECLS</a>);</div>
+<div class="line"><a name="l02682"></a><span class="lineno"> 2682</span>   Record.push_back(FileSortedIDs.size());</div>
+<div class="line"><a name="l02683"></a><span class="lineno"> 2683</span>   Stream.EmitRecordWithBlob(AbbrevCode, Record, <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(FileSortedIDs));</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> </div>
+<div class="line"><a name="l02686"></a><span class="lineno"> 2686</span> <span class="keywordtype">void</span> ASTWriter::WriteComments() {</div>
+<div class="line"><a name="l02687"></a><span class="lineno"> 2687</span>   Stream.EnterSubblock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118aa9f52dcc2f4a40387dfeb1f5e395aa3f" title="The block containing comments.">COMMENTS_BLOCK_ID</a>, 3);</div>
+<div class="line"><a name="l02688"></a><span class="lineno"> 2688</span>   <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<RawComment *></a> RawComments = Context-><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="l02689"></a><span class="lineno"> 2689</span>   RecordData Record;</div>
+<div class="line"><a name="l02690"></a><span class="lineno"> 2690</span>   <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<RawComment *>::iterator</a> I = RawComments.begin(),</div>
+<div class="line"><a name="l02691"></a><span class="lineno"> 2691</span>                                         E = RawComments.end();</div>
+<div class="line"><a name="l02692"></a><span class="lineno"> 2692</span>        I != E; ++I) {</div>
+<div class="line"><a name="l02693"></a><span class="lineno"> 2693</span>     Record.clear();</div>
+<div class="line"><a name="l02694"></a><span class="lineno"> 2694</span>     AddSourceRange((*I)->getSourceRange(), Record);</div>
+<div class="line"><a name="l02695"></a><span class="lineno"> 2695</span>     Record.push_back((*I)->getKind());</div>
+<div class="line"><a name="l02696"></a><span class="lineno"> 2696</span>     Record.push_back((*I)->isTrailingComment());</div>
+<div class="line"><a name="l02697"></a><span class="lineno"> 2697</span>     Record.push_back((*I)->isAlmostTrailingComment());</div>
+<div class="line"><a name="l02698"></a><span class="lineno"> 2698</span>     Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#a726fbd35d19ae504d1b16706bb83a004a2fd8a4229c2c44082a2b5c4d82cafbf4">COMMENTS_RAW_COMMENT</a>, Record);</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>   Stream.ExitBlock();</div>
+<div class="line"><a name="l02701"></a><span class="lineno"> 2701</span> }</div>
+<div class="line"><a name="l02702"></a><span class="lineno"> 2702</span> </div>
+<div class="line"><a name="l02703"></a><span class="lineno"> 2703</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02704"></a><span class="lineno"> 2704</span> <span class="comment">// Global Method Pool and Selector Serialization</span></div>
+<div class="line"><a name="l02705"></a><span class="lineno"> 2705</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02706"></a><span class="lineno"> 2706</span> </div>
+<div class="line"><a name="l02707"></a><span class="lineno"> 2707</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l02708"></a><span class="lineno"> 2708</span> <span class="comment">// Trait used for the on-disk hash table used in the method pool.</span></div>
+<div class="line"><a name="l02709"></a><span class="lineno"> 2709</span> <span class="keyword">class </span>ASTMethodPoolTrait {</div>
+<div class="line"><a name="l02710"></a><span class="lineno"> 2710</span>   <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</div>
+<div class="line"><a name="l02711"></a><span class="lineno"> 2711</span> </div>
+<div class="line"><a name="l02712"></a><span class="lineno"> 2712</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l02713"></a><span class="lineno"> 2713</span>   <span class="keyword">typedef</span> <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> key_type;</div>
+<div class="line"><a name="l02714"></a><span class="lineno"> 2714</span>   <span class="keyword">typedef</span> key_type key_type_ref;</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>   <span class="keyword">struct </span>data_type {</div>
+<div class="line"><a name="l02717"></a><span class="lineno"> 2717</span>     <a class="code" href="namespaceclang_1_1serialization.html#a79d7521f50e764df679984a7df6bbd9c" title="An ID number that refers to an ObjC selector in an AST file.">SelectorID</a> <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="l02718"></a><span class="lineno"> 2718</span>     <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> Instance, Factory;</div>
+<div class="line"><a name="l02719"></a><span class="lineno"> 2719</span>   };</div>
+<div class="line"><a name="l02720"></a><span class="lineno"> 2720</span>   <span class="keyword">typedef</span> <span class="keyword">const</span> data_type& data_type_ref;</div>
+<div class="line"><a name="l02721"></a><span class="lineno"> 2721</span> </div>
+<div class="line"><a name="l02722"></a><span class="lineno"> 2722</span>   <span class="keyword">explicit</span> ASTMethodPoolTrait(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer) : Writer(Writer) { }</div>
+<div class="line"><a name="l02723"></a><span class="lineno"> 2723</span> </div>
+<div class="line"><a name="l02724"></a><span class="lineno"> 2724</span>   <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ComputeHash</a>(<a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> Sel) {</div>
+<div class="line"><a name="l02725"></a><span class="lineno"> 2725</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">serialization::ComputeHash</a>(Sel);</div>
+<div class="line"><a name="l02726"></a><span class="lineno"> 2726</span>   }</div>
+<div class="line"><a name="l02727"></a><span class="lineno"> 2727</span> </div>
+<div class="line"><a name="l02728"></a><span class="lineno"> 2728</span>   std::pair<unsigned,unsigned></div>
+<div class="line"><a name="l02729"></a><span class="lineno"> 2729</span>     EmitKeyDataLength(raw_ostream& Out, <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> Sel,</div>
+<div class="line"><a name="l02730"></a><span class="lineno"> 2730</span>                       data_type_ref Methods) {</div>
+<div class="line"><a name="l02731"></a><span class="lineno"> 2731</span>     <span class="keywordtype">unsigned</span> KeyLen = 2 + (Sel.<a class="code" href="classclang_1_1Selector.html#ab184ee3814539b0c0d4cfbf47c448cc7">getNumArgs</a>()? Sel.<a class="code" href="classclang_1_1Selector.html#ab184ee3814539b0c0d4cfbf47c448cc7">getNumArgs</a>() * 4 : 4);</div>
+<div class="line"><a name="l02732"></a><span class="lineno"> 2732</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, KeyLen);</div>
+<div class="line"><a name="l02733"></a><span class="lineno"> 2733</span>     <span class="keywordtype">unsigned</span> DataLen = 4 + 2 + 2; <span class="comment">// 2 bytes for each of the method counts</span></div>
+<div class="line"><a name="l02734"></a><span class="lineno"> 2734</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Instance; Method;</div>
+<div class="line"><a name="l02735"></a><span class="lineno"> 2735</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02736"></a><span class="lineno"> 2736</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02737"></a><span class="lineno"> 2737</span>         DataLen += 4;</div>
+<div class="line"><a name="l02738"></a><span class="lineno"> 2738</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Factory; Method;</div>
+<div class="line"><a name="l02739"></a><span class="lineno"> 2739</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02740"></a><span class="lineno"> 2740</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02741"></a><span class="lineno"> 2741</span>         DataLen += 4;</div>
+<div class="line"><a name="l02742"></a><span class="lineno"> 2742</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, DataLen);</div>
+<div class="line"><a name="l02743"></a><span class="lineno"> 2743</span>     <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l02744"></a><span class="lineno"> 2744</span>   }</div>
+<div class="line"><a name="l02745"></a><span class="lineno"> 2745</span> </div>
+<div class="line"><a name="l02746"></a><span class="lineno"> 2746</span>   <span class="keywordtype">void</span> EmitKey(raw_ostream& Out, <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> Sel, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l02747"></a><span class="lineno"> 2747</span>     uint64_t Start = Out.tell();</div>
+<div class="line"><a name="l02748"></a><span class="lineno"> 2748</span>     assert((Start >> 32) == 0 && <span class="stringliteral">"Selector key offset too large"</span>);</div>
+<div class="line"><a name="l02749"></a><span class="lineno"> 2749</span>     Writer.SetSelectorOffset(Sel, Start);</div>
+<div class="line"><a name="l02750"></a><span class="lineno"> 2750</span>     <span class="keywordtype">unsigned</span> N = Sel.<a class="code" href="classclang_1_1Selector.html#ab184ee3814539b0c0d4cfbf47c448cc7">getNumArgs</a>();</div>
+<div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, N);</div>
+<div class="line"><a name="l02752"></a><span class="lineno"> 2752</span>     <span class="keywordflow">if</span> (N == 0)</div>
+<div class="line"><a name="l02753"></a><span class="lineno"> 2753</span>       N = 1;</div>
+<div class="line"><a name="l02754"></a><span class="lineno"> 2754</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != N; ++I)</div>
+<div class="line"><a name="l02755"></a><span class="lineno"> 2755</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out,</div>
+<div class="line"><a name="l02756"></a><span class="lineno"> 2756</span>                     Writer.getIdentifierRef(Sel.<a class="code" href="classclang_1_1Selector.html#a79b49f4b847c9fea73947aad1fc1ccf8" title="Retrieve the identifier at a given position in the selector.">getIdentifierInfoForSlot</a>(I)));</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> </div>
+<div class="line"><a name="l02759"></a><span class="lineno"> 2759</span>   <span class="keywordtype">void</span> EmitData(raw_ostream& Out, key_type_ref,</div>
+<div class="line"><a name="l02760"></a><span class="lineno"> 2760</span>                 data_type_ref Methods, <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l02761"></a><span class="lineno"> 2761</span>     uint64_t Start = Out.tell(); (void)Start;</div>
+<div class="line"><a name="l02762"></a><span class="lineno"> 2762</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Methods.ID);</div>
+<div class="line"><a name="l02763"></a><span class="lineno"> 2763</span>     <span class="keywordtype">unsigned</span> NumInstanceMethods = 0;</div>
+<div class="line"><a name="l02764"></a><span class="lineno"> 2764</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Instance; Method;</div>
+<div class="line"><a name="l02765"></a><span class="lineno"> 2765</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02766"></a><span class="lineno"> 2766</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02767"></a><span class="lineno"> 2767</span>         ++NumInstanceMethods;</div>
+<div class="line"><a name="l02768"></a><span class="lineno"> 2768</span> </div>
+<div class="line"><a name="l02769"></a><span class="lineno"> 2769</span>     <span class="keywordtype">unsigned</span> NumFactoryMethods = 0;</div>
+<div class="line"><a name="l02770"></a><span class="lineno"> 2770</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Factory; Method;</div>
+<div class="line"><a name="l02771"></a><span class="lineno"> 2771</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02772"></a><span class="lineno"> 2772</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02773"></a><span class="lineno"> 2773</span>         ++NumFactoryMethods;</div>
+<div class="line"><a name="l02774"></a><span class="lineno"> 2774</span> </div>
+<div class="line"><a name="l02775"></a><span class="lineno"> 2775</span>     <span class="keywordtype">unsigned</span> InstanceBits = Methods.Instance.getBits();</div>
+<div class="line"><a name="l02776"></a><span class="lineno"> 2776</span>     assert(InstanceBits < 4);</div>
+<div class="line"><a name="l02777"></a><span class="lineno"> 2777</span>     <span class="keywordtype">unsigned</span> NumInstanceMethodsAndBits =</div>
+<div class="line"><a name="l02778"></a><span class="lineno"> 2778</span>         (NumInstanceMethods << 2) | InstanceBits;</div>
+<div class="line"><a name="l02779"></a><span class="lineno"> 2779</span>     <span class="keywordtype">unsigned</span> FactoryBits = Methods.Factory.getBits();</div>
+<div class="line"><a name="l02780"></a><span class="lineno"> 2780</span>     assert(FactoryBits < 4);</div>
+<div class="line"><a name="l02781"></a><span class="lineno"> 2781</span>     <span class="keywordtype">unsigned</span> NumFactoryMethodsAndBits = (NumFactoryMethods << 2) | FactoryBits;</div>
+<div class="line"><a name="l02782"></a><span class="lineno"> 2782</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, NumInstanceMethodsAndBits);</div>
+<div class="line"><a name="l02783"></a><span class="lineno"> 2783</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, NumFactoryMethodsAndBits);</div>
+<div class="line"><a name="l02784"></a><span class="lineno"> 2784</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Instance; Method;</div>
+<div class="line"><a name="l02785"></a><span class="lineno"> 2785</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02786"></a><span class="lineno"> 2786</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02787"></a><span class="lineno"> 2787</span>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Writer.getDeclID(Method->Method));</div>
+<div class="line"><a name="l02788"></a><span class="lineno"> 2788</span>     <span class="keywordflow">for</span> (<span class="keyword">const</span> <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *Method = &Methods.Factory; Method;</div>
+<div class="line"><a name="l02789"></a><span class="lineno"> 2789</span>          Method = Method-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>())</div>
+<div class="line"><a name="l02790"></a><span class="lineno"> 2790</span>       <span class="keywordflow">if</span> (Method->Method)</div>
+<div class="line"><a name="l02791"></a><span class="lineno"> 2791</span>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Writer.getDeclID(Method->Method));</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>     assert(Out.tell() - Start == DataLen && <span class="stringliteral">"Data length is wrong"</span>);</div>
+<div class="line"><a name="l02794"></a><span class="lineno"> 2794</span>   }</div>
+<div class="line"><a name="l02795"></a><span class="lineno"> 2795</span> };</div>
+<div class="line"><a name="l02796"></a><span class="lineno"> 2796</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l02797"></a><span class="lineno"> 2797</span> <span class="comment"></span></div>
+<div class="line"><a name="l02798"></a><span class="lineno"> 2798</span> <span class="comment">/// \brief Write ObjC data: selectors and the method pool.</span></div>
+<div class="line"><a name="l02799"></a><span class="lineno"> 2799</span> <span class="comment">///</span></div>
+<div class="line"><a name="l02800"></a><span class="lineno"> 2800</span> <span class="comment">/// The method pool contains both instance and factory methods, stored</span></div>
+<div class="line"><a name="l02801"></a><span class="lineno"> 2801</span> <span class="comment">/// in an on-disk hash table indexed by the selector. The hash table also</span></div>
+<div class="line"><a name="l02802"></a><span class="lineno"> 2802</span> <span class="comment">/// contains an empty entry for every other selector known to Sema.</span></div>
+<div class="line"><a name="l02803"></a><span class="lineno"> 2803</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteSelectors(<a class="code" href="classclang_1_1Sema.html" title="Sema - This implements semantic analysis and AST building for C.">Sema</a> &<a class="code" href="SemaOverload_8cpp.html#a2143ac7d927afc9feb28c9270c7ed86d">SemaRef</a>) {</div>
+<div class="line"><a name="l02804"></a><span class="lineno"> 2804</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02805"></a><span class="lineno"> 2805</span> </div>
+<div class="line"><a name="l02806"></a><span class="lineno"> 2806</span>   <span class="comment">// Do we have to do anything at all?</span></div>
+<div class="line"><a name="l02807"></a><span class="lineno"> 2807</span>   <span class="keywordflow">if</span> (SemaRef.<a class="code" href="classclang_1_1Sema.html#a9dfde7abbdace984ee6bd94ce97be5d5">MethodPool</a>.empty() && SelectorIDs.empty())</div>
+<div class="line"><a name="l02808"></a><span class="lineno"> 2808</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02809"></a><span class="lineno"> 2809</span>   <span class="keywordtype">unsigned</span> NumTableEntries = 0;</div>
+<div class="line"><a name="l02810"></a><span class="lineno"> 2810</span>   <span class="comment">// Create and write out the blob that contains selectors and the method pool.</span></div>
+<div class="line"><a name="l02811"></a><span class="lineno"> 2811</span>   {</div>
+<div class="line"><a name="l02812"></a><span class="lineno"> 2812</span>     <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<ASTMethodPoolTrait></a> Generator;</div>
+<div class="line"><a name="l02813"></a><span class="lineno"> 2813</span>     ASTMethodPoolTrait Trait(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02814"></a><span class="lineno"> 2814</span> </div>
+<div class="line"><a name="l02815"></a><span class="lineno"> 2815</span>     <span class="comment">// Create the on-disk hash table representation. We walk through every</span></div>
+<div class="line"><a name="l02816"></a><span class="lineno"> 2816</span>     <span class="comment">// selector we've seen and look it up in the method pool.</span></div>
+<div class="line"><a name="l02817"></a><span class="lineno"> 2817</span>     SelectorOffsets.resize(NextSelectorID - FirstSelectorID);</div>
+<div class="line"><a name="l02818"></a><span class="lineno"> 2818</span>     <span class="keywordflow">for</span> (llvm::DenseMap<Selector, SelectorID>::iterator</div>
+<div class="line"><a name="l02819"></a><span class="lineno"> 2819</span>              I = SelectorIDs.begin(), E = SelectorIDs.end();</div>
+<div class="line"><a name="l02820"></a><span class="lineno"> 2820</span>          I != E; ++I) {</div>
+<div class="line"><a name="l02821"></a><span class="lineno"> 2821</span>       <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> <a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a> = I->first;</div>
+<div class="line"><a name="l02822"></a><span class="lineno"> 2822</span>       Sema::GlobalMethodPool::iterator F = SemaRef.<a class="code" href="classclang_1_1Sema.html#a9dfde7abbdace984ee6bd94ce97be5d5">MethodPool</a>.find(S);</div>
+<div class="line"><a name="l02823"></a><span class="lineno"> 2823</span>       ASTMethodPoolTrait::data_type Data = {</div>
+<div class="line"><a name="l02824"></a><span class="lineno"> 2824</span>         I->second,</div>
+<div class="line"><a name="l02825"></a><span class="lineno"> 2825</span>         <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a>(),</div>
+<div class="line"><a name="l02826"></a><span class="lineno"> 2826</span>         <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a>()</div>
+<div class="line"><a name="l02827"></a><span class="lineno"> 2827</span>       };</div>
+<div class="line"><a name="l02828"></a><span class="lineno"> 2828</span>       <span class="keywordflow">if</span> (F != SemaRef.<a class="code" href="classclang_1_1Sema.html#a9dfde7abbdace984ee6bd94ce97be5d5">MethodPool</a>.end()) {</div>
+<div class="line"><a name="l02829"></a><span class="lineno"> 2829</span>         Data.Instance = F->second.first;</div>
+<div class="line"><a name="l02830"></a><span class="lineno"> 2830</span>         Data.Factory = F->second.second;</div>
+<div class="line"><a name="l02831"></a><span class="lineno"> 2831</span>       }</div>
+<div class="line"><a name="l02832"></a><span class="lineno"> 2832</span>       <span class="comment">// Only write this selector if it's not in an existing AST or something</span></div>
+<div class="line"><a name="l02833"></a><span class="lineno"> 2833</span>       <span class="comment">// changed.</span></div>
+<div class="line"><a name="l02834"></a><span class="lineno"> 2834</span>       <span class="keywordflow">if</span> (Chain && I->second < FirstSelectorID) {</div>
+<div class="line"><a name="l02835"></a><span class="lineno"> 2835</span>         <span class="comment">// Selector already exists. Did it change?</span></div>
+<div class="line"><a name="l02836"></a><span class="lineno"> 2836</span>         <span class="keywordtype">bool</span> changed = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02837"></a><span class="lineno"> 2837</span>         <span class="keywordflow">for</span> (<a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *M = &Data.Instance; !changed && M && M-><a class="code" href="structclang_1_1ObjCMethodList.html#a92770ff3cb7c8b72b0cdf07f2bda7b36">Method</a>;</div>
+<div class="line"><a name="l02838"></a><span class="lineno"> 2838</span>              M = M->getNext()) {</div>
+<div class="line"><a name="l02839"></a><span class="lineno"> 2839</span>           <span class="keywordflow">if</span> (!M->Method->isFromASTFile())</div>
+<div class="line"><a name="l02840"></a><span class="lineno"> 2840</span>             changed = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02841"></a><span class="lineno"> 2841</span>         }</div>
+<div class="line"><a name="l02842"></a><span class="lineno"> 2842</span>         <span class="keywordflow">for</span> (<a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> *M = &Data.Factory; !changed && M && M-><a class="code" href="structclang_1_1ObjCMethodList.html#a92770ff3cb7c8b72b0cdf07f2bda7b36">Method</a>;</div>
+<div class="line"><a name="l02843"></a><span class="lineno"> 2843</span>              M = M->getNext()) {</div>
+<div class="line"><a name="l02844"></a><span class="lineno"> 2844</span>           <span class="keywordflow">if</span> (!M->Method->isFromASTFile())</div>
+<div class="line"><a name="l02845"></a><span class="lineno"> 2845</span>             changed = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02846"></a><span class="lineno"> 2846</span>         }</div>
+<div class="line"><a name="l02847"></a><span class="lineno"> 2847</span>         <span class="keywordflow">if</span> (!changed)</div>
+<div class="line"><a name="l02848"></a><span class="lineno"> 2848</span>           <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02849"></a><span class="lineno"> 2849</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Data.Instance.Method || Data.Factory.Method) {</div>
+<div class="line"><a name="l02850"></a><span class="lineno"> 2850</span>         <span class="comment">// A new method pool entry.</span></div>
+<div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>         ++NumTableEntries;</div>
+<div class="line"><a name="l02852"></a><span class="lineno"> 2852</span>       }</div>
+<div class="line"><a name="l02853"></a><span class="lineno"> 2853</span>       Generator.insert(S, Data, Trait);</div>
+<div class="line"><a name="l02854"></a><span class="lineno"> 2854</span>     }</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>     <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l02857"></a><span class="lineno"> 2857</span>     <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> MethodPool;</div>
+<div class="line"><a name="l02858"></a><span class="lineno"> 2858</span>     uint32_t BucketOffset;</div>
+<div class="line"><a name="l02859"></a><span class="lineno"> 2859</span>     {</div>
+<div class="line"><a name="l02860"></a><span class="lineno"> 2860</span>       ASTMethodPoolTrait Trait(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02861"></a><span class="lineno"> 2861</span>       llvm::raw_svector_ostream Out(MethodPool);</div>
+<div class="line"><a name="l02862"></a><span class="lineno"> 2862</span>       <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l02863"></a><span class="lineno"> 2863</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l02864"></a><span class="lineno"> 2864</span>       BucketOffset = Generator.<a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html#a8b2855b6f4e23f0aa765a143178d4296">Emit</a>(Out, Trait);</div>
+<div class="line"><a name="l02865"></a><span class="lineno"> 2865</span>     }</div>
+<div class="line"><a name="l02866"></a><span class="lineno"> 2866</span> </div>
+<div class="line"><a name="l02867"></a><span class="lineno"> 2867</span>     <span class="comment">// Create a blob abbreviation</span></div>
+<div class="line"><a name="l02868"></a><span class="lineno"> 2868</span>     BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02869"></a><span class="lineno"> 2869</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a7c16a27867a801efcdf541a0b125c186" title="Record code for the Objective-C method pool,.">METHOD_POOL</a>));</div>
+<div class="line"><a name="l02870"></a><span class="lineno"> 2870</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l02871"></a><span class="lineno"> 2871</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l02872"></a><span class="lineno"> 2872</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02873"></a><span class="lineno"> 2873</span>     <span class="keywordtype">unsigned</span> MethodPoolAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02874"></a><span class="lineno"> 2874</span> </div>
+<div class="line"><a name="l02875"></a><span class="lineno"> 2875</span>     <span class="comment">// Write the method pool</span></div>
+<div class="line"><a name="l02876"></a><span class="lineno"> 2876</span>     RecordData Record;</div>
+<div class="line"><a name="l02877"></a><span class="lineno"> 2877</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a7c16a27867a801efcdf541a0b125c186" title="Record code for the Objective-C method pool,.">METHOD_POOL</a>);</div>
+<div class="line"><a name="l02878"></a><span class="lineno"> 2878</span>     Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l02879"></a><span class="lineno"> 2879</span>     Record.push_back(NumTableEntries);</div>
+<div class="line"><a name="l02880"></a><span class="lineno"> 2880</span>     Stream.EmitRecordWithBlob(MethodPoolAbbrev, Record, MethodPool.str());</div>
+<div class="line"><a name="l02881"></a><span class="lineno"> 2881</span> </div>
+<div class="line"><a name="l02882"></a><span class="lineno"> 2882</span>     <span class="comment">// Create a blob abbreviation for the selector table offsets.</span></div>
+<div class="line"><a name="l02883"></a><span class="lineno"> 2883</span>     Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l02884"></a><span class="lineno"> 2884</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61acc88a4a761cef90b76afd0ef0000d241" title="Record code for the table of offsets into the Objective-C method pool.">SELECTOR_OFFSETS</a>));</div>
+<div class="line"><a name="l02885"></a><span class="lineno"> 2885</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// size</span></div>
+<div class="line"><a name="l02886"></a><span class="lineno"> 2886</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// first ID</span></div>
+<div class="line"><a name="l02887"></a><span class="lineno"> 2887</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l02888"></a><span class="lineno"> 2888</span>     <span class="keywordtype">unsigned</span> SelectorOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l02889"></a><span class="lineno"> 2889</span> </div>
+<div class="line"><a name="l02890"></a><span class="lineno"> 2890</span>     <span class="comment">// Write the selector offsets table.</span></div>
+<div class="line"><a name="l02891"></a><span class="lineno"> 2891</span>     Record.clear();</div>
+<div class="line"><a name="l02892"></a><span class="lineno"> 2892</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61acc88a4a761cef90b76afd0ef0000d241" title="Record code for the table of offsets into the Objective-C method pool.">SELECTOR_OFFSETS</a>);</div>
+<div class="line"><a name="l02893"></a><span class="lineno"> 2893</span>     Record.push_back(SelectorOffsets.size());</div>
+<div class="line"><a name="l02894"></a><span class="lineno"> 2894</span>     Record.push_back(FirstSelectorID - <a class="code" href="namespaceclang_1_1serialization.html#a7b0f3edb430dfb8ac7eb4e9061b0ed3c" title="The number of predefined selector IDs.">NUM_PREDEF_SELECTOR_IDS</a>);</div>
+<div class="line"><a name="l02895"></a><span class="lineno"> 2895</span>     Stream.EmitRecordWithBlob(SelectorOffsetAbbrev, Record,</div>
+<div class="line"><a name="l02896"></a><span class="lineno"> 2896</span>                               <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(SelectorOffsets));</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> }</div>
+<div class="line"><a name="l02899"></a><span class="lineno"> 2899</span> <span class="comment"></span></div>
+<div class="line"><a name="l02900"></a><span class="lineno"> 2900</span> <span class="comment">/// \brief Write the selectors referenced in @selector expression into AST file.</span></div>
+<div class="line"><a name="l02901"></a><span class="lineno"> 2901</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteReferencedSelectorsPool(<a class="code" href="classclang_1_1Sema.html" title="Sema - This implements semantic analysis and AST building for C.">Sema</a> &SemaRef) {</div>
+<div class="line"><a name="l02902"></a><span class="lineno"> 2902</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l02903"></a><span class="lineno"> 2903</span>   <span class="keywordflow">if</span> (SemaRef.<a class="code" href="classclang_1_1Sema.html#a76e0f9770d33cfe0183e09d53913d424">ReferencedSelectors</a>.empty())</div>
+<div class="line"><a name="l02904"></a><span class="lineno"> 2904</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02905"></a><span class="lineno"> 2905</span> </div>
+<div class="line"><a name="l02906"></a><span class="lineno"> 2906</span>   RecordData Record;</div>
+<div class="line"><a name="l02907"></a><span class="lineno"> 2907</span> </div>
+<div class="line"><a name="l02908"></a><span class="lineno"> 2908</span>   <span class="comment">// Note: this writes out all references even for a dependent AST. But it is</span></div>
+<div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>   <span class="comment">// very tricky to fix, and given that @selector shouldn't really appear in</span></div>
+<div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>   <span class="comment">// headers, probably not worth it. It's not a correctness issue.</span></div>
+<div class="line"><a name="l02911"></a><span class="lineno"> 2911</span>   <span class="keywordflow">for</span> (DenseMap<Selector, SourceLocation>::iterator S =</div>
+<div class="line"><a name="l02912"></a><span class="lineno"> 2912</span>        SemaRef.<a class="code" href="classclang_1_1Sema.html#a76e0f9770d33cfe0183e09d53913d424">ReferencedSelectors</a>.begin(),</div>
+<div class="line"><a name="l02913"></a><span class="lineno"> 2913</span>        E = SemaRef.<a class="code" href="classclang_1_1Sema.html#a76e0f9770d33cfe0183e09d53913d424">ReferencedSelectors</a>.end(); S != E; ++<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>) {</div>
+<div class="line"><a name="l02914"></a><span class="lineno"> 2914</span>     <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> Sel = (*S).first;</div>
+<div class="line"><a name="l02915"></a><span class="lineno"> 2915</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> Loc = (*S).second;</div>
+<div class="line"><a name="l02916"></a><span class="lineno"> 2916</span>     AddSelectorRef(Sel, Record);</div>
+<div class="line"><a name="l02917"></a><span class="lineno"> 2917</span>     AddSourceLocation(Loc, Record);</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>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a93aa05f186dba3624d66ced74fcb25ff" title="Record code for referenced selector pool.">REFERENCED_SELECTOR_POOL</a>, Record);</div>
+<div class="line"><a name="l02920"></a><span class="lineno"> 2920</span> }</div>
+<div class="line"><a name="l02921"></a><span class="lineno"> 2921</span> </div>
+<div class="line"><a name="l02922"></a><span class="lineno"> 2922</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l02923"></a><span class="lineno"> 2923</span> <span class="comment">// Identifier Table Serialization</span></div>
+<div class="line"><a name="l02924"></a><span class="lineno"> 2924</span> <span class="comment">//===----------------------------------------------------------------------===//</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="keyword">namespace </span>{</div>
+<div class="line"><a name="l02927"></a><span class="lineno"> 2927</span> <span class="keyword">class </span>ASTIdentifierTableTrait {</div>
+<div class="line"><a name="l02928"></a><span class="lineno"> 2928</span>   <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</div>
+<div class="line"><a name="l02929"></a><span class="lineno"> 2929</span>   <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP;</div>
+<div class="line"><a name="l02930"></a><span class="lineno"> 2930</span>   <a class="code" href="classclang_1_1IdentifierResolver.html">IdentifierResolver</a> &IdResolver;</div>
+<div class="line"><a name="l02931"></a><span class="lineno"> 2931</span>   <span class="keywordtype">bool</span> IsModule;</div>
+<div class="line"><a name="l02932"></a><span class="lineno"> 2932</span>   <span class="comment"></span></div>
+<div class="line"><a name="l02933"></a><span class="lineno"> 2933</span> <span class="comment">  /// \brief Determines whether this is an "interesting" identifier</span></div>
+<div class="line"><a name="l02934"></a><span class="lineno"> 2934</span> <span class="comment">  /// that needs a full IdentifierInfo structure written into the hash</span></div>
+<div class="line"><a name="l02935"></a><span class="lineno"> 2935</span> <span class="comment">  /// table.</span></div>
+<div class="line"><a name="l02936"></a><span class="lineno"> 2936</span> <span class="comment"></span>  <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467" title="Whether the given identifier is "interesting".">isInterestingIdentifier</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II, <a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *&Macro) {</div>
+<div class="line"><a name="l02937"></a><span class="lineno"> 2937</span>     <span class="keywordflow">if</span> (II-><a class="code" href="classclang_1_1IdentifierInfo.html#a01f4ca68b921105e106245db58477858" title="Return true if this token has been poisoned.">isPoisoned</a>() ||</div>
+<div class="line"><a name="l02938"></a><span class="lineno"> 2938</span>         II-><a class="code" href="classclang_1_1IdentifierInfo.html#a414c31340fa68167c2a913956b13c83f">isExtensionToken</a>() ||</div>
+<div class="line"><a name="l02939"></a><span class="lineno"> 2939</span>         II-><a class="code" href="classclang_1_1IdentifierInfo.html#aa2ab615730340e5c7e982a50b78f2db3">getObjCOrBuiltinID</a>() ||</div>
+<div class="line"><a name="l02940"></a><span class="lineno"> 2940</span>         II-><a class="code" href="classclang_1_1IdentifierInfo.html#a1733079b2f3d7d0614fa2b76dbf28ff8" title="True if RevertTokenIDToIdentifier() was called.">hasRevertedTokenIDToIdentifier</a>() ||</div>
+<div class="line"><a name="l02941"></a><span class="lineno"> 2941</span>         II-><a class="code" href="classclang_1_1IdentifierInfo.html#a161c9f2897518aab65455b22ceb2bf15">getFETokenInfo</a><<span class="keywordtype">void</span>>())</div>
+<div class="line"><a name="l02942"></a><span class="lineno"> 2942</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02943"></a><span class="lineno"> 2943</span> </div>
+<div class="line"><a name="l02944"></a><span class="lineno"> 2944</span>     <span class="keywordflow">return</span> hadMacroDefinition(II, Macro);</div>
+<div class="line"><a name="l02945"></a><span class="lineno"> 2945</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="keywordtype">bool</span> hadMacroDefinition(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II, <a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *&Macro) {</div>
+<div class="line"><a name="l02948"></a><span class="lineno"> 2948</span>     <span class="keywordflow">if</span> (!II-><a class="code" href="classclang_1_1IdentifierInfo.html#aec139c9a39e529ba15c88efdb4152758" title="Returns true if this identifier was #defined to some value at any moment. In this case there should b...">hadMacroDefinition</a>())</div>
+<div class="line"><a name="l02949"></a><span class="lineno"> 2949</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02950"></a><span class="lineno"> 2950</span> </div>
+<div class="line"><a name="l02951"></a><span class="lineno"> 2951</span>     <span class="keywordflow">if</span> (Macro || (Macro = PP.<a class="code" href="classclang_1_1Preprocessor.html#a5ddfa2be3b0fd4cdf82e45034da6f35a" title="Given an identifier, return the (probably #undef'd) MacroInfo representing the most recent macro defi...">getMacroDirectiveHistory</a>(II))) {</div>
+<div class="line"><a name="l02952"></a><span class="lineno"> 2952</span>       <span class="keywordflow">if</span> (!IsModule)</div>
+<div class="line"><a name="l02953"></a><span class="lineno"> 2953</span>         <span class="keywordflow">return</span> !<a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda">shouldIgnoreMacro</a>(Macro, IsModule, PP);</div>
+<div class="line"><a name="l02954"></a><span class="lineno"> 2954</span>       <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> ModID;</div>
+<div class="line"><a name="l02955"></a><span class="lineno"> 2955</span>       <span class="keywordflow">if</span> (getFirstPublicSubmoduleMacro(Macro, ModID))</div>
+<div class="line"><a name="l02956"></a><span class="lineno"> 2956</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02957"></a><span class="lineno"> 2957</span>     }</div>
+<div class="line"><a name="l02958"></a><span class="lineno"> 2958</span> </div>
+<div class="line"><a name="l02959"></a><span class="lineno"> 2959</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02960"></a><span class="lineno"> 2960</span>   }</div>
+<div class="line"><a name="l02961"></a><span class="lineno"> 2961</span> </div>
+<div class="line"><a name="l02962"></a><span class="lineno"> 2962</span>   <a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *getFirstPublicSubmoduleMacro(<a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *MD,</div>
+<div class="line"><a name="l02963"></a><span class="lineno"> 2963</span>                                                   <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> &ModID) {</div>
+<div class="line"><a name="l02964"></a><span class="lineno"> 2964</span>     ModID = 0;</div>
+<div class="line"><a name="l02965"></a><span class="lineno"> 2965</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *DefMD = getPublicSubmoduleMacro(MD, ModID))</div>
+<div class="line"><a name="l02966"></a><span class="lineno"> 2966</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda">shouldIgnoreMacro</a>(DefMD, IsModule, PP))</div>
+<div class="line"><a name="l02967"></a><span class="lineno"> 2967</span>         <span class="keywordflow">return</span> DefMD;</div>
+<div class="line"><a name="l02968"></a><span class="lineno"> 2968</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02969"></a><span class="lineno"> 2969</span>   }</div>
+<div class="line"><a name="l02970"></a><span class="lineno"> 2970</span> </div>
+<div class="line"><a name="l02971"></a><span class="lineno"> 2971</span>   <a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *getNextPublicSubmoduleMacro(<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *MD,</div>
+<div class="line"><a name="l02972"></a><span class="lineno"> 2972</span>                                                  <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> &ModID) {</div>
+<div class="line"><a name="l02973"></a><span class="lineno"> 2973</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *</div>
+<div class="line"><a name="l02974"></a><span class="lineno"> 2974</span>           DefMD = getPublicSubmoduleMacro(MD-><a class="code" href="classclang_1_1MacroDirective.html#a070eb21f41b137f73f0c034e4f48426f" title="Get previous definition of the macro with the same name.">getPrevious</a>(), ModID))</div>
+<div class="line"><a name="l02975"></a><span class="lineno"> 2975</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTWriter_8cpp.html#ac7188b3799175e4e7dc0098d88009fda">shouldIgnoreMacro</a>(DefMD, IsModule, PP))</div>
+<div class="line"><a name="l02976"></a><span class="lineno"> 2976</span>         <span class="keywordflow">return</span> DefMD;</div>
+<div class="line"><a name="l02977"></a><span class="lineno"> 2977</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02978"></a><span class="lineno"> 2978</span>   }</div>
+<div class="line"><a name="l02979"></a><span class="lineno"> 2979</span> <span class="comment"></span></div>
+<div class="line"><a name="l02980"></a><span class="lineno"> 2980</span> <span class="comment">  /// \brief Traverses the macro directives history and returns the latest</span></div>
+<div class="line"><a name="l02981"></a><span class="lineno"> 2981</span> <span class="comment">  /// macro that is public and not undefined in the same submodule.</span></div>
+<div class="line"><a name="l02982"></a><span class="lineno"> 2982</span> <span class="comment">  /// A macro that is defined in submodule A and undefined in submodule B,</span></div>
+<div class="line"><a name="l02983"></a><span class="lineno"> 2983</span> <span class="comment">  /// will still be considered as defined/exported from submodule A.</span></div>
+<div class="line"><a name="l02984"></a><span class="lineno"> 2984</span> <span class="comment"></span>  <a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *getPublicSubmoduleMacro(<a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *MD,</div>
+<div class="line"><a name="l02985"></a><span class="lineno"> 2985</span>                                              <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> &ModID) {</div>
+<div class="line"><a name="l02986"></a><span class="lineno"> 2986</span>     <span class="keywordflow">if</span> (!MD)</div>
+<div class="line"><a name="l02987"></a><span class="lineno"> 2987</span>       <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l02988"></a><span class="lineno"> 2988</span> </div>
+<div class="line"><a name="l02989"></a><span class="lineno"> 2989</span>     <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> OrigModID = ModID;</div>
+<div class="line"><a name="l02990"></a><span class="lineno"> 2990</span>     <span class="keywordtype">bool</span> isUndefined = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02991"></a><span class="lineno"> 2991</span>     <a class="code" href="classllvm_1_1Optional.html">Optional<bool></a> isPublic;</div>
+<div class="line"><a name="l02992"></a><span class="lineno"> 2992</span>     <span class="keywordflow">for</span> (; MD; MD = MD-><a class="code" href="classclang_1_1MacroDirective.html#a070eb21f41b137f73f0c034e4f48426f" title="Get previous definition of the macro with the same name.">getPrevious</a>()) {</div>
+<div class="line"><a name="l02993"></a><span class="lineno"> 2993</span>       <span class="keywordflow">if</span> (MD-><a class="code" href="classclang_1_1MacroDirective.html#a1519b1695c44b3008d7af1bdfe879c33" title="Determine whether this macro directive is hidden.">isHidden</a>())</div>
+<div class="line"><a name="l02994"></a><span class="lineno"> 2994</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02995"></a><span class="lineno"> 2995</span> </div>
+<div class="line"><a name="l02996"></a><span class="lineno"> 2996</span>       <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> ThisModID = getSubmoduleID(MD);</div>
+<div class="line"><a name="l02997"></a><span class="lineno"> 2997</span>       <span class="keywordflow">if</span> (ThisModID == 0) {</div>
+<div class="line"><a name="l02998"></a><span class="lineno"> 2998</span>         isUndefined = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02999"></a><span class="lineno"> 2999</span>         isPublic = <a class="code" href="classllvm_1_1Optional.html">Optional<bool></a>();</div>
+<div class="line"><a name="l03000"></a><span class="lineno"> 3000</span>         <span class="keywordflow">continue</span>;</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>       <span class="keywordflow">if</span> (ThisModID != ModID){</div>
+<div class="line"><a name="l03003"></a><span class="lineno"> 3003</span>         ModID = ThisModID;</div>
+<div class="line"><a name="l03004"></a><span class="lineno"> 3004</span>         isUndefined = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03005"></a><span class="lineno"> 3005</span>         isPublic = <a class="code" href="classllvm_1_1Optional.html">Optional<bool></a>();</div>
+<div class="line"><a name="l03006"></a><span class="lineno"> 3006</span>       }</div>
+<div class="line"><a name="l03007"></a><span class="lineno"> 3007</span>       <span class="comment">// We are looking for a definition in a different submodule than the one</span></div>
+<div class="line"><a name="l03008"></a><span class="lineno"> 3008</span>       <span class="comment">// that we started with. If a submodule has re-definitions of the same</span></div>
+<div class="line"><a name="l03009"></a><span class="lineno"> 3009</span>       <span class="comment">// macro, only the last definition will be used as the "exported" one.</span></div>
+<div class="line"><a name="l03010"></a><span class="lineno"> 3010</span>       <span class="keywordflow">if</span> (ModID == OrigModID)</div>
+<div class="line"><a name="l03011"></a><span class="lineno"> 3011</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03012"></a><span class="lineno"> 3012</span> </div>
+<div class="line"><a name="l03013"></a><span class="lineno"> 3013</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *DefMD = dyn_cast<DefMacroDirective>(MD)) {</div>
+<div class="line"><a name="l03014"></a><span class="lineno"> 3014</span>         <span class="keywordflow">if</span> (!isUndefined && (!isPublic.hasValue() || isPublic.getValue()))</div>
+<div class="line"><a name="l03015"></a><span class="lineno"> 3015</span>           <span class="keywordflow">return</span> DefMD;</div>
+<div class="line"><a name="l03016"></a><span class="lineno"> 3016</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03017"></a><span class="lineno"> 3017</span>       }</div>
+<div class="line"><a name="l03018"></a><span class="lineno"> 3018</span> </div>
+<div class="line"><a name="l03019"></a><span class="lineno"> 3019</span>       <span class="keywordflow">if</span> (isa<UndefMacroDirective>(MD)) {</div>
+<div class="line"><a name="l03020"></a><span class="lineno"> 3020</span>         isUndefined = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03021"></a><span class="lineno"> 3021</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03022"></a><span class="lineno"> 3022</span>       }</div>
+<div class="line"><a name="l03023"></a><span class="lineno"> 3023</span> </div>
+<div class="line"><a name="l03024"></a><span class="lineno"> 3024</span>       <a class="code" href="classclang_1_1VisibilityMacroDirective.html" title="A directive for setting the module visibility of a macro.">VisibilityMacroDirective</a> *VisMD = cast<VisibilityMacroDirective>(MD);</div>
+<div class="line"><a name="l03025"></a><span class="lineno"> 3025</span>       <span class="keywordflow">if</span> (!isPublic.hasValue())</div>
+<div class="line"><a name="l03026"></a><span class="lineno"> 3026</span>         isPublic = VisMD-><a class="code" href="classclang_1_1VisibilityMacroDirective.html#a70dea8bc30bfb87a362fe9fbc622e767" title="Determine whether this macro is part of the public API of its module.">isPublic</a>();</div>
+<div class="line"><a name="l03027"></a><span class="lineno"> 3027</span>     }</div>
+<div class="line"><a name="l03028"></a><span class="lineno"> 3028</span> </div>
+<div class="line"><a name="l03029"></a><span class="lineno"> 3029</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l03030"></a><span class="lineno"> 3030</span>   }</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>   <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> getSubmoduleID(<a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *MD) {</div>
+<div class="line"><a name="l03033"></a><span class="lineno"> 3033</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *DefMD = dyn_cast<DefMacroDirective>(MD)) {</div>
+<div class="line"><a name="l03034"></a><span class="lineno"> 3034</span>       <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = DefMD->getInfo();</div>
+<div class="line"><a name="l03035"></a><span class="lineno"> 3035</span>       <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> ID = MI-><a class="code" href="classclang_1_1MacroInfo.html#aee87ecd793c4882479d2db6e5e67b4d7" title="Retrieve the global ID of the module that owns this particular macro info.">getOwningModuleID</a>())</div>
+<div class="line"><a name="l03036"></a><span class="lineno"> 3036</span>         <span class="keywordflow">return</span> ID;</div>
+<div class="line"><a name="l03037"></a><span class="lineno"> 3037</span>       <span class="keywordflow">return</span> Writer.inferSubmoduleIDFromLocation(MI-><a class="code" href="classclang_1_1MacroInfo.html#a24668f58f405f65ea486b4214e13b641" title="Return the location that the macro was defined at.">getDefinitionLoc</a>());</div>
+<div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>     }</div>
+<div class="line"><a name="l03039"></a><span class="lineno"> 3039</span>     <span class="keywordflow">return</span> Writer.inferSubmoduleIDFromLocation(MD-><a class="code" href="classclang_1_1MacroDirective.html#a25efa3067619bbcc0c7e41d6147d9325">getLocation</a>());</div>
+<div class="line"><a name="l03040"></a><span class="lineno"> 3040</span>   }</div>
+<div class="line"><a name="l03041"></a><span class="lineno"> 3041</span> </div>
+<div class="line"><a name="l03042"></a><span class="lineno"> 3042</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l03043"></a><span class="lineno"> 3043</span>   <span class="keyword">typedef</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>* key_type;</div>
+<div class="line"><a name="l03044"></a><span class="lineno"> 3044</span>   <span class="keyword">typedef</span> key_type  key_type_ref;</div>
+<div class="line"><a name="l03045"></a><span class="lineno"> 3045</span> </div>
+<div class="line"><a name="l03046"></a><span class="lineno"> 3046</span>   <span class="keyword">typedef</span> <a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> data_type;</div>
+<div class="line"><a name="l03047"></a><span class="lineno"> 3047</span>   <span class="keyword">typedef</span> data_type data_type_ref;</div>
+<div class="line"><a name="l03048"></a><span class="lineno"> 3048</span> </div>
+<div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>   ASTIdentifierTableTrait(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer, <a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP, </div>
+<div class="line"><a name="l03050"></a><span class="lineno"> 3050</span>                           <a class="code" href="classclang_1_1IdentifierResolver.html">IdentifierResolver</a> &IdResolver, <span class="keywordtype">bool</span> IsModule)</div>
+<div class="line"><a name="l03051"></a><span class="lineno"> 3051</span>     : Writer(Writer), PP(PP), IdResolver(IdResolver), IsModule(IsModule) { }</div>
+<div class="line"><a name="l03052"></a><span class="lineno"> 3052</span> </div>
+<div class="line"><a name="l03053"></a><span class="lineno"> 3053</span>   <span class="keyword">static</span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ComputeHash</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>* II) {</div>
+<div class="line"><a name="l03054"></a><span class="lineno"> 3054</span>     <span class="keywordflow">return</span> llvm::HashString(II-><a class="code" href="classclang_1_1IdentifierInfo.html#a94caec6a16e508e8ca39eacd278bd2c5" title="Return the actual identifier string.">getName</a>());</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> </div>
+<div class="line"><a name="l03057"></a><span class="lineno"> 3057</span>   std::pair<unsigned,unsigned></div>
+<div class="line"><a name="l03058"></a><span class="lineno"> 3058</span>   EmitKeyDataLength(raw_ostream& Out, <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>* II, <a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> ID) {</div>
+<div class="line"><a name="l03059"></a><span class="lineno"> 3059</span>     <span class="keywordtype">unsigned</span> KeyLen = II-><a class="code" href="classclang_1_1IdentifierInfo.html#a72b08bd4bebd4f8f6c6aeaaa3769fcd2" title="Efficiently return the length of this identifier info.">getLength</a>() + 1;</div>
+<div class="line"><a name="l03060"></a><span class="lineno"> 3060</span>     <span class="keywordtype">unsigned</span> DataLen = 4; <span class="comment">// 4 bytes for the persistent ID << 1</span></div>
+<div class="line"><a name="l03061"></a><span class="lineno"> 3061</span>     <a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *Macro = 0;</div>
+<div class="line"><a name="l03062"></a><span class="lineno"> 3062</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467" title="Whether the given identifier is "interesting".">isInterestingIdentifier</a>(II, Macro)) {</div>
+<div class="line"><a name="l03063"></a><span class="lineno"> 3063</span>       DataLen += 2; <span class="comment">// 2 bytes for builtin ID</span></div>
+<div class="line"><a name="l03064"></a><span class="lineno"> 3064</span>       DataLen += 2; <span class="comment">// 2 bytes for flags</span></div>
+<div class="line"><a name="l03065"></a><span class="lineno"> 3065</span>       <span class="keywordflow">if</span> (hadMacroDefinition(II, Macro)) {</div>
+<div class="line"><a name="l03066"></a><span class="lineno"> 3066</span>         DataLen += 4; <span class="comment">// MacroDirectives offset.</span></div>
+<div class="line"><a name="l03067"></a><span class="lineno"> 3067</span>         <span class="keywordflow">if</span> (IsModule) {</div>
+<div class="line"><a name="l03068"></a><span class="lineno"> 3068</span>           <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> ModID;</div>
+<div class="line"><a name="l03069"></a><span class="lineno"> 3069</span>           <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *</div>
+<div class="line"><a name="l03070"></a><span class="lineno"> 3070</span>                  DefMD = getFirstPublicSubmoduleMacro(Macro, ModID);</div>
+<div class="line"><a name="l03071"></a><span class="lineno"> 3071</span>                  DefMD; DefMD = getNextPublicSubmoduleMacro(DefMD, ModID)) {</div>
+<div class="line"><a name="l03072"></a><span class="lineno"> 3072</span>             DataLen += 4; <span class="comment">// MacroInfo ID.</span></div>
+<div class="line"><a name="l03073"></a><span class="lineno"> 3073</span>           }</div>
+<div class="line"><a name="l03074"></a><span class="lineno"> 3074</span>           DataLen += 4;</div>
+<div class="line"><a name="l03075"></a><span class="lineno"> 3075</span>         }</div>
+<div class="line"><a name="l03076"></a><span class="lineno"> 3076</span>       }</div>
+<div class="line"><a name="l03077"></a><span class="lineno"> 3077</span> </div>
+<div class="line"><a name="l03078"></a><span class="lineno"> 3078</span>       <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1IdentifierResolver_1_1iterator.html">IdentifierResolver::iterator</a> D = IdResolver.begin(II),</div>
+<div class="line"><a name="l03079"></a><span class="lineno"> 3079</span>                                      DEnd = IdResolver.end();</div>
+<div class="line"><a name="l03080"></a><span class="lineno"> 3080</span>            D != DEnd; ++D)</div>
+<div class="line"><a name="l03081"></a><span class="lineno"> 3081</span>         DataLen += <span class="keyword">sizeof</span>(<a class="code" href="namespaceclang_1_1serialization.html#af3f9c681595246da4bb499bd210e7f36" title="An ID number that refers to a declaration in an AST file.">DeclID</a>);</div>
+<div class="line"><a name="l03082"></a><span class="lineno"> 3082</span>     }</div>
+<div class="line"><a name="l03083"></a><span class="lineno"> 3083</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, DataLen);</div>
+<div class="line"><a name="l03084"></a><span class="lineno"> 3084</span>     <span class="comment">// We emit the key length after the data length so that every</span></div>
+<div class="line"><a name="l03085"></a><span class="lineno"> 3085</span>     <span class="comment">// string is preceded by a 16-bit length. This matches the PTH</span></div>
+<div class="line"><a name="l03086"></a><span class="lineno"> 3086</span>     <span class="comment">// format for storing identifiers.</span></div>
+<div class="line"><a name="l03087"></a><span class="lineno"> 3087</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, KeyLen);</div>
+<div class="line"><a name="l03088"></a><span class="lineno"> 3088</span>     <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l03089"></a><span class="lineno"> 3089</span>   }</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>   <span class="keywordtype">void</span> EmitKey(raw_ostream& Out, <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>* II,</div>
+<div class="line"><a name="l03092"></a><span class="lineno"> 3092</span>                <span class="keywordtype">unsigned</span> KeyLen) {</div>
+<div class="line"><a name="l03093"></a><span class="lineno"> 3093</span>     <span class="comment">// Record the location of the key data.  This is used when generating</span></div>
+<div class="line"><a name="l03094"></a><span class="lineno"> 3094</span>     <span class="comment">// the mapping from persistent IDs to strings.</span></div>
+<div class="line"><a name="l03095"></a><span class="lineno"> 3095</span>     Writer.SetIdentifierOffset(II, Out.tell());</div>
+<div class="line"><a name="l03096"></a><span class="lineno"> 3096</span>     Out.write(II-><a class="code" href="classclang_1_1IdentifierInfo.html#ae69779507a5e059eecf91dcfcee5d958" title="Return the beginning of the actual null-terminated string for this identifier.">getNameStart</a>(), KeyLen);</div>
+<div class="line"><a name="l03097"></a><span class="lineno"> 3097</span>   }</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>   <span class="keywordtype">void</span> EmitData(raw_ostream& Out, <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>* II,</div>
+<div class="line"><a name="l03100"></a><span class="lineno"> 3100</span>                 <a class="code" href="namespaceclang_1_1serialization.html#aa7a1e72ed4b332bf9f49c7410e175cad" title="An ID number that refers to an identifier in an AST file.">IdentID</a> ID, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l03101"></a><span class="lineno"> 3101</span>     <a class="code" href="classclang_1_1MacroDirective.html" title="Encapsulates changes to the "macros namespace" (the location where the macro name became active...">MacroDirective</a> *Macro = 0;</div>
+<div class="line"><a name="l03102"></a><span class="lineno"> 3102</span>     <span class="keywordflow">if</span> (!<a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467" title="Whether the given identifier is "interesting".">isInterestingIdentifier</a>(II, Macro)) {</div>
+<div class="line"><a name="l03103"></a><span class="lineno"> 3103</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, ID << 1);</div>
+<div class="line"><a name="l03104"></a><span class="lineno"> 3104</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03105"></a><span class="lineno"> 3105</span>     }</div>
+<div class="line"><a name="l03106"></a><span class="lineno"> 3106</span> </div>
+<div class="line"><a name="l03107"></a><span class="lineno"> 3107</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, (ID << 1) | 0x01);</div>
+<div class="line"><a name="l03108"></a><span class="lineno"> 3108</span>     uint32_t Bits = (uint32_t)II-><a class="code" href="classclang_1_1IdentifierInfo.html#aa2ab615730340e5c7e982a50b78f2db3">getObjCOrBuiltinID</a>();</div>
+<div class="line"><a name="l03109"></a><span class="lineno"> 3109</span>     assert((Bits & 0xffff) == Bits && <span class="stringliteral">"ObjCOrBuiltinID too big for ASTReader."</span>);</div>
+<div class="line"><a name="l03110"></a><span class="lineno"> 3110</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, Bits);</div>
+<div class="line"><a name="l03111"></a><span class="lineno"> 3111</span>     Bits = 0;</div>
+<div class="line"><a name="l03112"></a><span class="lineno"> 3112</span>     <span class="keywordtype">bool</span> HadMacroDefinition = hadMacroDefinition(II, Macro);</div>
+<div class="line"><a name="l03113"></a><span class="lineno"> 3113</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(HadMacroDefinition);</div>
+<div class="line"><a name="l03114"></a><span class="lineno"> 3114</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(IsModule);</div>
+<div class="line"><a name="l03115"></a><span class="lineno"> 3115</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(II-><a class="code" href="classclang_1_1IdentifierInfo.html#a414c31340fa68167c2a913956b13c83f">isExtensionToken</a>());</div>
+<div class="line"><a name="l03116"></a><span class="lineno"> 3116</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(II-><a class="code" href="classclang_1_1IdentifierInfo.html#a01f4ca68b921105e106245db58477858" title="Return true if this token has been poisoned.">isPoisoned</a>());</div>
+<div class="line"><a name="l03117"></a><span class="lineno"> 3117</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(II-><a class="code" href="classclang_1_1IdentifierInfo.html#a1733079b2f3d7d0614fa2b76dbf28ff8" title="True if RevertTokenIDToIdentifier() was called.">hasRevertedTokenIDToIdentifier</a>());</div>
+<div class="line"><a name="l03118"></a><span class="lineno"> 3118</span>     Bits = (Bits << 1) | <span class="keywordtype">unsigned</span>(II-><a class="code" href="classclang_1_1IdentifierInfo.html#ae199dd77b39e59429e1a05407f3be741">isCPlusPlusOperatorKeyword</a>());</div>
+<div class="line"><a name="l03119"></a><span class="lineno"> 3119</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, Bits);</div>
+<div class="line"><a name="l03120"></a><span class="lineno"> 3120</span> </div>
+<div class="line"><a name="l03121"></a><span class="lineno"> 3121</span>     <span class="keywordflow">if</span> (HadMacroDefinition) {</div>
+<div class="line"><a name="l03122"></a><span class="lineno"> 3122</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Writer.getMacroDirectivesOffset(II));</div>
+<div class="line"><a name="l03123"></a><span class="lineno"> 3123</span>       <span class="keywordflow">if</span> (IsModule) {</div>
+<div class="line"><a name="l03124"></a><span class="lineno"> 3124</span>         <span class="comment">// Write the IDs of macros coming from different submodules.</span></div>
+<div class="line"><a name="l03125"></a><span class="lineno"> 3125</span>         <a class="code" href="namespaceclang_1_1serialization.html#a4bd106e4761bfc2a1b2ba41b391d3073" title="An ID number that refers to a submodule in a module file.">SubmoduleID</a> ModID;</div>
+<div class="line"><a name="l03126"></a><span class="lineno"> 3126</span>         <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DefMacroDirective.html" title="A directive for a defined macro or a macro imported from a module.">DefMacroDirective</a> *</div>
+<div class="line"><a name="l03127"></a><span class="lineno"> 3127</span>                DefMD = getFirstPublicSubmoduleMacro(Macro, ModID);</div>
+<div class="line"><a name="l03128"></a><span class="lineno"> 3128</span>                DefMD; DefMD = getNextPublicSubmoduleMacro(DefMD, ModID)) {</div>
+<div class="line"><a name="l03129"></a><span class="lineno"> 3129</span>           <a class="code" href="namespaceclang_1_1serialization.html#aa45d728abd3462ec39bbf90af1efb7dc" title="An ID number that refers to a macro in an AST file.">MacroID</a> InfoID = Writer.getMacroID(DefMD->getInfo());</div>
+<div class="line"><a name="l03130"></a><span class="lineno"> 3130</span>           assert(InfoID);</div>
+<div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>           <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, InfoID);</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>         <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</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>     }</div>
+<div class="line"><a name="l03136"></a><span class="lineno"> 3136</span> </div>
+<div class="line"><a name="l03137"></a><span class="lineno"> 3137</span>     <span class="comment">// Emit the declaration IDs in reverse order, because the</span></div>
+<div class="line"><a name="l03138"></a><span class="lineno"> 3138</span>     <span class="comment">// IdentifierResolver provides the declarations as they would be</span></div>
+<div class="line"><a name="l03139"></a><span class="lineno"> 3139</span>     <span class="comment">// visible (e.g., the function "stat" would come before the struct</span></div>
+<div class="line"><a name="l03140"></a><span class="lineno"> 3140</span>     <span class="comment">// "stat"), but the ASTReader adds declarations to the end of the list </span></div>
+<div class="line"><a name="l03141"></a><span class="lineno"> 3141</span>     <span class="comment">// (so we need to see the struct "status" before the function "status").</span></div>
+<div class="line"><a name="l03142"></a><span class="lineno"> 3142</span>     <span class="comment">// Only emit declarations that aren't from a chained PCH, though.</span></div>
+<div class="line"><a name="l03143"></a><span class="lineno"> 3143</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<Decl *, 16></a> Decls(IdResolver.begin(II),</div>
+<div class="line"><a name="l03144"></a><span class="lineno"> 3144</span>                                   IdResolver.end());</div>
+<div class="line"><a name="l03145"></a><span class="lineno"> 3145</span>     <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<Decl *>::reverse_iterator</a> D = Decls.rbegin(),</div>
+<div class="line"><a name="l03146"></a><span class="lineno"> 3146</span>                                                 DEnd = Decls.rend();</div>
+<div class="line"><a name="l03147"></a><span class="lineno"> 3147</span>          D != DEnd; ++D)</div>
+<div class="line"><a name="l03148"></a><span class="lineno"> 3148</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Writer.getDeclID(getMostRecentLocalDecl(*D)));</div>
+<div class="line"><a name="l03149"></a><span class="lineno"> 3149</span>   }</div>
+<div class="line"><a name="l03150"></a><span class="lineno"> 3150</span> <span class="comment"></span></div>
+<div class="line"><a name="l03151"></a><span class="lineno"> 3151</span> <span class="comment">  /// \brief Returns the most recent local decl or the given decl if there are</span></div>
+<div class="line"><a name="l03152"></a><span class="lineno"> 3152</span> <span class="comment">  /// no local ones. The given decl is assumed to be the most recent one.</span></div>
+<div class="line"><a name="l03153"></a><span class="lineno"> 3153</span> <span class="comment"></span>  <a class="code" href="classclang_1_1Decl.html">Decl</a> *getMostRecentLocalDecl(<a class="code" href="classclang_1_1Decl.html">Decl</a> *Orig) {</div>
+<div class="line"><a name="l03154"></a><span class="lineno"> 3154</span>     <span class="comment">// The only way a "from AST file" decl would be more recent from a local one</span></div>
+<div class="line"><a name="l03155"></a><span class="lineno"> 3155</span>     <span class="comment">// is if it came from a module.</span></div>
+<div class="line"><a name="l03156"></a><span class="lineno"> 3156</span>     <span class="keywordflow">if</span> (!PP.<a class="code" href="classclang_1_1Preprocessor.html#a0c1874f57abd66b9fa0d282e6cab5cd6">getLangOpts</a>().Modules)</div>
+<div class="line"><a name="l03157"></a><span class="lineno"> 3157</span>       <span class="keywordflow">return</span> Orig;</div>
+<div class="line"><a name="l03158"></a><span class="lineno"> 3158</span> </div>
+<div class="line"><a name="l03159"></a><span class="lineno"> 3159</span>     <span class="comment">// Look for a local in the decl chain.</span></div>
+<div class="line"><a name="l03160"></a><span class="lineno"> 3160</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Decl.html">Decl</a> *D = Orig; D; D = D-><a class="code" href="classclang_1_1Decl.html#a89eb85283ad2678e94841d45c0a30c3a" title="Retrieve the previous declaration that declares the same entity as this declaration, or NULL if there is no previous declaration.">getPreviousDecl</a>()) {</div>
+<div class="line"><a name="l03161"></a><span class="lineno"> 3161</span>       <span class="keywordflow">if</span> (!D->isFromASTFile())</div>
+<div class="line"><a name="l03162"></a><span class="lineno"> 3162</span>         <span class="keywordflow">return</span> D;</div>
+<div class="line"><a name="l03163"></a><span class="lineno"> 3163</span>       <span class="comment">// If we come up a decl from a (chained-)PCH stop since we won't find a</span></div>
+<div class="line"><a name="l03164"></a><span class="lineno"> 3164</span>       <span class="comment">// local one.</span></div>
+<div class="line"><a name="l03165"></a><span class="lineno"> 3165</span>       <span class="keywordflow">if</span> (D->getOwningModuleID() == 0)</div>
+<div class="line"><a name="l03166"></a><span class="lineno"> 3166</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03167"></a><span class="lineno"> 3167</span>     }</div>
+<div class="line"><a name="l03168"></a><span class="lineno"> 3168</span> </div>
+<div class="line"><a name="l03169"></a><span class="lineno"> 3169</span>     <span class="keywordflow">return</span> Orig;</div>
+<div class="line"><a name="l03170"></a><span class="lineno"> 3170</span>   }</div>
+<div class="line"><a name="l03171"></a><span class="lineno"> 3171</span> };</div>
+<div class="line"><a name="l03172"></a><span class="lineno"> 3172</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l03173"></a><span class="lineno"> 3173</span> <span class="comment"></span></div>
+<div class="line"><a name="l03174"></a><span class="lineno"> 3174</span> <span class="comment">/// \brief Write the identifier table into the AST file.</span></div>
+<div class="line"><a name="l03175"></a><span class="lineno"> 3175</span> <span class="comment">///</span></div>
+<div class="line"><a name="l03176"></a><span class="lineno"> 3176</span> <span class="comment">/// The identifier table consists of a blob containing string data</span></div>
+<div class="line"><a name="l03177"></a><span class="lineno"> 3177</span> <span class="comment">/// (the actual identifiers themselves) and a separate "offsets" index</span></div>
+<div class="line"><a name="l03178"></a><span class="lineno"> 3178</span> <span class="comment">/// that maps identifier IDs to locations within the blob.</span></div>
+<div class="line"><a name="l03179"></a><span class="lineno"> 3179</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteIdentifierTable(<a class="code" href="classclang_1_1Preprocessor.html">Preprocessor</a> &PP, </div>
+<div class="line"><a name="l03180"></a><span class="lineno"> 3180</span>                                      <a class="code" href="classclang_1_1IdentifierResolver.html">IdentifierResolver</a> &IdResolver,</div>
+<div class="line"><a name="l03181"></a><span class="lineno"> 3181</span>                                      <span class="keywordtype">bool</span> IsModule) {</div>
+<div class="line"><a name="l03182"></a><span class="lineno"> 3182</span>   <span class="keyword">using namespace </span>llvm;</div>
+<div class="line"><a name="l03183"></a><span class="lineno"> 3183</span> </div>
+<div class="line"><a name="l03184"></a><span class="lineno"> 3184</span>   <span class="comment">// Create and write out the blob that contains the identifier</span></div>
+<div class="line"><a name="l03185"></a><span class="lineno"> 3185</span>   <span class="comment">// strings.</span></div>
+<div class="line"><a name="l03186"></a><span class="lineno"> 3186</span>   {</div>
+<div class="line"><a name="l03187"></a><span class="lineno"> 3187</span>     <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<ASTIdentifierTableTrait></a> Generator;</div>
+<div class="line"><a name="l03188"></a><span class="lineno"> 3188</span>     ASTIdentifierTableTrait Trait(*<span class="keyword">this</span>, PP, IdResolver, IsModule);</div>
+<div class="line"><a name="l03189"></a><span class="lineno"> 3189</span> </div>
+<div class="line"><a name="l03190"></a><span class="lineno"> 3190</span>     <span class="comment">// Look for any identifiers that were named while processing the</span></div>
+<div class="line"><a name="l03191"></a><span class="lineno"> 3191</span>     <span class="comment">// headers, but are otherwise not needed. We add these to the hash</span></div>
+<div class="line"><a name="l03192"></a><span class="lineno"> 3192</span>     <span class="comment">// table to enable checking of the predefines buffer in the case</span></div>
+<div class="line"><a name="l03193"></a><span class="lineno"> 3193</span>     <span class="comment">// where the user adds new macro definitions when building the AST</span></div>
+<div class="line"><a name="l03194"></a><span class="lineno"> 3194</span>     <span class="comment">// file.</span></div>
+<div class="line"><a name="l03195"></a><span class="lineno"> 3195</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1IdentifierTable.html#ab88e0655c8323dd275ee724f2b81590b">IdentifierTable::iterator</a> ID = PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#af1ca339d373da2401780e00e7c9060ff">begin</a>(),</div>
+<div class="line"><a name="l03196"></a><span class="lineno"> 3196</span>                                 IDEnd = PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#a7eb0c3430698ef71d9cac56a64a70ad8">end</a>();</div>
+<div class="line"><a name="l03197"></a><span class="lineno"> 3197</span>          ID != IDEnd; ++<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="l03198"></a><span class="lineno"> 3198</span>       getIdentifierRef(ID->second);</div>
+<div class="line"><a name="l03199"></a><span class="lineno"> 3199</span> </div>
+<div class="line"><a name="l03200"></a><span class="lineno"> 3200</span>     <span class="comment">// Create the on-disk hash table representation. We only store offsets</span></div>
+<div class="line"><a name="l03201"></a><span class="lineno"> 3201</span>     <span class="comment">// for identifiers that appear here for the first time.</span></div>
+<div class="line"><a name="l03202"></a><span class="lineno"> 3202</span>     IdentifierOffsets.resize(NextIdentID - FirstIdentID);</div>
+<div class="line"><a name="l03203"></a><span class="lineno"> 3203</span>     <span class="keywordflow">for</span> (llvm::DenseMap<const IdentifierInfo *, IdentID>::iterator</div>
+<div class="line"><a name="l03204"></a><span class="lineno"> 3204</span>            ID = IdentifierIDs.begin(), IDEnd = IdentifierIDs.end();</div>
+<div class="line"><a name="l03205"></a><span class="lineno"> 3205</span>          ID != IDEnd; ++<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="l03206"></a><span class="lineno"> 3206</span>       assert(ID->first && <span class="stringliteral">"NULL identifier in identifier table"</span>);</div>
+<div class="line"><a name="l03207"></a><span class="lineno"> 3207</span>       <span class="keywordflow">if</span> (!Chain || !ID->first->isFromAST() || </div>
+<div class="line"><a name="l03208"></a><span class="lineno"> 3208</span>           ID->first->hasChangedSinceDeserialization())</div>
+<div class="line"><a name="l03209"></a><span class="lineno"> 3209</span>         Generator.insert(const_cast<IdentifierInfo *>(ID->first), ID->second,</div>
+<div class="line"><a name="l03210"></a><span class="lineno"> 3210</span>                          Trait);</div>
+<div class="line"><a name="l03211"></a><span class="lineno"> 3211</span>     }</div>
+<div class="line"><a name="l03212"></a><span class="lineno"> 3212</span> </div>
+<div class="line"><a name="l03213"></a><span class="lineno"> 3213</span>     <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l03214"></a><span class="lineno"> 3214</span>     <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> <a class="code" href="classclang_1_1IdentifierTable.html" title="Implements an efficient mapping from strings to IdentifierInfo nodes.">IdentifierTable</a>;</div>
+<div class="line"><a name="l03215"></a><span class="lineno"> 3215</span>     uint32_t BucketOffset;</div>
+<div class="line"><a name="l03216"></a><span class="lineno"> 3216</span>     {</div>
+<div class="line"><a name="l03217"></a><span class="lineno"> 3217</span>       ASTIdentifierTableTrait Trait(*<span class="keyword">this</span>, PP, IdResolver, IsModule);</div>
+<div class="line"><a name="l03218"></a><span class="lineno"> 3218</span>       llvm::raw_svector_ostream Out(IdentifierTable);</div>
+<div class="line"><a name="l03219"></a><span class="lineno"> 3219</span>       <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l03220"></a><span class="lineno"> 3220</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l03221"></a><span class="lineno"> 3221</span>       BucketOffset = Generator.<a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html#a8b2855b6f4e23f0aa765a143178d4296">Emit</a>(Out, Trait);</div>
+<div class="line"><a name="l03222"></a><span class="lineno"> 3222</span>     }</div>
+<div class="line"><a name="l03223"></a><span class="lineno"> 3223</span> </div>
+<div class="line"><a name="l03224"></a><span class="lineno"> 3224</span>     <span class="comment">// Create a blob abbreviation</span></div>
+<div class="line"><a name="l03225"></a><span class="lineno"> 3225</span>     BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>     Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61afade7e75c6741cbe69ce1c7f892939ed" title="Record code for the identifier table.">IDENTIFIER_TABLE</a>));</div>
+<div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));</div>
+<div class="line"><a name="l03228"></a><span class="lineno"> 3228</span>     Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l03229"></a><span class="lineno"> 3229</span>     <span class="keywordtype">unsigned</span> IDTableAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l03230"></a><span class="lineno"> 3230</span> </div>
+<div class="line"><a name="l03231"></a><span class="lineno"> 3231</span>     <span class="comment">// Write the identifier table</span></div>
+<div class="line"><a name="l03232"></a><span class="lineno"> 3232</span>     RecordData Record;</div>
+<div class="line"><a name="l03233"></a><span class="lineno"> 3233</span>     Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61afade7e75c6741cbe69ce1c7f892939ed" title="Record code for the identifier table.">IDENTIFIER_TABLE</a>);</div>
+<div class="line"><a name="l03234"></a><span class="lineno"> 3234</span>     Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l03235"></a><span class="lineno"> 3235</span>     Stream.EmitRecordWithBlob(IDTableAbbrev, Record, IdentifierTable.str());</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> </div>
+<div class="line"><a name="l03238"></a><span class="lineno"> 3238</span>   <span class="comment">// Write the offsets table for identifier IDs.</span></div>
+<div class="line"><a name="l03239"></a><span class="lineno"> 3239</span>   BitCodeAbbrev *Abbrev = <span class="keyword">new</span> BitCodeAbbrev();</div>
+<div class="line"><a name="l03240"></a><span class="lineno"> 3240</span>   Abbrev->Add(BitCodeAbbrevOp(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a75f75aefa510fb3df97b05166d6ebc77" title="Record code for the table of offsets of each identifier ID.">IDENTIFIER_OFFSET</a>));</div>
+<div class="line"><a name="l03241"></a><span class="lineno"> 3241</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// # of identifiers</span></div>
+<div class="line"><a name="l03242"></a><span class="lineno"> 3242</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); <span class="comment">// first ID</span></div>
+<div class="line"><a name="l03243"></a><span class="lineno"> 3243</span>   Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));</div>
+<div class="line"><a name="l03244"></a><span class="lineno"> 3244</span>   <span class="keywordtype">unsigned</span> IdentifierOffsetAbbrev = Stream.EmitAbbrev(Abbrev);</div>
+<div class="line"><a name="l03245"></a><span class="lineno"> 3245</span> </div>
+<div class="line"><a name="l03246"></a><span class="lineno"> 3246</span> <span class="preprocessor">#ifndef NDEBUG</span></div>
+<div class="line"><a name="l03247"></a><span class="lineno"> 3247</span> <span class="preprocessor"></span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = IdentifierOffsets.size(); I != N; ++I)</div>
+<div class="line"><a name="l03248"></a><span class="lineno"> 3248</span>     assert(IdentifierOffsets[I] && <span class="stringliteral">"Missing identifier offset?"</span>);</div>
+<div class="line"><a name="l03249"></a><span class="lineno"> 3249</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l03250"></a><span class="lineno"> 3250</span> <span class="preprocessor"></span>  </div>
+<div class="line"><a name="l03251"></a><span class="lineno"> 3251</span>   RecordData Record;</div>
+<div class="line"><a name="l03252"></a><span class="lineno"> 3252</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a75f75aefa510fb3df97b05166d6ebc77" title="Record code for the table of offsets of each identifier ID.">IDENTIFIER_OFFSET</a>);</div>
+<div class="line"><a name="l03253"></a><span class="lineno"> 3253</span>   Record.push_back(IdentifierOffsets.size());</div>
+<div class="line"><a name="l03254"></a><span class="lineno"> 3254</span>   Record.push_back(FirstIdentID - <a class="code" href="namespaceclang_1_1serialization.html#a48765b7822f9a3d3e9df6fbc7966819a" title="The number of predefined identifier IDs.">NUM_PREDEF_IDENT_IDS</a>);</div>
+<div class="line"><a name="l03255"></a><span class="lineno"> 3255</span>   Stream.EmitRecordWithBlob(IdentifierOffsetAbbrev, Record,</div>
+<div class="line"><a name="l03256"></a><span class="lineno"> 3256</span>                             <a class="code" href="ASTWriter_8cpp.html#a5c6341076bde2012a21db25f4e2e3792">data</a>(IdentifierOffsets));</div>
+<div class="line"><a name="l03257"></a><span class="lineno"> 3257</span> }</div>
+<div class="line"><a name="l03258"></a><span class="lineno"> 3258</span> </div>
+<div class="line"><a name="l03259"></a><span class="lineno"> 3259</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l03260"></a><span class="lineno"> 3260</span> <span class="comment">// DeclContext's Name Lookup Table Serialization</span></div>
+<div class="line"><a name="l03261"></a><span class="lineno"> 3261</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l03262"></a><span class="lineno"> 3262</span> </div>
+<div class="line"><a name="l03263"></a><span class="lineno"> 3263</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l03264"></a><span class="lineno"> 3264</span> <span class="comment">// Trait used for the on-disk hash table used in the method pool.</span></div>
+<div class="line"><a name="l03265"></a><span class="lineno"> 3265</span> <span class="keyword">class </span>ASTDeclContextNameLookupTrait {</div>
+<div class="line"><a name="l03266"></a><span class="lineno"> 3266</span>   <a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer;</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> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l03269"></a><span class="lineno"> 3269</span>   <span class="keyword">typedef</span> <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> key_type;</div>
+<div class="line"><a name="l03270"></a><span class="lineno"> 3270</span>   <span class="keyword">typedef</span> key_type key_type_ref;</div>
+<div class="line"><a name="l03271"></a><span class="lineno"> 3271</span> </div>
+<div class="line"><a name="l03272"></a><span class="lineno"> 3272</span>   <span class="keyword">typedef</span> <a class="code" href="classclang_1_1DeclContext.html#ac25dc34eabe6c4e035c76dd3329e8530">DeclContext::lookup_result</a> data_type;</div>
+<div class="line"><a name="l03273"></a><span class="lineno"> 3273</span>   <span class="keyword">typedef</span> <span class="keyword">const</span> data_type& data_type_ref;</div>
+<div class="line"><a name="l03274"></a><span class="lineno"> 3274</span> </div>
+<div class="line"><a name="l03275"></a><span class="lineno"> 3275</span>   <span class="keyword">explicit</span> ASTDeclContextNameLookupTrait(<a class="code" href="classclang_1_1ASTWriter.html" title="Writes an AST file containing the contents of a translation unit.">ASTWriter</a> &Writer) : Writer(Writer) { }</div>
+<div class="line"><a name="l03276"></a><span class="lineno"> 3276</span> </div>
+<div class="line"><a name="l03277"></a><span class="lineno"> 3277</span>   <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ComputeHash</a>(<a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name) {</div>
+<div class="line"><a name="l03278"></a><span class="lineno"> 3278</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="l03279"></a><span class="lineno"> 3279</span>     ID.AddInteger(Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>());</div>
+<div class="line"><a name="l03280"></a><span class="lineno"> 3280</span> </div>
+<div class="line"><a name="l03281"></a><span class="lineno"> 3281</span>     <span class="keywordflow">switch</span> (Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>()) {</div>
+<div class="line"><a name="l03282"></a><span class="lineno"> 3282</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>       ID.AddString(Name.<a class="code" href="classclang_1_1DeclarationName.html#a1ac2d6e470af6bb6313c390760a1e155">getAsIdentifierInfo</a>()-><a class="code" href="classclang_1_1IdentifierInfo.html#a94caec6a16e508e8ca39eacd278bd2c5" title="Return the actual identifier string.">getName</a>());</div>
+<div class="line"><a name="l03284"></a><span class="lineno"> 3284</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03285"></a><span class="lineno"> 3285</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l03286"></a><span class="lineno"> 3286</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l03287"></a><span class="lineno"> 3287</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l03288"></a><span class="lineno"> 3288</span>       ID.AddInteger(<a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">serialization::ComputeHash</a>(Name.<a class="code" href="classclang_1_1DeclarationName.html#a7fa7ca653938afcfe36dddee0172c662">getObjCSelector</a>()));</div>
+<div class="line"><a name="l03289"></a><span class="lineno"> 3289</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03290"></a><span class="lineno"> 3290</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l03291"></a><span class="lineno"> 3291</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l03292"></a><span class="lineno"> 3292</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l03293"></a><span class="lineno"> 3293</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03294"></a><span class="lineno"> 3294</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l03295"></a><span class="lineno"> 3295</span>       ID.AddInteger(Name.<a class="code" href="classclang_1_1DeclarationName.html#a6c76421a3cdb33248e6ae27ceba55caf">getCXXOverloadedOperator</a>());</div>
+<div class="line"><a name="l03296"></a><span class="lineno"> 3296</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03297"></a><span class="lineno"> 3297</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l03298"></a><span class="lineno"> 3298</span>       ID.AddString(Name.<a class="code" href="classclang_1_1DeclarationName.html#aa637e5e3c416faae09e4c0e168b1b31d">getCXXLiteralIdentifier</a>()-><a class="code" href="classclang_1_1IdentifierInfo.html#a94caec6a16e508e8ca39eacd278bd2c5" title="Return the actual identifier string.">getName</a>());</div>
+<div class="line"><a name="l03299"></a><span class="lineno"> 3299</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l03300"></a><span class="lineno"> 3300</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03301"></a><span class="lineno"> 3301</span>     }</div>
+<div class="line"><a name="l03302"></a><span class="lineno"> 3302</span> </div>
+<div class="line"><a name="l03303"></a><span class="lineno"> 3303</span>     <span class="keywordflow">return</span> ID.ComputeHash();</div>
+<div class="line"><a name="l03304"></a><span class="lineno"> 3304</span>   }</div>
+<div class="line"><a name="l03305"></a><span class="lineno"> 3305</span> </div>
+<div class="line"><a name="l03306"></a><span class="lineno"> 3306</span>   std::pair<unsigned,unsigned></div>
+<div class="line"><a name="l03307"></a><span class="lineno"> 3307</span>     EmitKeyDataLength(raw_ostream& Out, <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name,</div>
+<div class="line"><a name="l03308"></a><span class="lineno"> 3308</span>                       data_type_ref Lookup) {</div>
+<div class="line"><a name="l03309"></a><span class="lineno"> 3309</span>     <span class="keywordtype">unsigned</span> KeyLen = 1;</div>
+<div class="line"><a name="l03310"></a><span class="lineno"> 3310</span>     <span class="keywordflow">switch</span> (Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>()) {</div>
+<div class="line"><a name="l03311"></a><span class="lineno"> 3311</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l03312"></a><span class="lineno"> 3312</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l03313"></a><span class="lineno"> 3313</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l03314"></a><span class="lineno"> 3314</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l03315"></a><span class="lineno"> 3315</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l03316"></a><span class="lineno"> 3316</span>       KeyLen += 4;</div>
+<div class="line"><a name="l03317"></a><span class="lineno"> 3317</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03318"></a><span class="lineno"> 3318</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l03319"></a><span class="lineno"> 3319</span>       KeyLen += 1;</div>
+<div class="line"><a name="l03320"></a><span class="lineno"> 3320</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03321"></a><span class="lineno"> 3321</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l03322"></a><span class="lineno"> 3322</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l03323"></a><span class="lineno"> 3323</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l03324"></a><span class="lineno"> 3324</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l03325"></a><span class="lineno"> 3325</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03326"></a><span class="lineno"> 3326</span>     }</div>
+<div class="line"><a name="l03327"></a><span class="lineno"> 3327</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, KeyLen);</div>
+<div class="line"><a name="l03328"></a><span class="lineno"> 3328</span> </div>
+<div class="line"><a name="l03329"></a><span class="lineno"> 3329</span>     <span class="comment">// 2 bytes for num of decls and 4 for each DeclID.</span></div>
+<div class="line"><a name="l03330"></a><span class="lineno"> 3330</span>     <span class="keywordtype">unsigned</span> DataLen = 2 + 4 * Lookup.size();</div>
+<div class="line"><a name="l03331"></a><span class="lineno"> 3331</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, DataLen);</div>
+<div class="line"><a name="l03332"></a><span class="lineno"> 3332</span> </div>
+<div class="line"><a name="l03333"></a><span class="lineno"> 3333</span>     <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l03334"></a><span class="lineno"> 3334</span>   }</div>
+<div class="line"><a name="l03335"></a><span class="lineno"> 3335</span> </div>
+<div class="line"><a name="l03336"></a><span class="lineno"> 3336</span>   <span class="keywordtype">void</span> EmitKey(raw_ostream& Out, <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l03337"></a><span class="lineno"> 3337</span>     <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l03338"></a><span class="lineno"> 3338</span> </div>
+<div class="line"><a name="l03339"></a><span class="lineno"> 3339</span>     <a class="code" href="namespaceclang_1_1io.html#afa2c9b85c298452a9b69c25c7a2a14fb">Emit8</a>(Out, Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>());</div>
+<div class="line"><a name="l03340"></a><span class="lineno"> 3340</span>     <span class="keywordflow">switch</span> (Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>()) {</div>
+<div class="line"><a name="l03341"></a><span class="lineno"> 3341</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l03342"></a><span class="lineno"> 3342</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, Writer.getIdentifierRef(Name.<a class="code" href="classclang_1_1DeclarationName.html#a1ac2d6e470af6bb6313c390760a1e155">getAsIdentifierInfo</a>()));</div>
+<div class="line"><a name="l03343"></a><span class="lineno"> 3343</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03344"></a><span class="lineno"> 3344</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l03345"></a><span class="lineno"> 3345</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l03346"></a><span class="lineno"> 3346</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l03347"></a><span class="lineno"> 3347</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, Writer.getSelectorRef(Name.<a class="code" href="classclang_1_1DeclarationName.html#a7fa7ca653938afcfe36dddee0172c662">getObjCSelector</a>()));</div>
+<div class="line"><a name="l03348"></a><span class="lineno"> 3348</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03349"></a><span class="lineno"> 3349</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l03350"></a><span class="lineno"> 3350</span>       assert(Name.<a class="code" href="classclang_1_1DeclarationName.html#a6c76421a3cdb33248e6ae27ceba55caf">getCXXOverloadedOperator</a>() < <a class="code" href="namespaceclang.html#ad937c281bb5b868d30a72c9bf137baf6abe98443ec8203c0159dcdbcb2e993471">NUM_OVERLOADED_OPERATORS</a> &&</div>
+<div class="line"><a name="l03351"></a><span class="lineno"> 3351</span>              <span class="stringliteral">"Invalid operator?"</span>);</div>
+<div class="line"><a name="l03352"></a><span class="lineno"> 3352</span>       <a class="code" href="namespaceclang_1_1io.html#afa2c9b85c298452a9b69c25c7a2a14fb">Emit8</a>(Out, Name.<a class="code" href="classclang_1_1DeclarationName.html#a6c76421a3cdb33248e6ae27ceba55caf">getCXXOverloadedOperator</a>());</div>
+<div class="line"><a name="l03353"></a><span class="lineno"> 3353</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03354"></a><span class="lineno"> 3354</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l03355"></a><span class="lineno"> 3355</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">Emit32</a>(Out, Writer.getIdentifierRef(Name.<a class="code" href="classclang_1_1DeclarationName.html#aa637e5e3c416faae09e4c0e168b1b31d">getCXXLiteralIdentifier</a>()));</div>
+<div class="line"><a name="l03356"></a><span class="lineno"> 3356</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03357"></a><span class="lineno"> 3357</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l03358"></a><span class="lineno"> 3358</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l03359"></a><span class="lineno"> 3359</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l03360"></a><span class="lineno"> 3360</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l03361"></a><span class="lineno"> 3361</span>       <span class="keywordflow">return</span>;</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> </div>
+<div class="line"><a name="l03364"></a><span class="lineno"> 3364</span>     llvm_unreachable(<span class="stringliteral">"Invalid name kind?"</span>);</div>
+<div class="line"><a name="l03365"></a><span class="lineno"> 3365</span>   }</div>
+<div class="line"><a name="l03366"></a><span class="lineno"> 3366</span> </div>
+<div class="line"><a name="l03367"></a><span class="lineno"> 3367</span>   <span class="keywordtype">void</span> EmitData(raw_ostream& Out, key_type_ref,</div>
+<div class="line"><a name="l03368"></a><span class="lineno"> 3368</span>                 data_type Lookup, <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l03369"></a><span class="lineno"> 3369</span>     uint64_t Start = Out.tell(); (void)Start;</div>
+<div class="line"><a name="l03370"></a><span class="lineno"> 3370</span>     <a class="code" href="namespaceclang_1_1io.html#a1848a202a9f2af56ab1a9fac6ea25d4b">clang::io::Emit16</a>(Out, Lookup.size());</div>
+<div class="line"><a name="l03371"></a><span class="lineno"> 3371</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1NamedDecl.html">DeclContext::lookup_iterator</a> I = Lookup.begin(), E = Lookup.end();</div>
+<div class="line"><a name="l03372"></a><span class="lineno"> 3372</span>          I != E; ++I)</div>
+<div class="line"><a name="l03373"></a><span class="lineno"> 3373</span>       <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, Writer.GetDeclRef(*I));</div>
+<div class="line"><a name="l03374"></a><span class="lineno"> 3374</span> </div>
+<div class="line"><a name="l03375"></a><span class="lineno"> 3375</span>     assert(Out.tell() - Start == DataLen && <span class="stringliteral">"Data length is wrong"</span>);</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> };</div>
+<div class="line"><a name="l03378"></a><span class="lineno"> 3378</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l03379"></a><span class="lineno"> 3379</span> <span class="comment"></span></div>
+<div class="line"><a name="l03380"></a><span class="lineno"> 3380</span> <span class="comment">/// \brief Write the block containing all of the declaration IDs</span></div>
+<div class="line"><a name="l03381"></a><span class="lineno"> 3381</span> <span class="comment">/// visible from the given DeclContext.</span></div>
+<div class="line"><a name="l03382"></a><span class="lineno"> 3382</span> <span class="comment">///</span></div>
+<div class="line"><a name="l03383"></a><span class="lineno"> 3383</span> <span class="comment">/// \returns the offset of the DECL_CONTEXT_VISIBLE block within the</span></div>
+<div class="line"><a name="l03384"></a><span class="lineno"> 3384</span> <span class="comment">/// bitstream, or 0 if no block was written.</span></div>
+<div class="line"><a name="l03385"></a><span class="lineno"> 3385</span> <span class="comment"></span>uint64_t ASTWriter::WriteDeclContextVisibleBlock(<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> &Context,</div>
+<div class="line"><a name="l03386"></a><span class="lineno"> 3386</span>                                                  <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l03387"></a><span class="lineno"> 3387</span>   <span class="keywordflow">if</span> (DC-><a class="code" href="classclang_1_1DeclContext.html#ac3368ad7389098f8fed5c5d346b77445">getPrimaryContext</a>() != DC)</div>
+<div class="line"><a name="l03388"></a><span class="lineno"> 3388</span>     <span class="keywordflow">return</span> 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>   <span class="comment">// Since there is no name lookup into functions or methods, don't bother to</span></div>
+<div class="line"><a name="l03391"></a><span class="lineno"> 3391</span>   <span class="comment">// build a visible-declarations table for these entities.</span></div>
+<div class="line"><a name="l03392"></a><span class="lineno"> 3392</span>   <span class="keywordflow">if</span> (DC-><a class="code" href="classclang_1_1DeclContext.html#a05b966b6459e1d11c317f8abe3e2d66f">isFunctionOrMethod</a>())</div>
+<div class="line"><a name="l03393"></a><span class="lineno"> 3393</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l03394"></a><span class="lineno"> 3394</span> </div>
+<div class="line"><a name="l03395"></a><span class="lineno"> 3395</span>   <span class="comment">// If not in C++, we perform name lookup for the translation unit via the</span></div>
+<div class="line"><a name="l03396"></a><span class="lineno"> 3396</span>   <span class="comment">// IdentifierInfo chains, don't bother to build a visible-declarations table.</span></div>
+<div class="line"><a name="l03397"></a><span class="lineno"> 3397</span>   <span class="keywordflow">if</span> (DC-><a class="code" href="classclang_1_1DeclContext.html#add710d53ebeab05385a08e978862c149">isTranslationUnit</a>() && !Context.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().CPlusPlus)</div>
+<div class="line"><a name="l03398"></a><span class="lineno"> 3398</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l03399"></a><span class="lineno"> 3399</span> </div>
+<div class="line"><a name="l03400"></a><span class="lineno"> 3400</span>   <span class="comment">// Serialize the contents of the mapping used for lookup. Note that,</span></div>
+<div class="line"><a name="l03401"></a><span class="lineno"> 3401</span>   <span class="comment">// although we have two very different code paths, the serialized</span></div>
+<div class="line"><a name="l03402"></a><span class="lineno"> 3402</span>   <span class="comment">// representation is the same for both cases: a declaration name,</span></div>
+<div class="line"><a name="l03403"></a><span class="lineno"> 3403</span>   <span class="comment">// followed by a size, followed by references to the visible</span></div>
+<div class="line"><a name="l03404"></a><span class="lineno"> 3404</span>   <span class="comment">// declarations that have that name.</span></div>
+<div class="line"><a name="l03405"></a><span class="lineno"> 3405</span>   uint64_t Offset = Stream.GetCurrentBitNo();</div>
+<div class="line"><a name="l03406"></a><span class="lineno"> 3406</span>   <a class="code" href="classclang_1_1StoredDeclsMap.html">StoredDeclsMap</a> *<a class="code" href="namespaceclang_1_1LangAS.html#a241b6fc974438ba623ec877f2b294f0c">Map</a> = DC-><a class="code" href="classclang_1_1DeclContext.html#a8d0b8ace2aca42ea5d8614590046dba0" title="Ensure the lookup structure is fully-built and return it.">buildLookup</a>();</div>
+<div class="line"><a name="l03407"></a><span class="lineno"> 3407</span>   <span class="keywordflow">if</span> (!Map || Map->empty())</div>
+<div class="line"><a name="l03408"></a><span class="lineno"> 3408</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l03409"></a><span class="lineno"> 3409</span> </div>
+<div class="line"><a name="l03410"></a><span class="lineno"> 3410</span>   <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<ASTDeclContextNameLookupTrait></a> Generator;</div>
+<div class="line"><a name="l03411"></a><span class="lineno"> 3411</span>   ASTDeclContextNameLookupTrait Trait(*<span class="keyword">this</span>);</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">// Create the on-disk hash table representation.</span></div>
+<div class="line"><a name="l03414"></a><span class="lineno"> 3414</span>   <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> ConversionName;</div>
+<div class="line"><a name="l03415"></a><span class="lineno"> 3415</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<NamedDecl *, 4></a> ConversionDecls;</div>
+<div class="line"><a name="l03416"></a><span class="lineno"> 3416</span>   <span class="keywordflow">for</span> (StoredDeclsMap::iterator D = Map->begin(), DEnd = Map->end();</div>
+<div class="line"><a name="l03417"></a><span class="lineno"> 3417</span>        D != DEnd; ++D) {</div>
+<div class="line"><a name="l03418"></a><span class="lineno"> 3418</span>     <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name = D->first;</div>
+<div class="line"><a name="l03419"></a><span class="lineno"> 3419</span>     <a class="code" href="classclang_1_1DeclContext.html#ac25dc34eabe6c4e035c76dd3329e8530">DeclContext::lookup_result</a> Result = D->second.getLookupResult();</div>
+<div class="line"><a name="l03420"></a><span class="lineno"> 3420</span>     <span class="keywordflow">if</span> (!Result.empty()) {</div>
+<div class="line"><a name="l03421"></a><span class="lineno"> 3421</span>       <span class="keywordflow">if</span> (Name.<a class="code" href="classclang_1_1DeclarationName.html#a3e722af81dd4b5670e834b20f47ba94b" title="getNameKind - Determine what kind of name this is.">getNameKind</a>() == <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>) {</div>
+<div class="line"><a name="l03422"></a><span class="lineno"> 3422</span>         <span class="comment">// Hash all conversion function names to the same name. The actual</span></div>
+<div class="line"><a name="l03423"></a><span class="lineno"> 3423</span>         <span class="comment">// type information in conversion function name is not used in the</span></div>
+<div class="line"><a name="l03424"></a><span class="lineno"> 3424</span>         <span class="comment">// key (since such type information is not stable across different</span></div>
+<div class="line"><a name="l03425"></a><span class="lineno"> 3425</span>         <span class="comment">// modules), so the intended effect is to coalesce all of the conversion</span></div>
+<div class="line"><a name="l03426"></a><span class="lineno"> 3426</span>         <span class="comment">// functions under a single key.</span></div>
+<div class="line"><a name="l03427"></a><span class="lineno"> 3427</span>         <span class="keywordflow">if</span> (!ConversionName)</div>
+<div class="line"><a name="l03428"></a><span class="lineno"> 3428</span>           ConversionName = Name;</div>
+<div class="line"><a name="l03429"></a><span class="lineno"> 3429</span>         ConversionDecls.append(Result.begin(), Result.end());</div>
+<div class="line"><a name="l03430"></a><span class="lineno"> 3430</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03431"></a><span class="lineno"> 3431</span>       }</div>
+<div class="line"><a name="l03432"></a><span class="lineno"> 3432</span>       </div>
+<div class="line"><a name="l03433"></a><span class="lineno"> 3433</span>       Generator.insert(Name, Result, Trait);</div>
+<div class="line"><a name="l03434"></a><span class="lineno"> 3434</span>     }</div>
+<div class="line"><a name="l03435"></a><span class="lineno"> 3435</span>   }</div>
+<div class="line"><a name="l03436"></a><span class="lineno"> 3436</span> </div>
+<div class="line"><a name="l03437"></a><span class="lineno"> 3437</span>   <span class="comment">// Add the conversion functions</span></div>
+<div class="line"><a name="l03438"></a><span class="lineno"> 3438</span>   <span class="keywordflow">if</span> (!ConversionDecls.empty()) {</div>
+<div class="line"><a name="l03439"></a><span class="lineno"> 3439</span>     Generator.insert(ConversionName, </div>
+<div class="line"><a name="l03440"></a><span class="lineno"> 3440</span>                      <a class="code" href="classclang_1_1DeclContext.html#ac25dc34eabe6c4e035c76dd3329e8530">DeclContext::lookup_result</a>(ConversionDecls.begin(),</div>
+<div class="line"><a name="l03441"></a><span class="lineno"> 3441</span>                                                 ConversionDecls.end()),</div>
+<div class="line"><a name="l03442"></a><span class="lineno"> 3442</span>                      Trait);</div>
+<div class="line"><a name="l03443"></a><span class="lineno"> 3443</span>   }</div>
+<div class="line"><a name="l03444"></a><span class="lineno"> 3444</span>   </div>
+<div class="line"><a name="l03445"></a><span class="lineno"> 3445</span>   <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l03446"></a><span class="lineno"> 3446</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> LookupTable;</div>
+<div class="line"><a name="l03447"></a><span class="lineno"> 3447</span>   uint32_t BucketOffset;</div>
+<div class="line"><a name="l03448"></a><span class="lineno"> 3448</span>   {</div>
+<div class="line"><a name="l03449"></a><span class="lineno"> 3449</span>     llvm::raw_svector_ostream Out(LookupTable);</div>
+<div class="line"><a name="l03450"></a><span class="lineno"> 3450</span>     <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l03451"></a><span class="lineno"> 3451</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l03452"></a><span class="lineno"> 3452</span>     BucketOffset = Generator.<a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html#a8b2855b6f4e23f0aa765a143178d4296">Emit</a>(Out, Trait);</div>
+<div class="line"><a name="l03453"></a><span class="lineno"> 3453</span>   }</div>
+<div class="line"><a name="l03454"></a><span class="lineno"> 3454</span> </div>
+<div class="line"><a name="l03455"></a><span class="lineno"> 3455</span>   <span class="comment">// Write the lookup table</span></div>
+<div class="line"><a name="l03456"></a><span class="lineno"> 3456</span>   RecordData Record;</div>
+<div class="line"><a name="l03457"></a><span class="lineno"> 3457</span>   Record.push_back(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdafcf73a1ed9070059c5895e18ce3af9aa" title="A record that stores the set of declarations that are visible from a given DeclContext.">DECL_CONTEXT_VISIBLE</a>);</div>
+<div class="line"><a name="l03458"></a><span class="lineno"> 3458</span>   Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l03459"></a><span class="lineno"> 3459</span>   Stream.EmitRecordWithBlob(DeclContextVisibleLookupAbbrev, Record,</div>
+<div class="line"><a name="l03460"></a><span class="lineno"> 3460</span>                             LookupTable.str());</div>
+<div class="line"><a name="l03461"></a><span class="lineno"> 3461</span> </div>
+<div class="line"><a name="l03462"></a><span class="lineno"> 3462</span>   Stream.EmitRecord(<a class="code" href="group__ASTAST.html#gga8ee85854f8c999f4dad34a2afccdc1cdafcf73a1ed9070059c5895e18ce3af9aa" title="A record that stores the set of declarations that are visible from a given DeclContext.">DECL_CONTEXT_VISIBLE</a>, Record);</div>
+<div class="line"><a name="l03463"></a><span class="lineno"> 3463</span>   ++NumVisibleDeclContexts;</div>
+<div class="line"><a name="l03464"></a><span class="lineno"> 3464</span>   <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>;</div>
+<div class="line"><a name="l03465"></a><span class="lineno"> 3465</span> }</div>
+<div class="line"><a name="l03466"></a><span class="lineno"> 3466</span> <span class="comment"></span></div>
+<div class="line"><a name="l03467"></a><span class="lineno"> 3467</span> <span class="comment">/// \brief Write an UPDATE_VISIBLE block for the given context.</span></div>
+<div class="line"><a name="l03468"></a><span class="lineno"> 3468</span> <span class="comment">///</span></div>
+<div class="line"><a name="l03469"></a><span class="lineno"> 3469</span> <span class="comment">/// UPDATE_VISIBLE blocks contain the declarations that are added to an existing</span></div>
+<div class="line"><a name="l03470"></a><span class="lineno"> 3470</span> <span class="comment">/// DeclContext in a dependent AST file. As such, they only exist for the TU</span></div>
+<div class="line"><a name="l03471"></a><span class="lineno"> 3471</span> <span class="comment">/// (in C++), for namespaces, and for classes with forward-declared unscoped</span></div>
+<div class="line"><a name="l03472"></a><span class="lineno"> 3472</span> <span class="comment">/// enumeration members (in C++11).</span></div>
+<div class="line"><a name="l03473"></a><span class="lineno"> 3473</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteDeclContextVisibleUpdate(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l03474"></a><span class="lineno"> 3474</span>   <a class="code" href="classclang_1_1StoredDeclsMap.html">StoredDeclsMap</a> *Map = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1StoredDeclsMap.html">StoredDeclsMap</a>*<span class="keyword">></span>(DC-><a class="code" href="classclang_1_1DeclContext.html#a628eef9ddbe4047fbb901596b4bedd58" title="Retrieve the internal representation of the lookup structure. This may omit some names if we are lazi...">getLookupPtr</a>());</div>
+<div class="line"><a name="l03475"></a><span class="lineno"> 3475</span>   <span class="keywordflow">if</span> (!Map || Map->empty())</div>
+<div class="line"><a name="l03476"></a><span class="lineno"> 3476</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03477"></a><span class="lineno"> 3477</span> </div>
+<div class="line"><a name="l03478"></a><span class="lineno"> 3478</span>   <a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html">OnDiskChainedHashTableGenerator<ASTDeclContextNameLookupTrait></a> Generator;</div>
+<div class="line"><a name="l03479"></a><span class="lineno"> 3479</span>   ASTDeclContextNameLookupTrait Trait(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l03480"></a><span class="lineno"> 3480</span> </div>
+<div class="line"><a name="l03481"></a><span class="lineno"> 3481</span>   <span class="comment">// Create the hash table.</span></div>
+<div class="line"><a name="l03482"></a><span class="lineno"> 3482</span>   <span class="keywordflow">for</span> (StoredDeclsMap::iterator D = Map->begin(), DEnd = Map->end();</div>
+<div class="line"><a name="l03483"></a><span class="lineno"> 3483</span>        D != DEnd; ++D) {</div>
+<div class="line"><a name="l03484"></a><span class="lineno"> 3484</span>     <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name = D->first;</div>
+<div class="line"><a name="l03485"></a><span class="lineno"> 3485</span>     <a class="code" href="classclang_1_1DeclContext.html#ac25dc34eabe6c4e035c76dd3329e8530">DeclContext::lookup_result</a> Result = D->second.getLookupResult();</div>
+<div class="line"><a name="l03486"></a><span class="lineno"> 3486</span>     <span class="comment">// For any name that appears in this table, the results are complete, i.e.</span></div>
+<div class="line"><a name="l03487"></a><span class="lineno"> 3487</span>     <span class="comment">// they overwrite results from previous PCHs. Merging is always a mess.</span></div>
+<div class="line"><a name="l03488"></a><span class="lineno"> 3488</span>     <span class="keywordflow">if</span> (!Result.empty())</div>
+<div class="line"><a name="l03489"></a><span class="lineno"> 3489</span>       Generator.insert(Name, Result, Trait);</div>
+<div class="line"><a name="l03490"></a><span class="lineno"> 3490</span>   }</div>
+<div class="line"><a name="l03491"></a><span class="lineno"> 3491</span> </div>
+<div class="line"><a name="l03492"></a><span class="lineno"> 3492</span>   <span class="comment">// Create the on-disk hash table in a buffer.</span></div>
+<div class="line"><a name="l03493"></a><span class="lineno"> 3493</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<4096></a> LookupTable;</div>
+<div class="line"><a name="l03494"></a><span class="lineno"> 3494</span>   uint32_t BucketOffset;</div>
+<div class="line"><a name="l03495"></a><span class="lineno"> 3495</span>   {</div>
+<div class="line"><a name="l03496"></a><span class="lineno"> 3496</span>     llvm::raw_svector_ostream Out(LookupTable);</div>
+<div class="line"><a name="l03497"></a><span class="lineno"> 3497</span>     <span class="comment">// Make sure that no bucket is at offset 0</span></div>
+<div class="line"><a name="l03498"></a><span class="lineno"> 3498</span>     <a class="code" href="namespaceclang_1_1io.html#aa11d4045e64291f8791824ba0d7d12f6">clang::io::Emit32</a>(Out, 0);</div>
+<div class="line"><a name="l03499"></a><span class="lineno"> 3499</span>     BucketOffset = Generator.<a class="code" href="classclang_1_1OnDiskChainedHashTableGenerator.html#a8b2855b6f4e23f0aa765a143178d4296">Emit</a>(Out, Trait);</div>
+<div class="line"><a name="l03500"></a><span class="lineno"> 3500</span>   }</div>
+<div class="line"><a name="l03501"></a><span class="lineno"> 3501</span> </div>
+<div class="line"><a name="l03502"></a><span class="lineno"> 3502</span>   <span class="comment">// Write the lookup table</span></div>
+<div class="line"><a name="l03503"></a><span class="lineno"> 3503</span>   RecordData Record;</div>
+<div class="line"><a name="l03504"></a><span class="lineno"> 3504</span>   Record.push_back(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a609793c84076ede169d2e02e2b21a6f5" title="Record code for an update to a decl context's lookup table.">UPDATE_VISIBLE</a>);</div>
+<div class="line"><a name="l03505"></a><span class="lineno"> 3505</span>   Record.push_back(getDeclID(cast<Decl>(DC)));</div>
+<div class="line"><a name="l03506"></a><span class="lineno"> 3506</span>   Record.push_back(BucketOffset);</div>
+<div class="line"><a name="l03507"></a><span class="lineno"> 3507</span>   Stream.EmitRecordWithBlob(UpdateVisibleAbbrev, Record, LookupTable.str());</div>
+<div class="line"><a name="l03508"></a><span class="lineno"> 3508</span> }</div>
+<div class="line"><a name="l03509"></a><span class="lineno"> 3509</span> <span class="comment"></span></div>
+<div class="line"><a name="l03510"></a><span class="lineno"> 3510</span> <span class="comment">/// \brief Write an FP_PRAGMA_OPTIONS block for the given FPOptions.</span></div>
+<div class="line"><a name="l03511"></a><span class="lineno"> 3511</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteFPPragmaOptions(<span class="keyword">const</span> <a class="code" href="classclang_1_1FPOptions.html" title="Floating point control options.">FPOptions</a> &Opts) {</div>
+<div class="line"><a name="l03512"></a><span class="lineno"> 3512</span>   RecordData Record;</div>
+<div class="line"><a name="l03513"></a><span class="lineno"> 3513</span>   Record.push_back(Opts.<a class="code" href="classclang_1_1FPOptions.html#ab17929a4e1955e3a4220642419bdbd19">fp_contract</a>);</div>
+<div class="line"><a name="l03514"></a><span class="lineno"> 3514</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2f5d007813806d23d1163c8af348f8bd" title="Record code for floating point #pragma options.">FP_PRAGMA_OPTIONS</a>, Record);</div>
+<div class="line"><a name="l03515"></a><span class="lineno"> 3515</span> }</div>
+<div class="line"><a name="l03516"></a><span class="lineno"> 3516</span> <span class="comment"></span></div>
+<div class="line"><a name="l03517"></a><span class="lineno"> 3517</span> <span class="comment">/// \brief Write an OPENCL_EXTENSIONS block for the given OpenCLOptions.</span></div>
+<div class="line"><a name="l03518"></a><span class="lineno"> 3518</span> <span class="comment"></span><span class="keywordtype">void</span> ASTWriter::WriteOpenCLExtensions(<a class="code" href="classclang_1_1Sema.html" title="Sema - This implements semantic analysis and AST building for C.">Sema</a> &SemaRef) {</div>
+<div class="line"><a name="l03519"></a><span class="lineno"> 3519</span>   <span class="keywordflow">if</span> (!SemaRef.<a class="code" href="classclang_1_1Sema.html#a3ccddacb1f4f71b084296175cc9e5b0e">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().OpenCL)</div>
+<div class="line"><a name="l03520"></a><span class="lineno"> 3520</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03521"></a><span class="lineno"> 3521</span> </div>
+<div class="line"><a name="l03522"></a><span class="lineno"> 3522</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1OpenCLOptions.html" title="OpenCL volatile options.">OpenCLOptions</a> &Opts = SemaRef.<a class="code" href="classclang_1_1Sema.html#a07135143f9767cce4da3fdb098955b39">getOpenCLOptions</a>();</div>
+<div class="line"><a name="l03523"></a><span class="lineno"> 3523</span>   RecordData Record;</div>
+<div class="line"><a name="l03524"></a><span class="lineno"> 3524</span> <span class="preprocessor">#define OPENCLEXT(nm)  Record.push_back(Opts.nm);</span></div>
+<div class="line"><a name="l03525"></a><span class="lineno"> 3525</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/OpenCLExtensions.def"</span></div>
+<div class="line"><a name="l03526"></a><span class="lineno"> 3526</span>   Stream.EmitRecord(<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a2e31b0866e036d548c246db2d77cdc44" title="Record code for enabled OpenCL extensions.">OPENCL_EXTENSIONS</a>, Record);</div>
+<div class="line"><a name="l03527"></a><span class="lineno"> 3527</span> }</div>
+<div class="line"><a name="l03528"></a><span class="lineno"> 3528</span> </div>
+<div class="line"><a name="l03529"></a><span class="lineno"> 3529</span> <span class="keywordtype">void</span> ASTWriter::WriteRedeclarations() {</div>
+<div class="line"><a name="l03530"></a><span class="lineno"> 3530</span>   RecordData LocalRedeclChains;</div>
+<div class="line"><a name="l03531"></a><span class="lineno"> 3531</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<serialization::LocalRedeclarationsInfo, 2></a> LocalRedeclsMap;</div>
+<div class="line"><a name="l03532"></a><span class="lineno"> 3532</span> </div>
+<div class="line"><a name="l03533"></a><span class="lineno"> 3533</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Redeclarations.size(); I != N; ++I) {</div>
+<div class="line"><a name="l03534"></a><span class="lineno"> 3534</span>     <a class="code" href="classclang_1_1Decl.html">Decl</a> *First = Redeclarations[I];</div>
+<div class="line"><a name="l03535"></a><span class="lineno"> 3535</span>     assert(First-><a class="code" href="classclang_1_1Decl.html#ac0dbe34e622e9500ef6ea8310f12e864" title="True if this is the first declaration in its redeclaration chain.">isFirstDecl</a>() && <span class="stringliteral">"Not the first declaration?"</span>);</div>
+<div class="line"><a name="l03536"></a><span class="lineno"> 3536</span>     </div>
+<div class="line"><a name="l03537"></a><span class="lineno"> 3537</span>     <a class="code" href="classclang_1_1Decl.html">Decl</a> *MostRecent = First-><a class="code" href="classclang_1_1Decl.html#abad5457703312ae51461e73497c033d4" title="Retrieve the most recent declaration that declares the same entity as this declaration (which may be ...">getMostRecentDecl</a>();</div>
+<div class="line"><a name="l03538"></a><span class="lineno"> 3538</span>     </div>
+<div class="line"><a name="l03539"></a><span class="lineno"> 3539</span>     <span class="comment">// If we only have a single declaration, there is no point in storing</span></div>
+<div class="line"><a name="l03540"></a><span class="lineno"> 3540</span>     <span class="comment">// a redeclaration chain.</span></div>
+<div class="line"><a name="l03541"></a><span class="lineno"> 3541</span>     <span class="keywordflow">if</span> (First == MostRecent)</div>
+<div class="line"><a name="l03542"></a><span class="lineno"> 3542</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03543"></a><span class="lineno"> 3543</span>     </div>
+<div class="line"><a name="l03544"></a><span class="lineno"> 3544</span>     <span class="keywordtype">unsigned</span> Offset = LocalRedeclChains.size();</div>
+<div class="line"><a name="l03545"></a><span class="lineno"> 3545</span>     <span class="keywordtype">unsigned</span> Size = 0;</div>
+<div class="line"><a name="l03546"></a><span class="lineno"> 3546</span>     LocalRedeclChains.push_back(0); <span class="comment">// Placeholder for the size.</span></div>
+<div class="line"><a name="l03547"></a><span class="lineno"> 3547</span>     </div>
+<div class="line"><a name="l03548"></a><span class="lineno"> 3548</span>     <span class="comment">// Collect the set of local redeclarations of this declaration.</span></div>
+<div class="line"><a name="l03549"></a><span class="lineno"> 3549</span>     <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1Decl.html">Decl</a> *Prev = MostRecent; Prev != First;</div>
+<div class="line"><a name="l03550"></a><span class="lineno"> 3550</span>          Prev = Prev-><a class="code" href="classclang_1_1Decl.html#a89eb85283ad2678e94841d45c0a30c3a" title="Retrieve the previous declaration that declares the same entity as this declaration, or NULL if there is no previous declaration.">getPreviousDecl</a>()) { </div>
+<div class="line"><a name="l03551"></a><span class="lineno"> 3551</span>       <span class="keywordflow">if</span> (!Prev->isFromASTFile()) {</div>
+<div class="line"><a name="l03552"></a><span class="lineno"> 3552</span>         AddDeclRef(Prev, LocalRedeclChains);</div>
+<div class="line"><a name=&q