[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/ASTReader_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTReader_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTReader_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTReader_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,7704 @@
+<!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: ASTReader.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">ASTReader.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTReader_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">//===--- ASTReader.cpp - AST File Reader ----------------------------------===//</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 ASTReader class, which reads 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="ASTReader_8h.html">clang/Serialization/ASTReader.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="ASTReaderInternals_8h.html">ASTReaderInternals.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="ASTConsumer_8h.html">clang/AST/ASTConsumer.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</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="l00019"></a><span class="lineno">   19</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="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "<a class="code" href="Expr_8h.html">clang/AST/Expr.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</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="l00022"></a><span class="lineno">   22</span> <span class="preprocessor">#include "<a class="code" href="NestedNameSpecifier_8h.html">clang/AST/NestedNameSpecifier.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="SourceManager_8h.html" title="Defines the SourceManager interface.">clang/Basic/SourceManager.h</a>"</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</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="l00028"></a><span class="lineno">   28</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="l00029"></a><span class="lineno">   29</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="l00030"></a><span class="lineno">   30</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="l00031"></a><span class="lineno">   31</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="l00032"></a><span class="lineno">   32</span> <span class="preprocessor">#include "<a class="code" href="HeaderSearch_8h.html">clang/Lex/HeaderSearch.h</a>"</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="preprocessor">#include "<a class="code" href="HeaderSearchOptions_8h.html">clang/Lex/HeaderSearchOptions.h</a>"</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</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="l00035"></a><span class="lineno">   35</span> <span class="preprocessor">#include "<a class="code" href="PreprocessingRecord_8h.html">clang/Lex/PreprocessingRecord.h</a>"</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="preprocessor">#include "<a class="code" href="Preprocessor_8h.html">clang/Lex/Preprocessor.h</a>"</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="preprocessor">#include "<a class="code" href="PreprocessorOptions_8h.html">clang/Lex/PreprocessorOptions.h</a>"</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="preprocessor">#include "<a class="code" href="Scope_8h.html">clang/Sema/Scope.h</a>"</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="preprocessor">#include "<a class="code" href="Sema_8h.html">clang/Sema/Sema.h</a>"</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="preprocessor">#include "<a class="code" href="ASTDeserializationListener_8h.html">clang/Serialization/ASTDeserializationListener.h</a>"</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="preprocessor">#include "<a class="code" href="GlobalModuleIndex_8h.html">clang/Serialization/GlobalModuleIndex.h</a>"</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> <span class="preprocessor">#include "<a class="code" href="ModuleManager_8h.html">clang/Serialization/ModuleManager.h</a>"</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="preprocessor">#include "<a class="code" href="SerializationDiagnostic_8h.html">clang/Serialization/SerializationDiagnostic.h</a>"</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="preprocessor">#include "llvm/ADT/Hashing.h"</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="preprocessor">#include "llvm/ADT/StringExtras.h"</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="preprocessor">#include "llvm/Bitcode/BitstreamReader.h"</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="preprocessor">#include "llvm/Support/ErrorHandling.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 "llvm/Support/SaveAndRestore.h"</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="preprocessor">#include "llvm/Support/system_error.h"</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="preprocessor">#include <algorithm></span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="preprocessor">#include <cstdio></span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="preprocessor">#include <iterator></span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> </div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="keyword">using namespace </span>clang::serialization;</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="keyword">using namespace </span>clang::serialization::reader;</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="keyword">using</span> llvm::BitstreamCursor;</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> </div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span> <span class="comment">// PCH validator implementation</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span> </div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReaderListener.html#a5367d168c7cd72ef0337303ee7891c7d">   66</a></span> <a class="code" href="classclang_1_1ASTReaderListener.html#a5367d168c7cd72ef0337303ee7891c7d">ASTReaderListener::~ASTReaderListener</a>() {}</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="comment"></span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">/// \brief Compare the given set of language options against an existing set of</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">/// language options.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span> <span class="comment">/// \param Diags If non-NULL, diagnostics will be emitted via this engine.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> <span class="comment">/// \returns true if the languagae options mis-match, false otherwise.</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a54029a9dab784b6c9b12c5ea45e3b88b">   74</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#a54029a9dab784b6c9b12c5ea45e3b88b" title="Compare the given set of language options against an existing set of language options.">checkLanguageOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts,</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</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> &ExistingLangOpts,</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>                                  <a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> *Diags) {</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="preprocessor">#define LANGOPT(Name, Bits, Default, Description)                 \</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span> <span class="preprocessor">  if (ExistingLangOpts.Name != LangOpts.Name) {                   \</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="preprocessor">    if (Diags)                                                    \</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="preprocessor">      Diags->Report(diag::err_pch_langopt_mismatch)               \</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="preprocessor">        << Description << LangOpts.Name << ExistingLangOpts.Name; \</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span> <span class="preprocessor">    return true;                                                  \</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span> <span class="preprocessor">  }</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span> <span class="preprocessor">#define VALUE_LANGOPT(Name, Bits, Default, Description)   \</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span> <span class="preprocessor">  if (ExistingLangOpts.Name != LangOpts.Name) {           \</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span> <span class="preprocessor">    if (Diags)                                            \</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span> <span class="preprocessor">      Diags->Report(diag::err_pch_langopt_value_mismatch) \</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span> <span class="preprocessor">        << Description;                                   \</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span> <span class="preprocessor">    return true;                                          \</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span> <span class="preprocessor">  }</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="preprocessor">#define ENUM_LANGOPT(Name, Type, Bits, Default, Description)   \</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span> <span class="preprocessor">  if (ExistingLangOpts.get##Name() != LangOpts.get##Name()) {  \</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span> <span class="preprocessor">    if (Diags)                                                 \</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span> <span class="preprocessor">      Diags->Report(diag::err_pch_langopt_value_mismatch)      \</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="preprocessor">        << Description;                                        \</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span> <span class="preprocessor">    return true;                                               \</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span> <span class="preprocessor">  }</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="preprocessor">#define BENIGN_LANGOPT(Name, Bits, Default, Description)</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span> <span class="preprocessor"></span><span class="preprocessor">#define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description)</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/LangOptions.def"</span></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>   <span class="keywordflow">if</span> (ExistingLangOpts.<a class="code" href="classclang_1_1LangOptions.html#a34a8b84f730051971c84c36daa84dda7">ObjCRuntime</a> != LangOpts.<a class="code" href="classclang_1_1LangOptions.html#a34a8b84f730051971c84c36daa84dda7">ObjCRuntime</a>) {</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>     <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_langopt_value_mismatch)</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>       << <span class="stringliteral">"target Objective-C runtime"</span>;</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>     <span class="keywordflow">return</span> <span class="keyword">true</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> </div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>   <span class="keywordflow">if</span> (ExistingLangOpts.<a class="code" href="classclang_1_1LangOptions.html#a55b602de4cd250005ce67b32570c1bb7" title="Options for parsing comments.">CommentOpts</a>.<a class="code" href="structclang_1_1CommentOptions.html#a8198a90760ac97cf8b1249b079b6f54d" title="Command names to treat as block commands in comments. Should not include the leading backslash...">BlockCommandNames</a> !=</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>       LangOpts.<a class="code" href="classclang_1_1LangOptions.html#a55b602de4cd250005ce67b32570c1bb7" title="Options for parsing comments.">CommentOpts</a>.<a class="code" href="structclang_1_1CommentOptions.html#a8198a90760ac97cf8b1249b079b6f54d" title="Command names to treat as block commands in comments. Should not include the leading backslash...">BlockCommandNames</a>) {</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>     <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_langopt_value_mismatch)</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>         << <span class="stringliteral">"block command names"</span>;</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>   }</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>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> }</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span> <span class="comment"></span></div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span> <span class="comment">/// \brief Compare the given set of target options against an existing set of</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment">/// target options.</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span> <span class="comment">/// \param Diags If non-NULL, diagnostics will be emitted via this engine.</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span> <span class="comment">/// \returns true if the target options mis-match, false otherwise.</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#ab250b756432ff50e3d2858a62d2ce5a8">  129</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#ab250b756432ff50e3d2858a62d2ce5a8" title="Compare the given set of target options against an existing set of target options.">checkTargetOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &TargetOpts,</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>                                <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &ExistingTargetOpts,</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>                                <a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> *Diags) {</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span> <span class="preprocessor">#define CHECK_TARGET_OPT(Field, Name)                             \</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span> <span class="preprocessor">  if (TargetOpts.Field != ExistingTargetOpts.Field) {             \</span></div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> <span class="preprocessor">    if (Diags)                                                    \</span></div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> <span class="preprocessor">      Diags->Report(diag::err_pch_targetopt_mismatch)             \</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> <span class="preprocessor">        << Name << TargetOpts.Field << ExistingTargetOpts.Field;  \</span></div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> <span class="preprocessor">    return true;                                                  \</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="preprocessor">  }</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>   <a class="code" href="ASTReader_8cpp.html#ae05e5bdeeaf5cb625e96bb0b39a67cbf">CHECK_TARGET_OPT</a>(Triple, <span class="stringliteral">"target"</span>);</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>   <a class="code" href="ASTReader_8cpp.html#ae05e5bdeeaf5cb625e96bb0b39a67cbf">CHECK_TARGET_OPT</a>(CPU, <span class="stringliteral">"target CPU"</span>);</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>   <a class="code" href="ASTReader_8cpp.html#ae05e5bdeeaf5cb625e96bb0b39a67cbf">CHECK_TARGET_OPT</a>(ABI, <span class="stringliteral">"target ABI"</span>);</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>   <a class="code" href="ASTReader_8cpp.html#ae05e5bdeeaf5cb625e96bb0b39a67cbf">CHECK_TARGET_OPT</a>(<a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a>, <span class="stringliteral">"target C++ ABI"</span>);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>   <a class="code" href="ASTReader_8cpp.html#ae05e5bdeeaf5cb625e96bb0b39a67cbf">CHECK_TARGET_OPT</a>(LinkerVersion, <span class="stringliteral">"target linker version"</span>);</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="preprocessor">#undef CHECK_TARGET_OPT</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>   <span class="comment">// Compare feature sets.</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<StringRef, 4></a> ExistingFeatures(</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>                                              ExistingTargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#aa56ed17e8d5b8fca1bc9db87a1a7e32e" title="The list of target specific features to enable or disable, as written on the command line...">FeaturesAsWritten</a>.begin(),</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>                                              ExistingTargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#aa56ed17e8d5b8fca1bc9db87a1a7e32e" title="The list of target specific features to enable or disable, as written on the command line...">FeaturesAsWritten</a>.end());</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<StringRef, 4></a> ReadFeatures(TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#aa56ed17e8d5b8fca1bc9db87a1a7e32e" title="The list of target specific features to enable or disable, as written on the command line...">FeaturesAsWritten</a>.begin(),</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>                                          TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#aa56ed17e8d5b8fca1bc9db87a1a7e32e" title="The list of target specific features to enable or disable, as written on the command line...">FeaturesAsWritten</a>.end());</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>   std::sort(ExistingFeatures.begin(), ExistingFeatures.end());</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>   std::sort(ReadFeatures.begin(), ReadFeatures.end());</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> </div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>   <span class="keywordtype">unsigned</span> ExistingIdx = 0, ExistingN = ExistingFeatures.size();</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>   <span class="keywordtype">unsigned</span> ReadIdx = 0, ReadN = ReadFeatures.size();</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>   <span class="keywordflow">while</span> (ExistingIdx < ExistingN && ReadIdx < ReadN) {</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>     <span class="keywordflow">if</span> (ExistingFeatures[ExistingIdx] == ReadFeatures[ReadIdx]) {</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>       ++ExistingIdx;</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>       ++ReadIdx;</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>     }</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span> </div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>     <span class="keywordflow">if</span> (ReadFeatures[ReadIdx] < ExistingFeatures[ExistingIdx]) {</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>       <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>         Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_targetopt_feature_mismatch)</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>           << <span class="keyword">false</span> << ReadFeatures[ReadIdx];</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>     }</div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span> </div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>     <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_targetopt_feature_mismatch)</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>         << <span class="keyword">true</span> << ExistingFeatures[ExistingIdx];</div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>   }</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span> </div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>   <span class="keywordflow">if</span> (ExistingIdx < ExistingN) {</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>     <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_targetopt_feature_mismatch)</div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>         << <span class="keyword">true</span> << ExistingFeatures[ExistingIdx];</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>   }</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span> </div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>   <span class="keywordflow">if</span> (ReadIdx < ReadN) {</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>     <span class="keywordflow">if</span> (Diags)</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_targetopt_feature_mismatch)</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>         << <span class="keyword">false</span> << ReadFeatures[ReadIdx];</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>     <span class="keywordflow">return</span> <span class="keyword">true</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> </div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> }</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> </div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="keywordtype">bool</span></div>
+<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="classclang_1_1PCHValidator.html#a0a7fa0aaef9fb0bb8eb19bac33ce4188">  196</a></span> <a class="code" href="classclang_1_1PCHValidator.html#a0a7fa0aaef9fb0bb8eb19bac33ce4188" title="Receives the language options.">PCHValidator::ReadLanguageOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts,</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>                                   <span class="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</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> &ExistingLangOpts = PP.getLangOpts();</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>   <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#a54029a9dab784b6c9b12c5ea45e3b88b" title="Compare the given set of language options against an existing set of language options.">checkLanguageOptions</a>(LangOpts, ExistingLangOpts,</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span>                               Complain? &Reader.Diags : 0);</div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> }</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> </div>
+<div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="classclang_1_1PCHValidator.html#a7dc64b1f7b2c5fb712ae7d7e4da43992">  203</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1PCHValidator.html#a7dc64b1f7b2c5fb712ae7d7e4da43992" title="Receives the target options.">PCHValidator::ReadTargetOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &TargetOpts,</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>                                      <span class="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &ExistingTargetOpts = PP.getTargetInfo().getTargetOpts();</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>   <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#ab250b756432ff50e3d2858a62d2ce5a8" title="Compare the given set of target options against an existing set of target options.">checkTargetOptions</a>(TargetOpts, ExistingTargetOpts,</div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>                             Complain? &Reader.Diags : 0);</div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span> }</div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span> </div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span>   <span class="keyword">typedef</span> llvm::StringMap<std::pair<StringRef, <span class="keywordtype">bool</span> <span class="comment">/*IsUndef*/</span>> ></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span>     MacroDefinitionsMap;</div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>   <span class="keyword">typedef</span> llvm::DenseMap<DeclarationName, SmallVector<NamedDecl *, 8> ></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span>     DeclsMap;</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="comment"></span></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> <span class="comment">/// \brief Collect the macro definitions provided by the given preprocessor</span></div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> <span class="comment">/// options.</span></div>
+<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a8c91f6e0a029ae2b1539d4add6dd1327">  219</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTReader_8cpp.html#a8c91f6e0a029ae2b1539d4add6dd1327" title="Collect the macro definitions provided by the given preprocessor options.">collectMacroDefinitions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts,</div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>                                     MacroDefinitionsMap &Macros,</div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>                                     <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<StringRef></a> *MacroNames = 0){</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#ae048445dc7b1036784a71d057eb803c1">Macros</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>     StringRef Macro = PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#ae048445dc7b1036784a71d057eb803c1">Macros</a>[I].first;</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>     <span class="keywordtype">bool</span> IsUndef = PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#ae048445dc7b1036784a71d057eb803c1">Macros</a>[I].second;</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> </div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span>     std::pair<StringRef, StringRef> MacroPair = Macro.split(<span class="charliteral">'='</span>);</div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span>     StringRef MacroName = MacroPair.first;</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span>     StringRef MacroBody = MacroPair.second;</div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> </div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span>     <span class="comment">// For an #undef'd macro, we only care about the name.</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span>     <span class="keywordflow">if</span> (IsUndef) {</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span>       <span class="keywordflow">if</span> (MacroNames && !Macros.count(MacroName))</div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>         MacroNames->push_back(MacroName);</div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span> </div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span>       Macros[MacroName] = std::make_pair(<span class="stringliteral">""</span>, <span class="keyword">true</span>);</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span>       <span class="keywordflow">continue</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> </div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>     <span class="comment">// For a #define'd macro, figure out the actual definition.</span></div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span>     <span class="keywordflow">if</span> (MacroName.size() == Macro.size())</div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>       MacroBody = <span class="stringliteral">"1"</span>;</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span>     <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span>       <span class="comment">// Note: GCC drops anything following an end-of-line character.</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span>       StringRef::size_type End = MacroBody.find_first_of(<span class="stringliteral">"\n\r"</span>);</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>       MacroBody = MacroBody.substr(0, End);</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>     }</div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span> </div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span>     <span class="keywordflow">if</span> (MacroNames && !Macros.count(MacroName))</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span>       MacroNames->push_back(MacroName);</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span>     Macros[MacroName] = std::make_pair(MacroBody, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span>   }</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span> }</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>          <span class="comment"></span></div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> <span class="comment">/// \brief Check the preprocessor options deserialized from the control block</span></div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> <span class="comment">/// against the preprocessor options in an existing preprocessor.</span></div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> <span class="comment">/// \param Diags If non-null, produce diagnostics for any mismatches incurred.</span></div>
+<div class="line"><a name="l00258"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#ac52041bb817074de73114c5084656afc">  258</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#ac52041bb817074de73114c5084656afc" title="Check the preprocessor options deserialized from the control block against the preprocessor options i...">checkPreprocessorOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts,</div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span>                                      <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &ExistingPPOpts,</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span>                                      <a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> *Diags,</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</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,</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span>                                      std::string &SuggestedPredefines,</div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span>                                      <span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts) {</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span>   <span class="comment">// Check macro definitions.</span></div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span>   MacroDefinitionsMap ASTFileMacros;</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span>   <a class="code" href="ASTReader_8cpp.html#a8c91f6e0a029ae2b1539d4add6dd1327" title="Collect the macro definitions provided by the given preprocessor options.">collectMacroDefinitions</a>(PPOpts, ASTFileMacros);</div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span>   MacroDefinitionsMap ExistingMacros;</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<StringRef, 4></a> ExistingMacroNames;</div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span>   <a class="code" href="ASTReader_8cpp.html#a8c91f6e0a029ae2b1539d4add6dd1327" title="Collect the macro definitions provided by the given preprocessor options.">collectMacroDefinitions</a>(ExistingPPOpts, ExistingMacros, &ExistingMacroNames);</div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> </div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = ExistingMacroNames.size(); I != N; ++I) {</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span>     <span class="comment">// Dig out the macro definition in the existing preprocessor options.</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span>     StringRef MacroName = ExistingMacroNames[I];</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span>     std::pair<StringRef, bool> Existing = ExistingMacros[MacroName];</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="comment">// Check whether we know anything about this macro name or not.</span></div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>     llvm::StringMap<std::pair<StringRef, <span class="keywordtype">bool</span> <span class="comment">/*IsUndef*/</span>> >::iterator Known</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>       = ASTFileMacros.find(MacroName);</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>     <span class="keywordflow">if</span> (Known == ASTFileMacros.end()) {</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>       <span class="comment">// FIXME: Check whether this identifier was referenced anywhere in the</span></div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span>       <span class="comment">// AST file. If so, we should reject the AST file. Unfortunately, this</span></div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>       <span class="comment">// information isn't in the control block. What shall we do about it?</span></div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> </div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span>       <span class="keywordflow">if</span> (Existing.second) {</div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span>         SuggestedPredefines += <span class="stringliteral">"#undef "</span>;</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>         SuggestedPredefines += MacroName.str();</div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>         SuggestedPredefines += <span class="charliteral">'\n'</span>;</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span>         SuggestedPredefines += <span class="stringliteral">"#define "</span>;</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span>         SuggestedPredefines += MacroName.str();</div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span>         SuggestedPredefines += <span class="charliteral">' '</span>;</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span>         SuggestedPredefines += Existing.first.str();</div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span>         SuggestedPredefines += <span class="charliteral">'\n'</span>;</div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span>       }</div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>     }</div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span>     <span class="comment">// If the macro was defined in one but undef'd in the other, we have a</span></div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span>     <span class="comment">// conflict.</span></div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span>     <span class="keywordflow">if</span> (Existing.second != Known->second.second) {</div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>       <span class="keywordflow">if</span> (Diags) {</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span>         Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_macro_def_undef)</div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>           << MacroName << Known->second.second;</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span>       }</div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>     }</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span> </div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span>     <span class="comment">// If the macro was #undef'd in both, or if the macro bodies are identical,</span></div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span>     <span class="comment">// it's fine.</span></div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span>     <span class="keywordflow">if</span> (Existing.second || Existing.first == Known->second.first)</div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span> </div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span>     <span class="comment">// The macro bodies differ; complain.</span></div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span>     <span class="keywordflow">if</span> (Diags) {</div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_macro_def_conflict)</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span>         << MacroName << Known->second.first << Existing.first;</div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span>     }</div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span>   }</div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span> </div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span>   <span class="comment">// Check whether we're using predefines.</span></div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span>   <span class="keywordflow">if</span> (PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a6bf6504a1e99a33278fc9918525482be" title="Initialize the preprocessor with the compiler and target specific predefines.">UsePredefines</a> != ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a6bf6504a1e99a33278fc9918525482be" title="Initialize the preprocessor with the compiler and target specific predefines.">UsePredefines</a>) {</div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span>     <span class="keywordflow">if</span> (Diags) {</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_undef) << ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a6bf6504a1e99a33278fc9918525482be" title="Initialize the preprocessor with the compiler and target specific predefines.">UsePredefines</a>;</div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span>     }</div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span>   }</div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span> </div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span>   <span class="comment">// Detailed record is important since it is used for the module cache hash.</span></div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span>   <span class="keywordflow">if</span> (LangOpts.Modules &&</div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span>       PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#af9425f8ba984d1f17bbf5417bb45fb94" title="Whether we should maintain a detailed record of all macro definitions and expansions.">DetailedRecord</a> != ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#af9425f8ba984d1f17bbf5417bb45fb94" title="Whether we should maintain a detailed record of all macro definitions and expansions.">DetailedRecord</a>) {</div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>     <span class="keywordflow">if</span> (Diags) {</div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span>       Diags-><a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_pch_pp_detailed_record) << PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#af9425f8ba984d1f17bbf5417bb45fb94" title="Whether we should maintain a detailed record of all macro definitions and expansions.">DetailedRecord</a>;</div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span>     }</div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>   }</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>   <span class="comment">// Compute the #include and #include_macros lines we need.</span></div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span>     StringRef File = ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>[I];</div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span>     <span class="keywordflow">if</span> (File == ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#ab62f6211f45e53fb6a45ad84d2a87657" title="The implicit PCH included at the start of the translation unit, or empty.">ImplicitPCHInclude</a>)</div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span> </div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>     <span class="keywordflow">if</span> (std::find(PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>.begin(), PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>.end(), File)</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>           != PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>.end())</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span> </div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>     SuggestedPredefines += <span class="stringliteral">"#include \""</span>;</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>     SuggestedPredefines +=</div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span>       <a class="code" href="classclang_1_1HeaderSearch.html#af3794c0df592e387248a7a96d81274a2" title="Helper static function to normalize a path for injection into a synthetic header.">HeaderSearch::NormalizeDashIncludePath</a>(File, FileMgr);</div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span>     SuggestedPredefines += <span class="stringliteral">"\"\n"</span>;</div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>   }</div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span> </div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>     StringRef File = ExistingPPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>[I];</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>     <span class="keywordflow">if</span> (std::find(PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>.begin(), PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>.end(),</div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>                   File)</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>         != PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>.end())</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span> </div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span>     SuggestedPredefines += <span class="stringliteral">"#__include_macros \""</span>;</div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span>     SuggestedPredefines +=</div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span>       <a class="code" href="classclang_1_1HeaderSearch.html#af3794c0df592e387248a7a96d81274a2" title="Helper static function to normalize a path for injection into a synthetic header.">HeaderSearch::NormalizeDashIncludePath</a>(File, FileMgr);</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span>     SuggestedPredefines += <span class="stringliteral">"\"\n##\n"</span>;</div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>   }</div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span> </div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span> }</div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span> </div>
+<div class="line"><a name="l00370"></a><span class="lineno"><a class="code" href="classclang_1_1PCHValidator.html#aa630dfcb44df90b4c5aa9b494a5ec1f9">  370</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1PCHValidator.html#aa630dfcb44df90b4c5aa9b494a5ec1f9" title="Receives the preprocessor options.">PCHValidator::ReadPreprocessorOptions</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts,</div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span>                                            <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span>                                            std::string &SuggestedPredefines) {</div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &ExistingPPOpts = PP.getPreprocessorOpts();</div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span> </div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span>   <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#ac52041bb817074de73114c5084656afc" title="Check the preprocessor options deserialized from the control block against the preprocessor options i...">checkPreprocessorOptions</a>(PPOpts, ExistingPPOpts,</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span>                                   Complain? &Reader.Diags : 0,</div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span>                                   PP.getFileManager(),</div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span>                                   SuggestedPredefines,</div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span>                                   PP.getLangOpts());</div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span> }</div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> </div>
+<div class="line"><a name="l00382"></a><span class="lineno"><a class="code" href="classclang_1_1PCHValidator.html#ae9753faa4affc703665aa553faab1c45">  382</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1PCHValidator.html#ae9753faa4affc703665aa553faab1c45" title="Receives COUNTER value.">PCHValidator::ReadCounter</a>(<span class="keyword">const</span> ModuleFile &M, <span class="keywordtype">unsigned</span> <a class="code" href="UninitializedValues_8cpp.html#a896c037a32087c5c20d97e64a1786880">Value</a>) {</div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span>   PP.setCounterValue(Value);</div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</span> }</div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</span> </div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">// AST reader implementation</span></div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment">//===----------------------------------------------------------------------===//</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></div>
+<div class="line"><a name="l00391"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ae022998e598f94eae58d715ee810b75d">  391</a></span> <a class="code" href="classclang_1_1ASTReader.html#ae022998e598f94eae58d715ee810b75d" title="Set the AST deserialization listener.">ASTReader::setDeserializationListener</a>(<a class="code" href="classclang_1_1ASTDeserializationListener.html">ASTDeserializationListener</a> *Listener) {</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>   DeserializationListener = Listener;</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> </div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span> </div>
+<div class="line"><a name="l00397"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait.html#a535b02cd91e35aff4506e96868307740">  397</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ASTSelectorLookupTrait::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="l00398"></a><span class="lineno">  398</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="l00399"></a><span class="lineno">  399</span> }</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span> </div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span> </div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span> std::pair<unsigned, unsigned></div>
+<div class="line"><a name="l00403"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait.html#a1a2673f0d7a3918566eb1adb0ba40f20">  403</a></span> ASTSelectorLookupTrait::ReadKeyDataLength(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*& d) {</div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span>   <span class="keywordtype">unsigned</span> KeyLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>   <span class="keywordtype">unsigned</span> DataLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>   <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</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> <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">ASTSelectorLookupTrait::internal_key_type</a> </div>
+<div class="line"><a name="l00411"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait.html#a008bcda2d0f184b8f1a49a12adf2c5db">  411</a></span> ASTSelectorLookupTrait::ReadKey(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>   <a class="code" href="classclang_1_1SelectorTable.html" title="This table allows us to fully hide how we implement multi-keyword caching.">SelectorTable</a> &SelTable = Reader.getContext().Selectors;</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span>   <span class="keywordtype">unsigned</span> N = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *FirstII</div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span>     = Reader.getLocalIdentifier(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d));</div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span>   <span class="keywordflow">if</span> (N == 0)</div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span>     <span class="keywordflow">return</span> SelTable.getNullarySelector(FirstII);</div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (N == 1)</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>     <span class="keywordflow">return</span> SelTable.getUnarySelector(FirstII);</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>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<IdentifierInfo *, 16></a> <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>;</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>   <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>.push_back(FirstII);</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 1; I != N; ++I)</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>     <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>.push_back(Reader.getLocalIdentifier(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)));</div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span> </div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>   <span class="keywordflow">return</span> SelTable.getSelector(N, <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>.data());</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span> }</div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span> </div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait_1_1data__type.html">ASTSelectorLookupTrait::data_type</a> </div>
+<div class="line"><a name="l00431"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait.html#a0d9cec8684497e2d28f1ae222040f507">  431</a></span> ASTSelectorLookupTrait::ReadData(<a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a>, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d, </div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>                                  <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>   <span class="keyword">using namespace </span>clang::io;</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>   <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait_1_1data__type.html">data_type</a> Result;</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>   Result.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait_1_1data__type.html#a30333e9314a9f4f2c0e0e87dd8ed3318">ID</a> = Reader.getGlobalSelectorID(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d));</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>   <span class="keywordtype">unsigned</span> NumInstanceMethodsAndBits = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>   <span class="keywordtype">unsigned</span> NumFactoryMethodsAndBits = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>   Result.InstanceBits = NumInstanceMethodsAndBits & 0x3;</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>   Result.FactoryBits = NumFactoryMethodsAndBits & 0x3;</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>   <span class="keywordtype">unsigned</span> NumInstanceMethods = NumInstanceMethodsAndBits >> 2;</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>   <span class="keywordtype">unsigned</span> NumFactoryMethods = NumFactoryMethodsAndBits >> 2;</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span> </div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span>   <span class="comment">// Load instance methods</span></div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumInstanceMethods; ++I) {</div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *Method</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>           = Reader.GetLocalDeclAs<<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>>(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)))</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>       Result.Instance.push_back(Method);</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>   }</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="comment">// Load factory methods</span></div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumFactoryMethods; ++I) {</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *Method</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>           = Reader.GetLocalDeclAs<<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>>(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)))</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span>       Result.Factory.push_back(Method);</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> </div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>   <span class="keywordflow">return</span> Result;</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> </div>
+<div class="line"><a name="l00462"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#a6e2b928d79e6d7cfd00df823a5dea91e">  462</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ASTIdentifierLookupTraitBase::ComputeHash</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#a8358aadfcd4c7e2d740f59b2712b2047">internal_key_type</a>& a) {</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>   <span class="keywordflow">return</span> llvm::HashString(a);</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span> }</div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span> </div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span> std::pair<unsigned, unsigned></div>
+<div class="line"><a name="l00467"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#a3419a8c98f20f4bc42ffe1cce5d69ea6">  467</a></span> ASTIdentifierLookupTraitBase::ReadKeyDataLength(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*& d) {</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>   <span class="keywordtype">unsigned</span> DataLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>   <span class="keywordtype">unsigned</span> KeyLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>   <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span> }</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span> </div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span> <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#a8358aadfcd4c7e2d740f59b2712b2047">ASTIdentifierLookupTraitBase::internal_key_type</a></div>
+<div class="line"><a name="l00475"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#af7b5c1ff3c8e30b0d369e68933cdf936">  475</a></span> ASTIdentifierLookupTraitBase::ReadKey(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d, <span class="keywordtype">unsigned</span> n) {</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>   assert(n >= 2 && d[n-1] == <span class="charliteral">'\0'</span>);</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>   <span class="keywordflow">return</span> StringRef((<span class="keyword">const</span> <span class="keywordtype">char</span>*) d, n-1);</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span> }</div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span> <span class="comment"></span></div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="comment">/// \brief Whether the given identifier is "interesting".</span></div>
+<div class="line"><a name="l00481"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467">  481</a></span> <span class="comment"></span><span class="keyword">static</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) {</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>   <span class="keywordflow">return</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="l00483"></a><span class="lineno">  483</span>          II.<a class="code" href="classclang_1_1IdentifierInfo.html#a414c31340fa68167c2a913956b13c83f">isExtensionToken</a>() ||</div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span>          II.<a class="code" href="classclang_1_1IdentifierInfo.html#aa2ab615730340e5c7e982a50b78f2db3">getObjCOrBuiltinID</a>() ||</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</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="l00486"></a><span class="lineno">  486</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="l00487"></a><span class="lineno">  487</span>          II.<a class="code" href="classclang_1_1IdentifierInfo.html#a161c9f2897518aab65455b22ceb2bf15">getFETokenInfo</a><<span class="keywordtype">void</span>>();</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span> }</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span> </div>
+<div class="line"><a name="l00490"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTrait.html#a8339ad8ef9e76a428c69592c3236ae16">  490</a></span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *ASTIdentifierLookupTrait::ReadData(<span class="keyword">const</span> <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTraitBase.html#a8358aadfcd4c7e2d740f59b2712b2047">internal_key_type</a>& k,</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>                                                    <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d,</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>                                                    <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>   <span class="keywordtype">unsigned</span> RawID = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d);</div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>   <span class="keywordtype">bool</span> IsInteresting = RawID & 0x01;</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span> </div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>   <span class="comment">// Wipe out the "is interesting" bit.</span></div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>   RawID = RawID >> 1;</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span> </div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</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> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a> = Reader.getGlobalIdentifierID(F, RawID);</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>   <span class="keywordflow">if</span> (!IsInteresting) {</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>     <span class="comment">// For uninteresting identifiers, just build the IdentifierInfo</span></div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>     <span class="comment">// and associate it with the persistent ID.</span></div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>     <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II = KnownII;</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>     <span class="keywordflow">if</span> (!II) {</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>       II = &Reader.getIdentifierTable().getOwn(k);</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>       KnownII = II;</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>     Reader.SetIdentifierInfo(<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, II);</div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>     <span class="keywordflow">if</span> (!II-><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>()) {</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>       <span class="keywordtype">bool</span> WasInteresting = <a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467" title="Whether the given identifier is "interesting".">isInterestingIdentifier</a>(*II);</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span>       II-><a class="code" href="classclang_1_1IdentifierInfo.html#afadbf2b4c90db350f9387e4e3a74772d">setIsFromAST</a>();</div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span>       <span class="keywordflow">if</span> (WasInteresting)</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>         II-><a class="code" href="classclang_1_1IdentifierInfo.html#ad6acea339268ccdbf24fad254b7f1524" title="Note that this identifier has changed since it was loaded from an AST file.">setChangedSinceDeserialization</a>();</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>     }</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>     Reader.markIdentifierUpToDate(II);</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>     <span class="keywordflow">return</span> II;</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>   }</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span> </div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>   <span class="keywordtype">unsigned</span> ObjCOrBuiltinID = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>   <span class="keywordtype">unsigned</span> Bits = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>   <span class="keywordtype">bool</span> CPlusPlusOperatorKeyword = Bits & 0x01;</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>   Bits >>= 1;</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>   <span class="keywordtype">bool</span> HasRevertedTokenIDToIdentifier = Bits & 0x01;</div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span>   Bits >>= 1;</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>   <span class="keywordtype">bool</span> Poisoned = Bits & 0x01;</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>   Bits >>= 1;</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>   <span class="keywordtype">bool</span> ExtensionToken = Bits & 0x01;</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>   Bits >>= 1;</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>   <span class="keywordtype">bool</span> hasSubmoduleMacros = Bits & 0x01;</div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>   Bits >>= 1;</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>   <span class="keywordtype">bool</span> hadMacroDefinition = Bits & 0x01;</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>   Bits >>= 1;</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>   assert(Bits == 0 && <span class="stringliteral">"Extra bits in the identifier?"</span>);</div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>   DataLen -= 8;</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span> </div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>   <span class="comment">// Build the IdentifierInfo itself and link the identifier ID with</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>   <span class="comment">// the new IdentifierInfo.</span></div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II = KnownII;</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>   <span class="keywordflow">if</span> (!II) {</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>     II = &Reader.getIdentifierTable().getOwn(StringRef(k));</div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span>     KnownII = II;</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>   }</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>   Reader.markIdentifierUpToDate(II);</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span>   <span class="keywordflow">if</span> (!II->isFromAST()) {</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>     <span class="keywordtype">bool</span> WasInteresting = <a class="code" href="ASTReader_8cpp.html#a9135cbae973df92ceaaf69bc37983467" title="Whether the given identifier is "interesting".">isInterestingIdentifier</a>(*II);</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>     II->setIsFromAST();</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>     <span class="keywordflow">if</span> (WasInteresting)</div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>       II->setChangedSinceDeserialization();</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>   }</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span> </div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>   <span class="comment">// Set or check the various bits in the IdentifierInfo structure.</span></div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>   <span class="comment">// Token IDs are read-only.</span></div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>   <span class="keywordflow">if</span> (HasRevertedTokenIDToIdentifier && II->getTokenID() != tok::identifier)</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>     II->RevertTokenIDToIdentifier();</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>   II->setObjCOrBuiltinID(ObjCOrBuiltinID);</div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>   assert(II->isExtensionToken() == ExtensionToken &&</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>          <span class="stringliteral">"Incorrect extension token flag"</span>);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>   (void)ExtensionToken;</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>   <span class="keywordflow">if</span> (Poisoned)</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>     II->setIsPoisoned(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>   assert(II->isCPlusPlusOperatorKeyword() == CPlusPlusOperatorKeyword &&</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span>          <span class="stringliteral">"Incorrect C++ operator keyword flag"</span>);</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span>   (void)CPlusPlusOperatorKeyword;</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span> </div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>   <span class="comment">// If this identifier is a macro, deserialize the macro</span></div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>   <span class="comment">// definition.</span></div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>   <span class="keywordflow">if</span> (hadMacroDefinition) {</div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>     uint32_t MacroDirectivesOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d);</div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span>     DataLen -= 4;</div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<uint32_t, 8></a> LocalMacroIDs;</div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>     <span class="keywordflow">if</span> (hasSubmoduleMacros) {</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>       <span class="keywordflow">while</span> (uint32_t <a class="code" href="namespaceclang_1_1serialization.html#a982546b74e310731683f63c1ddd462fa" title="A local to a module ID number that refers to a macro in an AST file.">LocalMacroID</a> = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)) {</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>         DataLen -= 4;</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>         LocalMacroIDs.push_back(<a class="code" href="namespaceclang_1_1serialization.html#a982546b74e310731683f63c1ddd462fa" title="A local to a module ID number that refers to a macro in an AST file.">LocalMacroID</a>);</div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>       }</div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span>       DataLen -= 4;</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>     }</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span> </div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>     <span class="keywordflow">if</span> (F.Kind == <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>) {</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>       <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<uint32_t>::iterator</a></div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>              I = LocalMacroIDs.begin(), E = LocalMacroIDs.end(); I != E; ++I) {</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</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> MacID = Reader.getGlobalMacroID(F, *I);</div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span>         Reader.addPendingMacroFromModule(II, &F, MacID, F.DirectImportLoc);</div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>       }</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>       Reader.addPendingMacroFromPCH(II, &F, MacroDirectivesOffset);</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>   }</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span> </div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>   Reader.SetIdentifierInfo(<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, II);</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="comment">// Read all of the declarations visible at global scope with this</span></div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>   <span class="comment">// name.</span></div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>   <span class="keywordflow">if</span> (DataLen > 0) {</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<uint32_t, 4></a> DeclIDs;</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>     <span class="keywordflow">for</span> (; DataLen > 0; DataLen -= 4)</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>       DeclIDs.push_back(Reader.getGlobalDeclID(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)));</div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>     Reader.SetGloballyVisibleDecls(II, DeclIDs);</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> </div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>   <span class="keywordflow">return</span> II;</div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span> }</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span> </div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span> <span class="keywordtype">unsigned</span> </div>
+<div class="line"><a name="l00607"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a7f5dcc5517fe36772bdfd29fb0a16edf">  607</a></span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">ASTDeclContextNameLookupTrait::ComputeHash</a>(<span class="keyword">const</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">DeclNameKey</a> &Key)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</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="l00609"></a><span class="lineno">  609</span>   ID.AddInteger(Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a0bf1ec1fc81e5f6e944102646ce964d7">Kind</a>);</div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span> </div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>   <span class="keywordflow">switch</span> (Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a0bf1ec1fc81e5f6e944102646ce964d7">Kind</a>) {</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span>     ID.AddString(((<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a>*)Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a>)->getName());</div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>     ID.AddInteger(<a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">serialization::ComputeHash</a>(<a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a>(Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a>)));</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>     ID.AddInteger((<a class="code" href="namespaceclang.html#ad937c281bb5b868d30a72c9bf137baf6" title="Enumeration specifying the different kinds of C++ overloaded operators.">OverloadedOperatorKind</a>)Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a>);</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>     <span class="keywordflow">break</span>;</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> </div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>   <span class="keywordflow">return</span> ID.ComputeHash();</div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span> }</div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> </div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">ASTDeclContextNameLookupTrait::internal_key_type</a> </div>
+<div class="line"><a name="l00635"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#af3eb838443cc6b01a122e674bb5e9f59">  635</a></span> ASTDeclContextNameLookupTrait::GetInternalKey(</div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>                                           <span class="keyword">const</span> <a class="code" href="classclang_1_1DeclarationName.html">external_key_type</a>& Name)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span>   <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">DeclNameKey</a> Key;</div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>   Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a0bf1ec1fc81e5f6e944102646ce964d7">Kind</a> = 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="l00639"></a><span class="lineno">  639</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="l00640"></a><span class="lineno">  640</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>     Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a> = (uint64_t)Name.<a class="code" href="classclang_1_1DeclarationName.html#a1ac2d6e470af6bb6313c390760a1e155">getAsIdentifierInfo</a>();</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>     Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a> = (uint64_t)Name.<a class="code" href="classclang_1_1DeclarationName.html#a7fa7ca653938afcfe36dddee0172c662">getObjCSelector</a>().<a class="code" href="classclang_1_1Selector.html#a80539a2f47de149b6ad0435c063b09a1">getAsOpaquePtr</a>();</div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>     Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a> = Name.<a class="code" href="classclang_1_1DeclarationName.html#a6c76421a3cdb33248e6ae27ceba55caf">getCXXOverloadedOperator</a>();</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>     Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a> = (uint64_t)Name.<a class="code" href="classclang_1_1DeclarationName.html#aa637e5e3c416faae09e4c0e168b1b31d">getCXXLiteralIdentifier</a>();</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>     Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a48bef066144184ae79ed2e516bc5b537">Data</a> = 0;</div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span>   }</div>
+<div class="line"><a name="l00661"></a><span class="lineno">  661</span> </div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span>   <span class="keywordflow">return</span> Key;</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">  665</span> std::pair<unsigned, unsigned></div>
+<div class="line"><a name="l00666"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a7804b3b11dd5c3ddf88cb912b03f24f7">  666</a></span> ASTDeclContextNameLookupTrait::ReadKeyDataLength(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*& d) {</div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>   <span class="keywordtype">unsigned</span> KeyLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>   <span class="keywordtype">unsigned</span> DataLen = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>   <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span> }</div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span> </div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">ASTDeclContextNameLookupTrait::internal_key_type</a> </div>
+<div class="line"><a name="l00674"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a6b0b79f5330feb9af1cb370f2c8f1c9a">  674</a></span> ASTDeclContextNameLookupTrait::ReadKey(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span> </div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>   <a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">DeclNameKey</a> Key;</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span>   Key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html#a0bf1ec1fc81e5f6e944102646ce964d7">Kind</a> = (<a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3" title="NameKind - The kind of name this object contains.">DeclarationName::NameKind</a>)*d++;</div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span>   <span class="keywordflow">switch</span> (Key.Kind) {</div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a244f43949d88869f4d8782e758f5bac8">DeclarationName::Identifier</a>:</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>     Key.Data = (uint64_t)Reader.getLocalIdentifier(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d));</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aedf96650d378ac8741153ab49bf54d2a">DeclarationName::ObjCZeroArgSelector</a>:</div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa4892781c4f7120569e57cce70c1cb0b">DeclarationName::ObjCOneArgSelector</a>:</div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a35c00eb057c0914003e9a60dd3ef4a97">DeclarationName::ObjCMultiArgSelector</a>:</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>     Key.Data =</div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span>        (uint64_t)Reader.getLocalSelector(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d))</div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span>                    .getAsOpaquePtr();</div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aa12a1e5dd5f04687d11eaf8ca7924faf">DeclarationName::CXXOperatorName</a>:</div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span>     Key.Data = *d++; <span class="comment">// OverloadedOperatorKind</span></div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a72a534aca2e192f3fcc66c34c16e7e19">DeclarationName::CXXLiteralOperatorName</a>:</div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span>     Key.Data = (uint64_t)Reader.getLocalIdentifier(F, <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d));</div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3df3681bdb9f6f1a80535aaa4136e14f">DeclarationName::CXXConstructorName</a>:</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a3dd601f149fac45969958b93199092dc">DeclarationName::CXXDestructorName</a>:</div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3aecafb8f0bcaa01d99791b0bebf534ac6">DeclarationName::CXXConversionFunctionName</a>:</div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span>   <span class="keywordflow">case</span> <a class="code" href="classclang_1_1DeclarationName.html#a9ab322d434446b43379d39e41af5cbe3a76b16a50222b4ca230bfd271af70434c">DeclarationName::CXXUsingDirective</a>:</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span>     Key.Data = 0;</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span>   }</div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span> </div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span>   <span class="keywordflow">return</span> Key;</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span> }</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span> </div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span> <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a3a09bc5c4af3d4ec0d598e465e7981eb">ASTDeclContextNameLookupTrait::data_type</a> </div>
+<div class="line"><a name="l00708"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a04c27fb31ff2f37b7cb3c72223ed73c9">  708</a></span> ASTDeclContextNameLookupTrait::ReadData(<a class="code" href="structclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait_1_1DeclNameKey.html" title="Special internal key for declaration names. The hash table creates keys for comparison; we do not cre...">internal_key_type</a>, </div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>                                         <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* d,</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span>                                         <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span>   <span class="keywordtype">unsigned</span> NumDecls = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span>   <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a953154e5496404af64a93ac7d40cffaa" title="Pair of begin/end iterators for DeclIDs.">LE32DeclID</a> *Start = <span class="keyword">reinterpret_cast<</span><a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html#a953154e5496404af64a93ac7d40cffaa" title="Pair of begin/end iterators for DeclIDs.">LE32DeclID</a> *<span class="keyword">></span>(</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span>                         <span class="keyword">const_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<span class="keyword">></span>(d));</div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>   <span class="keywordflow">return</span> std::make_pair(Start, Start + NumDecls);</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span> }</div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span> </div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span> <span class="keywordtype">bool</span> ASTReader::ReadDeclContextStorage(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M,</div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span>                                        BitstreamCursor &Cursor,</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>                                    <span class="keyword">const</span> std::pair<uint64_t, uint64_t> &Offsets,</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span>                                        <a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html" title="Information about the contents of a DeclContext.">DeclContextInfo</a> &Info) {</div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>   <a class="code" href="structclang_1_1SavedStreamPosition.html" title="Helper class that saves the current stream position and then restores it when destroyed.">SavedStreamPosition</a> SavedPosition(Cursor);</div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>   <span class="comment">// First the lexical decls.</span></div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span>   <span class="keywordflow">if</span> (Offsets.first != 0) {</div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>     Cursor.JumpToBit(Offsets.first);</div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span> </div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span>     RecordData Record;</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span>     StringRef Blob;</div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span>     <span class="keywordtype">unsigned</span> Code = Cursor.ReadCode();</div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span>     <span class="keywordtype">unsigned</span> RecCode = Cursor.readRecord(Code, Record, &Blob);</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>     <span class="keywordflow">if</span> (RecCode != <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="l00732"></a><span class="lineno">  732</span>       Error(<span class="stringliteral">"Expected lexical block"</span>);</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>     }</div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span> </div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>     Info.<a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html#a3e5586305c548b9f63f5867a4c89a067">LexicalDecls</a> = <span class="keyword">reinterpret_cast<</span><span class="keyword">const </span><a class="code" href="namespaceclang_1_1serialization.html#ae7d1e33c5193ac34820dcfeefe66c403" title="a Decl::Kind/DeclID pair.">KindDeclIDPair</a>*<span class="keyword">></span>(Blob.data());</div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>     Info.<a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html#a5074c0c79ca01bb98fee249dded6efaa">NumLexicalDecls</a> = Blob.size() / <span class="keyword">sizeof</span>(<a class="code" href="namespaceclang_1_1serialization.html#ae7d1e33c5193ac34820dcfeefe66c403" title="a Decl::Kind/DeclID pair.">KindDeclIDPair</a>);</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>   }</div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span> </div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>   <span class="comment">// Now the lookup table.</span></div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>   <span class="keywordflow">if</span> (Offsets.second != 0) {</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>     Cursor.JumpToBit(Offsets.second);</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span> </div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>     RecordData Record;</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>     StringRef Blob;</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span>     <span class="keywordtype">unsigned</span> Code = Cursor.ReadCode();</div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>     <span class="keywordtype">unsigned</span> RecCode = Cursor.readRecord(Code, Record, &Blob);</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>     <span class="keywordflow">if</span> (RecCode != <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="l00749"></a><span class="lineno">  749</span>       Error(<span class="stringliteral">"Expected visible lookup table block"</span>);</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span>     }</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>     Info.<a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html#a3dfe1cddd1056baefe2a417fc362b939">NameLookupTableData</a></div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>       = ASTDeclContextNameLookupTable::Create(</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>                     (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Blob.data() + Record[0],</div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>                     (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Blob.data(),</div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>                     <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html" title="Class that performs name lookup into a DeclContext stored in an AST file.">ASTDeclContextNameLookupTrait</a>(*<span class="keyword">this</span>, M));</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span>   }</div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span> </div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span> }</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span> </div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span> <span class="keywordtype">void</span> ASTReader::Error(StringRef Msg) {</div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span>   Error(diag::err_fe_pch_malformed, Msg);</div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>   <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().Modules && !Diags.isDiagnosticInFlight()) {</div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>     <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::note_module_cache_path)</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>       << PP.getHeaderSearchInfo().getModuleCachePath();</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>   }</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span> }</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span> </div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span> <span class="keywordtype">void</span> ASTReader::Error(<span class="keywordtype">unsigned</span> DiagID,</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span>                       StringRef Arg1, StringRef Arg2) {</div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span>   <span class="keywordflow">if</span> (Diags.isDiagnosticInFlight())</div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>     Diags.SetDelayedDiagnostic(DiagID, Arg1, Arg2);</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>   <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span>     <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(DiagID) << Arg1 << Arg2;</div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</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="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span> <span class="comment">// Source Manager Deserialization</span></div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> <span class="comment"></span></div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span> <span class="comment">/// \brief Read the line table in the source manager block.</span></div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span> <span class="comment">/// \returns true if there was an error.</span></div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> <span class="comment"></span><span class="keywordtype">bool</span> ASTReader::ParseLineTable(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F,</div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>                                <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<uint64_t></a> &Record) {</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span>   <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span>   <a class="code" href="classclang_1_1LineTableInfo.html" title="Used to hold and unique data used to represent #line information.">LineTableInfo</a> &LineTable = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#af8b2eab6301eb653ca3ba47e6b65a910" title="Retrieve the stored line table.">getLineTable</a>();</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span> </div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>   <span class="comment">// Parse the file names</span></div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>   std::map<int, int> FileIDs;</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span>   <span class="keywordflow">for</span> (<span class="keywordtype">int</span> I = 0, N = Record[Idx++]; I != N; ++I) {</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span>     <span class="comment">// Extract the file name</span></div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span>     <span class="keywordtype">unsigned</span> FilenameLen = Record[Idx++];</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span>     std::string Filename(&Record[Idx], &Record[Idx] + FilenameLen);</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span>     Idx += FilenameLen;</div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span>     MaybeAddSystemRootToFilename(F, Filename);</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span>     FileIDs[I] = LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#a842cdc0e9adf93719e56bbe70902c796">getLineTableFilenameID</a>(Filename);</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span>   }</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>   <span class="comment">// Parse the line entries</span></div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span>   std::vector<LineEntry> <a class="code" href="SemaOverload_8cpp.html#aada9fb11fc2f7b0dec4ef8195c16885e">Entries</a>;</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span>   <span class="keywordflow">while</span> (Idx < Record.size()) {</div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span>     <span class="keywordtype">int</span> FID = Record[Idx++];</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span>     assert(FID >= 0 && <span class="stringliteral">"Serialized line entries for non-local file."</span>);</div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>     <span class="comment">// Remap FileID from 1-based old view.</span></div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span>     FID += F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a> - 1;</div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span> </div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span>     <span class="comment">// Extract the line entries</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>     <span class="keywordtype">unsigned</span> NumEntries = Record[Idx++];</div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>     assert(NumEntries && <span class="stringliteral">"Numentries is 00000"</span>);</div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span>     Entries.clear();</div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>     Entries.reserve(NumEntries);</div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumEntries; ++I) {</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>       <span class="keywordtype">unsigned</span> FileOffset = Record[Idx++];</div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span>       <span class="keywordtype">unsigned</span> LineNo = Record[Idx++];</div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span>       <span class="keywordtype">int</span> FilenameID = FileIDs[Record[Idx++]];</div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>       <a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a> FileKind</div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span>         = (<a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a>)Record[Idx++];</div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span>       <span class="keywordtype">unsigned</span> IncludeOffset = Record[Idx++];</div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span>       Entries.push_back(<a class="code" href="structclang_1_1LineEntry.html#ad13f9a48c50609d6bde0229b5350cb38">LineEntry::get</a>(FileOffset, LineNo, FilenameID,</div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span>                                        FileKind, IncludeOffset));</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span>     }</div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span>     LineTable.<a class="code" href="classclang_1_1LineTableInfo.html#ac5e09d5950dde43066054321e1900179" title="Add a new line entry that has already been encoded into the internal representation of the line table...">AddEntry</a>(FileID::get(FID), Entries);</div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span>   }</div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span> </div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span> }</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span> <span class="comment"></span></div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span> <span class="comment">/// \brief Read a source manager block</span></div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span> <span class="comment"></span><span class="keywordtype">bool</span> ASTReader::ReadSourceManagerBlock(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F) {</div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span>   <span class="keyword">using namespace </span>SrcMgr;</div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span> </div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>   BitstreamCursor &SLocEntryCursor = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a8453f32b58d07c1c8ca54b03dd2a0ec8" title="Cursor used to read source location entries.">SLocEntryCursor</a>;</div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span> </div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span>   <span class="comment">// Set the source-location entry cursor to the current position in</span></div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span>   <span class="comment">// the stream. This cursor will be used to read the contents of the</span></div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>   <span class="comment">// source manager block initially, and then lazily read</span></div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>   <span class="comment">// source-location entries as needed.</span></div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>   SLocEntryCursor = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9bf07827f9d6d5220e6a2a081ddfa5c3" title="The main bitstream cursor for the main block.">Stream</a>;</div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span> </div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span>   <span class="comment">// The stream itself is going to skip over the source manager block.</span></div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span>   <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9bf07827f9d6d5220e6a2a081ddfa5c3" title="The main bitstream cursor for the main block.">Stream</a>.SkipBlock()) {</div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span>   }</div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span> </div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span>   <span class="comment">// Enter the source manager block.</span></div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span>   <span class="keywordflow">if</span> (SLocEntryCursor.EnterSubBlock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a56dc99fd6e0ab0d1eb2aa3a7e903641c" title="The block containing information about the source manager.">SOURCE_MANAGER_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span>     Error(<span class="stringliteral">"malformed source manager block record in AST file"</span>);</div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span>   }</div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span> </div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span>   RecordData Record;</div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span>     llvm::BitstreamEntry E = SLocEntryCursor.advanceSkippingSubblocks();</div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span>     </div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span>     <span class="keywordflow">switch</span> (E.Kind) {</div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock: <span class="comment">// Handled for us already.</span></div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span>       Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span>       <span class="comment">// The interesting case.</span></div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span>     }</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>     </div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span>     <span class="comment">// Read a record.</span></div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span>     Record.clear();</div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span>     StringRef Blob;</div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span>     <span class="keywordflow">switch</span> (SLocEntryCursor.readRecord(E.ID, Record, &Blob)) {</div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span>     <span class="keywordflow">default</span>:  <span class="comment">// Default behavior: ignore.</span></div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span> </div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>     <span class="keywordflow">case</span> <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="l00877"></a><span class="lineno">  877</span>     <span class="keywordflow">case</span> <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="l00878"></a><span class="lineno">  878</span>     <span class="keywordflow">case</span> <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="l00879"></a><span class="lineno">  879</span>       <span class="comment">// Once we hit one of the source location entries, we're done.</span></div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span>     }</div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span>   }</div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span> }</div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span> <span class="comment"></span></div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span> <span class="comment">/// \brief If a header file is not found at the path that we expect it to be</span></div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span> <span class="comment">/// and the PCH file was moved from its original location, try to resolve the</span></div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span> <span class="comment">/// file by assuming that header+PCH were moved together and the header is in</span></div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span> <span class="comment">/// the same place relative to the PCH.</span></div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span> <span class="comment"></span><span class="keyword">static</span> std::string</div>
+<div class="line"><a name="l00890"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a0463ba3bb6eae0a8eb39d9f68442b82c">  890</a></span> <a class="code" href="ASTReader_8cpp.html#a0463ba3bb6eae0a8eb39d9f68442b82c" title="If a header file is not found at the path that we expect it to be and the PCH file was moved from its...">resolveFileRelativeToOriginalDir</a>(<span class="keyword">const</span> std::string &Filename,</div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span>                                  <span class="keyword">const</span> std::string &OriginalDir,</div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span>                                  <span class="keyword">const</span> std::string &CurrDir) {</div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span>   assert(OriginalDir != CurrDir &&</div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span>          <span class="stringliteral">"No point trying to resolve the file if the PCH dir didn't change"</span>);</div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span>   <span class="keyword">using namespace </span>llvm::sys;</div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> filePath(Filename);</div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span>   fs::make_absolute(filePath);</div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span>   assert(path::is_absolute(OriginalDir));</div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> currPCHPath(CurrDir);</div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span> </div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span>   path::const_iterator fileDirI = path::begin(path::parent_path(filePath)),</div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span>                        fileDirE = path::end(path::parent_path(filePath));</div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span>   path::const_iterator origDirI = path::begin(OriginalDir),</div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span>                        origDirE = path::end(OriginalDir);</div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span>   <span class="comment">// Skip the common path components from filePath and OriginalDir.</span></div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span>   <span class="keywordflow">while</span> (fileDirI != fileDirE && origDirI != origDirE &&</div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span>          *fileDirI == *origDirI) {</div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span>     ++fileDirI;</div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span>     ++origDirI;</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span>   }</div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>   <span class="keywordflow">for</span> (; origDirI != origDirE; ++origDirI)</div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span>     path::append(currPCHPath, <span class="stringliteral">".."</span>);</div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span>   path::append(currPCHPath, fileDirI, fileDirE);</div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span>   path::append(currPCHPath, path::filename(Filename));</div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>   <span class="keywordflow">return</span> currPCHPath.str();</div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span> }</div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span> </div>
+<div class="line"><a name="l00918"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a0de17e700b3c14d7ff10ac69856ac6a7">  918</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#a0de17e700b3c14d7ff10ac69856ac6a7" title="Read the source location entry with index ID.">ASTReader::ReadSLocEntry</a>(<span class="keywordtype">int</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>) {</div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>   <span class="keywordflow">if</span> (ID == 0)</div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span> </div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>   <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span>(-ID) - 2 >= getTotalNumSLocs() || ID > 0) {</div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>     Error(<span class="stringliteral">"source location entry ID out-of-range for AST file"</span>);</div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>   }</div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span> </div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> *F = GlobalSLocEntryMap.find(-ID)->second;</div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>   F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a8453f32b58d07c1c8ca54b03dd2a0ec8" title="Cursor used to read source location entries.">SLocEntryCursor</a>.JumpToBit(F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a65cf8b1b1a21154e599d507a42413bbd" title="Offsets for all of the source location entries in the AST file.">SLocEntryOffsets</a>[ID - F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a>]);</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span>   BitstreamCursor &SLocEntryCursor = F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a8453f32b58d07c1c8ca54b03dd2a0ec8" title="Cursor used to read source location entries.">SLocEntryCursor</a>;</div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>   <span class="keywordtype">unsigned</span> BaseOffset = F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a>;</div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span> </div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span>   ++NumSLocEntriesRead;</div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>   llvm::BitstreamEntry Entry = SLocEntryCursor.advance();</div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span>   <span class="keywordflow">if</span> (Entry.Kind != llvm::BitstreamEntry::Record) {</div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span>     Error(<span class="stringliteral">"incorrectly-formatted source location entry in AST file"</span>);</div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span>   }</div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span>   </div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span>   <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span>   StringRef Blob;</div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span>   <span class="keywordflow">switch</span> (SLocEntryCursor.readRecord(Entry.ID, Record, &Blob)) {</div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span>   <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span>     Error(<span class="stringliteral">"incorrectly-formatted source location entry in AST file"</span>);</div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span> </div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span>   <span class="keywordflow">case</span> <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="l00947"></a><span class="lineno">  947</span>     <span class="comment">// We will detect whether a file changed and return 'Failure' for it, but</span></div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span>     <span class="comment">// we will also try to fail gracefully by setting up the SLocEntry.</span></div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span>     <span class="keywordtype">unsigned</span> InputID = Record[4];</div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span>     <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a> IF = getInputFile(*F, InputID);</div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</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 = IF.<a class="code" href="classclang_1_1serialization_1_1InputFile.html#af139fbaa1651e96cb0d107853f31adc3">getFile</a>();</div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>     <span class="keywordtype">bool</span> OverriddenBuffer = IF.<a class="code" href="classclang_1_1serialization_1_1InputFile.html#a85463bfbc14a86d276284c7a89bff6c5">isOverridden</a>();</div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span> </div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>     <span class="comment">// Note that we only check if a File was returned. If it was out-of-date</span></div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span>     <span class="comment">// we have complained but we will continue creating a FileID to recover</span></div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span>     <span class="comment">// gracefully.</span></div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>     <span class="keywordflow">if</span> (!File)</div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span> </div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</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> IncludeLoc = ReadSourceLocation(*F, Record[1]);</div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span>     <span class="keywordflow">if</span> (IncludeLoc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>() && F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af0cdb3be9cdc29ae4a8f351ab0f91083" title="The type of this module.">Kind</a> != <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea56f9f6ae59033d66f4f50e4fb149cce3" title="File is a PCH file treated as the actual main file.">MK_MainFile</a>) {</div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span>       <span class="comment">// This is the module's main file.</span></div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span>       IncludeLoc = getImportLocation(F);</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="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a></div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span>       FileCharacter = (<a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a>)Record[2];</div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</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 = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#acefb5d310242160b1910104bbf4d8b2d" title="Create a new FileID that represents the specified file being #included from the specified IncludePosi...">createFileID</a>(File, IncludeLoc, FileCharacter,</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span>                                         ID, BaseOffset + Record[0]);</div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</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> &FileInfo =</div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span>           <span class="keyword">const_cast<</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>&<span class="keyword">></span>(<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#ad1585a31ee5f93aaca7cce35f3f6922c">getSLocEntry</a>(FID).<a class="code" href="classclang_1_1SrcMgr_1_1SLocEntry.html#a1fb51637aa60930cf8993b7a6dfd0f4d">getFile</a>());</div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span>     FileInfo.NumCreatedFIDs = Record[5];</div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span>     <span class="keywordflow">if</span> (Record[3])</div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span>       FileInfo.<a class="code" href="classclang_1_1SrcMgr_1_1FileInfo.html#aabfc37ce65b4c44f53acc8477ca8c1c5" title="Set the flag that indicates that this FileID has line table entries associated with it...">setHasLineDirectives</a>();</div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span> </div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span>     <span class="keyword">const</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> *FirstDecl = F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#acdbc4cb9938d92fdf6238b873854ec43" title="Array of file-level DeclIDs sorted by file.">FileSortedDecls</a> + Record[6];</div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span>     <span class="keywordtype">unsigned</span> NumFileDecls = Record[7];</div>
+<div class="line"><a name="l00977"></a><span class="lineno">  977</span>     <span class="keywordflow">if</span> (NumFileDecls) {</div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span>       assert(F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#acdbc4cb9938d92fdf6238b873854ec43" title="Array of file-level DeclIDs sorted by file.">FileSortedDecls</a> && <span class="stringliteral">"FILE_SORTED_DECLS not encountered yet ?"</span>);</div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span>       FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,</div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span>                                                              NumFileDecls));</div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span>     }</div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span>     </div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span>     <span class="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> *ContentCache</div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span>       = <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.getOrCreateContentCache(File,</div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span>                               <span class="comment">/*isSystemFile=*/</span>FileCharacter != <a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35dab0548ddada8d87ad92e94d67e5af0a4f">SrcMgr::C_User</a>);</div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span>     <span class="keywordflow">if</span> (OverriddenBuffer && !ContentCache-><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="l00987"></a><span class="lineno">  987</span>         ContentCache-><a class="code" href="classclang_1_1SrcMgr_1_1ContentCache.html#a72749d7b00871e22159ff842f1ddc2b7" title="References the file which the contents were actually loaded from.">ContentsEntry</a> == ContentCache-><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="l00988"></a><span class="lineno">  988</span>       <span class="keywordtype">unsigned</span> Code = SLocEntryCursor.ReadCode();</div>
+<div class="line"><a name="l00989"></a><span class="lineno">  989</span>       Record.clear();</div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span>       <span class="keywordtype">unsigned</span> RecCode = SLocEntryCursor.readRecord(Code, Record, &Blob);</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="keywordflow">if</span> (RecCode != <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="l00993"></a><span class="lineno">  993</span>         Error(<span class="stringliteral">"AST record has invalid code"</span>);</div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>       }</div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>       </div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span>       llvm::MemoryBuffer *Buffer</div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span>         = llvm::MemoryBuffer::getMemBuffer(Blob.drop_back(1), File-><a class="code" href="classclang_1_1FileEntry.html#a94ddac74f217c35e19420dd6c419e25f">getName</a>());</div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span>       <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a0eb85320100e00c98e4bc3305e6e8753" title="Override the contents of the given source file by providing an already-allocated buffer.">overrideFileContents</a>(File, Buffer);</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>     }</div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span> </div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>   }</div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> </div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>   <span class="keywordflow">case</span> <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="l01006"></a><span class="lineno"> 1006</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *Name = Blob.data();</div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>     <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = Record[0];</div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>     <a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a></div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>       FileCharacter = (<a class="code" href="namespaceclang_1_1SrcMgr.html#a27297b3568f189486de6df08a8cba35d" title="Indicates whether a file or directory holds normal user code, system code, or system code which is im...">SrcMgr::CharacteristicKind</a>)Record[2];</div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</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> IncludeLoc = ReadSourceLocation(*F, Record[1]);</div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>     <span class="keywordflow">if</span> (IncludeLoc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>() && F-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af0cdb3be9cdc29ae4a8f351ab0f91083" title="The type of this module.">Kind</a> == <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>) {</div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>       IncludeLoc = getImportLocation(F);</div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>     }</div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>     <span class="keywordtype">unsigned</span> Code = SLocEntryCursor.ReadCode();</div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>     Record.clear();</div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>     <span class="keywordtype">unsigned</span> RecCode</div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>       = SLocEntryCursor.readRecord(Code, Record, &Blob);</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="keywordflow">if</span> (RecCode != <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="l01020"></a><span class="lineno"> 1020</span>       Error(<span class="stringliteral">"AST record has invalid code"</span>);</div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>     }</div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span> </div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>     llvm::MemoryBuffer *Buffer</div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>       = llvm::MemoryBuffer::getMemBuffer(Blob.drop_back(1), Name);</div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>     <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a765dbc1395783dd688dd0f5029b17088" title="Create a new FileID that represents the specified memory buffer.">createFileIDForMemBuffer</a>(Buffer, FileCharacter, ID,</div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>                                        BaseOffset + Offset, IncludeLoc);</div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>   }</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> </div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>   <span class="keywordflow">case</span> <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="l01032"></a><span class="lineno"> 1032</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> SpellingLoc = ReadSourceLocation(*F, Record[1]);</div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>     <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a2b7a4407834ab69d127968813cb33111" title="Return a new SourceLocation that encodes the fact that a token from SpellingLoc should actually be re...">createExpansionLoc</a>(SpellingLoc,</div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>                                      ReadSourceLocation(*F, Record[2]),</div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>                                      ReadSourceLocation(*F, Record[3]),</div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>                                      Record[4],</div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>                                      ID,</div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>                                      BaseOffset + Record[0]);</div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>   }</div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>   }</div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> </div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span> }</div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> </div>
+<div class="line"><a name="l01046"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a92796f6ed1e10eda4a5e35ccf9cb4dea"> 1046</a></span> std::pair<SourceLocation, StringRef> <a class="code" href="classclang_1_1ASTReader.html#a92796f6ed1e10eda4a5e35ccf9cb4dea" title="Retrieve the module import location and module name for the given source manager entry ID...">ASTReader::getModuleImportLoc</a>(<span class="keywordtype">int</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>) {</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>   <span class="keywordflow">if</span> (ID == 0)</div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>     <span class="keywordflow">return</span> std::make_pair(<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>(), <span class="stringliteral">""</span>);</div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> </div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>   <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span>(-ID) - 2 >= getTotalNumSLocs() || ID > 0) {</div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>     Error(<span class="stringliteral">"source location entry ID out-of-range for AST file"</span>);</div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>     <span class="keywordflow">return</span> std::make_pair(<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>(), <span class="stringliteral">""</span>);</div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>   }</div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span> </div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>   <span class="comment">// Find which module file this entry lands in.</span></div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> *M = GlobalSLocEntryMap.find(-ID)->second;</div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>   <span class="keywordflow">if</span> (M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af0cdb3be9cdc29ae4a8f351ab0f91083" title="The type of this module.">Kind</a> != <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>)</div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>     <span class="keywordflow">return</span> std::make_pair(<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>(), <span class="stringliteral">""</span>);</div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> </div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>   <span class="comment">// FIXME: Can we map this down to a particular submodule? That would be</span></div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>   <span class="comment">// ideal.</span></div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>   <span class="keywordflow">return</span> std::make_pair(M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5f1751f45ef511e48bcde792b499c129" title="The source location where this module was first imported.">ImportLoc</a>, llvm::sys::path::stem(M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa4695cae700072908654c579d193ddf1" title="The file name of the module file.">FileName</a>));</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"></span></div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <span class="comment">/// \brief Find the location where the module F is imported.</span></div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> <span class="comment"></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> ASTReader::getImportLocation(ModuleFile *F) {</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>   <span class="keywordflow">if</span> (F->ImportLoc.isValid())</div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>     <span class="keywordflow">return</span> F->ImportLoc;</div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>   </div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>   <span class="comment">// Otherwise we have a PCH. It's considered to be "imported" at the first</span></div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>   <span class="comment">// location of its includer.</span></div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>   <a class="code" href="mm__malloc_8h.html#a682140772a1d7d2744289e6abb2ad2ff">if</a> (F->ImportedBy.empty() || !F->ImportedBy[0]) {</div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>     <span class="comment">// Main file is the importer. We assume that it is the first entry in the</span></div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>     <span class="comment">// entry table. We can't ask the manager, because at the time of PCH loading</span></div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>     <span class="comment">// the main file entry doesn't exist yet.</span></div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>     <span class="comment">// The very first entry is the invalid instantiation loc, which takes up</span></div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>     <span class="comment">// offsets 0 and 1.</span></div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1SourceLocation.html#af6ffb91a339feae6d6a5101c533f1494" title="Turn a raw encoding of a SourceLocation object into a real SourceLocation.">SourceLocation::getFromRawEncoding</a>(2U);</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>   }</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>   <span class="comment">//return F->Loaders[0]->FirstLoc;</span></div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>   <span class="keywordflow">return</span> F->ImportedBy[0]->FirstLoc;</div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> }</div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> <span class="comment"></span></div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="comment">/// ReadBlockAbbrevs - Enter a subblock of the specified BlockID with the</span></div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="comment">/// specified cursor.  Read the abbreviations that are at the top of the block</span></div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <span class="comment">/// and then leave the cursor pointing into the block.</span></div>
+<div class="line"><a name="l01087"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a5e56d3247a0bbf4ca5d5df17e1a5f297"> 1087</a></span> <span class="comment"></span><span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#a5e56d3247a0bbf4ca5d5df17e1a5f297">ASTReader::ReadBlockAbbrevs</a>(BitstreamCursor &Cursor, <span class="keywordtype">unsigned</span> BlockID) {</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>   <span class="keywordflow">if</span> (Cursor.EnterSubBlock(BlockID)) {</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>     <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>   }</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="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>     uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = Cursor.GetCurrentBitNo();</div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>     <span class="keywordtype">unsigned</span> Code = Cursor.ReadCode();</div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> </div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>     <span class="comment">// We expect all abbrevs to be at the start of the block.</span></div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>     <span class="keywordflow">if</span> (Code != llvm::bitc::DEFINE_ABBREV) {</div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>       Cursor.JumpToBit(Offset);</div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>     }</div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>     Cursor.ReadAbbrevRecord();</div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>   }</div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> }</div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> </div>
+<div class="line"><a name="l01106"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#abb883592e3c62b64ff01842ad619a458"> 1106</a></span> <a class="code" href="classclang_1_1Token.html">Token</a> <a class="code" href="classclang_1_1ASTReader.html#abb883592e3c62b64ff01842ad619a458" title="Reads a token out of a record.">ASTReader::ReadToken</a>(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F, <span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">RecordDataImpl</a> &Record,</div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>                            <span class="keywordtype">unsigned</span> &Idx) {</div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>   <a class="code" href="classclang_1_1Token.html">Token</a> Tok;</div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>   Tok.<a class="code" href="classclang_1_1Token.html#ae1e49685acde6208c1c83f38540832c1" title="Reset all flags to cleared.">startToken</a>();</div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>   Tok.<a class="code" href="classclang_1_1Token.html#ab52b4059e1b2e648c78b7c326190d2ce">setLocation</a>(ReadSourceLocation(F, Record, Idx));</div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>   Tok.<a class="code" href="classclang_1_1Token.html#a2cd7bd0075db58067b69368ec471aaf5">setLength</a>(Record[Idx++]);</div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II = getLocalIdentifier(F, Record[Idx++]))</div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>     Tok.<a class="code" href="classclang_1_1Token.html#ae603a1243f89a7aeeabcb4d467c474ff">setIdentifierInfo</a>(II);</div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>   Tok.<a class="code" href="classclang_1_1Token.html#a44b757baba649ad00b79f78671a8a2aa">setKind</a>((<a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a>)Record[Idx++]);</div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>   Tok.<a class="code" href="classclang_1_1Token.html#afb82493d321db8d89b0a989eec2b1d36" title="Set the specified flag.">setFlag</a>((<a class="code" href="classclang_1_1Token.html#a9757e958209e601e408feda04be60db5">Token::TokenFlags</a>)Record[Idx++]);</div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>   <span class="keywordflow">return</span> Tok;</div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> }</div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> </div>
+<div class="line"><a name="l01119"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a2a6af740189f8145b16c4de93f724d80"> 1119</a></span> <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *<a class="code" href="classclang_1_1ASTReader.html#a2a6af740189f8145b16c4de93f724d80" title="Reads the macro record located at the given offset.">ASTReader::ReadMacroRecord</a>(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F, uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>) {</div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>   BitstreamCursor &Stream = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a68fd8cd6abb5eb0a61ec754e5a641b39" title="The cursor to the start of the preprocessor block, which stores all of the macro definitions.">MacroCursor</a>;</div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> </div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>   <span class="comment">// Keep track of where we are in the stream, then jump back there</span></div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>   <span class="comment">// after reading this macro.</span></div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>   <a class="code" href="structclang_1_1SavedStreamPosition.html" title="Helper class that saves the current stream position and then restores it when destroyed.">SavedStreamPosition</a> SavedPosition(Stream);</div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> </div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>   Stream.JumpToBit(Offset);</div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>   <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<IdentifierInfo*, 16></a> <a class="code" href="classclang_1_1MacroArgs.html">MacroArgs</a>;</div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>   <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *Macro = 0;</div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> </div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>     <span class="comment">// Advance to the next record, but if we get to the end of the block, don't</span></div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>     <span class="comment">// pop it (removing all the abbreviations from the cursor) since we want to</span></div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>     <span class="comment">// be able to reseek within the block and read entries.</span></div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>     <span class="keywordtype">unsigned</span> Flags = BitstreamCursor::AF_DontPopBlockAtEnd;</div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>     llvm::BitstreamEntry Entry = Stream.advanceSkippingSubblocks(Flags);</div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>     </div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock: <span class="comment">// Handled for us already.</span></div>
+<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>       Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>       <span class="keywordflow">return</span> Macro;</div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>       <span class="keywordflow">return</span> Macro;</div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>       <span class="comment">// The interesting case.</span></div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>       <span class="keywordflow">break</span>;</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">// Read a record.</span></div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>     Record.clear();</div>
+<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>     <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527e" title="Record types used within a preprocessor block.">PreprocessorRecordTypes</a> RecType =</div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>       (<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527e" title="Record types used within a preprocessor block.">PreprocessorRecordTypes</a>)Stream.readRecord(Entry.ID, Record);</div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>     <span class="keywordflow">switch</span> (RecType) {</div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea908de4b5112d9c2dd9b96083b6f71260" title="The macro directives history for a particular identifier.">PP_MACRO_DIRECTIVE_HISTORY</a>:</div>
+<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>       <span class="keywordflow">return</span> Macro;</div>
+<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> </div>
+<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>     <span class="keywordflow">case</span> <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="l01159"></a><span class="lineno"> 1159</span>     <span class="keywordflow">case</span> <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="l01160"></a><span class="lineno"> 1160</span>       <span class="comment">// If we already have a macro, that means that we've hit the end</span></div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>       <span class="comment">// of the definition of the macro we were looking for. We're</span></div>
+<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>       <span class="comment">// done.</span></div>
+<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>       <span class="keywordflow">if</span> (Macro)</div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>         <span class="keywordflow">return</span> Macro;</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="keywordtype">unsigned</span> <a class="code" href="CommentSema_8cpp.html#a38b380ef88278d7a296e66a4adafb537">NextIndex</a> = 1; <span class="comment">// Skip identifier ID.</span></div>
+<div class="line"><a name="l01167"></a><span class="lineno"> 1167</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> SubModID = getGlobalSubmoduleID(F, Record[NextIndex++]);</div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</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 = ReadSourceLocation(F, Record, NextIndex);</div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>       <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = PP.AllocateDeserializedMacroInfo(Loc, SubModID);</div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>       MI-><a class="code" href="classclang_1_1MacroInfo.html#a41c370ef8fcd8d25d51148d3687438a6" title="Set the location of the last token in the macro.">setDefinitionEndLoc</a>(ReadSourceLocation(F, Record, NextIndex));</div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>       MI-><a class="code" href="classclang_1_1MacroInfo.html#aecdfeef3939b8fbbe85b21b892fec83d" title="Set the value of the IsUsed flag.">setIsUsed</a>(Record[NextIndex++]);</div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span> </div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>       <span class="keywordflow">if</span> (RecType == <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="l01174"></a><span class="lineno"> 1174</span>         <span class="comment">// Decode function-like macro info.</span></div>
+<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>         <span class="keywordtype">bool</span> isC99VarArgs = Record[NextIndex++];</div>
+<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>         <span class="keywordtype">bool</span> isGNUVarArgs = Record[NextIndex++];</div>
+<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>         <span class="keywordtype">bool</span> hasCommaPasting = Record[NextIndex++];</div>
+<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>         MacroArgs.clear();</div>
+<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>         <span class="keywordtype">unsigned</span> NumArgs = Record[NextIndex++];</div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i != NumArgs; ++i)</div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>           MacroArgs.push_back(getLocalIdentifier(F, Record[NextIndex++]));</div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> </div>
+<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>         <span class="comment">// Install function-like macro info.</span></div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>         MI-><a class="code" href="classclang_1_1MacroInfo.html#a8ae859f9886c42ee3aa9c87fe254447a">setIsFunctionLike</a>();</div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>         <span class="keywordflow">if</span> (isC99VarArgs) MI-><a class="code" href="classclang_1_1MacroInfo.html#ae4fb0938aa11f096a98513bd89337cac" title="Varargs querying methods. This can only be set for function-like macros.">setIsC99Varargs</a>();</div>
+<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>         <span class="keywordflow">if</span> (isGNUVarArgs) MI-><a class="code" href="classclang_1_1MacroInfo.html#ab3e05d2cc85832df73945f016a4508d7">setIsGNUVarargs</a>();</div>
+<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>         <span class="keywordflow">if</span> (hasCommaPasting) MI-><a class="code" href="classclang_1_1MacroInfo.html#a26eb12518561bac5d555b559aac8ed7b">setHasCommaPasting</a>();</div>
+<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>         MI-><a class="code" href="classclang_1_1MacroInfo.html#ab4252f3e07830f901ce6162d4f3cbcd5" title="Set the specified list of identifiers as the argument list for this macro.">setArgumentList</a>(MacroArgs.data(), MacroArgs.size(),</div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>                             PP.getPreprocessorAllocator());</div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>       }</div>
+<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> </div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>       <span class="comment">// Remember that we saw this macro last so that we add the tokens that</span></div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>       <span class="comment">// form its body to it.</span></div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>       Macro = MI;</div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> </div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>       <span class="keywordflow">if</span> (NextIndex + 1 == Record.size() && PP.getPreprocessingRecord() &&</div>
+<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>           Record[<a class="code" href="CommentSema_8cpp.html#a38b380ef88278d7a296e66a4adafb537">NextIndex</a>]) {</div>
+<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>         <span class="comment">// We have a macro definition. Register the association</span></div>
+<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>         <a class="code" href="namespaceclang_1_1serialization.html#a69b0c2eae71e4e80def76ebd48d75957" title="An ID number that refers to an entity in the detailed preprocessing record.">PreprocessedEntityID</a></div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>             GlobalID = getGlobalPreprocessedEntityID(F, Record[NextIndex]);</div>
+<div class="line"><a name="l01201"></a><span class="lineno"> 1201</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.getPreprocessingRecord();</div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>         PreprocessingRecord::PPEntityID</div>
+<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>           PPID = PPRec.getPPEntityID(GlobalID-1, <span class="comment">/*isLoaded=*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>         <a class="code" href="classclang_1_1MacroDefinition.html" title="Record the location of a macro definition.">MacroDefinition</a> *PPDef =</div>
+<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>           cast_or_null<MacroDefinition>(PPRec.getPreprocessedEntity(PPID));</div>
+<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>         <span class="keywordflow">if</span> (PPDef)</div>
+<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>           PPRec.RegisterMacroDefinition(Macro, PPDef);</div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>       }</div>
+<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> </div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>       ++NumMacrosRead;</div>
+<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>     }</div>
+<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span> </div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>     <span class="keywordflow">case</span> <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="l01215"></a><span class="lineno"> 1215</span>       <span class="comment">// If we see a TOKEN before a PP_MACRO_*, then the file is</span></div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>       <span class="comment">// erroneous, just pretend we didn't see this.</span></div>
+<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>       <span class="keywordflow">if</span> (Macro == 0) <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span> </div>
+<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>       <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>       <a class="code" href="classclang_1_1Token.html">Token</a> Tok = ReadToken(F, Record, Idx);</div>
+<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>       Macro-><a class="code" href="classclang_1_1MacroInfo.html#acb55626f1e75c300c5060d7eaee460c9" title="Add the specified token to the replacement text for the macro.">AddTokenToBody</a>(Tok);</div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>     }</div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>     }</div>
+<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>   }</div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span> }</div>
+<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> </div>
+<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> <a class="code" href="namespaceclang_1_1serialization.html#a69b0c2eae71e4e80def76ebd48d75957" title="An ID number that refers to an entity in the detailed preprocessing record.">PreprocessedEntityID</a> </div>
+<div class="line"><a name="l01229"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a7d6208a0ba852e05e5e35152fd2c07c4"> 1229</a></span> <a class="code" href="classclang_1_1ASTReader.html#a7d6208a0ba852e05e5e35152fd2c07c4" title="Determine the global preprocessed entity ID that corresponds to the given local ID within the given m...">ASTReader::getGlobalPreprocessedEntityID</a>(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M, <span class="keywordtype">unsigned</span> LocalID)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>   <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::const_iterator</a> </div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>     I = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1d1b2f81270e8fcbaacccf1dde69eeeb" title="Remapping table for preprocessed entity IDs in this module.">PreprocessedEntityRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a06262ebf6496cd8a76111461eeb977f9">find</a>(LocalID - <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="l01232"></a><span class="lineno"> 1232</span>   assert(I != M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1d1b2f81270e8fcbaacccf1dde69eeeb" title="Remapping table for preprocessed entity IDs in this module.">PreprocessedEntityRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#ab41da90d6c752df09de12361c3d2b978">end</a>() </div>
+<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>          && <span class="stringliteral">"Invalid index into preprocessed entity index remap"</span>);</div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>   </div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>   <span class="keywordflow">return</span> LocalID + I->second;</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"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#a7b606d0b4abdc4c75e997bd178262327"> 1238</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="namespaceclang_1_1serialization.html#ae67b4ea0ba75813eed18b812020cf52e">HeaderFileInfoTrait::ComputeHash</a>(<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_ref</a> ikey) {</div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>   <span class="keywordflow">return</span> llvm::hash_combine(ikey.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#ad96647537eb8372e6c5e743888535eac">Size</a>, ikey.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#aeba079126466a46a84cb9c8c9d722f1f">ModTime</a>);</div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> }</div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>     </div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">HeaderFileInfoTrait::internal_key_type</a> </div>
+<div class="line"><a name="l01243"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#ac14346a49fe410a45d948f208486fe00"> 1243</a></span> HeaderFileInfoTrait::GetInternalKey(<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="l01244"></a><span class="lineno"> 1244</span>   <a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_type</a> ikey = { FE-><a class="code" href="classclang_1_1FileEntry.html#aee560da94e38d95f08dfa9779acc9367">getSize</a>(), FE-><a class="code" href="classclang_1_1FileEntry.html#a2df68d04c7f85abdcf5075db7778e033">getModificationTime</a>(),</div>
+<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>                              FE-><a class="code" href="classclang_1_1FileEntry.html#a94ddac74f217c35e19420dd6c419e25f">getName</a>() };</div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>   <span class="keywordflow">return</span> ikey;</div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> }</div>
+<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>     </div>
+<div class="line"><a name="l01249"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#a77ef75d939ec8b18b6af8dd479cf61b2"> 1249</a></span> <span class="keywordtype">bool</span> HeaderFileInfoTrait::EqualKey(<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_ref</a> a, <a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_ref</a> b) {</div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>   <span class="keywordflow">if</span> (a.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#ad96647537eb8372e6c5e743888535eac">Size</a> != b.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#ad96647537eb8372e6c5e743888535eac">Size</a> || a.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#aeba079126466a46a84cb9c8c9d722f1f">ModTime</a> != b.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#aeba079126466a46a84cb9c8c9d722f1f">ModTime</a>)</div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>     <span class="keywordflow">return</span> <span class="keyword">false</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>   <span class="keywordflow">if</span> (strcmp(a.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a>, b.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a>) == 0)</div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>   </div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>   <span class="comment">// Determine whether the actual files are equivalent.</span></div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</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 = Reader.getFileManager();</div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</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> *FEA = FileMgr.<a class="code" href="classclang_1_1FileManager.html#ae250b54e2bc90b8075b96ea7e88eff77" title="Lookup, cache, and verify the specified file (real or virtual).">getFile</a>(a.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a>);</div>
+<div class="line"><a name="l01259"></a><span class="lineno"> 1259</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> *FEB = FileMgr.<a class="code" href="classclang_1_1FileManager.html#ae250b54e2bc90b8075b96ea7e88eff77" title="Lookup, cache, and verify the specified file (real or virtual).">getFile</a>(b.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a>);</div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>   <span class="keywordflow">return</span> (FEA && FEA == FEB);</div>
+<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> }</div>
+<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>     </div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> std::pair<unsigned, unsigned></div>
+<div class="line"><a name="l01264"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#a692af601081ecb1006874e657774383d"> 1264</a></span> HeaderFileInfoTrait::ReadKeyDataLength(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*& d) {</div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>   <span class="keywordtype">unsigned</span> KeyLen = (<a class="code" href="classunsigned.html">unsigned</a>) <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">clang::io::ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>   <span class="keywordtype">unsigned</span> DataLen = (<a class="code" href="classunsigned.html">unsigned</a>) *d++;</div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>   <span class="keywordflow">return</span> std::make_pair(KeyLen, DataLen);</div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> }</div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> </div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> <a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">HeaderFileInfoTrait::internal_key_type</a></div>
+<div class="line"><a name="l01271"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#acdc793c9e0644cdb53d5608fa2f50447"> 1271</a></span> HeaderFileInfoTrait::ReadKey(<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *d, <span class="keywordtype">unsigned</span>) {</div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>   <a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_type</a> ikey;</div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>   ikey.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#ad96647537eb8372e6c5e743888535eac">Size</a> = off_t(<a class="code" href="namespaceclang_1_1io.html#a31f0e42c297008bc83161cc68967c9e7">clang::io::ReadUnalignedLE64</a>(d));</div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>   ikey.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#aeba079126466a46a84cb9c8c9d722f1f">ModTime</a> = time_t(<a class="code" href="namespaceclang_1_1io.html#a31f0e42c297008bc83161cc68967c9e7">clang::io::ReadUnalignedLE64</a>(d));</div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>   ikey.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a> = (<span class="keyword">const</span> <span class="keywordtype">char</span> *)d;</div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>   <span class="keywordflow">return</span> ikey;</div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span> }</div>
+<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span> </div>
+<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> <a class="code" href="structclang_1_1HeaderFileInfo.html" title="The preprocessor keeps track of this information for each file that is #included.">HeaderFileInfoTrait::data_type</a> </div>
+<div class="line"><a name="l01280"></a><span class="lineno"><a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html#a9d6ef25bdfd1deec9621a7b1a9c7d681"> 1280</a></span> HeaderFileInfoTrait::ReadData(<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html">internal_key_ref</a> key, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *d,</div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>                               <span class="keywordtype">unsigned</span> DataLen) {</div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>   <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *End = d + DataLen;</div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>   <span class="keyword">using namespace </span>clang::io;</div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</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;</div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>   <span class="keywordtype">unsigned</span> Flags = *d++;</div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>   HFI.<a class="code" href="structclang_1_1HeaderFileInfo.html#a94bdb96c0a63bf5fb96554b4e753018b" title="Whether this header is part of the module that we are building. This is an instance of ModuleMap::Mod...">HeaderRole</a> = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1ModuleMap.html#ac7a2413d4d0a8f29d2dad359bcfd8dec" title="Describes the role of a module header.">ModuleMap::ModuleHeaderRole</a><span class="keyword">></span></div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>                    ((Flags >> 6) & 0x03);</div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>   HFI.isImport = (Flags >> 5) & 0x01;</div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>   HFI.isPragmaOnce = (Flags >> 4) & 0x01;</div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>   HFI.DirInfo = (Flags >> 2) & 0x03;</div>
+<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>   HFI.Resolved = (Flags >> 1) & 0x01;</div>
+<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>   HFI.IndexHeaderMapHeader = Flags & 0x01;</div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>   HFI.NumIncludes = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">ReadUnalignedLE16</a>(d);</div>
+<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>   HFI.ControllingMacroID = Reader.getGlobalIdentifierID(M, </div>
+<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>                                                         <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d));</div>
+<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>   <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> FrameworkOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d)) {</div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>     <span class="comment">// The framework offset is 1 greater than the actual offset, </span></div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>     <span class="comment">// since 0 is used as an indicator for "no framework name".</span></div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>     StringRef FrameworkName(FrameworkStrings + FrameworkOffset - 1);</div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>     HFI.Framework = HS->getUniqueFrameworkName(FrameworkName);</div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>   }</div>
+<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>   </div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>   <span class="keywordflow">if</span> (d != End) {</div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>     uint32_t LocalSMID = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">ReadUnalignedLE32</a>(d);</div>
+<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>     <span class="keywordflow">if</span> (LocalSMID) {</div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>       <span class="comment">// This header is part of a module. Associate it with the module to enable</span></div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>       <span class="comment">// implicit module import.</span></div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</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> GlobalSMID = Reader.getGlobalSubmoduleID(M, LocalSMID);</div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>       <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod = Reader.getSubmodule(GlobalSMID);</div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>       HFI.isModuleHeader = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</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 = Reader.getFileManager();</div>
+<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>       <a class="code" href="classclang_1_1ModuleMap.html">ModuleMap</a> &ModMap =</div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>           Reader.getPreprocessor().getHeaderSearchInfo().getModuleMap();</div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>       ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a36df90fd8a0f51e6b762938002ec038d" title="Adds this header to the given module.">addHeader</a>(Mod, FileMgr.<a class="code" href="classclang_1_1FileManager.html#ae250b54e2bc90b8075b96ea7e88eff77" title="Lookup, cache, and verify the specified file (real or virtual).">getFile</a>(key.<a class="code" href="structclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait_1_1internal__key__type.html#a11d012611c718070a9c14d541e79b948">Filename</a>), HFI.getHeaderRole());</div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>     }</div>
+<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>   }</div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span> </div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>   assert(End == d && <span class="stringliteral">"Wrong data length in HeaderFileInfo deserialization"</span>);</div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>   (void)End;</div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>         </div>
+<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>   <span class="comment">// This HeaderFileInfo was externally loaded.</span></div>
+<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>   HFI.External = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>   <span class="keywordflow">return</span> HFI;</div>
+<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> }</div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> </div>
+<div class="line"><a name="l01326"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ae61163950fd16bec0aa9eacb94f817d6"> 1326</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#ae61163950fd16bec0aa9eacb94f817d6" title="Add a macro to resolve imported from a module.">ASTReader::addPendingMacroFromModule</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II,</div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>                                           <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> *M,</div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>                                           <a class="code" href="namespaceclang_1_1serialization.html#ad6abdb6f25cf6e71dbba311d1df8e468" title="A global ID number that refers to a macro in an AST file.">GlobalMacroID</a> GMacID,</div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</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> ImportLoc) {</div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>   assert(NumCurrentElementsDeserializing > 0 &&<span class="stringliteral">"Missing deserialization guard"</span>);</div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>   PendingMacroIDs[II].push_back(PendingMacroInfo(M, GMacID, ImportLoc));</div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span> }</div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> </div>
+<div class="line"><a name="l01334"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ad83b7951e8c9177cb411d4e4ebf18259"> 1334</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#ad83b7951e8c9177cb411d4e4ebf18259" title="Add a macro to deserialize its macro directive history from a PCH.">ASTReader::addPendingMacroFromPCH</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II,</div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>                                        <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> *M,</div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>                                        uint64_t MacroDirectivesOffset) {</div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>   assert(NumCurrentElementsDeserializing > 0 &&<span class="stringliteral">"Missing deserialization guard"</span>);</div>
+<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>   PendingMacroIDs[II].push_back(PendingMacroInfo(M, MacroDirectivesOffset));</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> </div>
+<div class="line"><a name="l01341"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a803fd39a1cd350e6197f1c363bd15126"> 1341</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a803fd39a1cd350e6197f1c363bd15126" title="Read the set of macros defined by this external macro source.">ASTReader::ReadDefinedMacros</a>() {</div>
+<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>   <span class="comment">// Note that we are loading defined macros.</span></div>
+<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>   <a class="code" href="classclang_1_1ExternalASTSource_1_1Deserializing.html" title="RAII class for safely pairing a StartedDeserializing call with FinishedDeserializing.">Deserializing</a> Macros(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span> </div>
+<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ASTReader.html#a581d92b985d3d745db7106c3995bf409">ModuleReverseIterator</a> I = ModuleMgr.rbegin(),</div>
+<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>       E = ModuleMgr.rend(); I != E; ++I) {</div>
+<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>     BitstreamCursor &MacroCursor = (*I)->MacroCursor;</div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span> </div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>     <span class="comment">// If there was no preprocessor block, skip this file.</span></div>
+<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>     <span class="keywordflow">if</span> (!MacroCursor.getBitStreamReader())</div>
+<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> </div>
+<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>     BitstreamCursor Cursor = MacroCursor;</div>
+<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>     Cursor.JumpToBit((*I)->MacroStartOffset);</div>
+<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span> </div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>     <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>     <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>       llvm::BitstreamEntry E = Cursor.advanceSkippingSubblocks();</div>
+<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>       </div>
+<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>       <span class="keywordflow">switch</span> (E.Kind) {</div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>       <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock: <span class="comment">// Handled for us already.</span></div>
+<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>       <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>         Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>       <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>         <span class="keywordflow">goto</span> NextCursor;</div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>         </div>
+<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>       <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>         Record.clear();</div>
+<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>         <span class="keywordflow">switch</span> (Cursor.readRecord(E.ID, Record)) {</div>
+<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>         <span class="keywordflow">default</span>:  <span class="comment">// Default behavior: ignore.</span></div>
+<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>           </div>
+<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>         <span class="keywordflow">case</span> <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="l01375"></a><span class="lineno"> 1375</span>         <span class="keywordflow">case</span> <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="l01376"></a><span class="lineno"> 1376</span>           getLocalIdentifier(**I, Record[0]);</div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>           </div>
+<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>         <span class="keywordflow">case</span> <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="l01380"></a><span class="lineno"> 1380</span>           <span class="comment">// Ignore tokens.</span></div>
+<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>           <span class="keywordflow">break</span>;</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="keywordflow">break</span>;</div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>       }</div>
+<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>     }</div>
+<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>     NextCursor:  ;</div>
+<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>   }</div>
+<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span> }</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> <span class="keyword">namespace </span>{<span class="comment"></span></div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> <span class="comment">  /// \brief Visitor class used to look up identifirs in an AST file.</span></div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> <span class="comment"></span>  <span class="keyword">class </span>IdentifierLookupVisitor {</div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>     StringRef Name;</div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>     <span class="keywordtype">unsigned</span> PriorGeneration;</div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>     <span class="keywordtype">unsigned</span> &NumIdentifierLookups;</div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>     <span class="keywordtype">unsigned</span> &NumIdentifierLookupHits;</div>
+<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>     <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Found;</div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span> </div>
+<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>     IdentifierLookupVisitor(StringRef Name, <span class="keywordtype">unsigned</span> PriorGeneration,</div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>                             <span class="keywordtype">unsigned</span> &NumIdentifierLookups,</div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>                             <span class="keywordtype">unsigned</span> &NumIdentifierLookupHits)</div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>       : Name(Name), PriorGeneration(PriorGeneration),</div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>         NumIdentifierLookups(NumIdentifierLookups),</div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>         NumIdentifierLookupHits(NumIdentifierLookupHits),</div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>         Found()</div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>     {</div>
+<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>     }</div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>     </div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>     <span class="keyword">static</span> <span class="keywordtype">bool</span> visit(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M, <span class="keywordtype">void</span> *UserData) {</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>       IdentifierLookupVisitor *This</div>
+<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>         = <span class="keyword">static_cast<</span>IdentifierLookupVisitor *<span class="keyword">></span>(UserData);</div>
+<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>       </div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>       <span class="comment">// If we've already searched this module file, skip it now.</span></div>
+<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>       <span class="keywordflow">if</span> (M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad7c8f7bed99c36ef2c306571bffaf84d" title="The generation of which this module file is a part.">Generation</a> <= This->PriorGeneration)</div>
+<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span> </div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>       <a class="code" href="classclang_1_1OnDiskChainedHashTable.html">ASTIdentifierLookupTable</a> *IdTable</div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>         = (<a class="code" href="classclang_1_1OnDiskChainedHashTable.html">ASTIdentifierLookupTable</a> *)M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a099108c0f23448bdc4580da0374815fd" title="A pointer to an on-disk hash table of opaque type IdentifierHashTable.">IdentifierLookupTable</a>;</div>
+<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>       <a class="code" href="mm__malloc_8h.html#a682140772a1d7d2744289e6abb2ad2ff">if</a> (!IdTable)</div>
+<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>       </div>
+<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>       <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTrait.html" title="Class that performs lookup for an identifier stored in an AST file.">ASTIdentifierLookupTrait</a> Trait(IdTable-><a class="code" href="classclang_1_1OnDiskChainedHashTable.html#a73f4c0549995d3fff21dc1e212d810ee">getInfoObj</a>().getReader(),</div>
+<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>                                      M, This->Found);</div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>       ++This->NumIdentifierLookups;</div>
+<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>       <a class="code" href="classclang_1_1OnDiskChainedHashTable_1_1iterator.html">ASTIdentifierLookupTable::iterator</a> Pos = IdTable-><a class="code" href="classclang_1_1OnDiskChainedHashTable.html#ad3ac7a66bbf1aa535d84050d6f45b619">find</a>(This->Name,&Trait);</div>
+<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>       <span class="keywordflow">if</span> (Pos == IdTable-><a class="code" href="classclang_1_1OnDiskChainedHashTable.html#a5c81d6847bc1a46c650e5b733bd64dbd">end</a>())</div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>       </div>
+<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>       <span class="comment">// Dereferencing the iterator has the effect of building the</span></div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>       <span class="comment">// IdentifierInfo node and populating it with the various</span></div>
+<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>       <span class="comment">// declarations it needs.</span></div>
+<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>       ++This->NumIdentifierLookupHits;</div>
+<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>       This->Found = *Pos;</div>
+<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>     }</div>
+<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>     </div>
+<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>     <span class="comment">// \brief Retrieve the identifier info found within the module</span></div>
+<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>     <span class="comment">// files.</span></div>
+<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>     <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *getIdentifierInfo()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Found; }</div>
+<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>   };</div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span> }</div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> </div>
+<div class="line"><a name="l01444"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a5b6fdd69f5cf66c7efdf251165a3b27a"> 1444</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a5b6fdd69f5cf66c7efdf251165a3b27a" title="Update an out-of-date identifier.">ASTReader::updateOutOfDateIdentifier</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> &II) {</div>
+<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>   <span class="comment">// Note that we are loading an identifier.</span></div>
+<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>   <a class="code" href="classclang_1_1ExternalASTSource_1_1Deserializing.html" title="RAII class for safely pairing a StartedDeserializing call with FinishedDeserializing.">Deserializing</a> AnIdentifier(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span> </div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>   <span class="keywordtype">unsigned</span> PriorGeneration = 0;</div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>   <span class="keywordflow">if</span> (getContext().getLangOpts().Modules)</div>
+<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>     PriorGeneration = IdentifierGeneration[&II];</div>
+<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span> </div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>   <span class="comment">// If there is a global index, look there first to determine which modules</span></div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>   <span class="comment">// provably do not have any results for this identifier.</span></div>
+<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>   <a class="code" href="classclang_1_1GlobalModuleIndex.html#a2ed3056d8b361881d41915b2ec902cf7" title="A set of module files in which we found a result.">GlobalModuleIndex::HitSet</a> Hits;</div>
+<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>   <a class="code" href="classclang_1_1GlobalModuleIndex.html#a2ed3056d8b361881d41915b2ec902cf7" title="A set of module files in which we found a result.">GlobalModuleIndex::HitSet</a> *HitsPtr = 0;</div>
+<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>   <span class="keywordflow">if</span> (!loadGlobalIndex()) {</div>
+<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>     <span class="keywordflow">if</span> (GlobalIndex->lookupIdentifier(II.<a class="code" href="classclang_1_1IdentifierInfo.html#a94caec6a16e508e8ca39eacd278bd2c5" title="Return the actual identifier string.">getName</a>(), Hits)) {</div>
+<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>       HitsPtr = &Hits;</div>
+<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>     }</div>
+<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>   }</div>
+<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span> </div>
+<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>   IdentifierLookupVisitor Visitor(II.<a class="code" href="classclang_1_1IdentifierInfo.html#a94caec6a16e508e8ca39eacd278bd2c5" title="Return the actual identifier string.">getName</a>(), PriorGeneration,</div>
+<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>                                   NumIdentifierLookups,</div>
+<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>                                   NumIdentifierLookupHits);</div>
+<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>   ModuleMgr.visit(IdentifierLookupVisitor::visit, &Visitor, HitsPtr);</div>
+<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>   markIdentifierUpToDate(&II);</div>
+<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span> }</div>
+<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span> </div>
+<div class="line"><a name="l01469"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a82da58d601e2f0183e8193015db80b85"> 1469</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a82da58d601e2f0183e8193015db80b85" title="Note that this identifier is up-to-date.">ASTReader::markIdentifierUpToDate</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II) {</div>
+<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>   <span class="keywordflow">if</span> (!II)</div>
+<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>   </div>
+<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>   II-><a class="code" href="classclang_1_1IdentifierInfo.html#aa33a4b38642064f5702153c1b96fd4d9" title="Set whether the information for this identifier is out of date with respect to the external source...">setOutOfDate</a>(<span class="keyword">false</span>);</div>
+<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span> </div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>   <span class="comment">// Update the generation for this identifier.</span></div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>   <span class="keywordflow">if</span> (getContext().getLangOpts().Modules)</div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>     IdentifierGeneration[II] = CurrentGeneration;</div>
+<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span> }</div>
+<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span> </div>
+<div class="line"><a name="l01480"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a501df652de0194cbb639d950cb77a217"> 1480</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a501df652de0194cbb639d950cb77a217">ASTReader::resolvePendingMacro</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II,</div>
+<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>                                     <span class="keyword">const</span> PendingMacroInfo &PMInfo) {</div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>   assert(II);</div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span> </div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>   <span class="keywordflow">if</span> (PMInfo.M->Kind != <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>) {</div>
+<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>     installPCHMacroDirectives(II, *PMInfo.M,</div>
+<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>                               PMInfo.PCHMacroData.MacroDirectivesOffset);</div>
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>   }</div>
+<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>   </div>
+<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>   <span class="comment">// Module Macro.</span></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>   <a class="code" href="namespaceclang_1_1serialization.html#ad6abdb6f25cf6e71dbba311d1df8e468" title="A global ID number that refers to a macro in an AST file.">GlobalMacroID</a> GMacID = PMInfo.ModuleMacroData.GMacID;</div>
+<div class="line"><a name="l01493"></a><span class="lineno"> 1493</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> ImportLoc =</div>
+<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>       <a class="code" href="classclang_1_1SourceLocation.html#af6ffb91a339feae6d6a5101c533f1494" title="Turn a raw encoding of a SourceLocation object into a real SourceLocation.">SourceLocation::getFromRawEncoding</a>(PMInfo.ModuleMacroData.ImportLoc);</div>
+<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span> </div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>   assert(GMacID);</div>
+<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>   <span class="comment">// If this macro has already been loaded, don't do so again.</span></div>
+<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>   <span class="keywordflow">if</span> (MacrosLoaded[GMacID - <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="l01499"></a><span class="lineno"> 1499</span>     <span class="keywordflow">return</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>   <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = getMacro(GMacID);</div>
+<div class="line"><a name="l01502"></a><span class="lineno"> 1502</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> SubModID = 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="l01503"></a><span class="lineno"> 1503</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 = PP.AllocateDefMacroDirective(MI, ImportLoc,</div>
+<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>                                                     <span class="comment">/*isImported=*/</span><span class="keyword">true</span>);</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="comment">// Determine whether this macro definition is visible.</span></div>
+<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>   <span class="keywordtype">bool</span> Hidden = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>   <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Owner = 0;</div>
+<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>   <span class="keywordflow">if</span> (SubModID) {</div>
+<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>     <span class="keywordflow">if</span> ((Owner = getSubmodule(SubModID))) {</div>
+<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>       <span class="keywordflow">if</span> (Owner-><a class="code" href="classclang_1_1Module.html#a1b5d07b8781230152a1a09ca15a2e50e" title="\ brief The visibility of names within this particular module.">NameVisibility</a> == <a class="code" href="classclang_1_1Module.html#a1ca9cf81299c2f40c68d04f44eea8a67a00b51c9e19c605252978a48e60ff9063" title="All of the names in this module are hidden.">Module::Hidden</a>) {</div>
+<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>         <span class="comment">// The owning module is not visible, and this macro definition</span></div>
+<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>         <span class="comment">// should not be, either.</span></div>
+<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>         Hidden = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span> </div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>         <span class="comment">// Note that this macro definition was hidden because its owning</span></div>
+<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>         <span class="comment">// module is not yet visible.</span></div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>         HiddenNamesMap[Owner].push_back(HiddenName(II, MD));</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>     }</div>
+<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>   }</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span> </div>
+<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>   <span class="keywordflow">if</span> (!Hidden)</div>
+<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>     installImportedMacro(II, MD, Owner);</div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> }</div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span> </div>
+<div class="line"><a name="l01527"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a6a6fefe40d8fc941429abd076ec31f94"> 1527</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a6a6fefe40d8fc941429abd076ec31f94">ASTReader::installPCHMacroDirectives</a>(<a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II,</div>
+<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>                                           <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M, uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a>) {</div>
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>   assert(M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af0cdb3be9cdc29ae4a8f351ab0f91083" title="The type of this module.">Kind</a> != <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>);</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>   BitstreamCursor &Cursor = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a68fd8cd6abb5eb0a61ec754e5a641b39" title="The cursor to the start of the preprocessor block, which stores all of the macro definitions.">MacroCursor</a>;</div>
+<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>   <a class="code" href="structclang_1_1SavedStreamPosition.html" title="Helper class that saves the current stream position and then restores it when destroyed.">SavedStreamPosition</a> SavedPosition(Cursor);</div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>   Cursor.JumpToBit(Offset);</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>   llvm::BitstreamEntry Entry =</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>       Cursor.advance(BitstreamCursor::AF_DontPopBlockAtEnd);</div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>   <span class="keywordflow">if</span> (Entry.Kind != llvm::BitstreamEntry::Record) {</div>
+<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>     <span class="keywordflow">return</span>;</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>   <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>   <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527e" title="Record types used within a preprocessor block.">PreprocessorRecordTypes</a> RecType =</div>
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>     (<a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527e" title="Record types used within a preprocessor block.">PreprocessorRecordTypes</a>)Cursor.readRecord(Entry.ID, Record);</div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>   <span class="keywordflow">if</span> (RecType != <a class="code" href="namespaceclang_1_1serialization.html#a91b2bb8c4c52bf665ff00fde2993527ea908de4b5112d9c2dd9b96083b6f71260" title="The macro directives history for a particular identifier.">PP_MACRO_DIRECTIVE_HISTORY</a>) {</div>
+<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>   }</div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span> </div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>   <span class="comment">// Deserialize the macro directives history in reverse source-order.</span></div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</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> *Latest = 0, *Earliest = 0;</div>
+<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>   <span class="keywordtype">unsigned</span> Idx = 0, N = Record.size();</div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>   <span class="keywordflow">while</span> (Idx < N) {</div>
+<div class="line"><a name="l01554"></a><span class="lineno"> 1554</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 = 0;</div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</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 = ReadSourceLocation(M, Record, Idx);</div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>     <a class="code" href="classclang_1_1MacroDirective.html#a2a528a8a7a8358cbfff893b4d28e944e">MacroDirective::Kind</a> K = (<a class="code" href="classclang_1_1MacroDirective.html#a2a528a8a7a8358cbfff893b4d28e944e">MacroDirective::Kind</a>)Record[Idx++];</div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span>     <span class="keywordflow">switch</span> (K) {</div>
+<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1MacroDirective.html#a2a528a8a7a8358cbfff893b4d28e944ea73bcc1ae227cc23676a469f6c78fdf70">MacroDirective::MD_Define</a>: {</div>
+<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>       <a class="code" href="namespaceclang_1_1serialization.html#ad6abdb6f25cf6e71dbba311d1df8e468" title="A global ID number that refers to a macro in an AST file.">GlobalMacroID</a> GMacID = getGlobalMacroID(M, Record[Idx++]);</div>
+<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>       <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *MI = getMacro(GMacID);</div>
+<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>       <span class="keywordtype">bool</span> isImported = Record[Idx++];</div>
+<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>       <span class="keywordtype">bool</span> isAmbiguous = Record[Idx++];</div>
+<div class="line"><a name="l01563"></a><span class="lineno"> 1563</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 =</div>
+<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>           PP.AllocateDefMacroDirective(MI, Loc, isImported);</div>
+<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>       DefMD-><a class="code" href="classclang_1_1DefMacroDirective.html#a9a7906fd0f47f06829baba51a7e251e6" title="Set whether this macro definition is ambiguous.">setAmbiguous</a>(isAmbiguous);</div>
+<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>       MD = DefMD;</div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>     }</div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1MacroDirective.html#a2a528a8a7a8358cbfff893b4d28e944ea0f55bad3545ccb58205ba3400f08da93">MacroDirective::MD_Undefine</a>:</div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>       MD = PP.AllocateUndefMacroDirective(Loc);</div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>     <span class="keywordflow">case</span> <a class="code" href="classclang_1_1MacroDirective.html#a2a528a8a7a8358cbfff893b4d28e944eaa889aed110a167421a300fcc2ffe81bc">MacroDirective::MD_Visibility</a>: {</div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>       <span class="keywordtype">bool</span> isPublic = Record[Idx++];</div>
+<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>       MD = PP.AllocateVisibilityMacroDirective(Loc, isPublic);</div>
+<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>       <span class="keywordflow">break</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>     }</div>
+<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span> </div>
+<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>     <span class="keywordflow">if</span> (!Latest)</div>
+<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>       Latest = MD;</div>
+<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>     <span class="keywordflow">if</span> (Earliest)</div>
+<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>       Earliest-><a class="code" href="classclang_1_1MacroDirective.html#a4e616bdbfc4a44f9abeb7a6b0d95dfca" title="Set previous definition of the macro with the same name.">setPrevious</a>(MD);</div>
+<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>     Earliest = MD;</div>
+<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>   }</div>
+<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span> </div>
+<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>   PP.setLoadedMacroDirective(II, Latest);</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> <span class="comment"></span></div>
+<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span> <span class="comment">/// \brief For the given macro definitions, check if they are both in system</span></div>
+<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span> <span class="comment">/// modules.</span></div>
+<div class="line"><a name="l01591"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#af2204b6366d38d6de4e891c0f066481f"> 1591</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#af2204b6366d38d6de4e891c0f066481f" title="For the given macro definitions, check if they are both in system modules.">areDefinedInSystemModules</a>(<a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *PrevMI, <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *NewMI,</div>
+<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>                                       <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *NewOwner, <a class="code" href="classclang_1_1ASTReader.html" title="Reads an AST files chain containing the contents of a translation unit.">ASTReader</a> &Reader) {</div>
+<div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>   assert(PrevMI && NewMI);</div>
+<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>   <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *PrevOwner = 0;</div>
+<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>   <span class="keywordflow">if</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> PrevModID = PrevMI-><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="l01596"></a><span class="lineno"> 1596</span>     PrevOwner = Reader.<a class="code" href="classclang_1_1ASTReader.html#ae0de40287e62d23d1a039c497c6aa2d3" title="Retrieve the submodule that corresponds to a global submodule ID.">getSubmodule</a>(PrevModID);</div>
+<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>   <a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">SourceManager</a> &SrcMgr = Reader.<a class="code" href="classclang_1_1ASTReader.html#a92390d09becd7da2f893cac0f6035166">getSourceManager</a>();</div>
+<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>   <span class="keywordtype">bool</span> PrevInSystem</div>
+<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>     = PrevOwner? PrevOwner-><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="l01600"></a><span class="lineno"> 1600</span>                : SrcMgr.<a class="code" href="classclang_1_1SourceManager.html#a99c639318222119c75ea9c12f1aa5cf2" title="Returns if a SourceLocation is in a system header.">isInSystemHeader</a>(PrevMI-><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="l01601"></a><span class="lineno"> 1601</span>   <span class="keywordtype">bool</span> NewInSystem</div>
+<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>     = NewOwner? NewOwner-><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="l01603"></a><span class="lineno"> 1603</span>               : SrcMgr.<a class="code" href="classclang_1_1SourceManager.html#a99c639318222119c75ea9c12f1aa5cf2" title="Returns if a SourceLocation is in a system header.">isInSystemHeader</a>(NewMI-><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="l01604"></a><span class="lineno"> 1604</span>   <span class="keywordflow">if</span> (PrevOwner && PrevOwner == NewOwner)</div>
+<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>   <span class="keywordflow">return</span> PrevInSystem && NewInSystem;</div>
+<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span> }</div>
+<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span> </div>
+<div class="line"><a name="l01609"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a3c8c5ac61635478f4c7c5356360125f6"> 1609</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a3c8c5ac61635478f4c7c5356360125f6">ASTReader::installImportedMacro</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> *MD,</div>
+<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>                                      <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Owner) {</div>
+<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>   assert(II && MD);</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>   <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 = cast<DefMacroDirective>(MD);</div>
+<div class="line"><a name="l01614"></a><span class="lineno"> 1614</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> *Prev = PP.getMacroDirective(II);</div>
+<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>   <span class="keywordflow">if</span> (Prev) {</div>
+<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>     <a class="code" href="classclang_1_1MacroDirective_1_1DefInfo.html">MacroDirective::DefInfo</a> PrevDef = Prev->getDefinition();</div>
+<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>     <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *PrevMI = PrevDef.<a class="code" href="classclang_1_1MacroDirective_1_1DefInfo.html#a5b4f67b9ad7af09e7e7d91c089ffe28b">getMacroInfo</a>();</div>
+<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>     <a class="code" href="classclang_1_1MacroInfo.html" title="Encapsulates the data about a macro definition (e.g. its tokens).">MacroInfo</a> *NewMI = DefMD-><a class="code" href="classclang_1_1DefMacroDirective.html#a2667eef1e8702afd1d1d28335af335c9" title="The data for the macro definition.">getInfo</a>();</div>
+<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>     <span class="keywordflow">if</span> (NewMI != PrevMI && !PrevMI-><a class="code" href="classclang_1_1MacroInfo.html#a979840859913a30f4919756c6ddae8aa" title="Return true if the specified macro definition is equal to this macro in spelling, arguments...">isIdenticalTo</a>(*NewMI, PP,</div>
+<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>                                                   <span class="comment">/*Syntactically=*/</span><span class="keyword">true</span>)) {</div>
+<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>       <span class="comment">// Before marking the macros as ambiguous, check if this is a case where</span></div>
+<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>       <span class="comment">// both macros are in system headers. If so, we trust that the system</span></div>
+<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>       <span class="comment">// did not get it wrong. This also handles cases where Clang's own</span></div>
+<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>       <span class="comment">// headers have a different spelling of certain system macros:</span></div>
+<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>       <span class="comment">//   #define LONG_MAX __LONG_MAX__ (clang's limits.h)</span></div>
+<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>       <span class="comment">//   #define LONG_MAX 0x7fffffffffffffffL (system's limits.h)</span></div>
+<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTReader_8cpp.html#af2204b6366d38d6de4e891c0f066481f" title="For the given macro definitions, check if they are both in system modules.">areDefinedInSystemModules</a>(PrevMI, NewMI, Owner, *<span class="keyword">this</span>)) {</div>
+<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>         PrevDef.<a class="code" href="classclang_1_1MacroDirective_1_1DefInfo.html#a04a29e2ce1637087be5844c2ccc3dbe2">getDirective</a>()-><a class="code" href="classclang_1_1DefMacroDirective.html#a9a7906fd0f47f06829baba51a7e251e6" title="Set whether this macro definition is ambiguous.">setAmbiguous</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>         DefMD-><a class="code" href="classclang_1_1DefMacroDirective.html#a9a7906fd0f47f06829baba51a7e251e6" title="Set whether this macro definition is ambiguous.">setAmbiguous</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>       }</div>
+<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>     }</div>
+<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>   }</div>
+<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>   </div>
+<div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>   PP.appendMacroDirective(II, MD);</div>
+<div class="line"><a name="l01635"></a><span class="lineno"> 1635</span> }</div>
+<div class="line"><a name="l01636"></a><span class="lineno"> 1636</span> </div>
+<div class="line"><a name="l01637"></a><span class="lineno"> 1637</span> <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a> ASTReader::getInputFile(ModuleFile &F, <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="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>   <span class="comment">// If this ID is bogus, just return an empty input file.</span></div>
+<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>   <span class="keywordflow">if</span> (ID == 0 || ID > F.InputFilesLoaded.size())</div>
+<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a>();</div>
+<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span> </div>
+<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>   <span class="comment">// If we've already loaded this input file, return it.</span></div>
+<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>   <span class="keywordflow">if</span> (F.InputFilesLoaded[ID-1].getFile())</div>
+<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>     <span class="keywordflow">return</span> F.InputFilesLoaded[ID-1];</div>
+<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span> </div>
+<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>   <span class="comment">// Go find this input file.</span></div>
+<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>   BitstreamCursor &Cursor = F.InputFilesCursor;</div>
+<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>   <a class="code" href="structclang_1_1SavedStreamPosition.html" title="Helper class that saves the current stream position and then restores it when destroyed.">SavedStreamPosition</a> SavedPosition(Cursor);</div>
+<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>   Cursor.JumpToBit(F.InputFileOffsets[ID-1]);</div>
+<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>   </div>
+<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>   <span class="keywordtype">unsigned</span> Code = Cursor.ReadCode();</div>
+<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>   RecordData Record;</div>
+<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>   StringRef Blob;</div>
+<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>   <span class="keywordflow">switch</span> ((<a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabaf" title="Record types that occur within the input-files block inside the control block.">InputFileRecordTypes</a>)Cursor.readRecord(Code, Record, &Blob)) {</div>
+<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>   <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabafa89ed64576af15d65e2cf65cf8bc0c5e2" title="An input file.">INPUT_FILE</a>: {</div>
+<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>     <span class="keywordtype">unsigned</span> StoredID = Record[0];</div>
+<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>     assert(ID == StoredID && <span class="stringliteral">"Bogus stored ID or offset"</span>);</div>
+<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>     (void)StoredID;</div>
+<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>     off_t StoredSize = (off_t)Record[1];</div>
+<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>     time_t StoredTime = (time_t)Record[2];</div>
+<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>     <span class="keywordtype">bool</span> Overridden = (<a class="code" href="stdbool_8h.html#abb452686968e48b67397da5f97445f5b">bool</a>)Record[3];</div>
+<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>     </div>
+<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>     <span class="comment">// Get the file entry for this input file.</span></div>
+<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>     StringRef OrigFilename = Blob;</div>
+<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>     std::string Filename = OrigFilename;</div>
+<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>     MaybeAddSystemRootToFilename(F, Filename);</div>
+<div class="line"><a name="l01667"></a><span class="lineno"> 1667</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="l01668"></a><span class="lineno"> 1668</span>       = Overridden? FileMgr.getVirtualFile(Filename, StoredSize, StoredTime)</div>
+<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>                   : FileMgr.getFile(Filename, <span class="comment">/*OpenFile=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>     </div>
+<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>     <span class="comment">// If we didn't find the file, resolve it relative to the</span></div>
+<div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>     <span class="comment">// original directory from which this AST file was created.</span></div>
+<div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>     <span class="keywordflow">if</span> (File == 0 && !F.OriginalDir.empty() && !CurrentDir.empty() &&</div>
+<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>         F.OriginalDir != CurrentDir) {</div>
+<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>       std::string Resolved = <a class="code" href="ASTReader_8cpp.html#a0463ba3bb6eae0a8eb39d9f68442b82c" title="If a header file is not found at the path that we expect it to be and the PCH file was moved from its...">resolveFileRelativeToOriginalDir</a>(Filename,</div>
+<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>                                                               F.OriginalDir,</div>
+<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>                                                               CurrentDir);</div>
+<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>       <span class="keywordflow">if</span> (!Resolved.empty())</div>
+<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>         File = FileMgr.getFile(Resolved);</div>
+<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>     }</div>
+<div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>     </div>
+<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>     <span class="comment">// For an overridden file, create a virtual file with the stored</span></div>
+<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>     <span class="comment">// size/timestamp.</span></div>
+<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>     <span class="keywordflow">if</span> (Overridden && File == 0) {</div>
+<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>       File = FileMgr.getVirtualFile(Filename, StoredSize, StoredTime);</div>
+<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>     }</div>
+<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>     </div>
+<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span>     <span class="keywordflow">if</span> (File == 0) {</div>
+<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>       <span class="keywordflow">if</span> (Complain) {</div>
+<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>         std::string ErrorStr = <span class="stringliteral">"could not find file '"</span>;</div>
+<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>         ErrorStr += Filename;</div>
+<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>         ErrorStr += <span class="stringliteral">"' referenced by AST file"</span>;</div>
+<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>         Error(ErrorStr.c_str());</div>
+<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>       }</div>
+<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a>();</div>
+<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>     }</div>
+<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span> </div>
+<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>     <span class="comment">// Check if there was a request to override the contents of the file</span></div>
+<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>     <span class="comment">// that was part of the precompiled header. Overridding such a file</span></div>
+<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>     <span class="comment">// can lead to problems when lexing using the source locations from the</span></div>
+<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>     <span class="comment">// PCH.</span></div>
+<div class="line"><a name="l01702"></a><span class="lineno"> 1702</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> = getSourceManager();</div>
+<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>     <span class="keywordflow">if</span> (!Overridden && SM.<a class="code" href="classclang_1_1SourceManager.html#acd8be94be8664d7d60b03b4f136d4f8f" title="Returns true if the file contents have been overridden.">isFileOverridden</a>(File)) {</div>
+<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>       <span class="keywordflow">if</span> (Complain)</div>
+<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>         Error(diag::err_fe_pch_file_overridden, Filename);</div>
+<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>       <span class="comment">// After emitting the diagnostic, recover by disabling the override so</span></div>
+<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>       <span class="comment">// that the original file will be used.</span></div>
+<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>       SM.<a class="code" href="classclang_1_1SourceManager.html#a11ed5cf983a0dabc74cb8defba573ddd" title="Disable overridding the contents of a file, previously enabled with overrideFileContents.">disableFileContentsOverride</a>(File);</div>
+<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>       <span class="comment">// The FileEntry is a virtual file entry with the size of the contents</span></div>
+<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>       <span class="comment">// that would override the original contents. Set it to the original's</span></div>
+<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>       <span class="comment">// size/time.</span></div>
+<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>       FileMgr.modifyFileEntry(const_cast<FileEntry*>(File),</div>
+<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>                               StoredSize, StoredTime);</div>
+<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>     }</div>
+<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span> </div>
+<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>     <span class="keywordtype">bool</span> IsOutOfDate = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span> </div>
+<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>     <span class="comment">// For an overridden file, there is nothing to validate.</span></div>
+<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>     <span class="keywordflow">if</span> (!Overridden && (StoredSize != File-><a class="code" href="classclang_1_1FileEntry.html#aee560da94e38d95f08dfa9779acc9367">getSize</a>()</div>
+<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span> <span class="preprocessor">#if !defined(LLVM_ON_WIN32)</span></div>
+<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span> <span class="preprocessor"></span>         <span class="comment">// In our regression testing, the Windows file system seems to</span></div>
+<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>          <span class="comment">// have inconsistent modification times that sometimes</span></div>
+<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>          <span class="comment">// erroneously trigger this error-handling path.</span></div>
+<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>          || StoredTime != File-><a class="code" href="classclang_1_1FileEntry.html#a2df68d04c7f85abdcf5075db7778e033">getModificationTime</a>()</div>
+<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span> <span class="preprocessor"></span>         )) {</div>
+<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>       <span class="keywordflow">if</span> (Complain) {</div>
+<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>         Error(diag::err_fe_pch_file_modified, Filename, F.FileName);</div>
+<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>         <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().Modules && !Diags.isDiagnosticInFlight()) {</div>
+<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>           <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::note_module_cache_path)</div>
+<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>             << PP.getHeaderSearchInfo().getModuleCachePath();</div>
+<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>         }</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> </div>
+<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>       IsOutOfDate = <span class="keyword">true</span>;</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>     <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a> IF = <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a>(File, Overridden, IsOutOfDate);</div>
+<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span> </div>
+<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>     <span class="comment">// Note that we've loaded this input file.</span></div>
+<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>     F.InputFilesLoaded[ID-1] = IF;</div>
+<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>     <span class="keywordflow">return</span> IF;</div>
+<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>   }</div>
+<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>   }</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="keywordflow">return</span> <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a>();</div>
+<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span> }</div>
+<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span> </div>
+<div class="line"><a name="l01749"></a><span class="lineno"> 1749</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> *ASTReader::getFileEntry(StringRef filenameStrRef) {</div>
+<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M = ModuleMgr.getPrimaryModule();</div>
+<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>   std::string Filename = filenameStrRef;</div>
+<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>   MaybeAddSystemRootToFilename(M, Filename);</div>
+<div class="line"><a name="l01753"></a><span class="lineno"> 1753</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 = FileMgr.getFile(Filename);</div>
+<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>   <span class="keywordflow">if</span> (File == 0 && !M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a81ac3d0655d10834d411d6d1936eced2" title="The directory that the PCH was originally created in. Used to allow resolving headers even after head...">OriginalDir</a>.empty() && !CurrentDir.empty() &&</div>
+<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>       M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a81ac3d0655d10834d411d6d1936eced2" title="The directory that the PCH was originally created in. Used to allow resolving headers even after head...">OriginalDir</a> != CurrentDir) {</div>
+<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>     std::string resolved = <a class="code" href="ASTReader_8cpp.html#a0463ba3bb6eae0a8eb39d9f68442b82c" title="If a header file is not found at the path that we expect it to be and the PCH file was moved from its...">resolveFileRelativeToOriginalDir</a>(Filename,</div>
+<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>                                                             M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a81ac3d0655d10834d411d6d1936eced2" title="The directory that the PCH was originally created in. Used to allow resolving headers even after head...">OriginalDir</a>,</div>
+<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>                                                             CurrentDir);</div>
+<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>     <span class="keywordflow">if</span> (!resolved.empty())</div>
+<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>       File = FileMgr.getFile(resolved);</div>
+<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>   }</div>
+<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span> </div>
+<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>   <span class="keywordflow">return</span> File;</div>
+<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span> }</div>
+<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span> <span class="comment"></span></div>
+<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span> <span class="comment">/// \brief If we are loading a relocatable PCH file, and the filename is</span></div>
+<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span> <span class="comment">/// not an absolute path, add the system root to the beginning of the file</span></div>
+<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span> <span class="comment">/// name.</span></div>
+<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span> <span class="comment"></span><span class="keywordtype">void</span> ASTReader::MaybeAddSystemRootToFilename(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &M,</div>
+<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>                                              std::string &Filename) {</div>
+<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>   <span class="comment">// If this is not a relocatable PCH file, there's nothing to do.</span></div>
+<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>   <span class="keywordflow">if</span> (!M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a8c2bedf1f55c8ccd4c75061fa317cfb5" title="Whether this precompiled header is a relocatable PCH file.">RelocatablePCH</a>)</div>
+<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span> </div>
+<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>   <span class="keywordflow">if</span> (Filename.empty() || llvm::sys::path::is_absolute(Filename))</div>
+<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span> </div>
+<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>   <span class="keywordflow">if</span> (isysroot.empty()) {</div>
+<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>     <span class="comment">// If no system root was given, default to '/'</span></div>
+<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>     Filename.insert(Filename.begin(), <span class="charliteral">'/'</span>);</div>
+<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>   }</div>
+<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span> </div>
+<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>   <span class="keywordtype">unsigned</span> Length = isysroot.size();</div>
+<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>   <span class="keywordflow">if</span> (isysroot[Length - 1] != <span class="charliteral">'/'</span>)</div>
+<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>     Filename.insert(Filename.begin(), <span class="charliteral">'/'</span>);</div>
+<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span> </div>
+<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>   Filename.insert(Filename.begin(), isysroot.begin(), isysroot.end());</div>
+<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span> }</div>
+<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span> </div>
+<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span> <a class="code" href="classclang_1_1ASTReader.html#ab2e8cada1e79a39d27461e0137550243" title="The result of reading the control block of an AST file, which can fail for various reasons...">ASTReader::ASTReadResult</a></div>
+<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span> ASTReader::ReadControlBlock(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F,</div>
+<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>                             <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<ImportedModule></a> &Loaded,</div>
+<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>                             <span class="keywordtype">unsigned</span> ClientLoadCapabilities) {</div>
+<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>   BitstreamCursor &Stream = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9bf07827f9d6d5220e6a2a081ddfa5c3" title="The main bitstream cursor for the main block.">Stream</a>;</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>   <span class="keywordflow">if</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>)) {</div>
+<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>     <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>   }</div>
+<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span> </div>
+<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>   <span class="comment">// Read all of the records and blocks in the control block.</span></div>
+<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>   RecordData Record;</div>
+<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>     llvm::BitstreamEntry Entry = Stream.advance();</div>
+<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>     </div>
+<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>       Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>       <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>       <span class="comment">// Validate all of the non-system input files.</span></div>
+<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>       <span class="keywordflow">if</span> (!DisableValidation) {</div>
+<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>         <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_OutOfDate) == 0;</div>
+<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>         <span class="comment">// All user input files reside at the index range [0, Record[1]).</span></div>
+<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>         <span class="comment">// Record is the one from INPUT_FILE_OFFSETS.</span></div>
+<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record[1]; I < N; ++I) {</div>
+<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>           <a class="code" href="classclang_1_1serialization_1_1InputFile.html" title="The input file that has been loaded from this AST file, along with bools indicating whether this was ...">InputFile</a> IF = getInputFile(F, I+1, Complain);</div>
+<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>           <span class="keywordflow">if</span> (!IF.<a class="code" href="classclang_1_1serialization_1_1InputFile.html#af139fbaa1651e96cb0d107853f31adc3">getFile</a>() || IF.<a class="code" href="classclang_1_1serialization_1_1InputFile.html#a12333867a2f67dc2e8116e327c3f6a06">isOutOfDate</a>())</div>
+<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>             <span class="keywordflow">return</span> OutOfDate;</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>       <span class="keywordflow">return</span> Success;</div>
+<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>       </div>
+<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock:</div>
+<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>       <span class="keywordflow">switch</span> (Entry.ID) {</div>
+<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>       <span class="keywordflow">case</span> <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>:</div>
+<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5668b2d15adb91f95d754990951bd50a" title="The cursor to the start of the input-files block.">InputFilesCursor</a> = Stream;</div>
+<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>         <span class="keywordflow">if</span> (Stream.SkipBlock() || <span class="comment">// Skip with the main cursor</span></div>
+<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>             <span class="comment">// Read the abbreviations</span></div>
+<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>             ReadBlockAbbrevs(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5668b2d15adb91f95d754990951bd50a" title="The cursor to the start of the input-files block.">InputFilesCursor</a>, <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>)) {</div>
+<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>           <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>         }</div>
+<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>         <span class="keywordflow">continue</span>;</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>       <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>         <span class="keywordflow">if</span> (Stream.SkipBlock()) {</div>
+<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>           <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>         }</div>
+<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>         <span class="keywordflow">continue</span>;</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>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>       <span class="comment">// The interesting case.</span></div>
+<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>     }</div>
+<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span> </div>
+<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>     <span class="comment">// Read and process a record.</span></div>
+<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>     Record.clear();</div>
+<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>     StringRef Blob;</div>
+<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>     <span class="keywordflow">switch</span> ((<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0d" title="Record types that occur within the control block.">ControlRecordTypes</a>)Stream.readRecord(Entry.ID, Record, &Blob)) {</div>
+<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>     <span class="keywordflow">case</span> <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="l01855"></a><span class="lineno"> 1855</span>       <span class="keywordflow">if</span> (Record[0] != <a class="code" href="namespaceclang_1_1serialization.html#a83e5eab408c4f73ee99909391464ff27" title="AST file major version number supported by this version of Clang.">VERSION_MAJOR</a> && !DisableValidation) {</div>
+<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>         <span class="keywordflow">if</span> ((ClientLoadCapabilities & ARR_VersionMismatch) == 0)</div>
+<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>           <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(Record[0] < <a class="code" href="namespaceclang_1_1serialization.html#a83e5eab408c4f73ee99909391464ff27" title="AST file major version number supported by this version of Clang.">VERSION_MAJOR</a>? diag::warn_pch_version_too_old</div>
+<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>                                         : diag::warn_pch_version_too_new);</div>
+<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>         <span class="keywordflow">return</span> VersionMismatch;</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="keywordtype">bool</span> hasErrors = Record[5];</div>
+<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>       <span class="keywordflow">if</span> (hasErrors && !DisableValidation && !AllowASTWithCompilerErrors) {</div>
+<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>         <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::err_pch_with_compiler_errors);</div>
+<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>         <span class="keywordflow">return</span> HadErrors;</div>
+<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>       }</div>
+<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span> </div>
+<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a8c2bedf1f55c8ccd4c75061fa317cfb5" title="Whether this precompiled header is a relocatable PCH file.">RelocatablePCH</a> = Record[4];</div>
+<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span> </div>
+<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>       <span class="keyword">const</span> std::string &CurBranch = <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="l01871"></a><span class="lineno"> 1871</span>       StringRef ASTBranch = Blob;</div>
+<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>       <span class="keywordflow">if</span> (StringRef(CurBranch) != ASTBranch && !DisableValidation) {</div>
+<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>         <span class="keywordflow">if</span> ((ClientLoadCapabilities & ARR_VersionMismatch) == 0)</div>
+<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>           <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::warn_pch_different_branch) << ASTBranch << CurBranch;</div>
+<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>         <span class="keywordflow">return</span> VersionMismatch;</div>
+<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>       }</div>
+<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>     }</div>
+<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span> </div>
+<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>     <span class="keywordflow">case</span> <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="l01881"></a><span class="lineno"> 1881</span>       <span class="comment">// Load each of the imported PCH files. </span></div>
+<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>       <span class="keywordtype">unsigned</span> Idx = 0, N = Record.size();</div>
+<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>       <span class="keywordflow">while</span> (Idx < N) {</div>
+<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>         <span class="comment">// Read information about the AST file.</span></div>
+<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>         <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1e" title="Specifies the kind of module that has been loaded.">ModuleKind</a> ImportedKind = (<a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1e" title="Specifies the kind of module that has been loaded.">ModuleKind</a>)Record[Idx++];</div>
+<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>         <span class="comment">// The import location will be the local one for now; we will adjust</span></div>
+<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>         <span class="comment">// all import locations of module imports after the global source</span></div>
+<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>         <span class="comment">// location info are setup.</span></div>
+<div class="line"><a name="l01889"></a><span class="lineno"> 1889</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> ImportLoc =</div>
+<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>             <a class="code" href="classclang_1_1SourceLocation.html#af6ffb91a339feae6d6a5101c533f1494" title="Turn a raw encoding of a SourceLocation object into a real SourceLocation.">SourceLocation::getFromRawEncoding</a>(Record[Idx++]);</div>
+<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>         off_t StoredSize = (off_t)Record[Idx++];</div>
+<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>         time_t StoredModTime = (time_t)Record[Idx++];</div>
+<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>         <span class="keywordtype">unsigned</span> Length = Record[Idx++];</div>
+<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>         <a class="code" href="classllvm_1_1SmallString.html">SmallString<128></a> ImportedFile(Record.begin() + Idx,</div>
+<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>                                       Record.begin() + Idx + Length);</div>
+<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>         Idx += Length;</div>
+<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span> </div>
+<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>         <span class="comment">// Load the AST file.</span></div>
+<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>         <span class="keywordflow">switch</span>(ReadASTCore(ImportedFile, ImportedKind, ImportLoc, &F, Loaded,</div>
+<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>                            StoredSize, StoredModTime,</div>
+<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>                            ClientLoadCapabilities)) {</div>
+<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>         <span class="keywordflow">case</span> Failure: <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>           <span class="comment">// If we have to ignore the dependency, we'll have to ignore this too.</span></div>
+<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>         <span class="keywordflow">case</span> Missing:</div>
+<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>         <span class="keywordflow">case</span> OutOfDate: <span class="keywordflow">return</span> OutOfDate;</div>
+<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>         <span class="keywordflow">case</span> VersionMismatch: <span class="keywordflow">return</span> VersionMismatch;</div>
+<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>         <span class="keywordflow">case</span> ConfigurationMismatch: <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>         <span class="keywordflow">case</span> HadErrors: <span class="keywordflow">return</span> HadErrors;</div>
+<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>         <span class="keywordflow">case</span> Success: <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01910"></a><span class="lineno"> 1910</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>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>     }</div>
+<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span> </div>
+<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>     <span class="keywordflow">case</span> <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="l01916"></a><span class="lineno"> 1916</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch) == 0;</div>
+<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>           ParseLanguageOptions(Record, Complain, *Listener) &&</div>
+<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>           !DisableValidation)</div>
+<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>     }</div>
+<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span> </div>
+<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>     <span class="keywordflow">case</span> <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="l01925"></a><span class="lineno"> 1925</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch)==0;</div>
+<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>           ParseTargetOptions(Record, Complain, *Listener) &&</div>
+<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>           !DisableValidation)</div>
+<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>     }</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="keywordflow">case</span> <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="l01934"></a><span class="lineno"> 1934</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch)==0;</div>
+<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>           ParseDiagnosticOptions(Record, Complain, *Listener) &&</div>
+<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>           !DisableValidation)</div>
+<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>     }</div>
+<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span> </div>
+<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>     <span class="keywordflow">case</span> <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="l01943"></a><span class="lineno"> 1943</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch)==0;</div>
+<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>           ParseFileSystemOptions(Record, Complain, *Listener) &&</div>
+<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>           !DisableValidation)</div>
+<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>     }</div>
+<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span> </div>
+<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>     <span class="keywordflow">case</span> <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="l01952"></a><span class="lineno"> 1952</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch)==0;</div>
+<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>           ParseHeaderSearchOptions(Record, Complain, *Listener) &&</div>
+<div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>           !DisableValidation)</div>
+<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>     }</div>
+<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span> </div>
+<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>     <span class="keywordflow">case</span> <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="l01961"></a><span class="lineno"> 1961</span>       <span class="keywordtype">bool</span> Complain = (ClientLoadCapabilities & ARR_ConfigurationMismatch)==0;</div>
+<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>       <span class="keywordflow">if</span> (Listener && &F == *ModuleMgr.begin() &&</div>
+<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>           ParsePreprocessorOptions(Record, Complain, *Listener,</div>
+<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>                                    SuggestedPredefines) &&</div>
+<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>           !DisableValidation)</div>
+<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>         <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01968"></a><span class="lineno"> 1968</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>     <span class="keywordflow">case</span> <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="l01971"></a><span class="lineno"> 1971</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a> = FileID::get(Record[0]);</div>
+<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a6b9e302ed602f10489b3870ca6b391ff" title="The actual original source file name that was used to build this AST file.">ActualOriginalSourceFileName</a> = Blob;</div>
+<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a7c37b6bbb642934c7a46f23de50c3d31" title="The original source file name that was used to build the primary AST file, which may have been modifi...">OriginalSourceFileName</a> = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a6b9e302ed602f10489b3870ca6b391ff" title="The actual original source file name that was used to build this AST file.">ActualOriginalSourceFileName</a>;</div>
+<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>       MaybeAddSystemRootToFilename(F, F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a7c37b6bbb642934c7a46f23de50c3d31" title="The original source file name that was used to build the primary AST file, which may have been modifi...">OriginalSourceFileName</a>);</div>
+<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span> </div>
+<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>     <span class="keywordflow">case</span> <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="l01978"></a><span class="lineno"> 1978</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a> = FileID::get(Record[0]);</div>
+<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span> </div>
+<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>     <span class="keywordflow">case</span> <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="l01982"></a><span class="lineno"> 1982</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a81ac3d0655d10834d411d6d1936eced2" title="The directory that the PCH was originally created in. Used to allow resolving headers even after head...">OriginalDir</a> = Blob;</div>
+<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span> </div>
+<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span>     <span class="keywordflow">case</span> <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="l01986"></a><span class="lineno"> 1986</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a80c7bb0509abfacb08c50ce9db32546f" title="Offsets for all of the input file entries in the AST file.">InputFileOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a22b53dc60ad93b27138fd9c56dcfe9" title="The input files that have been loaded from this AST file.">InputFilesLoaded</a>.resize(Record[0]);</div>
+<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>     }</div>
+<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>   }</div>
+<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span> }</div>
+<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span> </div>
+<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span> <span class="keywordtype">bool</span> ASTReader::ReadASTBlock(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F) {</div>
+<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>   BitstreamCursor &Stream = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9bf07827f9d6d5220e6a2a081ddfa5c3" title="The main bitstream cursor for the main block.">Stream</a>;</div>
+<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span> </div>
+<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>   <span class="keywordflow">if</span> (Stream.EnterSubBlock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a4266f7e24caae40a2f94bd2261a62485" title="The AST block, which acts as a container around the full AST block.">AST_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>     Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>   }</div>
+<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span> </div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>   <span class="comment">// Read all of the records and blocks for the AST file.</span></div>
+<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>   RecordData Record;</div>
+<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>     llvm::BitstreamEntry Entry = Stream.advance();</div>
+<div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>     </div>
+<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>       Error(<span class="stringliteral">"error at end of module block in AST file"</span>);</div>
+<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock: {</div>
+<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>       <span class="comment">// Outside of C++, we do not store a lookup map for the translation unit.</span></div>
+<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>       <span class="comment">// Instead, mark it as needing a lookup map to be built if this module</span></div>
+<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>       <span class="comment">// contains any declarations lexically within it (which it always does!).</span></div>
+<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>       <span class="comment">// This usually has no cost, since we very rarely need the lookup map for</span></div>
+<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>       <span class="comment">// the translation unit outside C++.</span></div>
+<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>       <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>();</div>
+<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>       <span class="keywordflow">if</span> (DC-><a class="code" href="classclang_1_1DeclContext.html#aa8dec740806276791eb26896b3ea8ffa" title="Whether this DeclContext has external storage containing additional declarations that are lexically i...">hasExternalLexicalStorage</a>() &&</div>
+<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>           !getContext().getLangOpts().CPlusPlus)</div>
+<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>         DC-><a class="code" href="classclang_1_1DeclContext.html#a698266633d8d44a5cdff3c5fd0df930c" title="Mark the lookup table as needing to be built. This should be used only if setHasExternalLexicalStorag...">setMustBuildLookupTable</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>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>     }</div>
+<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock:</div>
+<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>       <span class="keywordflow">switch</span> (Entry.ID) {</div>
+<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a65f65bcd19e99b9664abb60885b4183d" title="The block containing the definitions of all of the types and decls used within the AST file...">DECLTYPES_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>         <span class="comment">// We lazily load the decls block, but we want to set up the</span></div>
+<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>         <span class="comment">// DeclsCursor cursor to point into it.  Clone our current bitcode</span></div>
+<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>         <span class="comment">// cursor to it, enter the block and read the abbrevs in that block.</span></div>
+<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>         <span class="comment">// With the main cursor, we just skip over it.</span></div>
+<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4bdcf720e00ca61c4431a32faa9a1a73">DeclsCursor</a> = Stream;</div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>         <span class="keywordflow">if</span> (Stream.SkipBlock() ||  <span class="comment">// Skip with the main cursor.</span></div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>             <span class="comment">// Read the abbrevs.</span></div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>             ReadBlockAbbrevs(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4bdcf720e00ca61c4431a32faa9a1a73">DeclsCursor</a>, <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a65f65bcd19e99b9664abb60885b4183d" title="The block containing the definitions of all of the types and decls used within the AST file...">DECLTYPES_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>         }</div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>         </div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a5fbd22535596c50b7e8d3a9734d142e8" title="The block containing DECL_UPDATES records.">DECL_UPDATES_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>         <span class="keywordflow">if</span> (Stream.SkipBlock()) {</div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>         }</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>         </div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a7b7fafbdd31095bfff39a27bc1b178b5" title="The block containing information about the preprocessor.">PREPROCESSOR_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a68fd8cd6abb5eb0a61ec754e5a641b39" title="The cursor to the start of the preprocessor block, which stores all of the macro definitions.">MacroCursor</a> = Stream;</div>
+<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>         <span class="keywordflow">if</span> (!PP.getExternalSource())</div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>           PP.setExternalSource(<span class="keyword">this</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>         <span class="keywordflow">if</span> (Stream.SkipBlock() ||</div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>             ReadBlockAbbrevs(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a68fd8cd6abb5eb0a61ec754e5a641b39" title="The cursor to the start of the preprocessor block, which stores all of the macro definitions.">MacroCursor</a>, <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a7b7fafbdd31095bfff39a27bc1b178b5" title="The block containing information about the preprocessor.">PREPROCESSOR_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>         }</div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ac42cb7ca9c49596ada5eb0b3641cceeb" title="The offset of the start of the set of defined macros.">MacroStartOffset</a> = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a68fd8cd6abb5eb0a61ec754e5a641b39" title="The cursor to the start of the preprocessor block, which stores all of the macro definitions.">MacroCursor</a>.GetCurrentBitNo();</div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>         </div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a4076e5615133322343c23f5e6532e98a" title="The block containing the detailed preprocessing record.">PREPROCESSOR_DETAIL_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aaac67f3a1b875432959852cccd0407b6" title="The cursor to the start of the (optional) detailed preprocessing record block.">PreprocessorDetailCursor</a> = Stream;</div>
+<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>         <span class="keywordflow">if</span> (Stream.SkipBlock() ||</div>
+<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>             ReadBlockAbbrevs(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aaac67f3a1b875432959852cccd0407b6" title="The cursor to the start of the (optional) detailed preprocessing record block.">PreprocessorDetailCursor</a>,</div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>                              <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a4076e5615133322343c23f5e6532e98a" title="The block containing the detailed preprocessing record.">PREPROCESSOR_DETAIL_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>               Error(<span class="stringliteral">"malformed preprocessor detail record in AST file"</span>);</div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>               <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>             }</div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a6d00db01210e8a12c015880c3954af95" title="The offset of the start of the preprocessor detail cursor.">PreprocessorDetailStartOffset</a></div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>         = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aaac67f3a1b875432959852cccd0407b6" title="The cursor to the start of the (optional) detailed preprocessing record block.">PreprocessorDetailCursor</a>.GetCurrentBitNo();</div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>         </div>
+<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>         <span class="keywordflow">if</span> (!PP.getPreprocessingRecord())</div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>           PP.createPreprocessingRecord();</div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>         <span class="keywordflow">if</span> (!PP.getPreprocessingRecord()->getExternalSource())</div>
+<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>           PP.getPreprocessingRecord()->SetExternalSource(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>         </div>
+<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a56dc99fd6e0ab0d1eb2aa3a7e903641c" title="The block containing information about the source manager.">SOURCE_MANAGER_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>         <span class="keywordflow">if</span> (ReadSourceManagerBlock(F))</div>
+<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>         </div>
+<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a14912d6f1fd55657162378580af7dcca" title="The block containing the submodule structure.">SUBMODULE_BLOCK_ID</a>:</div>
+<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>         <span class="keywordflow">if</span> (ReadSubmoduleBlock(F))</div>
+<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>         </div>
+<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>       <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118aa9f52dcc2f4a40387dfeb1f5e395aa3f" title="The block containing comments.">COMMENTS_BLOCK_ID</a>: {</div>
+<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>         BitstreamCursor C = Stream;</div>
+<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>         <span class="keywordflow">if</span> (Stream.SkipBlock() ||</div>
+<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>             ReadBlockAbbrevs(C, <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118aa9f52dcc2f4a40387dfeb1f5e395aa3f" title="The block containing comments.">COMMENTS_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>           Error(<span class="stringliteral">"malformed comments block in AST file"</span>);</div>
+<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>           <span class="keywordflow">return</span> <span class="keyword">true</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>         CommentsCursors.push_back(std::make_pair(C, &F));</div>
+<div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02095"></a><span class="lineno"> 2095</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>       <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>         <span class="keywordflow">if</span> (Stream.SkipBlock()) {</div>
+<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>           Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</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="keywordflow">break</span>;</div>
+<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>       }</div>
+<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>     </div>
+<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>       <span class="comment">// The interesting case.</span></div>
+<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>     }</div>
+<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span> </div>
+<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>     <span class="comment">// Read and process a record.</span></div>
+<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>     Record.clear();</div>
+<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>     StringRef Blob;</div>
+<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>     <span class="keywordflow">switch</span> ((<a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61" title="Record types that occur within the AST block itself.">ASTRecordTypes</a>)Stream.readRecord(Entry.ID, Record, &Blob)) {</div>
+<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>     <span class="keywordflow">default</span>:  <span class="comment">// Default behavior: ignore.</span></div>
+<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02117"></a><span class="lineno"> 2117</span> </div>
+<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>     <span class="keywordflow">case</span> <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="l02119"></a><span class="lineno"> 2119</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa2ea4f143667d97c33d124f9e684a91a" title="The number of types in this AST file.">LocalNumTypes</a> != 0) {</div>
+<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>         Error(<span class="stringliteral">"duplicate TYPE_OFFSET record in AST file"</span>);</div>
+<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>       }</div>
+<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ae07560f35de9a01e9e791cdfd1b722b9" title="Offset of each type within the bitstream, indexed by the type ID, or the representation of a Type*...">TypeOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa2ea4f143667d97c33d124f9e684a91a" title="The number of types in this AST file.">LocalNumTypes</a> = Record[0];</div>
+<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>       <span class="keywordtype">unsigned</span> LocalBaseTypeIndex = Record[1];</div>
+<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a386334eee0ebf53b12c1fa31ce6a0243" title="Base type ID for types local to this module as represented in the global type ID space.">BaseTypeIndex</a> = getTotalNumTypes();</div>
+<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>         </div>
+<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa2ea4f143667d97c33d124f9e684a91a" title="The number of types in this AST file.">LocalNumTypes</a> > 0) {</div>
+<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>         <span class="comment">// Introduce the global -> local mapping for types within this module.</span></div>
+<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>         GlobalTypeMap.insert(std::make_pair(getTotalNumTypes(), &F));</div>
+<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>         </div>
+<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>         <span class="comment">// Introduce the local -> global mapping for types within this module.</span></div>
+<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a624cffa8cb20fc80d5c71dbc0a953595" title="Remapping table for type IDs in this module.">TypeRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>           std::make_pair(LocalBaseTypeIndex, </div>
+<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>                          F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a386334eee0ebf53b12c1fa31ce6a0243" title="Base type ID for types local to this module as represented in the global type ID space.">BaseTypeIndex</a> - LocalBaseTypeIndex));</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>         TypesLoaded.resize(TypesLoaded.size() + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa2ea4f143667d97c33d124f9e684a91a" title="The number of types in this AST file.">LocalNumTypes</a>);</div>
+<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>       }</div>
+<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>       <span class="keywordflow">break</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">case</span> <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="l02143"></a><span class="lineno"> 2143</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad162ef94b3bd68b721226cf90233bfed" title="The number of declarations in this AST file.">LocalNumDecls</a> != 0) {</div>
+<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>         Error(<span class="stringliteral">"duplicate DECL_OFFSET record in AST file"</span>);</div>
+<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>       }</div>
+<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#abfcd6878ed0883f57ff751bfe1fa0962" title="Offset of each declaration within the bitstream, indexed by the declaration ID (-1).">DeclOffsets</a> = (<span class="keyword">const</span> <a class="code" href="structclang_1_1serialization_1_1DeclOffset.html" title="Source range/offset of a preprocessed entity.">DeclOffset</a> *)Blob.data();</div>
+<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad162ef94b3bd68b721226cf90233bfed" title="The number of declarations in this AST file.">LocalNumDecls</a> = Record[0];</div>
+<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>       <span class="keywordtype">unsigned</span> LocalBaseDeclID = Record[1];</div>
+<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a0aa5dd6fb74fef27b397abba6016c0e3" title="Base declaration ID for declarations local to this module.">BaseDeclID</a> = getTotalNumDecls();</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> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad162ef94b3bd68b721226cf90233bfed" title="The number of declarations in this AST file.">LocalNumDecls</a> > 0) {</div>
+<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>         <span class="comment">// Introduce the global -> local mapping for declarations within this </span></div>
+<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>         GlobalDeclMap.insert(</div>
+<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>           std::make_pair(getTotalNumDecls() + <a class="code" href="group__ASTAST.html#ga6d344ffeb5a7cec8c1fd486fbc97db52" title="The number of declaration IDs that are predefined.">NUM_PREDEF_DECL_IDS</a>, &F));</div>
+<div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>         </div>
+<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>         <span class="comment">// Introduce the local -> global mapping for declarations within this</span></div>
+<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a2aa112718567b3278b5510ecc187845d" title="Remapping table for declaration IDs in this module.">DeclRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>           std::make_pair(LocalBaseDeclID, F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a0aa5dd6fb74fef27b397abba6016c0e3" title="Base declaration ID for declarations local to this module.">BaseDeclID</a> - LocalBaseDeclID));</div>
+<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>         </div>
+<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>         <span class="comment">// Introduce the global -> local mapping for declarations within this</span></div>
+<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02165"></a><span class="lineno"> 2165</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#adf1696bdfb0f9ba4e4aa86282bcb7706" title="Mapping from the module files that this module file depends on to the base declaration ID for that mo...">GlobalToLocalDeclIDs</a>[&F] = LocalBaseDeclID;</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>         DeclsLoaded.resize(DeclsLoaded.size() + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad162ef94b3bd68b721226cf90233bfed" title="The number of declarations in this AST file.">LocalNumDecls</a>);</div>
+<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>       }</div>
+<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>     }</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="keywordflow">case</span> <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="l02173"></a><span class="lineno"> 2173</span>       <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *TU = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>();</div>
+<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>       <a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html" title="Information about the contents of a DeclContext.">DeclContextInfo</a> &Info = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4addb09fd6d133334c85ed46c17eadc1" title="Information about the lexical and visible declarations for each DeclContext.">DeclContextInfos</a>[TU];</div>
+<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>       Info.<a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html#a3e5586305c548b9f63f5867a4c89a067">LexicalDecls</a> = <span class="keyword">reinterpret_cast<</span><span class="keyword">const </span><a class="code" href="namespaceclang_1_1serialization.html#ae7d1e33c5193ac34820dcfeefe66c403" title="a Decl::Kind/DeclID pair.">KindDeclIDPair</a> *<span class="keyword">></span>(Blob.data());</div>
+<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>       Info.<a class="code" href="structclang_1_1serialization_1_1DeclContextInfo.html#a5074c0c79ca01bb98fee249dded6efaa">NumLexicalDecls</a> </div>
+<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>         = <span class="keyword">static_cast<</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span><span class="keyword">></span>(Blob.size() / <span class="keyword">sizeof</span>(<a class="code" href="namespaceclang_1_1serialization.html#ae7d1e33c5193ac34820dcfeefe66c403" title="a Decl::Kind/DeclID pair.">KindDeclIDPair</a>));</div>
+<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>       TU-><a class="code" href="classclang_1_1DeclContext.html#a1c49f11a61c8a3597f68a0a3bf4fe4fa" title="State whether this DeclContext has external storage for declarations lexically in this context...">setHasExternalLexicalStorage</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>     }</div>
+<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span> </div>
+<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>     <span class="keywordflow">case</span> <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="l02183"></a><span class="lineno"> 2183</span>       <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>       <a class="code" href="namespaceclang_1_1serialization.html#af3f9c681595246da4bb499bd210e7f36" title="An ID number that refers to a declaration in an AST file.">serialization::DeclID</a> ID = ReadDeclID(F, Record, Idx);</div>
+<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>       <a class="code" href="classclang_1_1OnDiskChainedHashTable.html">ASTDeclContextNameLookupTable</a> *Table =</div>
+<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>         ASTDeclContextNameLookupTable::Create(</div>
+<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>                         (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Blob.data() + Record[Idx++],</div>
+<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>                         (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Blob.data(),</div>
+<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>                         <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTDeclContextNameLookupTrait.html" title="Class that performs name lookup into a DeclContext stored in an AST file.">ASTDeclContextNameLookupTrait</a>(*<span class="keyword">this</span>, F));</div>
+<div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>       <span class="keywordflow">if</span> (ID == <a class="code" href="group__ASTAST.html#gga1167da4d5ead9463cc4509ff87a1be2badd00da6a63fee234053917357a95596b" title="The translation unit.">PREDEF_DECL_TRANSLATION_UNIT_ID</a>) { <span class="comment">// Is it the TU?</span></div>
+<div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>         <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *TU = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>();</div>
+<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4addb09fd6d133334c85ed46c17eadc1" title="Information about the lexical and visible declarations for each DeclContext.">DeclContextInfos</a>[TU].NameLookupTableData = Table;</div>
+<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>         TU-><a class="code" href="classclang_1_1DeclContext.html#a40e076b186c48345ff6710c4e6af27fd" title="State whether this DeclContext has external storage for declarations visible in this context...">setHasExternalVisibleStorage</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>       } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>         PendingVisibleUpdates[<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>].push_back(std::make_pair(Table, &F));</div>
+<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>     }</div>
+<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span> </div>
+<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>     <span class="keywordflow">case</span> <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="l02200"></a><span class="lineno"> 2200</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a800afe7babfa37e17dcf55bc650a9027" title="Actual data for the on-disk hash table of identifiers.">IdentifierTableData</a> = Blob.data();</div>
+<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>       <span class="keywordflow">if</span> (Record[0]) {</div>
+<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a099108c0f23448bdc4580da0374815fd" title="A pointer to an on-disk hash table of opaque type IdentifierHashTable.">IdentifierLookupTable</a></div>
+<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>           = ASTIdentifierLookupTable::Create(</div>
+<div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>                        (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a800afe7babfa37e17dcf55bc650a9027" title="Actual data for the on-disk hash table of identifiers.">IdentifierTableData</a> + Record[0],</div>
+<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>                        (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a800afe7babfa37e17dcf55bc650a9027" title="Actual data for the on-disk hash table of identifiers.">IdentifierTableData</a>,</div>
+<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>                        <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTIdentifierLookupTrait.html" title="Class that performs lookup for an identifier stored in an AST file.">ASTIdentifierLookupTrait</a>(*<span class="keyword">this</span>, F));</div>
+<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>         </div>
+<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>         PP.getIdentifierTable().setExternalIdentifierLookup(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>       }</div>
+<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span> </div>
+<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span>     <span class="keywordflow">case</span> <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="l02213"></a><span class="lineno"> 2213</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4976ed85982b6c189e2fbf601fc3742e" title="The number of identifiers in this AST file.">LocalNumIdentifiers</a> != 0) {</div>
+<div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>         Error(<span class="stringliteral">"duplicate IDENTIFIER_OFFSET record in AST file"</span>);</div>
+<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>       }</div>
+<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad9ed1ca9e211cee3858128dcbd858ce8" title="Offsets into the identifier table data.">IdentifierOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4976ed85982b6c189e2fbf601fc3742e" title="The number of identifiers in this AST file.">LocalNumIdentifiers</a> = Record[0];</div>
+<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>       <span class="keywordtype">unsigned</span> LocalBaseIdentifierID = Record[1];</div>
+<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a04eb7f504a0c749d71088e5f3ef702a6" title="Base identifier ID for identifiers local to this module.">BaseIdentifierID</a> = getTotalNumIdentifiers();</div>
+<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>         </div>
+<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4976ed85982b6c189e2fbf601fc3742e" title="The number of identifiers in this AST file.">LocalNumIdentifiers</a> > 0) {</div>
+<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>         <span class="comment">// Introduce the global -> local mapping for identifiers within this</span></div>
+<div class="line"><a name="l02224"></a><span class="lineno"> 2224</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>         GlobalIdentifierMap.insert(std::make_pair(getTotalNumIdentifiers() + 1, </div>
+<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>                                                   &F));</div>
+<div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>         </div>
+<div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>         <span class="comment">// Introduce the local -> global mapping for identifiers within this</span></div>
+<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a6c41e226bb29c7a711a258666efd413c" title="Remapping table for identifier IDs in this module.">IdentifierRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>           std::make_pair(LocalBaseIdentifierID,</div>
+<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>                          F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a04eb7f504a0c749d71088e5f3ef702a6" title="Base identifier ID for identifiers local to this module.">BaseIdentifierID</a> - LocalBaseIdentifierID));</div>
+<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>         </div>
+<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>         IdentifiersLoaded.resize(IdentifiersLoaded.size() </div>
+<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>                                  + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4976ed85982b6c189e2fbf601fc3742e" title="The number of identifiers in this AST file.">LocalNumIdentifiers</a>);</div>
+<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>       }</div>
+<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>       <span class="keywordflow">break</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="keywordflow">case</span> <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="l02241"></a><span class="lineno"> 2241</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>         ExternalDefinitions.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span> </div>
+<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>     <span class="keywordflow">case</span> <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="l02246"></a><span class="lineno"> 2246</span>       <span class="keywordflow">if</span> (SpecialTypes.empty()) {</div>
+<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>           SpecialTypes.push_back(getGlobalTypeID(F, Record[I]));</div>
+<div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>       }</div>
+<div class="line"><a name="l02251"></a><span class="lineno"> 2251</span> </div>
+<div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>       <span class="keywordflow">if</span> (SpecialTypes.size() != Record.size()) {</div>
+<div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>         Error(<span class="stringliteral">"invalid special-types record"</span>);</div>
+<div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02255"></a><span class="lineno"> 2255</span>       }</div>
+<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span> </div>
+<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>         <a class="code" href="namespaceclang_1_1serialization.html#a0e09d1ee46891ec8fe62b5ab5b583d12" title="An ID number that refers to a type in an AST file.">serialization::TypeID</a> ID = getGlobalTypeID(F, Record[I]);</div>
+<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>         <span class="keywordflow">if</span> (!SpecialTypes[I])</div>
+<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>           SpecialTypes[I] = <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="l02261"></a><span class="lineno"> 2261</span>         <span class="comment">// FIXME: If ID && SpecialTypes[I] != ID, do we need a separate</span></div>
+<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>         <span class="comment">// merge step?</span></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>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span> </div>
+<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>     <span class="keywordflow">case</span> <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="l02267"></a><span class="lineno"> 2267</span>       TotalNumStatements += Record[0];</div>
+<div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>       TotalNumMacros += Record[1];</div>
+<div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>       TotalLexicalDeclContexts += Record[2];</div>
+<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>       TotalVisibleDeclContexts += Record[3];</div>
+<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02272"></a><span class="lineno"> 2272</span> </div>
+<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>     <span class="keywordflow">case</span> <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="l02274"></a><span class="lineno"> 2274</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>         UnusedFileScopedDecls.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span> </div>
+<div class="line"><a name="l02278"></a><span class="lineno"> 2278</span>     <span class="keywordflow">case</span> <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="l02279"></a><span class="lineno"> 2279</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>         DelegatingCtorDecls.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span> </div>
+<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>     <span class="keywordflow">case</span> <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="l02284"></a><span class="lineno"> 2284</span>       <span class="keywordflow">if</span> (Record.size() % 4 != 0) {</div>
+<div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>         Error(<span class="stringliteral">"invalid weak identifiers record"</span>);</div>
+<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>       }</div>
+<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>         </div>
+<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>       <span class="comment">// FIXME: Ignore weak undeclared identifiers from non-original PCH </span></div>
+<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>       <span class="comment">// files. This isn't the way to do it :)</span></div>
+<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>       WeakUndeclaredIdentifiers.clear();</div>
+<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>         </div>
+<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>       <span class="comment">// Translate the weak, undeclared identifiers into global IDs.</span></div>
+<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I < N; <span class="comment">/* in loop */</span>) {</div>
+<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>         WeakUndeclaredIdentifiers.push_back(</div>
+<div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>           getGlobalIdentifierID(F, Record[I++]));</div>
+<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>         WeakUndeclaredIdentifiers.push_back(</div>
+<div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>           getGlobalIdentifierID(F, Record[I++]));</div>
+<div class="line"><a name="l02299"></a><span class="lineno"> 2299</span>         WeakUndeclaredIdentifiers.push_back(</div>
+<div class="line"><a name="l02300"></a><span class="lineno"> 2300</span>           ReadSourceLocation(F, Record, I).getRawEncoding());</div>
+<div class="line"><a name="l02301"></a><span class="lineno"> 2301</span>         WeakUndeclaredIdentifiers.push_back(Record[I++]);</div>
+<div class="line"><a name="l02302"></a><span class="lineno"> 2302</span>       }</div>
+<div class="line"><a name="l02303"></a><span class="lineno"> 2303</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02304"></a><span class="lineno"> 2304</span> </div>
+<div class="line"><a name="l02305"></a><span class="lineno"> 2305</span>     <span class="keywordflow">case</span> <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="l02306"></a><span class="lineno"> 2306</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02307"></a><span class="lineno"> 2307</span>         LocallyScopedExternCDecls.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02309"></a><span class="lineno"> 2309</span> </div>
+<div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>     <span class="keywordflow">case</span> <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="l02311"></a><span class="lineno"> 2311</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9021e0ac7bdab5904a06b43ab0eae00d" title="Offsets into the selector lookup table's data array where each selector resides.">SelectorOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02312"></a><span class="lineno"> 2312</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af087a823fe1f210ae12ba27d5f0e9d16" title="The number of selectors new to this file.">LocalNumSelectors</a> = Record[0];</div>
+<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>       <span class="keywordtype">unsigned</span> LocalBaseSelectorID = Record[1];</div>
+<div class="line"><a name="l02314"></a><span class="lineno"> 2314</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a3c132169012397a7a4ad3d01ba0450" title="Base selector ID for selectors local to this module.">BaseSelectorID</a> = getTotalNumSelectors();</div>
+<div class="line"><a name="l02315"></a><span class="lineno"> 2315</span>         </div>
+<div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af087a823fe1f210ae12ba27d5f0e9d16" title="The number of selectors new to this file.">LocalNumSelectors</a> > 0) {</div>
+<div class="line"><a name="l02317"></a><span class="lineno"> 2317</span>         <span class="comment">// Introduce the global -> local mapping for selectors within this </span></div>
+<div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>         GlobalSelectorMap.insert(std::make_pair(getTotalNumSelectors()+1, &F));</div>
+<div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>         </div>
+<div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>         <span class="comment">// Introduce the local -> global mapping for selectors within this </span></div>
+<div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>         <span class="comment">// module.</span></div>
+<div class="line"><a name="l02323"></a><span class="lineno"> 2323</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#add3e89466528124203634290a45375b8" title="Remapping table for selector IDs in this module.">SelectorRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02324"></a><span class="lineno"> 2324</span>           std::make_pair(LocalBaseSelectorID,</div>
+<div class="line"><a name="l02325"></a><span class="lineno"> 2325</span>                          F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a3c132169012397a7a4ad3d01ba0450" title="Base selector ID for selectors local to this module.">BaseSelectorID</a> - LocalBaseSelectorID));</div>
+<div class="line"><a name="l02326"></a><span class="lineno"> 2326</span> </div>
+<div class="line"><a name="l02327"></a><span class="lineno"> 2327</span>         SelectorsLoaded.resize(SelectorsLoaded.size() + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af087a823fe1f210ae12ba27d5f0e9d16" title="The number of selectors new to this file.">LocalNumSelectors</a>);        </div>
+<div class="line"><a name="l02328"></a><span class="lineno"> 2328</span>       }</div>
+<div class="line"><a name="l02329"></a><span class="lineno"> 2329</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02330"></a><span class="lineno"> 2330</span>     }</div>
+<div class="line"><a name="l02331"></a><span class="lineno"> 2331</span>         </div>
+<div class="line"><a name="l02332"></a><span class="lineno"> 2332</span>     <span class="keywordflow">case</span> <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="l02333"></a><span class="lineno"> 2333</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aca7e30642ed199864e76512293794715" title="A pointer to the character data that comprises the selector table.">SelectorLookupTableData</a> = (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Blob.data();</div>
+<div class="line"><a name="l02334"></a><span class="lineno"> 2334</span>       <span class="keywordflow">if</span> (Record[0])</div>
+<div class="line"><a name="l02335"></a><span class="lineno"> 2335</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a0c1aeedc3c6832cfea36bb27c5d5436f" title="A pointer to an on-disk hash table of opaque type ASTSelectorLookupTable.">SelectorLookupTable</a></div>
+<div class="line"><a name="l02336"></a><span class="lineno"> 2336</span>           = ASTSelectorLookupTable::Create(</div>
+<div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>                         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aca7e30642ed199864e76512293794715" title="A pointer to the character data that comprises the selector table.">SelectorLookupTableData</a> + Record[0],</div>
+<div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>                         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aca7e30642ed199864e76512293794715" title="A pointer to the character data that comprises the selector table.">SelectorLookupTableData</a>,</div>
+<div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>                         <a class="code" href="classclang_1_1serialization_1_1reader_1_1ASTSelectorLookupTrait.html" title="Class that performs lookup for a selector's entries in the global method pool stored in an AST file...">ASTSelectorLookupTrait</a>(*<span class="keyword">this</span>, F));</div>
+<div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>       TotalNumMethodPoolEntries += Record[1];</div>
+<div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span> </div>
+<div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>     <span class="keywordflow">case</span> <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="l02344"></a><span class="lineno"> 2344</span>       <span class="keywordflow">if</span> (!Record.empty()) {</div>
+<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> Idx = 0, N = Record.size() - 1; Idx < N; <span class="comment">/* in loop */</span>) {</div>
+<div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>           ReferencedSelectorsData.push_back(getGlobalSelectorID(F, </div>
+<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>                                                                 Record[Idx++]));</div>
+<div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>           ReferencedSelectorsData.push_back(ReadSourceLocation(F, Record, Idx).</div>
+<div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>                                               getRawEncoding());</div>
+<div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>         }</div>
+<div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>       }</div>
+<div class="line"><a name="l02352"></a><span class="lineno"> 2352</span>       <span class="keywordflow">break</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="keywordflow">case</span> <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="l02355"></a><span class="lineno"> 2355</span>       <span class="keywordflow">if</span> (!Record.empty() && Listener)</div>
+<div class="line"><a name="l02356"></a><span class="lineno"> 2356</span>         Listener->ReadCounter(F, Record[0]);</div>
+<div class="line"><a name="l02357"></a><span class="lineno"> 2357</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02358"></a><span class="lineno"> 2358</span>       </div>
+<div class="line"><a name="l02359"></a><span class="lineno"> 2359</span>     <span class="keywordflow">case</span> <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="l02360"></a><span class="lineno"> 2360</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#acdbc4cb9938d92fdf6238b873854ec43" title="Array of file-level DeclIDs sorted by file.">FileSortedDecls</a> = (<span class="keyword">const</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> *)Blob.data();</div>
+<div class="line"><a name="l02361"></a><span class="lineno"> 2361</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a922823ba762b8e30da92267ea71729e4">NumFileSortedDecls</a> = Record[0];</div>
+<div class="line"><a name="l02362"></a><span class="lineno"> 2362</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02363"></a><span class="lineno"> 2363</span> </div>
+<div class="line"><a name="l02364"></a><span class="lineno"> 2364</span>     <span class="keywordflow">case</span> <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="l02365"></a><span class="lineno"> 2365</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a65cf8b1b1a21154e599d507a42413bbd" title="Offsets for all of the source location entries in the AST file.">SLocEntryOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02366"></a><span class="lineno"> 2366</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a97b8d484b8843c41c4004f6f4637bb23" title="The number of source location entries in this AST file.">LocalNumSLocEntries</a> = Record[0];</div>
+<div class="line"><a name="l02367"></a><span class="lineno"> 2367</span>       <span class="keywordtype">unsigned</span> SLocSpaceSize = Record[1];</div>
+<div class="line"><a name="l02368"></a><span class="lineno"> 2368</span>       llvm::tie(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a>, F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a>) =</div>
+<div class="line"><a name="l02369"></a><span class="lineno"> 2369</span>           <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#aac4833e095c278e8e3e9bcbb7fe5ff77" title="Allocate a number of loaded SLocEntries, which will be actually loaded on demand from the external so...">AllocateLoadedSLocEntries</a>(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a97b8d484b8843c41c4004f6f4637bb23" title="The number of source location entries in this AST file.">LocalNumSLocEntries</a>,</div>
+<div class="line"><a name="l02370"></a><span class="lineno"> 2370</span>                                               SLocSpaceSize);</div>
+<div class="line"><a name="l02371"></a><span class="lineno"> 2371</span>       <span class="comment">// Make our entry in the range map. BaseID is negative and growing, so</span></div>
+<div class="line"><a name="l02372"></a><span class="lineno"> 2372</span>       <span class="comment">// we invert it. Because we invert it, though, we need the other end of</span></div>
+<div class="line"><a name="l02373"></a><span class="lineno"> 2373</span>       <span class="comment">// the range.</span></div>
+<div class="line"><a name="l02374"></a><span class="lineno"> 2374</span>       <span class="keywordtype">unsigned</span> RangeStart =</div>
+<div class="line"><a name="l02375"></a><span class="lineno"> 2375</span>           <a class="code" href="classunsigned.html">unsigned</a>(-F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a>) - F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a97b8d484b8843c41c4004f6f4637bb23" title="The number of source location entries in this AST file.">LocalNumSLocEntries</a> + 1;</div>
+<div class="line"><a name="l02376"></a><span class="lineno"> 2376</span>       GlobalSLocEntryMap.insert(std::make_pair(RangeStart, &F));</div>
+<div class="line"><a name="l02377"></a><span class="lineno"> 2377</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a72a8a3184f955bdc2b49467831e876d3" title="The first source location in this module.">FirstLoc</a> = <a class="code" href="classclang_1_1SourceLocation.html#af6ffb91a339feae6d6a5101c533f1494" title="Turn a raw encoding of a SourceLocation object into a real SourceLocation.">SourceLocation::getFromRawEncoding</a>(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a>);</div>
+<div class="line"><a name="l02378"></a><span class="lineno"> 2378</span> </div>
+<div class="line"><a name="l02379"></a><span class="lineno"> 2379</span>       <span class="comment">// SLocEntryBaseOffset is lower than MaxLoadedOffset and decreasing.</span></div>
+<div class="line"><a name="l02380"></a><span class="lineno"> 2380</span>       assert((F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a> & (1U << 31U)) == 0);</div>
+<div class="line"><a name="l02381"></a><span class="lineno"> 2381</span>       GlobalSLocOffsetMap.insert(</div>
+<div class="line"><a name="l02382"></a><span class="lineno"> 2382</span>           std::make_pair(SourceManager::MaxLoadedOffset - F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a></div>
+<div class="line"><a name="l02383"></a><span class="lineno"> 2383</span>                            - SLocSpaceSize,&F));</div>
+<div class="line"><a name="l02384"></a><span class="lineno"> 2384</span> </div>
+<div class="line"><a name="l02385"></a><span class="lineno"> 2385</span>       <span class="comment">// Initialize the remapping table.</span></div>
+<div class="line"><a name="l02386"></a><span class="lineno"> 2386</span>       <span class="comment">// Invalid stays invalid.</span></div>
+<div class="line"><a name="l02387"></a><span class="lineno"> 2387</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a2e8fed7e615e8cf799e6f6dcd9e0c7cb" title="Remapping table for source locations in this module.">SLocRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a8fa8b51a0840a8a85b904326c92321f8">insert</a>(std::make_pair(0U, 0));</div>
+<div class="line"><a name="l02388"></a><span class="lineno"> 2388</span>       <span class="comment">// This module. Base was 2 when being compiled.</span></div>
+<div class="line"><a name="l02389"></a><span class="lineno"> 2389</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a2e8fed7e615e8cf799e6f6dcd9e0c7cb" title="Remapping table for source locations in this module.">SLocRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a8fa8b51a0840a8a85b904326c92321f8">insert</a>(std::make_pair(2U,</div>
+<div class="line"><a name="l02390"></a><span class="lineno"> 2390</span>                                   static_cast<int>(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a> - 2)));</div>
+<div class="line"><a name="l02391"></a><span class="lineno"> 2391</span>       </div>
+<div class="line"><a name="l02392"></a><span class="lineno"> 2392</span>       TotalNumSLocEntries += F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a97b8d484b8843c41c4004f6f4637bb23" title="The number of source location entries in this AST file.">LocalNumSLocEntries</a>;</div>
+<div class="line"><a name="l02393"></a><span class="lineno"> 2393</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02394"></a><span class="lineno"> 2394</span>     }</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>     <span class="keywordflow">case</span> <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="l02397"></a><span class="lineno"> 2397</span>       <span class="comment">// Additional remapping information.</span></div>
+<div class="line"><a name="l02398"></a><span class="lineno"> 2398</span>       <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *Data = (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*)Blob.data();</div>
+<div class="line"><a name="l02399"></a><span class="lineno"> 2399</span>       <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *DataEnd = Data + Blob.size();</div>
+<div class="line"><a name="l02400"></a><span class="lineno"> 2400</span>       </div>
+<div class="line"><a name="l02401"></a><span class="lineno"> 2401</span>       <span class="comment">// Continuous range maps we may be updating in our module.</span></div>
+<div class="line"><a name="l02402"></a><span class="lineno"> 2402</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> <a class="code" href="ASTUnit_8cpp.html#a06c501597be28a92c396d145057d9449">SLocRemap</a>(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a2e8fed7e615e8cf799e6f6dcd9e0c7cb" title="Remapping table for source locations in this module.">SLocRemap</a>);</div>
+<div class="line"><a name="l02403"></a><span class="lineno"> 2403</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> </div>
+<div class="line"><a name="l02404"></a><span class="lineno"> 2404</span>         IdentifierRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a6c41e226bb29c7a711a258666efd413c" title="Remapping table for identifier IDs in this module.">IdentifierRemap</a>);</div>
+<div class="line"><a name="l02405"></a><span class="lineno"> 2405</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a></div>
+<div class="line"><a name="l02406"></a><span class="lineno"> 2406</span>         MacroRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ae2c4140607f1aebf9fac47a92ee9e238" title="Remapping table for macro IDs in this module.">MacroRemap</a>);</div>
+<div class="line"><a name="l02407"></a><span class="lineno"> 2407</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a></div>
+<div class="line"><a name="l02408"></a><span class="lineno"> 2408</span>         PreprocessedEntityRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1d1b2f81270e8fcbaacccf1dde69eeeb" title="Remapping table for preprocessed entity IDs in this module.">PreprocessedEntityRemap</a>);</div>
+<div class="line"><a name="l02409"></a><span class="lineno"> 2409</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> </div>
+<div class="line"><a name="l02410"></a><span class="lineno"> 2410</span>         SubmoduleRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ae8b74531ec46fec75e44810ffd3b6d14" title="Remapping table for submodule IDs in this module.">SubmoduleRemap</a>);</div>
+<div class="line"><a name="l02411"></a><span class="lineno"> 2411</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> </div>
+<div class="line"><a name="l02412"></a><span class="lineno"> 2412</span>         SelectorRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#add3e89466528124203634290a45375b8" title="Remapping table for selector IDs in this module.">SelectorRemap</a>);</div>
+<div class="line"><a name="l02413"></a><span class="lineno"> 2413</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> DeclRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a2aa112718567b3278b5510ecc187845d" title="Remapping table for declaration IDs in this module.">DeclRemap</a>);</div>
+<div class="line"><a name="l02414"></a><span class="lineno"> 2414</span>       <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">ContinuousRangeMap<uint32_t, int, 2>::Builder</a> TypeRemap(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a624cffa8cb20fc80d5c71dbc0a953595" title="Remapping table for type IDs in this module.">TypeRemap</a>);</div>
+<div class="line"><a name="l02415"></a><span class="lineno"> 2415</span> </div>
+<div class="line"><a name="l02416"></a><span class="lineno"> 2416</span>       <span class="keywordflow">while</span>(Data < DataEnd) {</div>
+<div class="line"><a name="l02417"></a><span class="lineno"> 2417</span>         uint16_t Len = <a class="code" href="namespaceclang_1_1io.html#ac4ebead773acf47c91d23289c243054f">io::ReadUnalignedLE16</a>(Data);</div>
+<div class="line"><a name="l02418"></a><span class="lineno"> 2418</span>         StringRef Name = StringRef((<span class="keyword">const</span> <span class="keywordtype">char</span>*)Data, Len);</div>
+<div class="line"><a name="l02419"></a><span class="lineno"> 2419</span>         Data += Len;</div>
+<div class="line"><a name="l02420"></a><span class="lineno"> 2420</span>         <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> *OM = ModuleMgr.lookup(Name);</div>
+<div class="line"><a name="l02421"></a><span class="lineno"> 2421</span>         <span class="keywordflow">if</span> (!OM) {</div>
+<div class="line"><a name="l02422"></a><span class="lineno"> 2422</span>           Error(<span class="stringliteral">"SourceLocation remap refers to unknown module"</span>);</div>
+<div class="line"><a name="l02423"></a><span class="lineno"> 2423</span>           <span class="keywordflow">return</span> <span class="keyword">true</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> </div>
+<div class="line"><a name="l02426"></a><span class="lineno"> 2426</span>         uint32_t SLocOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02427"></a><span class="lineno"> 2427</span>         uint32_t IdentifierIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02428"></a><span class="lineno"> 2428</span>         uint32_t MacroIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02429"></a><span class="lineno"> 2429</span>         uint32_t PreprocessedEntityIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02430"></a><span class="lineno"> 2430</span>         uint32_t SubmoduleIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02431"></a><span class="lineno"> 2431</span>         uint32_t SelectorIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02432"></a><span class="lineno"> 2432</span>         uint32_t DeclIDOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02433"></a><span class="lineno"> 2433</span>         uint32_t TypeIndexOffset = <a class="code" href="namespaceclang_1_1io.html#a315b682979b00d33652523b49746a557">io::ReadUnalignedLE32</a>(Data);</div>
+<div class="line"><a name="l02434"></a><span class="lineno"> 2434</span>         </div>
+<div class="line"><a name="l02435"></a><span class="lineno"> 2435</span>         <span class="comment">// Source location offset is mapped to OM->SLocEntryBaseOffset.</span></div>
+<div class="line"><a name="l02436"></a><span class="lineno"> 2436</span>         <a class="code" href="classclang_1_1ContinuousRangeMap.html" title="A map from continuous integer ranges to some value, with a very specialized interface.">SLocRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a8fa8b51a0840a8a85b904326c92321f8">insert</a>(std::make_pair(SLocOffset,</div>
+<div class="line"><a name="l02437"></a><span class="lineno"> 2437</span>           static_cast<int>(OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a266aead6709f78618f9fa0d3379c04a5" title="The base offset in the source manager's view of this module.">SLocEntryBaseOffset</a> - SLocOffset)));</div>
+<div class="line"><a name="l02438"></a><span class="lineno"> 2438</span>         IdentifierRemap.insert(</div>
+<div class="line"><a name="l02439"></a><span class="lineno"> 2439</span>           std::make_pair(IdentifierIDOffset, </div>
+<div class="line"><a name="l02440"></a><span class="lineno"> 2440</span>                          OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a04eb7f504a0c749d71088e5f3ef702a6" title="Base identifier ID for identifiers local to this module.">BaseIdentifierID</a> - IdentifierIDOffset));</div>
+<div class="line"><a name="l02441"></a><span class="lineno"> 2441</span>         MacroRemap.insert(std::make_pair(MacroIDOffset,</div>
+<div class="line"><a name="l02442"></a><span class="lineno"> 2442</span>                                          OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af7f8e81b24632be9c686b4afeee7032f" title="Base macro ID for macros local to this module.">BaseMacroID</a> - MacroIDOffset));</div>
+<div class="line"><a name="l02443"></a><span class="lineno"> 2443</span>         PreprocessedEntityRemap.insert(</div>
+<div class="line"><a name="l02444"></a><span class="lineno"> 2444</span>           std::make_pair(PreprocessedEntityIDOffset, </div>
+<div class="line"><a name="l02445"></a><span class="lineno"> 2445</span>             OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a383cdaa147bcd5f308515de570ad4e11" title="Base preprocessed entity ID for preprocessed entities local to this module.">BasePreprocessedEntityID</a> - PreprocessedEntityIDOffset));</div>
+<div class="line"><a name="l02446"></a><span class="lineno"> 2446</span>         SubmoduleRemap.insert(std::make_pair(SubmoduleIDOffset, </div>
+<div class="line"><a name="l02447"></a><span class="lineno"> 2447</span>                                       OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9c762eeaadd60fa0bb2ba52203ec732d" title="Base submodule ID for submodules local to this module.">BaseSubmoduleID</a> - SubmoduleIDOffset));</div>
+<div class="line"><a name="l02448"></a><span class="lineno"> 2448</span>         SelectorRemap.insert(std::make_pair(SelectorIDOffset, </div>
+<div class="line"><a name="l02449"></a><span class="lineno"> 2449</span>                                OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a3c132169012397a7a4ad3d01ba0450" title="Base selector ID for selectors local to this module.">BaseSelectorID</a> - SelectorIDOffset));</div>
+<div class="line"><a name="l02450"></a><span class="lineno"> 2450</span>         DeclRemap.insert(std::make_pair(DeclIDOffset, </div>
+<div class="line"><a name="l02451"></a><span class="lineno"> 2451</span>                                         OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a0aa5dd6fb74fef27b397abba6016c0e3" title="Base declaration ID for declarations local to this module.">BaseDeclID</a> - DeclIDOffset));</div>
+<div class="line"><a name="l02452"></a><span class="lineno"> 2452</span>         </div>
+<div class="line"><a name="l02453"></a><span class="lineno"> 2453</span>         TypeRemap.insert(std::make_pair(TypeIndexOffset, </div>
+<div class="line"><a name="l02454"></a><span class="lineno"> 2454</span>                                     OM-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a386334eee0ebf53b12c1fa31ce6a0243" title="Base type ID for types local to this module as represented in the global type ID space.">BaseTypeIndex</a> - TypeIndexOffset));</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>         <span class="comment">// Global -> local mappings.</span></div>
+<div class="line"><a name="l02457"></a><span class="lineno"> 2457</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#adf1696bdfb0f9ba4e4aa86282bcb7706" title="Mapping from the module files that this module file depends on to the base declaration ID for that mo...">GlobalToLocalDeclIDs</a>[OM] = DeclIDOffset;</div>
+<div class="line"><a name="l02458"></a><span class="lineno"> 2458</span>       }</div>
+<div class="line"><a name="l02459"></a><span class="lineno"> 2459</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02460"></a><span class="lineno"> 2460</span>     }</div>
+<div class="line"><a name="l02461"></a><span class="lineno"> 2461</span> </div>
+<div class="line"><a name="l02462"></a><span class="lineno"> 2462</span>     <span class="keywordflow">case</span> <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="l02463"></a><span class="lineno"> 2463</span>       <span class="keywordflow">if</span> (ParseLineTable(F, Record))</div>
+<div class="line"><a name="l02464"></a><span class="lineno"> 2464</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02465"></a><span class="lineno"> 2465</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02466"></a><span class="lineno"> 2466</span> </div>
+<div class="line"><a name="l02467"></a><span class="lineno"> 2467</span>     <span class="keywordflow">case</span> <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="l02468"></a><span class="lineno"> 2468</span>       <span class="comment">// Need to transform from the local view (1-based IDs) to the global view,</span></div>
+<div class="line"><a name="l02469"></a><span class="lineno"> 2469</span>       <span class="comment">// which is based off F.SLocEntryBaseID.</span></div>
+<div class="line"><a name="l02470"></a><span class="lineno"> 2470</span>       <span class="keywordflow">if</span> (!F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4a3a6a4677b2dcfc0859628ceb42d08b" title="SLocEntries that we're going to preload.">PreloadSLocEntries</a>.empty()) {</div>
+<div class="line"><a name="l02471"></a><span class="lineno"> 2471</span>         Error(<span class="stringliteral">"Multiple SOURCE_LOCATION_PRELOADS records in AST file"</span>);</div>
+<div class="line"><a name="l02472"></a><span class="lineno"> 2472</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02473"></a><span class="lineno"> 2473</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>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4a3a6a4677b2dcfc0859628ceb42d08b" title="SLocEntries that we're going to preload.">PreloadSLocEntries</a>.swap(Record);</div>
+<div class="line"><a name="l02476"></a><span class="lineno"> 2476</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02477"></a><span class="lineno"> 2477</span>     }</div>
+<div class="line"><a name="l02478"></a><span class="lineno"> 2478</span> </div>
+<div class="line"><a name="l02479"></a><span class="lineno"> 2479</span>     <span class="keywordflow">case</span> <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="l02480"></a><span class="lineno"> 2480</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02481"></a><span class="lineno"> 2481</span>         ExtVectorDecls.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02482"></a><span class="lineno"> 2482</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02483"></a><span class="lineno"> 2483</span> </div>
+<div class="line"><a name="l02484"></a><span class="lineno"> 2484</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61a362fd24ecbb4885c85056553789bc93d" title="Record code for the array of VTable uses.">VTABLE_USES</a>:</div>
+<div class="line"><a name="l02485"></a><span class="lineno"> 2485</span>       <span class="keywordflow">if</span> (Record.size() % 3 != 0) {</div>
+<div class="line"><a name="l02486"></a><span class="lineno"> 2486</span>         Error(<span class="stringliteral">"Invalid VTABLE_USES record"</span>);</div>
+<div class="line"><a name="l02487"></a><span class="lineno"> 2487</span>         <span class="keywordflow">return</span> <span class="keyword">true</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>         </div>
+<div class="line"><a name="l02490"></a><span class="lineno"> 2490</span>       <span class="comment">// Later tables overwrite earlier ones.</span></div>
+<div class="line"><a name="l02491"></a><span class="lineno"> 2491</span>       <span class="comment">// FIXME: Modules will have some trouble with this. This is clearly not</span></div>
+<div class="line"><a name="l02492"></a><span class="lineno"> 2492</span>       <span class="comment">// the right way to do this.</span></div>
+<div class="line"><a name="l02493"></a><span class="lineno"> 2493</span>       VTableUses.clear();</div>
+<div class="line"><a name="l02494"></a><span class="lineno"> 2494</span>         </div>
+<div class="line"><a name="l02495"></a><span class="lineno"> 2495</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> Idx = 0, N = Record.size(); Idx != N; <span class="comment">/* In loop */</span>) {</div>
+<div class="line"><a name="l02496"></a><span class="lineno"> 2496</span>         VTableUses.push_back(getGlobalDeclID(F, Record[Idx++]));</div>
+<div class="line"><a name="l02497"></a><span class="lineno"> 2497</span>         VTableUses.push_back(</div>
+<div class="line"><a name="l02498"></a><span class="lineno"> 2498</span>           ReadSourceLocation(F, Record, Idx).getRawEncoding());</div>
+<div class="line"><a name="l02499"></a><span class="lineno"> 2499</span>         VTableUses.push_back(Record[Idx++]);</div>
+<div class="line"><a name="l02500"></a><span class="lineno"> 2500</span>       }</div>
+<div class="line"><a name="l02501"></a><span class="lineno"> 2501</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02502"></a><span class="lineno"> 2502</span> </div>
+<div class="line"><a name="l02503"></a><span class="lineno"> 2503</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#acfdb121ee2c34694a68fc7a000dccf61ac2fe80495df88c65cb40b8d647f7dac6" title="Record code for the array of dynamic classes.">DYNAMIC_CLASSES</a>:</div>
+<div class="line"><a name="l02504"></a><span class="lineno"> 2504</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02505"></a><span class="lineno"> 2505</span>         DynamicClasses.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02506"></a><span class="lineno"> 2506</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02507"></a><span class="lineno"> 2507</span> </div>
+<div class="line"><a name="l02508"></a><span class="lineno"> 2508</span>     <span class="keywordflow">case</span> <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="l02509"></a><span class="lineno"> 2509</span>       <span class="keywordflow">if</span> (PendingInstantiations.size() % 2 != 0) {</div>
+<div class="line"><a name="l02510"></a><span class="lineno"> 2510</span>         Error(<span class="stringliteral">"Invalid existing PendingInstantiations"</span>);</div>
+<div class="line"><a name="l02511"></a><span class="lineno"> 2511</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</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> </div>
+<div class="line"><a name="l02514"></a><span class="lineno"> 2514</span>       <span class="keywordflow">if</span> (Record.size() % 2 != 0) {</div>
+<div class="line"><a name="l02515"></a><span class="lineno"> 2515</span>         Error(<span class="stringliteral">"Invalid PENDING_IMPLICIT_INSTANTIATIONS block"</span>);</div>
+<div class="line"><a name="l02516"></a><span class="lineno"> 2516</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02517"></a><span class="lineno"> 2517</span>       }</div>
+<div class="line"><a name="l02518"></a><span class="lineno"> 2518</span> </div>
+<div class="line"><a name="l02519"></a><span class="lineno"> 2519</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; <span class="comment">/* in loop */</span>) {</div>
+<div class="line"><a name="l02520"></a><span class="lineno"> 2520</span>         PendingInstantiations.push_back(getGlobalDeclID(F, Record[I++]));</div>
+<div class="line"><a name="l02521"></a><span class="lineno"> 2521</span>         PendingInstantiations.push_back(</div>
+<div class="line"><a name="l02522"></a><span class="lineno"> 2522</span>           ReadSourceLocation(F, Record, I).getRawEncoding());</div>
+<div class="line"><a name="l02523"></a><span class="lineno"> 2523</span>       }</div>
+<div class="line"><a name="l02524"></a><span class="lineno"> 2524</span>       <span class="keywordflow">break</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>     <span class="keywordflow">case</span> <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="l02527"></a><span class="lineno"> 2527</span>       <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l02528"></a><span class="lineno"> 2528</span>         Error(<span class="stringliteral">"Invalid SEMA_DECL_REFS block"</span>);</div>
+<div class="line"><a name="l02529"></a><span class="lineno"> 2529</span>         <span class="keywordflow">return</span> <span class="keyword">true</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="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02532"></a><span class="lineno"> 2532</span>         SemaDeclRefs.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02533"></a><span class="lineno"> 2533</span>       <span class="keywordflow">break</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>     <span class="keywordflow">case</span> <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="l02536"></a><span class="lineno"> 2536</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a021e8c5e97c6e88b54b7ab41b68b178a">PreprocessedEntityOffsets</a> = (<span class="keyword">const</span> <a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html" title="Source range/offset of a preprocessed entity.">PPEntityOffset</a> *)Blob.data();</div>
+<div class="line"><a name="l02537"></a><span class="lineno"> 2537</span>       assert(Blob.size() % <span class="keyword">sizeof</span>(<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html" title="Source range/offset of a preprocessed entity.">PPEntityOffset</a>) == 0);</div>
+<div class="line"><a name="l02538"></a><span class="lineno"> 2538</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a> = Blob.size() / <span class="keyword">sizeof</span>(<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html" title="Source range/offset of a preprocessed entity.">PPEntityOffset</a>);</div>
+<div class="line"><a name="l02539"></a><span class="lineno"> 2539</span> </div>
+<div class="line"><a name="l02540"></a><span class="lineno"> 2540</span>       <span class="keywordtype">unsigned</span> LocalBasePreprocessedEntityID = Record[0];</div>
+<div class="line"><a name="l02541"></a><span class="lineno"> 2541</span>       </div>
+<div class="line"><a name="l02542"></a><span class="lineno"> 2542</span>       <span class="keywordtype">unsigned</span> StartingID;</div>
+<div class="line"><a name="l02543"></a><span class="lineno"> 2543</span>       <span class="keywordflow">if</span> (!PP.getPreprocessingRecord())</div>
+<div class="line"><a name="l02544"></a><span class="lineno"> 2544</span>         PP.createPreprocessingRecord();</div>
+<div class="line"><a name="l02545"></a><span class="lineno"> 2545</span>       <span class="keywordflow">if</span> (!PP.getPreprocessingRecord()->getExternalSource())</div>
+<div class="line"><a name="l02546"></a><span class="lineno"> 2546</span>         PP.getPreprocessingRecord()->SetExternalSource(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02547"></a><span class="lineno"> 2547</span>       StartingID </div>
+<div class="line"><a name="l02548"></a><span class="lineno"> 2548</span>         = PP.getPreprocessingRecord()</div>
+<div class="line"><a name="l02549"></a><span class="lineno"> 2549</span>             ->allocateLoadedEntities(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a>);</div>
+<div class="line"><a name="l02550"></a><span class="lineno"> 2550</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a383cdaa147bcd5f308515de570ad4e11" title="Base preprocessed entity ID for preprocessed entities local to this module.">BasePreprocessedEntityID</a> = StartingID;</div>
+<div class="line"><a name="l02551"></a><span class="lineno"> 2551</span> </div>
+<div class="line"><a name="l02552"></a><span class="lineno"> 2552</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a> > 0) {</div>
+<div class="line"><a name="l02553"></a><span class="lineno"> 2553</span>         <span class="comment">// Introduce the global -> local mapping for preprocessed entities in</span></div>
+<div class="line"><a name="l02554"></a><span class="lineno"> 2554</span>         <span class="comment">// this module.</span></div>
+<div class="line"><a name="l02555"></a><span class="lineno"> 2555</span>         GlobalPreprocessedEntityMap.insert(std::make_pair(StartingID, &F));</div>
+<div class="line"><a name="l02556"></a><span class="lineno"> 2556</span>        </div>
+<div class="line"><a name="l02557"></a><span class="lineno"> 2557</span>         <span class="comment">// Introduce the local -> global mapping for preprocessed entities in</span></div>
+<div class="line"><a name="l02558"></a><span class="lineno"> 2558</span>         <span class="comment">// this module.</span></div>
+<div class="line"><a name="l02559"></a><span class="lineno"> 2559</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1d1b2f81270e8fcbaacccf1dde69eeeb" title="Remapping table for preprocessed entity IDs in this module.">PreprocessedEntityRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02560"></a><span class="lineno"> 2560</span>           std::make_pair(LocalBasePreprocessedEntityID,</div>
+<div class="line"><a name="l02561"></a><span class="lineno"> 2561</span>             F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a383cdaa147bcd5f308515de570ad4e11" title="Base preprocessed entity ID for preprocessed entities local to this module.">BasePreprocessedEntityID</a> - LocalBasePreprocessedEntityID));</div>
+<div class="line"><a name="l02562"></a><span class="lineno"> 2562</span>       }</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>       <span class="keywordflow">break</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>         </div>
+<div class="line"><a name="l02567"></a><span class="lineno"> 2567</span>     <span class="keywordflow">case</span> <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="l02568"></a><span class="lineno"> 2568</span>       <span class="keywordflow">if</span> (Record.size() % 2 != 0) {</div>
+<div class="line"><a name="l02569"></a><span class="lineno"> 2569</span>         Error(<span class="stringliteral">"invalid DECL_UPDATE_OFFSETS block in AST file"</span>);</div>
+<div class="line"><a name="l02570"></a><span class="lineno"> 2570</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02571"></a><span class="lineno"> 2571</span>       }</div>
+<div class="line"><a name="l02572"></a><span class="lineno"> 2572</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; I += 2)</div>
+<div class="line"><a name="l02573"></a><span class="lineno"> 2573</span>         DeclUpdateOffsets[getGlobalDeclID(F, Record[I])]</div>
+<div class="line"><a name="l02574"></a><span class="lineno"> 2574</span>           .push_back(std::make_pair(&F, Record[I+1]));</div>
+<div class="line"><a name="l02575"></a><span class="lineno"> 2575</span>       <span class="keywordflow">break</span>;</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> </div>
+<div class="line"><a name="l02578"></a><span class="lineno"> 2578</span>     <span class="keywordflow">case</span> <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="l02579"></a><span class="lineno"> 2579</span>       <span class="keywordflow">if</span> (Record.size() % 3 != 0) {</div>
+<div class="line"><a name="l02580"></a><span class="lineno"> 2580</span>         Error(<span class="stringliteral">"invalid DECL_REPLACEMENTS block in AST file"</span>);</div>
+<div class="line"><a name="l02581"></a><span class="lineno"> 2581</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02582"></a><span class="lineno"> 2582</span>       }</div>
+<div class="line"><a name="l02583"></a><span class="lineno"> 2583</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; I += 3)</div>
+<div class="line"><a name="l02584"></a><span class="lineno"> 2584</span>         ReplacedDecls[getGlobalDeclID(F, Record[I])]</div>
+<div class="line"><a name="l02585"></a><span class="lineno"> 2585</span>           = ReplacedDeclInfo(&F, Record[I+1], Record[I+2]);</div>
+<div class="line"><a name="l02586"></a><span class="lineno"> 2586</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02587"></a><span class="lineno"> 2587</span>     }</div>
+<div class="line"><a name="l02588"></a><span class="lineno"> 2588</span> </div>
+<div class="line"><a name="l02589"></a><span class="lineno"> 2589</span>     <span class="keywordflow">case</span> <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="l02590"></a><span class="lineno"> 2590</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a3bc5560640ad39afea240aa9f00622a5" title="The number of redeclaration info entries in ObjCCategoriesMap.">LocalNumObjCCategoriesInMap</a> != 0) {</div>
+<div class="line"><a name="l02591"></a><span class="lineno"> 2591</span>         Error(<span class="stringliteral">"duplicate OBJC_CATEGORIES_MAP record in AST file"</span>);</div>
+<div class="line"><a name="l02592"></a><span class="lineno"> 2592</span>         <span class="keywordflow">return</span> <span class="keyword">true</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>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a3bc5560640ad39afea240aa9f00622a5" title="The number of redeclaration info entries in ObjCCategoriesMap.">LocalNumObjCCategoriesInMap</a> = Record[0];</div>
+<div class="line"><a name="l02596"></a><span class="lineno"> 2596</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a17d15143ac7f24ef9dd7609aecfd8c09" title="Array of category list location information within this module file, sorted by the definition ID...">ObjCCategoriesMap</a> = (<span class="keyword">const</span> <a class="code" href="structclang_1_1serialization_1_1ObjCCategoriesInfo.html" title="Describes the categories of an Objective-C class.">ObjCCategoriesInfo</a> *)Blob.data();</div>
+<div class="line"><a name="l02597"></a><span class="lineno"> 2597</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02598"></a><span class="lineno"> 2598</span>     }</div>
+<div class="line"><a name="l02599"></a><span class="lineno"> 2599</span>         </div>
+<div class="line"><a name="l02600"></a><span class="lineno"> 2600</span>     <span class="keywordflow">case</span> <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="l02601"></a><span class="lineno"> 2601</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af8d606321dbb5b3755285ee2519246d7" title="The Objective-C category lists for categories known to this module.">ObjCCategories</a>.swap(Record);</div>
+<div class="line"><a name="l02602"></a><span class="lineno"> 2602</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02603"></a><span class="lineno"> 2603</span>         </div>
+<div class="line"><a name="l02604"></a><span class="lineno"> 2604</span>     <span class="keywordflow">case</span> <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="l02605"></a><span class="lineno"> 2605</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a690b48281f4ed3d5401f2b5f7cc56b58" title="The number of C++ base specifier sets in this AST file.">LocalNumCXXBaseSpecifiers</a> != 0) {</div>
+<div class="line"><a name="l02606"></a><span class="lineno"> 2606</span>         Error(<span class="stringliteral">"duplicate CXX_BASE_SPECIFIER_OFFSETS record in AST file"</span>);</div>
+<div class="line"><a name="l02607"></a><span class="lineno"> 2607</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02608"></a><span class="lineno"> 2608</span>       }</div>
+<div class="line"><a name="l02609"></a><span class="lineno"> 2609</span>       </div>
+<div class="line"><a name="l02610"></a><span class="lineno"> 2610</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a690b48281f4ed3d5401f2b5f7cc56b58" title="The number of C++ base specifier sets in this AST file.">LocalNumCXXBaseSpecifiers</a> = Record[0];</div>
+<div class="line"><a name="l02611"></a><span class="lineno"> 2611</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af3c6d8be2d5f9bfdae97a47514a99a04" title="Offset of each C++ base specifier set within the bitstream, indexed by the C++ base specifier set ID ...">CXXBaseSpecifiersOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02612"></a><span class="lineno"> 2612</span>       NumCXXBaseSpecifiersLoaded += F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a690b48281f4ed3d5401f2b5f7cc56b58" title="The number of C++ base specifier sets in this AST file.">LocalNumCXXBaseSpecifiers</a>;</div>
+<div class="line"><a name="l02613"></a><span class="lineno"> 2613</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02614"></a><span class="lineno"> 2614</span>     }</div>
+<div class="line"><a name="l02615"></a><span class="lineno"> 2615</span> </div>
+<div class="line"><a name="l02616"></a><span class="lineno"> 2616</span>     <span class="keywordflow">case</span> <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="l02617"></a><span class="lineno"> 2617</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.empty())</div>
+<div class="line"><a name="l02618"></a><span class="lineno"> 2618</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.swap(Record);</div>
+<div class="line"><a name="l02619"></a><span class="lineno"> 2619</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02620"></a><span class="lineno"> 2620</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.insert(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.end(),</div>
+<div class="line"><a name="l02621"></a><span class="lineno"> 2621</span>                                     Record.begin(), Record.end());</div>
+<div class="line"><a name="l02622"></a><span class="lineno"> 2622</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02623"></a><span class="lineno"> 2623</span>         </div>
+<div class="line"><a name="l02624"></a><span class="lineno"> 2624</span>     <span class="keywordflow">case</span> <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="l02625"></a><span class="lineno"> 2625</span>       <span class="comment">// Later tables overwrite earlier ones.</span></div>
+<div class="line"><a name="l02626"></a><span class="lineno"> 2626</span>       <span class="comment">// FIXME: Modules will have trouble with this.</span></div>
+<div class="line"><a name="l02627"></a><span class="lineno"> 2627</span>       CUDASpecialDeclRefs.clear();</div>
+<div class="line"><a name="l02628"></a><span class="lineno"> 2628</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02629"></a><span class="lineno"> 2629</span>         CUDASpecialDeclRefs.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02630"></a><span class="lineno"> 2630</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02631"></a><span class="lineno"> 2631</span> </div>
+<div class="line"><a name="l02632"></a><span class="lineno"> 2632</span>     <span class="keywordflow">case</span> <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="l02633"></a><span class="lineno"> 2633</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5c1c4d3beedf16c42ef78754e5b13d76" title="Actual data for the on-disk hash table of header file information.">HeaderFileInfoTableData</a> = Blob.data();</div>
+<div class="line"><a name="l02634"></a><span class="lineno"> 2634</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad4b3dc37568265cd07956a4fafc472f3" title="The number of local HeaderFileInfo structures.">LocalNumHeaderFileInfos</a> = Record[1];</div>
+<div class="line"><a name="l02635"></a><span class="lineno"> 2635</span>       <span class="keywordflow">if</span> (Record[0]) {</div>
+<div class="line"><a name="l02636"></a><span class="lineno"> 2636</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a97deb9d720995b99129ad72a91140655" title="The on-disk hash table that contains information about each of the header files.">HeaderFileInfoTable</a></div>
+<div class="line"><a name="l02637"></a><span class="lineno"> 2637</span>           = HeaderFileInfoLookupTable::Create(</div>
+<div class="line"><a name="l02638"></a><span class="lineno"> 2638</span>                    (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5c1c4d3beedf16c42ef78754e5b13d76" title="Actual data for the on-disk hash table of header file information.">HeaderFileInfoTableData</a> + Record[0],</div>
+<div class="line"><a name="l02639"></a><span class="lineno"> 2639</span>                    (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5c1c4d3beedf16c42ef78754e5b13d76" title="Actual data for the on-disk hash table of header file information.">HeaderFileInfoTableData</a>,</div>
+<div class="line"><a name="l02640"></a><span class="lineno"> 2640</span>                    <a class="code" href="classclang_1_1serialization_1_1reader_1_1HeaderFileInfoTrait.html" title="Trait class used to search the on-disk hash table containing all of the header search information...">HeaderFileInfoTrait</a>(*<span class="keyword">this</span>, F, </div>
+<div class="line"><a name="l02641"></a><span class="lineno"> 2641</span>                                        &PP.getHeaderSearchInfo(),</div>
+<div class="line"><a name="l02642"></a><span class="lineno"> 2642</span>                                        Blob.data() + Record[2]));</div>
+<div class="line"><a name="l02643"></a><span class="lineno"> 2643</span>         </div>
+<div class="line"><a name="l02644"></a><span class="lineno"> 2644</span>         PP.getHeaderSearchInfo().SetExternalSource(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02645"></a><span class="lineno"> 2645</span>         <span class="keywordflow">if</span> (!PP.getHeaderSearchInfo().getExternalLookup())</div>
+<div class="line"><a name="l02646"></a><span class="lineno"> 2646</span>           PP.getHeaderSearchInfo().SetExternalLookup(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02647"></a><span class="lineno"> 2647</span>       }</div>
+<div class="line"><a name="l02648"></a><span class="lineno"> 2648</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02649"></a><span class="lineno"> 2649</span>     }</div>
+<div class="line"><a name="l02650"></a><span class="lineno"> 2650</span>         </div>
+<div class="line"><a name="l02651"></a><span class="lineno"> 2651</span>     <span class="keywordflow">case</span> <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="l02652"></a><span class="lineno"> 2652</span>       <span class="comment">// Later tables overwrite earlier ones.</span></div>
+<div class="line"><a name="l02653"></a><span class="lineno"> 2653</span>       FPPragmaOptions.swap(Record);</div>
+<div class="line"><a name="l02654"></a><span class="lineno"> 2654</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02655"></a><span class="lineno"> 2655</span> </div>
+<div class="line"><a name="l02656"></a><span class="lineno"> 2656</span>     <span class="keywordflow">case</span> <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="l02657"></a><span class="lineno"> 2657</span>       <span class="comment">// Later tables overwrite earlier ones.</span></div>
+<div class="line"><a name="l02658"></a><span class="lineno"> 2658</span>       OpenCLExtensions.swap(Record);</div>
+<div class="line"><a name="l02659"></a><span class="lineno"> 2659</span>       <span class="keywordflow">break</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="keywordflow">case</span> <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="l02662"></a><span class="lineno"> 2662</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02663"></a><span class="lineno"> 2663</span>         TentativeDefinitions.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02664"></a><span class="lineno"> 2664</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02665"></a><span class="lineno"> 2665</span>         </div>
+<div class="line"><a name="l02666"></a><span class="lineno"> 2666</span>     <span class="keywordflow">case</span> <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="l02667"></a><span class="lineno"> 2667</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I)</div>
+<div class="line"><a name="l02668"></a><span class="lineno"> 2668</span>         KnownNamespaces.push_back(getGlobalDeclID(F, Record[I]));</div>
+<div class="line"><a name="l02669"></a><span class="lineno"> 2669</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02670"></a><span class="lineno"> 2670</span> </div>
+<div class="line"><a name="l02671"></a><span class="lineno"> 2671</span>     <span class="keywordflow">case</span> <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="l02672"></a><span class="lineno"> 2672</span>       <span class="keywordflow">if</span> (UndefinedButUsed.size() % 2 != 0) {</div>
+<div class="line"><a name="l02673"></a><span class="lineno"> 2673</span>         Error(<span class="stringliteral">"Invalid existing UndefinedButUsed"</span>);</div>
+<div class="line"><a name="l02674"></a><span class="lineno"> 2674</span>         <span class="keywordflow">return</span> <span class="keyword">true</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> </div>
+<div class="line"><a name="l02677"></a><span class="lineno"> 2677</span>       <span class="keywordflow">if</span> (Record.size() % 2 != 0) {</div>
+<div class="line"><a name="l02678"></a><span class="lineno"> 2678</span>         Error(<span class="stringliteral">"invalid undefined-but-used record"</span>);</div>
+<div class="line"><a name="l02679"></a><span class="lineno"> 2679</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02680"></a><span class="lineno"> 2680</span>       }</div>
+<div class="line"><a name="l02681"></a><span class="lineno"> 2681</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; <span class="comment">/* in loop */</span>) {</div>
+<div class="line"><a name="l02682"></a><span class="lineno"> 2682</span>         UndefinedButUsed.push_back(getGlobalDeclID(F, Record[I++]));</div>
+<div class="line"><a name="l02683"></a><span class="lineno"> 2683</span>         UndefinedButUsed.push_back(</div>
+<div class="line"><a name="l02684"></a><span class="lineno"> 2684</span>             ReadSourceLocation(F, Record, I).getRawEncoding());</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="keywordflow">break</span>;</div>
+<div class="line"><a name="l02687"></a><span class="lineno"> 2687</span> </div>
+<div class="line"><a name="l02688"></a><span class="lineno"> 2688</span>     <span class="keywordflow">case</span> <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="l02689"></a><span class="lineno"> 2689</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af0cdb3be9cdc29ae4a8f351ab0f91083" title="The type of this module.">Kind</a> != <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea22e2f1dba8920d73cd2979ca1e17a097" title="File is a module proper.">MK_Module</a>) {</div>
+<div class="line"><a name="l02690"></a><span class="lineno"> 2690</span>         <span class="comment">// If we aren't loading a module (which has its own exports), make</span></div>
+<div class="line"><a name="l02691"></a><span class="lineno"> 2691</span>         <span class="comment">// all of the imported modules visible.</span></div>
+<div class="line"><a name="l02692"></a><span class="lineno"> 2692</span>         <span class="comment">// FIXME: Deal with macros-only imports.</span></div>
+<div class="line"><a name="l02693"></a><span class="lineno"> 2693</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Record.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02694"></a><span class="lineno"> 2694</span>           <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> GlobalID = getGlobalSubmoduleID(F, Record[I]))</div>
+<div class="line"><a name="l02695"></a><span class="lineno"> 2695</span>             ImportedModules.push_back(GlobalID);</div>
+<div class="line"><a name="l02696"></a><span class="lineno"> 2696</span>         }</div>
+<div class="line"><a name="l02697"></a><span class="lineno"> 2697</span>       }</div>
+<div class="line"><a name="l02698"></a><span class="lineno"> 2698</span>       <span class="keywordflow">break</span>;</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> </div>
+<div class="line"><a name="l02701"></a><span class="lineno"> 2701</span>     <span class="keywordflow">case</span> <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="l02702"></a><span class="lineno"> 2702</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1aed84dd1337886db2ad53e1bee7316f" title="The redeclaration chains for declarations local to this module file.">RedeclarationChains</a>.swap(Record);</div>
+<div class="line"><a name="l02703"></a><span class="lineno"> 2703</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02704"></a><span class="lineno"> 2704</span>     }</div>
+<div class="line"><a name="l02705"></a><span class="lineno"> 2705</span>         </div>
+<div class="line"><a name="l02706"></a><span class="lineno"> 2706</span>     <span class="keywordflow">case</span> <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="l02707"></a><span class="lineno"> 2707</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeec91c090535b8b6775f7eb67cbef44c" title="The number of redeclaration info entries in RedeclarationsMap.">LocalNumRedeclarationsInMap</a> != 0) {</div>
+<div class="line"><a name="l02708"></a><span class="lineno"> 2708</span>         Error(<span class="stringliteral">"duplicate LOCAL_REDECLARATIONS_MAP record in AST file"</span>);</div>
+<div class="line"><a name="l02709"></a><span class="lineno"> 2709</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02710"></a><span class="lineno"> 2710</span>       }</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>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeec91c090535b8b6775f7eb67cbef44c" title="The number of redeclaration info entries in RedeclarationsMap.">LocalNumRedeclarationsInMap</a> = Record[0];</div>
+<div class="line"><a name="l02713"></a><span class="lineno"> 2713</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad25793103c5b0c1b512f514a9f204282" title="Array of redeclaration chain location information within this module file, sorted by the first declar...">RedeclarationsMap</a> = (<span class="keyword">const</span> <a class="code" href="structclang_1_1serialization_1_1LocalRedeclarationsInfo.html" title="Describes the redeclarations of a declaration.">LocalRedeclarationsInfo</a> *)Blob.data();</div>
+<div class="line"><a name="l02714"></a><span class="lineno"> 2714</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02715"></a><span class="lineno"> 2715</span>     }</div>
+<div class="line"><a name="l02716"></a><span class="lineno"> 2716</span>         </div>
+<div class="line"><a name="l02717"></a><span class="lineno"> 2717</span>     <span class="keywordflow">case</span> <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="l02718"></a><span class="lineno"> 2718</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> Idx = 0; Idx < Record.size(); <span class="comment">/* increment in loop */</span>) {</div>
+<div class="line"><a name="l02719"></a><span class="lineno"> 2719</span>         <a class="code" href="namespaceclang_1_1serialization.html#a55ccff09ed644b98b2b7c5915b601c14">GlobalDeclID</a> CanonID = getGlobalDeclID(F, Record[Idx++]);</div>
+<div class="line"><a name="l02720"></a><span class="lineno"> 2720</span>         <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<GlobalDeclID></a> &Decls = StoredMergedDecls[CanonID];</div>
+<div class="line"><a name="l02721"></a><span class="lineno"> 2721</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N > 0; --N)</div>
+<div class="line"><a name="l02722"></a><span class="lineno"> 2722</span>           Decls.push_back(getGlobalDeclID(F, Record[Idx++]));</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="keywordflow">break</span>;</div>
+<div class="line"><a name="l02725"></a><span class="lineno"> 2725</span>     }</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>     <span class="keywordflow">case</span> <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="l02728"></a><span class="lineno"> 2728</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ac829305942634ea126e8f65baa74581a" title="The number of macros in this AST file.">LocalNumMacros</a> != 0) {</div>
+<div class="line"><a name="l02729"></a><span class="lineno"> 2729</span>         Error(<span class="stringliteral">"duplicate MACRO_OFFSET record in AST file"</span>);</div>
+<div class="line"><a name="l02730"></a><span class="lineno"> 2730</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02731"></a><span class="lineno"> 2731</span>       }</div>
+<div class="line"><a name="l02732"></a><span class="lineno"> 2732</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ae5b92e20646ec7a32fa42287971dcbc4" title="Offsets of macros in the preprocessor block.">MacroOffsets</a> = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l02733"></a><span class="lineno"> 2733</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ac829305942634ea126e8f65baa74581a" title="The number of macros in this AST file.">LocalNumMacros</a> = Record[0];</div>
+<div class="line"><a name="l02734"></a><span class="lineno"> 2734</span>       <span class="keywordtype">unsigned</span> LocalBaseMacroID = Record[1];</div>
+<div class="line"><a name="l02735"></a><span class="lineno"> 2735</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af7f8e81b24632be9c686b4afeee7032f" title="Base macro ID for macros local to this module.">BaseMacroID</a> = getTotalNumMacros();</div>
+<div class="line"><a name="l02736"></a><span class="lineno"> 2736</span> </div>
+<div class="line"><a name="l02737"></a><span class="lineno"> 2737</span>       <span class="keywordflow">if</span> (F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ac829305942634ea126e8f65baa74581a" title="The number of macros in this AST file.">LocalNumMacros</a> > 0) {</div>
+<div class="line"><a name="l02738"></a><span class="lineno"> 2738</span>         <span class="comment">// Introduce the global -> local mapping for macros within this module.</span></div>
+<div class="line"><a name="l02739"></a><span class="lineno"> 2739</span>         GlobalMacroMap.insert(std::make_pair(getTotalNumMacros() + 1, &F));</div>
+<div class="line"><a name="l02740"></a><span class="lineno"> 2740</span> </div>
+<div class="line"><a name="l02741"></a><span class="lineno"> 2741</span>         <span class="comment">// Introduce the local -> global mapping for macros within this module.</span></div>
+<div class="line"><a name="l02742"></a><span class="lineno"> 2742</span>         F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ae2c4140607f1aebf9fac47a92ee9e238" title="Remapping table for macro IDs in this module.">MacroRemap</a>.<a class="code" href="classclang_1_1ContinuousRangeMap.html#a237246b096892a14da454f4a06cec731">insertOrReplace</a>(</div>
+<div class="line"><a name="l02743"></a><span class="lineno"> 2743</span>           std::make_pair(LocalBaseMacroID,</div>
+<div class="line"><a name="l02744"></a><span class="lineno"> 2744</span>                          F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#af7f8e81b24632be9c686b4afeee7032f" title="Base macro ID for macros local to this module.">BaseMacroID</a> - LocalBaseMacroID));</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>         MacrosLoaded.resize(MacrosLoaded.size() + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ac829305942634ea126e8f65baa74581a" title="The number of macros in this AST file.">LocalNumMacros</a>);</div>
+<div class="line"><a name="l02747"></a><span class="lineno"> 2747</span>       }</div>
+<div class="line"><a name="l02748"></a><span class="lineno"> 2748</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02749"></a><span class="lineno"> 2749</span>     }</div>
+<div class="line"><a name="l02750"></a><span class="lineno"> 2750</span> </div>
+<div class="line"><a name="l02751"></a><span class="lineno"> 2751</span>     <span class="keywordflow">case</span> <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="l02752"></a><span class="lineno"> 2752</span>       <span class="comment">// FIXME: Not used yet.</span></div>
+<div class="line"><a name="l02753"></a><span class="lineno"> 2753</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02754"></a><span class="lineno"> 2754</span>     }</div>
+<div class="line"><a name="l02755"></a><span class="lineno"> 2755</span> </div>
+<div class="line"><a name="l02756"></a><span class="lineno"> 2756</span>     <span class="keywordflow">case</span> <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="l02757"></a><span class="lineno"> 2757</span>       LateParsedTemplates.append(Record.begin(), Record.end());</div>
+<div class="line"><a name="l02758"></a><span class="lineno"> 2758</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02759"></a><span class="lineno"> 2759</span>     }</div>
+<div class="line"><a name="l02760"></a><span class="lineno"> 2760</span>     }</div>
+<div class="line"><a name="l02761"></a><span class="lineno"> 2761</span>   }</div>
+<div class="line"><a name="l02762"></a><span class="lineno"> 2762</span> }</div>
+<div class="line"><a name="l02763"></a><span class="lineno"> 2763</span> <span class="comment"></span></div>
+<div class="line"><a name="l02764"></a><span class="lineno"> 2764</span> <span class="comment">/// \brief Move the given method to the back of the global list of methods.</span></div>
+<div class="line"><a name="l02765"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a77d1e5386bb6722f896f6c34571a5d64"> 2765</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="ASTReader_8cpp.html#a77d1e5386bb6722f896f6c34571a5d64" title="Move the given method to the back of the global list of methods.">moveMethodToBackOfGlobalList</a>(<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="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>, <a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *Method) {</div>
+<div class="line"><a name="l02766"></a><span class="lineno"> 2766</span>   <span class="comment">// Find the entry for this selector in the method pool.</span></div>
+<div class="line"><a name="l02767"></a><span class="lineno"> 2767</span>   Sema::GlobalMethodPool::iterator Known</div>
+<div class="line"><a name="l02768"></a><span class="lineno"> 2768</span>     = S.<a class="code" href="classclang_1_1Sema.html#a9dfde7abbdace984ee6bd94ce97be5d5">MethodPool</a>.find(Method-><a class="code" href="classclang_1_1ObjCMethodDecl.html#aa91ae093f29f2781c87f725e42fddf98">getSelector</a>());</div>
+<div class="line"><a name="l02769"></a><span class="lineno"> 2769</span>   <span class="keywordflow">if</span> (Known == S.<a class="code" href="classclang_1_1Sema.html#a9dfde7abbdace984ee6bd94ce97be5d5">MethodPool</a>.end())</div>
+<div class="line"><a name="l02770"></a><span class="lineno"> 2770</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02771"></a><span class="lineno"> 2771</span> </div>
+<div class="line"><a name="l02772"></a><span class="lineno"> 2772</span>   <span class="comment">// Retrieve the appropriate method list.</span></div>
+<div class="line"><a name="l02773"></a><span class="lineno"> 2773</span>   <a class="code" href="structclang_1_1ObjCMethodList.html" title="ObjCMethodList - a linked list of methods with different signatures.">ObjCMethodList</a> &Start = Method-><a class="code" href="classclang_1_1ObjCMethodDecl.html#a437ea0ebec5ba72fcf0084dd01654d4c">isInstanceMethod</a>()? Known->second.first</div>
+<div class="line"><a name="l02774"></a><span class="lineno"> 2774</span>                                                     : Known->second.second;</div>
+<div class="line"><a name="l02775"></a><span class="lineno"> 2775</span>   <span class="keywordtype">bool</span> Found = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02776"></a><span class="lineno"> 2776</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> *List = &Start; List; List = List-><a class="code" href="structclang_1_1ObjCMethodList.html#a4ef59313a764d07f92175aeba593cd2d">getNext</a>()) {</div>
+<div class="line"><a name="l02777"></a><span class="lineno"> 2777</span>     <span class="keywordflow">if</span> (!Found) {</div>
+<div class="line"><a name="l02778"></a><span class="lineno"> 2778</span>       <span class="keywordflow">if</span> (List->Method == Method) {</div>
+<div class="line"><a name="l02779"></a><span class="lineno"> 2779</span>         Found = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02780"></a><span class="lineno"> 2780</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02781"></a><span class="lineno"> 2781</span>         <span class="comment">// Keep searching.</span></div>
+<div class="line"><a name="l02782"></a><span class="lineno"> 2782</span>         <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02783"></a><span class="lineno"> 2783</span>       }</div>
+<div class="line"><a name="l02784"></a><span class="lineno"> 2784</span>     }</div>
+<div class="line"><a name="l02785"></a><span class="lineno"> 2785</span> </div>
+<div class="line"><a name="l02786"></a><span class="lineno"> 2786</span>     <span class="keywordflow">if</span> (List->getNext())</div>
+<div class="line"><a name="l02787"></a><span class="lineno"> 2787</span>       List->Method = List->getNext()->Method;</div>
+<div class="line"><a name="l02788"></a><span class="lineno"> 2788</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02789"></a><span class="lineno"> 2789</span>       List->Method = Method;</div>
+<div class="line"><a name="l02790"></a><span class="lineno"> 2790</span>   }</div>
+<div class="line"><a name="l02791"></a><span class="lineno"> 2791</span> }</div>
+<div class="line"><a name="l02792"></a><span class="lineno"> 2792</span> </div>
+<div class="line"><a name="l02793"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ad32236eb1c789e6ae57569a0920eb3bb"> 2793</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#ad32236eb1c789e6ae57569a0920eb3bb" title="Make the names within this set of hidden names visible.">ASTReader::makeNamesVisible</a>(<span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">HiddenNames</a> &Names, <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Owner) {</div>
+<div class="line"><a name="l02794"></a><span class="lineno"> 2794</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = Names.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02795"></a><span class="lineno"> 2795</span>     <span class="keywordflow">switch</span> (Names[I].<a class="code" href="DeclBase_8cpp.html#a37d13911f1772d0ed90b6b2e89cf3c60">getKind</a>()) {</div>
+<div class="line"><a name="l02796"></a><span class="lineno"> 2796</span>     <span class="keywordflow">case</span> HiddenName::Declaration: {</div>
+<div class="line"><a name="l02797"></a><span class="lineno"> 2797</span>       <a class="code" href="classclang_1_1Decl.html">Decl</a> *D = Names[I].getDecl();</div>
+<div class="line"><a name="l02798"></a><span class="lineno"> 2798</span>       <span class="keywordtype">bool</span> wasHidden = D-><a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a>;</div>
+<div class="line"><a name="l02799"></a><span class="lineno"> 2799</span>       D-><a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02800"></a><span class="lineno"> 2800</span> </div>
+<div class="line"><a name="l02801"></a><span class="lineno"> 2801</span>       <span class="keywordflow">if</span> (wasHidden && SemaObj) {</div>
+<div class="line"><a name="l02802"></a><span class="lineno"> 2802</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a> *Method = dyn_cast<ObjCMethodDecl>(D)) {</div>
+<div class="line"><a name="l02803"></a><span class="lineno"> 2803</span>           <a class="code" href="ASTReader_8cpp.html#a77d1e5386bb6722f896f6c34571a5d64" title="Move the given method to the back of the global list of methods.">moveMethodToBackOfGlobalList</a>(*SemaObj, Method);</div>
+<div class="line"><a name="l02804"></a><span class="lineno"> 2804</span>         }</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="keywordflow">break</span>;</div>
+<div class="line"><a name="l02807"></a><span class="lineno"> 2807</span>     }</div>
+<div class="line"><a name="l02808"></a><span class="lineno"> 2808</span>     <span class="keywordflow">case</span> HiddenName::MacroVisibility: {</div>
+<div class="line"><a name="l02809"></a><span class="lineno"> 2809</span>       std::pair<IdentifierInfo *, MacroDirective *> Macro = Names[I].getMacro();</div>
+<div class="line"><a name="l02810"></a><span class="lineno"> 2810</span>       installImportedMacro(Macro.first, Macro.second, Owner);</div>
+<div class="line"><a name="l02811"></a><span class="lineno"> 2811</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02812"></a><span class="lineno"> 2812</span>     }</div>
+<div class="line"><a name="l02813"></a><span class="lineno"> 2813</span>     }</div>
+<div class="line"><a name="l02814"></a><span class="lineno"> 2814</span>   }</div>
+<div class="line"><a name="l02815"></a><span class="lineno"> 2815</span> }</div>
+<div class="line"><a name="l02816"></a><span class="lineno"> 2816</span> </div>
+<div class="line"><a name="l02817"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a5e5f186729969db7cbc81d30c7d4fd71"> 2817</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a5e5f186729969db7cbc81d30c7d4fd71" title="Make the entities in the given module and any of its (non-explicit) submodules visible to name lookup...">ASTReader::makeModuleVisible</a>(<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Mod, </div>
+<div class="line"><a name="l02818"></a><span class="lineno"> 2818</span>                                   <a class="code" href="classclang_1_1Module.html#a1ca9cf81299c2f40c68d04f44eea8a67" title="Describes the visibility of the various names within a particular module.">Module::NameVisibilityKind</a> NameVisibility,</div>
+<div class="line"><a name="l02819"></a><span class="lineno"> 2819</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> ImportLoc,</div>
+<div class="line"><a name="l02820"></a><span class="lineno"> 2820</span>                                   <span class="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l02821"></a><span class="lineno"> 2821</span>   llvm::SmallPtrSet<Module *, 4> Visited;</div>
+<div class="line"><a name="l02822"></a><span class="lineno"> 2822</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<Module *, 4></a> <a class="code" href="UnwrappedLineParser_8cpp.html#a118f9e9887ee5c70966fe9b74b815f79">Stack</a>;</div>
+<div class="line"><a name="l02823"></a><span class="lineno"> 2823</span>   Stack.push_back(Mod);</div>
+<div class="line"><a name="l02824"></a><span class="lineno"> 2824</span>   <span class="keywordflow">while</span> (!Stack.empty()) {</div>
+<div class="line"><a name="l02825"></a><span class="lineno"> 2825</span>     Mod = Stack.pop_back_val();</div>
+<div class="line"><a name="l02826"></a><span class="lineno"> 2826</span> </div>
+<div class="line"><a name="l02827"></a><span class="lineno"> 2827</span>     <span class="keywordflow">if</span> (NameVisibility <= Mod->NameVisibility) {</div>
+<div class="line"><a name="l02828"></a><span class="lineno"> 2828</span>       <span class="comment">// This module already has this level of visibility (or greater), so</span></div>
+<div class="line"><a name="l02829"></a><span class="lineno"> 2829</span>       <span class="comment">// there is nothing more to do.</span></div>
+<div class="line"><a name="l02830"></a><span class="lineno"> 2830</span>       <span class="keywordflow">continue</span>;</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>     </div>
+<div class="line"><a name="l02833"></a><span class="lineno"> 2833</span>     <span class="keywordflow">if</span> (!Mod-><a class="code" href="classclang_1_1Module.html#a5be57132fedcd0fea5b93e5a6c311e98" title="Determine whether this module is available for use within the current translation unit...">isAvailable</a>()) {</div>
+<div class="line"><a name="l02834"></a><span class="lineno"> 2834</span>       <span class="comment">// Modules that aren't available cannot be made visible.</span></div>
+<div class="line"><a name="l02835"></a><span class="lineno"> 2835</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02836"></a><span class="lineno"> 2836</span>     }</div>
+<div class="line"><a name="l02837"></a><span class="lineno"> 2837</span> </div>
+<div class="line"><a name="l02838"></a><span class="lineno"> 2838</span>     <span class="comment">// Update the module's name visibility.</span></div>
+<div class="line"><a name="l02839"></a><span class="lineno"> 2839</span>     Mod-><a class="code" href="classclang_1_1Module.html#a1b5d07b8781230152a1a09ca15a2e50e" title="\ brief The visibility of names within this particular module.">NameVisibility</a> = NameVisibility;</div>
+<div class="line"><a name="l02840"></a><span class="lineno"> 2840</span>     </div>
+<div class="line"><a name="l02841"></a><span class="lineno"> 2841</span>     <span class="comment">// If we've already deserialized any names from this module,</span></div>
+<div class="line"><a name="l02842"></a><span class="lineno"> 2842</span>     <span class="comment">// mark them as visible.</span></div>
+<div class="line"><a name="l02843"></a><span class="lineno"> 2843</span>     HiddenNamesMapType::iterator Hidden = HiddenNamesMap.find(Mod);</div>
+<div class="line"><a name="l02844"></a><span class="lineno"> 2844</span>     <span class="keywordflow">if</span> (Hidden != HiddenNamesMap.end()) {</div>
+<div class="line"><a name="l02845"></a><span class="lineno"> 2845</span>       makeNamesVisible(Hidden->second, Hidden->first);</div>
+<div class="line"><a name="l02846"></a><span class="lineno"> 2846</span>       HiddenNamesMap.erase(Hidden);</div>
+<div class="line"><a name="l02847"></a><span class="lineno"> 2847</span>     }</div>
+<div class="line"><a name="l02848"></a><span class="lineno"> 2848</span> </div>
+<div class="line"><a name="l02849"></a><span class="lineno"> 2849</span>     <span class="comment">// Push any exported modules onto the stack to be marked as visible.</span></div>
+<div class="line"><a name="l02850"></a><span class="lineno"> 2850</span>     <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<Module *, 16></a> Exports;</div>
+<div class="line"><a name="l02851"></a><span class="lineno"> 2851</span>     Mod-><a class="code" href="classclang_1_1Module.html#a4640424d8769f84a9489a096a1792bc7" title="Appends this module's list of exported modules to Exported.">getExportedModules</a>(Exports);</div>
+<div class="line"><a name="l02852"></a><span class="lineno"> 2852</span>     <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<Module *>::iterator</a></div>
+<div class="line"><a name="l02853"></a><span class="lineno"> 2853</span>            I = Exports.begin(), E = Exports.end(); I != E; ++I) {</div>
+<div class="line"><a name="l02854"></a><span class="lineno"> 2854</span>       <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Exported = *I;</div>
+<div class="line"><a name="l02855"></a><span class="lineno"> 2855</span>       <span class="keywordflow">if</span> (Visited.insert(Exported))</div>
+<div class="line"><a name="l02856"></a><span class="lineno"> 2856</span>         Stack.push_back(Exported);</div>
+<div class="line"><a name="l02857"></a><span class="lineno"> 2857</span>     }</div>
+<div class="line"><a name="l02858"></a><span class="lineno"> 2858</span> </div>
+<div class="line"><a name="l02859"></a><span class="lineno"> 2859</span>     <span class="comment">// Detect any conflicts.</span></div>
+<div class="line"><a name="l02860"></a><span class="lineno"> 2860</span>     <span class="keywordflow">if</span> (Complain) {</div>
+<div class="line"><a name="l02861"></a><span class="lineno"> 2861</span>       assert(ImportLoc.<a class="code" href="classclang_1_1SourceLocation.html#ad504978d83973770506b6ddb1d7b48f9" title="Return true if this is a valid SourceLocation object.">isValid</a>() && <span class="stringliteral">"Missing import location"</span>);</div>
+<div class="line"><a name="l02862"></a><span class="lineno"> 2862</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="l02863"></a><span class="lineno"> 2863</span>         <span class="keywordflow">if</span> (Mod-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>[I].Other->NameVisibility >= NameVisibility) {</div>
+<div class="line"><a name="l02864"></a><span class="lineno"> 2864</span>           <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(ImportLoc, diag::warn_module_conflict)</div>
+<div class="line"><a name="l02865"></a><span class="lineno"> 2865</span>             << Mod-><a class="code" href="classclang_1_1Module.html#a3d720c72f2fe28832745046e83b8607a" title="Retrieve the full name of this module, including the path from its top-level module.">getFullModuleName</a>()</div>
+<div class="line"><a name="l02866"></a><span class="lineno"> 2866</span>             << Mod-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>[I].Other->getFullModuleName()</div>
+<div class="line"><a name="l02867"></a><span class="lineno"> 2867</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="l02868"></a><span class="lineno"> 2868</span>           <span class="comment">// FIXME: Need note where the other module was imported.</span></div>
+<div class="line"><a name="l02869"></a><span class="lineno"> 2869</span>         }</div>
+<div class="line"><a name="l02870"></a><span class="lineno"> 2870</span>       }</div>
+<div class="line"><a name="l02871"></a><span class="lineno"> 2871</span>     }</div>
+<div class="line"><a name="l02872"></a><span class="lineno"> 2872</span>   }</div>
+<div class="line"><a name="l02873"></a><span class="lineno"> 2873</span> }</div>
+<div class="line"><a name="l02874"></a><span class="lineno"> 2874</span> </div>
+<div class="line"><a name="l02875"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a39a7d358ad38f787f53071d8ed0936bc"> 2875</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#a39a7d358ad38f787f53071d8ed0936bc" title="Attempts to load the global index.">ASTReader::loadGlobalIndex</a>() {</div>
+<div class="line"><a name="l02876"></a><span class="lineno"> 2876</span>   <span class="keywordflow">if</span> (GlobalIndex)</div>
+<div class="line"><a name="l02877"></a><span class="lineno"> 2877</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02878"></a><span class="lineno"> 2878</span> </div>
+<div class="line"><a name="l02879"></a><span class="lineno"> 2879</span>   <span class="keywordflow">if</span> (TriedLoadingGlobalIndex || !UseGlobalIndex ||</div>
+<div class="line"><a name="l02880"></a><span class="lineno"> 2880</span>       !<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().Modules)</div>
+<div class="line"><a name="l02881"></a><span class="lineno"> 2881</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02882"></a><span class="lineno"> 2882</span>   </div>
+<div class="line"><a name="l02883"></a><span class="lineno"> 2883</span>   <span class="comment">// Try to load the global index.</span></div>
+<div class="line"><a name="l02884"></a><span class="lineno"> 2884</span>   TriedLoadingGlobalIndex = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02885"></a><span class="lineno"> 2885</span>   StringRef ModuleCachePath</div>
+<div class="line"><a name="l02886"></a><span class="lineno"> 2886</span>     = getPreprocessor().getHeaderSearchInfo().getModuleCachePath();</div>
+<div class="line"><a name="l02887"></a><span class="lineno"> 2887</span>   std::pair<GlobalModuleIndex *, GlobalModuleIndex::ErrorCode> Result</div>
+<div class="line"><a name="l02888"></a><span class="lineno"> 2888</span>     = <a class="code" href="classclang_1_1GlobalModuleIndex.html#a1c6c9a9f4cfee4282bf07596ad610898" title="Read a global index file for the given directory.">GlobalModuleIndex::readIndex</a>(ModuleCachePath);</div>
+<div class="line"><a name="l02889"></a><span class="lineno"> 2889</span>   <span class="keywordflow">if</span> (!Result.first)</div>
+<div class="line"><a name="l02890"></a><span class="lineno"> 2890</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02891"></a><span class="lineno"> 2891</span> </div>
+<div class="line"><a name="l02892"></a><span class="lineno"> 2892</span>   GlobalIndex.reset(Result.first);</div>
+<div class="line"><a name="l02893"></a><span class="lineno"> 2893</span>   ModuleMgr.setGlobalIndex(GlobalIndex.get());</div>
+<div class="line"><a name="l02894"></a><span class="lineno"> 2894</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02895"></a><span class="lineno"> 2895</span> }</div>
+<div class="line"><a name="l02896"></a><span class="lineno"> 2896</span> </div>
+<div class="line"><a name="l02897"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#acc6954b330483b6dfdb519d476e4d2c3"> 2897</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#acc6954b330483b6dfdb519d476e4d2c3" title="Determine whether we tried to load the global index, but failed, e.g., because it is out-of-date or d...">ASTReader::isGlobalIndexUnavailable</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02898"></a><span class="lineno"> 2898</span>   <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().Modules && UseGlobalIndex &&</div>
+<div class="line"><a name="l02899"></a><span class="lineno"> 2899</span>          !hasGlobalIndex() && TriedLoadingGlobalIndex;</div>
+<div class="line"><a name="l02900"></a><span class="lineno"> 2900</span> }</div>
+<div class="line"><a name="l02901"></a><span class="lineno"> 2901</span> </div>
+<div class="line"><a name="l02902"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a39c08f8450753c190a0c804ad453c870"> 2902</a></span> <a class="code" href="classclang_1_1ASTReader.html#ab2e8cada1e79a39d27461e0137550243" title="The result of reading the control block of an AST file, which can fail for various reasons...">ASTReader::ASTReadResult</a> <a class="code" href="classclang_1_1ASTReader.html#a39c08f8450753c190a0c804ad453c870" title="Load the AST file designated by the given file name.">ASTReader::ReadAST</a>(<span class="keyword">const</span> std::string &FileName,</div>
+<div class="line"><a name="l02903"></a><span class="lineno"> 2903</span>                                             <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1e" title="Specifies the kind of module that has been loaded.">ModuleKind</a> <a class="code" href="classclang_1_1Type.html">Type</a>,</div>
+<div class="line"><a name="l02904"></a><span class="lineno"> 2904</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> ImportLoc,</div>
+<div class="line"><a name="l02905"></a><span class="lineno"> 2905</span>                                             <span class="keywordtype">unsigned</span> ClientLoadCapabilities) {</div>
+<div class="line"><a name="l02906"></a><span class="lineno"> 2906</span>   <a class="code" href="structllvm_1_1SaveAndRestore.html">llvm::SaveAndRestore<SourceLocation></a></div>
+<div class="line"><a name="l02907"></a><span class="lineno"> 2907</span>     SetCurImportLocRAII(CurrentImportLoc, ImportLoc);</div>
+<div class="line"><a name="l02908"></a><span class="lineno"> 2908</span> </div>
+<div class="line"><a name="l02909"></a><span class="lineno"> 2909</span>   <span class="comment">// Bump the generation number.</span></div>
+<div class="line"><a name="l02910"></a><span class="lineno"> 2910</span>   <span class="keywordtype">unsigned</span> PreviousGeneration = CurrentGeneration++;</div>
+<div class="line"><a name="l02911"></a><span class="lineno"> 2911</span> </div>
+<div class="line"><a name="l02912"></a><span class="lineno"> 2912</span>   <span class="keywordtype">unsigned</span> NumModules = ModuleMgr.size();</div>
+<div class="line"><a name="l02913"></a><span class="lineno"> 2913</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<ImportedModule, 4></a> Loaded;</div>
+<div class="line"><a name="l02914"></a><span class="lineno"> 2914</span>   <span class="keywordflow">switch</span>(<a class="code" href="classclang_1_1ASTReader.html#ab2e8cada1e79a39d27461e0137550243" title="The result of reading the control block of an AST file, which can fail for various reasons...">ASTReadResult</a> ReadResult = ReadASTCore(FileName, Type, ImportLoc,</div>
+<div class="line"><a name="l02915"></a><span class="lineno"> 2915</span>                                                 <span class="comment">/*ImportedBy=*/</span>0, Loaded,</div>
+<div class="line"><a name="l02916"></a><span class="lineno"> 2916</span>                                                 0, 0,</div>
+<div class="line"><a name="l02917"></a><span class="lineno"> 2917</span>                                                 ClientLoadCapabilities)) {</div>
+<div class="line"><a name="l02918"></a><span class="lineno"> 2918</span>   <span class="keywordflow">case</span> Failure:</div>
+<div class="line"><a name="l02919"></a><span class="lineno"> 2919</span>   <span class="keywordflow">case</span> Missing:</div>
+<div class="line"><a name="l02920"></a><span class="lineno"> 2920</span>   <span class="keywordflow">case</span> OutOfDate:</div>
+<div class="line"><a name="l02921"></a><span class="lineno"> 2921</span>   <span class="keywordflow">case</span> VersionMismatch:</div>
+<div class="line"><a name="l02922"></a><span class="lineno"> 2922</span>   <span class="keywordflow">case</span> ConfigurationMismatch:</div>
+<div class="line"><a name="l02923"></a><span class="lineno"> 2923</span>   <span class="keywordflow">case</span> HadErrors:</div>
+<div class="line"><a name="l02924"></a><span class="lineno"> 2924</span>     ModuleMgr.removeModules(ModuleMgr.begin() + NumModules, ModuleMgr.end(),</div>
+<div class="line"><a name="l02925"></a><span class="lineno"> 2925</span>                             <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>().Modules</div>
+<div class="line"><a name="l02926"></a><span class="lineno"> 2926</span>                               ? &PP.getHeaderSearchInfo().getModuleMap()</div>
+<div class="line"><a name="l02927"></a><span class="lineno"> 2927</span>                               : 0);</div>
+<div class="line"><a name="l02928"></a><span class="lineno"> 2928</span> </div>
+<div class="line"><a name="l02929"></a><span class="lineno"> 2929</span>     <span class="comment">// If we find that any modules are unusable, the global index is going</span></div>
+<div class="line"><a name="l02930"></a><span class="lineno"> 2930</span>     <span class="comment">// to be out-of-date. Just remove it.</span></div>
+<div class="line"><a name="l02931"></a><span class="lineno"> 2931</span>     GlobalIndex.reset();</div>
+<div class="line"><a name="l02932"></a><span class="lineno"> 2932</span>     ModuleMgr.setGlobalIndex(0);</div>
+<div class="line"><a name="l02933"></a><span class="lineno"> 2933</span>     <span class="keywordflow">return</span> ReadResult;</div>
+<div class="line"><a name="l02934"></a><span class="lineno"> 2934</span> </div>
+<div class="line"><a name="l02935"></a><span class="lineno"> 2935</span>   <span class="keywordflow">case</span> Success:</div>
+<div class="line"><a name="l02936"></a><span class="lineno"> 2936</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02937"></a><span class="lineno"> 2937</span>   }</div>
+<div class="line"><a name="l02938"></a><span class="lineno"> 2938</span> </div>
+<div class="line"><a name="l02939"></a><span class="lineno"> 2939</span>   <span class="comment">// Here comes stuff that we only do once the entire chain is loaded.</span></div>
+<div class="line"><a name="l02940"></a><span class="lineno"> 2940</span> </div>
+<div class="line"><a name="l02941"></a><span class="lineno"> 2941</span>   <span class="comment">// Load the AST blocks of all of the modules that we loaded.</span></div>
+<div class="line"><a name="l02942"></a><span class="lineno"> 2942</span>   <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<ImportedModule>::iterator</a> M = Loaded.begin(),</div>
+<div class="line"><a name="l02943"></a><span class="lineno"> 2943</span>                                               MEnd = Loaded.end();</div>
+<div class="line"><a name="l02944"></a><span class="lineno"> 2944</span>        M != MEnd; ++M) {</div>
+<div class="line"><a name="l02945"></a><span class="lineno"> 2945</span>     <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F = *M->Mod;</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="comment">// Read the AST block.</span></div>
+<div class="line"><a name="l02948"></a><span class="lineno"> 2948</span>     <span class="keywordflow">if</span> (ReadASTBlock(F))</div>
+<div class="line"><a name="l02949"></a><span class="lineno"> 2949</span>       <span class="keywordflow">return</span> Failure;</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="comment">// Once read, set the ModuleFile bit base offset and update the size in </span></div>
+<div class="line"><a name="l02952"></a><span class="lineno"> 2952</span>     <span class="comment">// bits of all files we've seen.</span></div>
+<div class="line"><a name="l02953"></a><span class="lineno"> 2953</span>     F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa0b03dd7f127ce40bbcd76e8d19e395c" title="The global bit offset (or base) of this module.">GlobalBitOffset</a> = TotalModulesSizeInBits;</div>
+<div class="line"><a name="l02954"></a><span class="lineno"> 2954</span>     TotalModulesSizeInBits += F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9d2fd93544554f2a3f3f59b4d2e8cc06" title="The size of this file, in bits.">SizeInBits</a>;</div>
+<div class="line"><a name="l02955"></a><span class="lineno"> 2955</span>     GlobalBitOffsetsMap.insert(std::make_pair(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aa0b03dd7f127ce40bbcd76e8d19e395c" title="The global bit offset (or base) of this module.">GlobalBitOffset</a>, &F));</div>
+<div class="line"><a name="l02956"></a><span class="lineno"> 2956</span>     </div>
+<div class="line"><a name="l02957"></a><span class="lineno"> 2957</span>     <span class="comment">// Preload SLocEntries.</span></div>
+<div class="line"><a name="l02958"></a><span class="lineno"> 2958</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4a3a6a4677b2dcfc0859628ceb42d08b" title="SLocEntries that we're going to preload.">PreloadSLocEntries</a>.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02959"></a><span class="lineno"> 2959</span>       <span class="keywordtype">int</span> Index = int(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a4a3a6a4677b2dcfc0859628ceb42d08b" title="SLocEntries that we're going to preload.">PreloadSLocEntries</a>[I] - 1) + F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a>;</div>
+<div class="line"><a name="l02960"></a><span class="lineno"> 2960</span>       <span class="comment">// Load it through the SourceManager and don't call ReadSLocEntry()</span></div>
+<div class="line"><a name="l02961"></a><span class="lineno"> 2961</span>       <span class="comment">// directly because the entry may have already been loaded in which case</span></div>
+<div class="line"><a name="l02962"></a><span class="lineno"> 2962</span>       <span class="comment">// calling ReadSLocEntry() directly would trigger an assertion in</span></div>
+<div class="line"><a name="l02963"></a><span class="lineno"> 2963</span>       <span class="comment">// SourceManager.</span></div>
+<div class="line"><a name="l02964"></a><span class="lineno"> 2964</span>       <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.getLoadedSLocEntryByID(Index);</div>
+<div class="line"><a name="l02965"></a><span class="lineno"> 2965</span>     }</div>
+<div class="line"><a name="l02966"></a><span class="lineno"> 2966</span>   }</div>
+<div class="line"><a name="l02967"></a><span class="lineno"> 2967</span> </div>
+<div class="line"><a name="l02968"></a><span class="lineno"> 2968</span>   <span class="comment">// Setup the import locations and notify the module manager that we've</span></div>
+<div class="line"><a name="l02969"></a><span class="lineno"> 2969</span>   <span class="comment">// committed to these module files.</span></div>
+<div class="line"><a name="l02970"></a><span class="lineno"> 2970</span>   <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<ImportedModule>::iterator</a> M = Loaded.begin(),</div>
+<div class="line"><a name="l02971"></a><span class="lineno"> 2971</span>                                               MEnd = Loaded.end();</div>
+<div class="line"><a name="l02972"></a><span class="lineno"> 2972</span>        M != MEnd; ++M) {</div>
+<div class="line"><a name="l02973"></a><span class="lineno"> 2973</span>     <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F = *M->Mod;</div>
+<div class="line"><a name="l02974"></a><span class="lineno"> 2974</span> </div>
+<div class="line"><a name="l02975"></a><span class="lineno"> 2975</span>     ModuleMgr.moduleFileAccepted(&F);</div>
+<div class="line"><a name="l02976"></a><span class="lineno"> 2976</span> </div>
+<div class="line"><a name="l02977"></a><span class="lineno"> 2977</span>     <span class="comment">// Set the import location.</span></div>
+<div class="line"><a name="l02978"></a><span class="lineno"> 2978</span>     F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a1552be19be2b92359da4aaccbe1e9e2b" title="The source location where the module was explicitly or implicitly imported in the local translation u...">DirectImportLoc</a> = ImportLoc;</div>
+<div class="line"><a name="l02979"></a><span class="lineno"> 2979</span>     <span class="keywordflow">if</span> (!M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a6bf3ba8b6c7d1899cfcd5750553c39" title="List of modules which depend on this module.">ImportedBy</a>)</div>
+<div class="line"><a name="l02980"></a><span class="lineno"> 2980</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5f1751f45ef511e48bcde792b499c129" title="The source location where this module was first imported.">ImportLoc</a> = M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5f1751f45ef511e48bcde792b499c129" title="The source location where this module was first imported.">ImportLoc</a>;</div>
+<div class="line"><a name="l02981"></a><span class="lineno"> 2981</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02982"></a><span class="lineno"> 2982</span>       F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5f1751f45ef511e48bcde792b499c129" title="The source location where this module was first imported.">ImportLoc</a> = ReadSourceLocation(*M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5a6bf3ba8b6c7d1899cfcd5750553c39" title="List of modules which depend on this module.">ImportedBy</a>,</div>
+<div class="line"><a name="l02983"></a><span class="lineno"> 2983</span>                                        M-><a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a5f1751f45ef511e48bcde792b499c129" title="The source location where this module was first imported.">ImportLoc</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="l02984"></a><span class="lineno"> 2984</span>   }</div>
+<div class="line"><a name="l02985"></a><span class="lineno"> 2985</span> </div>
+<div class="line"><a name="l02986"></a><span class="lineno"> 2986</span>   <span class="comment">// Mark all of the identifiers in the identifier table as being out of date,</span></div>
+<div class="line"><a name="l02987"></a><span class="lineno"> 2987</span>   <span class="comment">// so that various accessors know to check the loaded modules when the</span></div>
+<div class="line"><a name="l02988"></a><span class="lineno"> 2988</span>   <span class="comment">// identifier is used.</span></div>
+<div class="line"><a name="l02989"></a><span class="lineno"> 2989</span>   <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1IdentifierTable.html#ab88e0655c8323dd275ee724f2b81590b">IdentifierTable::iterator</a> Id = PP.getIdentifierTable().begin(),</div>
+<div class="line"><a name="l02990"></a><span class="lineno"> 2990</span>                               IdEnd = PP.getIdentifierTable().end();</div>
+<div class="line"><a name="l02991"></a><span class="lineno"> 2991</span>        Id != IdEnd; ++Id)</div>
+<div class="line"><a name="l02992"></a><span class="lineno"> 2992</span>     Id->second->setOutOfDate(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l02993"></a><span class="lineno"> 2993</span>   </div>
+<div class="line"><a name="l02994"></a><span class="lineno"> 2994</span>   <span class="comment">// Resolve any unresolved module exports.</span></div>
+<div class="line"><a name="l02995"></a><span class="lineno"> 2995</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = UnresolvedModuleRefs.size(); I != N; ++I) {</div>
+<div class="line"><a name="l02996"></a><span class="lineno"> 2996</span>     UnresolvedModuleRef &Unresolved = UnresolvedModuleRefs[I];</div>
+<div class="line"><a name="l02997"></a><span class="lineno"> 2997</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> GlobalID = getGlobalSubmoduleID(*Unresolved.File,Unresolved.ID);</div>
+<div class="line"><a name="l02998"></a><span class="lineno"> 2998</span>     <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *ResolvedMod = getSubmodule(GlobalID);</div>
+<div class="line"><a name="l02999"></a><span class="lineno"> 2999</span> </div>
+<div class="line"><a name="l03000"></a><span class="lineno"> 3000</span>     <span class="keywordflow">switch</span> (Unresolved.Kind) {</div>
+<div class="line"><a name="l03001"></a><span class="lineno"> 3001</span>     <span class="keywordflow">case</span> UnresolvedModuleRef::Conflict:</div>
+<div class="line"><a name="l03002"></a><span class="lineno"> 3002</span>       <span class="keywordflow">if</span> (ResolvedMod) {</div>
+<div class="line"><a name="l03003"></a><span class="lineno"> 3003</span>         <a class="code" href="structclang_1_1Module_1_1Conflict.html" title="A conflict between two modules.">Module::Conflict</a> Conflict;</div>
+<div class="line"><a name="l03004"></a><span class="lineno"> 3004</span>         Conflict.<a class="code" href="structclang_1_1Module_1_1Conflict.html#a166e4ba42a196c12037803ac020cf83b" title="The module that this module conflicts with.">Other</a> = ResolvedMod;</div>
+<div class="line"><a name="l03005"></a><span class="lineno"> 3005</span>         Conflict.<a class="code" href="structclang_1_1Module_1_1Conflict.html#a36f68dc996f06770984dfa803d00737c" title="The message provided to the user when there is a conflict.">Message</a> = Unresolved.String.str();</div>
+<div class="line"><a name="l03006"></a><span class="lineno"> 3006</span>         Unresolved.Mod->Conflicts.push_back(Conflict);</div>
+<div class="line"><a name="l03007"></a><span class="lineno"> 3007</span>       }</div>
+<div class="line"><a name="l03008"></a><span class="lineno"> 3008</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03009"></a><span class="lineno"> 3009</span> </div>
+<div class="line"><a name="l03010"></a><span class="lineno"> 3010</span>     <span class="keywordflow">case</span> UnresolvedModuleRef::Import:</div>
+<div class="line"><a name="l03011"></a><span class="lineno"> 3011</span>       <span class="keywordflow">if</span> (ResolvedMod)</div>
+<div class="line"><a name="l03012"></a><span class="lineno"> 3012</span>         Unresolved.Mod->Imports.push_back(ResolvedMod);</div>
+<div class="line"><a name="l03013"></a><span class="lineno"> 3013</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03014"></a><span class="lineno"> 3014</span> </div>
+<div class="line"><a name="l03015"></a><span class="lineno"> 3015</span>     <span class="keywordflow">case</span> UnresolvedModuleRef::Export:</div>
+<div class="line"><a name="l03016"></a><span class="lineno"> 3016</span>       <span class="keywordflow">if</span> (ResolvedMod || Unresolved.IsWildcard)</div>
+<div class="line"><a name="l03017"></a><span class="lineno"> 3017</span>         Unresolved.Mod->Exports.push_back(</div>
+<div class="line"><a name="l03018"></a><span class="lineno"> 3018</span>           <a class="code" href="classclang_1_1Module.html#a3b638d27f1c3f0a666c473f6067b0d56" title="Describes an exported module.">Module::ExportDecl</a>(ResolvedMod, Unresolved.IsWildcard));</div>
+<div class="line"><a name="l03019"></a><span class="lineno"> 3019</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l03020"></a><span class="lineno"> 3020</span>     }</div>
+<div class="line"><a name="l03021"></a><span class="lineno"> 3021</span>   }</div>
+<div class="line"><a name="l03022"></a><span class="lineno"> 3022</span>   UnresolvedModuleRefs.clear();</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>   <span class="comment">// FIXME: How do we load the 'use'd modules? They may not be submodules.</span></div>
+<div class="line"><a name="l03025"></a><span class="lineno"> 3025</span>   <span class="comment">// Might be unnecessary as use declarations are only used to build the</span></div>
+<div class="line"><a name="l03026"></a><span class="lineno"> 3026</span>   <span class="comment">// module itself.</span></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>   InitializeContext();</div>
+<div class="line"><a name="l03029"></a><span class="lineno"> 3029</span> </div>
+<div class="line"><a name="l03030"></a><span class="lineno"> 3030</span>   <span class="keywordflow">if</span> (SemaObj)</div>
+<div class="line"><a name="l03031"></a><span class="lineno"> 3031</span>     UpdateSema();</div>
+<div class="line"><a name="l03032"></a><span class="lineno"> 3032</span> </div>
+<div class="line"><a name="l03033"></a><span class="lineno"> 3033</span>   <span class="keywordflow">if</span> (DeserializationListener)</div>
+<div class="line"><a name="l03034"></a><span class="lineno"> 3034</span>     DeserializationListener->ReaderInitialized(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l03035"></a><span class="lineno"> 3035</span> </div>
+<div class="line"><a name="l03036"></a><span class="lineno"> 3036</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &PrimaryModule = ModuleMgr.getPrimaryModule();</div>
+<div class="line"><a name="l03037"></a><span class="lineno"> 3037</span>   <span class="keywordflow">if</span> (!PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a>.<a class="code" href="classclang_1_1FileID.html#a89ac6cca1064b7275a777f86450c7863">isInvalid</a>()) {</div>
+<div class="line"><a name="l03038"></a><span class="lineno"> 3038</span>     PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a> </div>
+<div class="line"><a name="l03039"></a><span class="lineno"> 3039</span>       = FileID::get(PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a297d42d659d9fd8b19a32dd167b637da" title="The base ID in the source manager's view of this module.">SLocEntryBaseID</a></div>
+<div class="line"><a name="l03040"></a><span class="lineno"> 3040</span>                     + PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a>.getOpaqueValue() - 1);</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="comment">// If this AST file is a precompiled preamble, then set the</span></div>
+<div class="line"><a name="l03043"></a><span class="lineno"> 3043</span>     <span class="comment">// preamble file ID of the source manager to the file source file</span></div>
+<div class="line"><a name="l03044"></a><span class="lineno"> 3044</span>     <span class="comment">// from which the preamble was built.</span></div>
+<div class="line"><a name="l03045"></a><span class="lineno"> 3045</span>     <span class="keywordflow">if</span> (Type == <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea53fc1233721074698c4b1ff9b78cc35d" title="File is a PCH file treated as the preamble.">MK_Preamble</a>) {</div>
+<div class="line"><a name="l03046"></a><span class="lineno"> 3046</span>       <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a71953d377b54b96a09576d0319df8a83" title="Set the file ID for the precompiled preamble.">setPreambleFileID</a>(PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a>);</div>
+<div class="line"><a name="l03047"></a><span class="lineno"> 3047</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Type == <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1ea56f9f6ae59033d66f4f50e4fb149cce3" title="File is a PCH file treated as the actual main file.">MK_MainFile</a>) {</div>
+<div class="line"><a name="l03048"></a><span class="lineno"> 3048</span>       <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a988b53661bb5ac2515b122debccc9ef6" title="Set the file ID for the main source file.">setMainFileID</a>(PrimaryModule.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a69063be6a4ddfc35ee43e5a74fe667f1" title="The file ID for the original source file that was used to build this AST file.">OriginalSourceFileID</a>);</div>
+<div class="line"><a name="l03049"></a><span class="lineno"> 3049</span>     }</div>
+<div class="line"><a name="l03050"></a><span class="lineno"> 3050</span>   }</div>
+<div class="line"><a name="l03051"></a><span class="lineno"> 3051</span>   </div>
+<div class="line"><a name="l03052"></a><span class="lineno"> 3052</span>   <span class="comment">// For any Objective-C class definitions we have already loaded, make sure</span></div>
+<div class="line"><a name="l03053"></a><span class="lineno"> 3053</span>   <span class="comment">// that we load any additional categories.</span></div>
+<div class="line"><a name="l03054"></a><span class="lineno"> 3054</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = ObjCClassesLoaded.size(); I != N; ++I) {</div>
+<div class="line"><a name="l03055"></a><span class="lineno"> 3055</span>     loadObjCCategories(ObjCClassesLoaded[I]->getGlobalID(), </div>
+<div class="line"><a name="l03056"></a><span class="lineno"> 3056</span>                        ObjCClassesLoaded[I],</div>
+<div class="line"><a name="l03057"></a><span class="lineno"> 3057</span>                        PreviousGeneration);</div>
+<div class="line"><a name="l03058"></a><span class="lineno"> 3058</span>   }</div>
+<div class="line"><a name="l03059"></a><span class="lineno"> 3059</span> </div>
+<div class="line"><a name="l03060"></a><span class="lineno"> 3060</span>   <span class="keywordflow">return</span> Success;</div>
+<div class="line"><a name="l03061"></a><span class="lineno"> 3061</span> }</div>
+<div class="line"><a name="l03062"></a><span class="lineno"> 3062</span> </div>
+<div class="line"><a name="l03063"></a><span class="lineno"> 3063</span> <a class="code" href="classclang_1_1ASTReader.html#ab2e8cada1e79a39d27461e0137550243" title="The result of reading the control block of an AST file, which can fail for various reasons...">ASTReader::ASTReadResult</a></div>
+<div class="line"><a name="l03064"></a><span class="lineno"> 3064</span> ASTReader::ReadASTCore(StringRef FileName,</div>
+<div class="line"><a name="l03065"></a><span class="lineno"> 3065</span>                        <a class="code" href="namespaceclang_1_1serialization.html#ac4e913a3b4b4721b8995cb7dd6d9bb1e" title="Specifies the kind of module that has been loaded.">ModuleKind</a> <a class="code" href="classclang_1_1Type.html">Type</a>,</div>
+<div class="line"><a name="l03066"></a><span class="lineno"> 3066</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> ImportLoc,</div>
+<div class="line"><a name="l03067"></a><span class="lineno"> 3067</span>                        ModuleFile *ImportedBy,</div>
+<div class="line"><a name="l03068"></a><span class="lineno"> 3068</span>                        <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<ImportedModule></a> &Loaded,</div>
+<div class="line"><a name="l03069"></a><span class="lineno"> 3069</span>                        off_t ExpectedSize, time_t ExpectedModTime,</div>
+<div class="line"><a name="l03070"></a><span class="lineno"> 3070</span>                        <span class="keywordtype">unsigned</span> ClientLoadCapabilities) {</div>
+<div class="line"><a name="l03071"></a><span class="lineno"> 3071</span>   ModuleFile *M;</div>
+<div class="line"><a name="l03072"></a><span class="lineno"> 3072</span>   std::string ErrorStr;</div>
+<div class="line"><a name="l03073"></a><span class="lineno"> 3073</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleManager.html#a3d4d359e0be095e787167c26501f247e" title="The result of attempting to add a new module.">ModuleManager::AddModuleResult</a> AddResult</div>
+<div class="line"><a name="l03074"></a><span class="lineno"> 3074</span>     = ModuleMgr.addModule(FileName, Type, ImportLoc, ImportedBy,</div>
+<div class="line"><a name="l03075"></a><span class="lineno"> 3075</span>                           CurrentGeneration, ExpectedSize, ExpectedModTime,</div>
+<div class="line"><a name="l03076"></a><span class="lineno"> 3076</span>                           M, ErrorStr);</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">switch</span> (AddResult) {</div>
+<div class="line"><a name="l03079"></a><span class="lineno"> 3079</span>   <span class="keywordflow">case</span> ModuleManager::AlreadyLoaded:</div>
+<div class="line"><a name="l03080"></a><span class="lineno"> 3080</span>     <span class="keywordflow">return</span> Success;</div>
+<div class="line"><a name="l03081"></a><span class="lineno"> 3081</span> </div>
+<div class="line"><a name="l03082"></a><span class="lineno"> 3082</span>   <span class="keywordflow">case</span> ModuleManager::NewlyLoaded:</div>
+<div class="line"><a name="l03083"></a><span class="lineno"> 3083</span>     <span class="comment">// Load module file below.</span></div>
+<div class="line"><a name="l03084"></a><span class="lineno"> 3084</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03085"></a><span class="lineno"> 3085</span> </div>
+<div class="line"><a name="l03086"></a><span class="lineno"> 3086</span>   <span class="keywordflow">case</span> ModuleManager::Missing:</div>
+<div class="line"><a name="l03087"></a><span class="lineno"> 3087</span>     <span class="comment">// The module file was missing; if the client handle handle, that, return</span></div>
+<div class="line"><a name="l03088"></a><span class="lineno"> 3088</span>     <span class="comment">// it.</span></div>
+<div class="line"><a name="l03089"></a><span class="lineno"> 3089</span>     <span class="keywordflow">if</span> (ClientLoadCapabilities & ARR_Missing)</div>
+<div class="line"><a name="l03090"></a><span class="lineno"> 3090</span>       <span class="keywordflow">return</span> Missing;</div>
+<div class="line"><a name="l03091"></a><span class="lineno"> 3091</span> </div>
+<div class="line"><a name="l03092"></a><span class="lineno"> 3092</span>     <span class="comment">// Otherwise, return an error.</span></div>
+<div class="line"><a name="l03093"></a><span class="lineno"> 3093</span>     {</div>
+<div class="line"><a name="l03094"></a><span class="lineno"> 3094</span>       std::string Msg = <span class="stringliteral">"Unable to load module \""</span> + FileName.str() + <span class="stringliteral">"\": "</span></div>
+<div class="line"><a name="l03095"></a><span class="lineno"> 3095</span>                       + ErrorStr;</div>
+<div class="line"><a name="l03096"></a><span class="lineno"> 3096</span>       Error(Msg);</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>     <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03099"></a><span class="lineno"> 3099</span> </div>
+<div class="line"><a name="l03100"></a><span class="lineno"> 3100</span>   <span class="keywordflow">case</span> ModuleManager::OutOfDate:</div>
+<div class="line"><a name="l03101"></a><span class="lineno"> 3101</span>     <span class="comment">// We couldn't load the module file because it is out-of-date. If the</span></div>
+<div class="line"><a name="l03102"></a><span class="lineno"> 3102</span>     <span class="comment">// client can handle out-of-date, return it.</span></div>
+<div class="line"><a name="l03103"></a><span class="lineno"> 3103</span>     <span class="keywordflow">if</span> (ClientLoadCapabilities & ARR_OutOfDate)</div>
+<div class="line"><a name="l03104"></a><span class="lineno"> 3104</span>       <span class="keywordflow">return</span> OutOfDate;</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>     <span class="comment">// Otherwise, return an error.</span></div>
+<div class="line"><a name="l03107"></a><span class="lineno"> 3107</span>     {</div>
+<div class="line"><a name="l03108"></a><span class="lineno"> 3108</span>       std::string Msg = <span class="stringliteral">"Unable to load module \""</span> + FileName.str() + <span class="stringliteral">"\": "</span></div>
+<div class="line"><a name="l03109"></a><span class="lineno"> 3109</span>                       + ErrorStr;</div>
+<div class="line"><a name="l03110"></a><span class="lineno"> 3110</span>       Error(Msg);</div>
+<div class="line"><a name="l03111"></a><span class="lineno"> 3111</span>     }</div>
+<div class="line"><a name="l03112"></a><span class="lineno"> 3112</span>     <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03113"></a><span class="lineno"> 3113</span>   }</div>
+<div class="line"><a name="l03114"></a><span class="lineno"> 3114</span> </div>
+<div class="line"><a name="l03115"></a><span class="lineno"> 3115</span>   assert(M && <span class="stringliteral">"Missing module file"</span>);</div>
+<div class="line"><a name="l03116"></a><span class="lineno"> 3116</span> </div>
+<div class="line"><a name="l03117"></a><span class="lineno"> 3117</span>   <span class="comment">// FIXME: This seems rather a hack. Should CurrentDir be part of the</span></div>
+<div class="line"><a name="l03118"></a><span class="lineno"> 3118</span>   <span class="comment">// module?</span></div>
+<div class="line"><a name="l03119"></a><span class="lineno"> 3119</span>   <span class="keywordflow">if</span> (FileName != <span class="stringliteral">"-"</span>) {</div>
+<div class="line"><a name="l03120"></a><span class="lineno"> 3120</span>     CurrentDir = llvm::sys::path::parent_path(FileName);</div>
+<div class="line"><a name="l03121"></a><span class="lineno"> 3121</span>     <span class="keywordflow">if</span> (CurrentDir.empty()) CurrentDir = <span class="stringliteral">"."</span>;</div>
+<div class="line"><a name="l03122"></a><span class="lineno"> 3122</span>   }</div>
+<div class="line"><a name="l03123"></a><span class="lineno"> 3123</span> </div>
+<div class="line"><a name="l03124"></a><span class="lineno"> 3124</span>   <a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &F = *M;</div>
+<div class="line"><a name="l03125"></a><span class="lineno"> 3125</span>   BitstreamCursor &Stream = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9bf07827f9d6d5220e6a2a081ddfa5c3" title="The main bitstream cursor for the main block.">Stream</a>;</div>
+<div class="line"><a name="l03126"></a><span class="lineno"> 3126</span>   Stream.init(F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#ad51550e8d8668e6b76b2149ca12ef1b1" title="The bitstream reader from which we'll read the AST file.">StreamFile</a>);</div>
+<div class="line"><a name="l03127"></a><span class="lineno"> 3127</span>   F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a9d2fd93544554f2a3f3f59b4d2e8cc06" title="The size of this file, in bits.">SizeInBits</a> = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a7366b7f14af0a3dafd132121d7e068e6" title="The memory buffer that stores the data associated with this AST file.">Buffer</a>->getBufferSize() * 8;</div>
+<div class="line"><a name="l03128"></a><span class="lineno"> 3128</span>   </div>
+<div class="line"><a name="l03129"></a><span class="lineno"> 3129</span>   <span class="comment">// Sniff for the signature.</span></div>
+<div class="line"><a name="l03130"></a><span class="lineno"> 3130</span>   <span class="keywordflow">if</span> (Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03131"></a><span class="lineno"> 3131</span>       Stream.Read(8) != <span class="charliteral">'P'</span> ||</div>
+<div class="line"><a name="l03132"></a><span class="lineno"> 3132</span>       Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03133"></a><span class="lineno"> 3133</span>       Stream.Read(8) != <span class="charliteral">'H'</span>) {</div>
+<div class="line"><a name="l03134"></a><span class="lineno"> 3134</span>     <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::err_not_a_pch_file) << FileName;</div>
+<div class="line"><a name="l03135"></a><span class="lineno"> 3135</span>     <span class="keywordflow">return</span> Failure;</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> </div>
+<div class="line"><a name="l03138"></a><span class="lineno"> 3138</span>   <span class="comment">// This is used for compatibility with older PCH formats.</span></div>
+<div class="line"><a name="l03139"></a><span class="lineno"> 3139</span>   <span class="keywordtype">bool</span> HaveReadControlBlock = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03140"></a><span class="lineno"> 3140</span> </div>
+<div class="line"><a name="l03141"></a><span class="lineno"> 3141</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l03142"></a><span class="lineno"> 3142</span>     llvm::BitstreamEntry Entry = Stream.advance();</div>
+<div class="line"><a name="l03143"></a><span class="lineno"> 3143</span>     </div>
+<div class="line"><a name="l03144"></a><span class="lineno"> 3144</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l03145"></a><span class="lineno"> 3145</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l03146"></a><span class="lineno"> 3146</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l03147"></a><span class="lineno"> 3147</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l03148"></a><span class="lineno"> 3148</span>       Error(<span class="stringliteral">"invalid record at top-level of AST file"</span>);</div>
+<div class="line"><a name="l03149"></a><span class="lineno"> 3149</span>       <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03150"></a><span class="lineno"> 3150</span>         </div>
+<div class="line"><a name="l03151"></a><span class="lineno"> 3151</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock:</div>
+<div class="line"><a name="l03152"></a><span class="lineno"> 3152</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03153"></a><span class="lineno"> 3153</span>     }</div>
+<div class="line"><a name="l03154"></a><span class="lineno"> 3154</span> </div>
+<div class="line"><a name="l03155"></a><span class="lineno"> 3155</span>     <span class="comment">// We only know the control subblock ID.</span></div>
+<div class="line"><a name="l03156"></a><span class="lineno"> 3156</span>     <span class="keywordflow">switch</span> (Entry.ID) {</div>
+<div class="line"><a name="l03157"></a><span class="lineno"> 3157</span>     <span class="keywordflow">case</span> llvm::bitc::BLOCKINFO_BLOCK_ID:</div>
+<div class="line"><a name="l03158"></a><span class="lineno"> 3158</span>       <span class="keywordflow">if</span> (Stream.ReadBlockInfoBlock()) {</div>
+<div class="line"><a name="l03159"></a><span class="lineno"> 3159</span>         Error(<span class="stringliteral">"malformed BlockInfoBlock in AST file"</span>);</div>
+<div class="line"><a name="l03160"></a><span class="lineno"> 3160</span>         <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03161"></a><span class="lineno"> 3161</span>       }</div>
+<div class="line"><a name="l03162"></a><span class="lineno"> 3162</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03163"></a><span class="lineno"> 3163</span>     <span class="keywordflow">case</span> <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>:</div>
+<div class="line"><a name="l03164"></a><span class="lineno"> 3164</span>       HaveReadControlBlock = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03165"></a><span class="lineno"> 3165</span>       <span class="keywordflow">switch</span> (ReadControlBlock(F, Loaded, ClientLoadCapabilities)) {</div>
+<div class="line"><a name="l03166"></a><span class="lineno"> 3166</span>       <span class="keywordflow">case</span> Success:</div>
+<div class="line"><a name="l03167"></a><span class="lineno"> 3167</span>         <span class="keywordflow">break</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">case</span> Failure: <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03170"></a><span class="lineno"> 3170</span>       <span class="keywordflow">case</span> Missing: <span class="keywordflow">return</span> Missing;</div>
+<div class="line"><a name="l03171"></a><span class="lineno"> 3171</span>       <span class="keywordflow">case</span> OutOfDate: <span class="keywordflow">return</span> OutOfDate;</div>
+<div class="line"><a name="l03172"></a><span class="lineno"> 3172</span>       <span class="keywordflow">case</span> VersionMismatch: <span class="keywordflow">return</span> VersionMismatch;</div>
+<div class="line"><a name="l03173"></a><span class="lineno"> 3173</span>       <span class="keywordflow">case</span> ConfigurationMismatch: <span class="keywordflow">return</span> ConfigurationMismatch;</div>
+<div class="line"><a name="l03174"></a><span class="lineno"> 3174</span>       <span class="keywordflow">case</span> HadErrors: <span class="keywordflow">return</span> HadErrors;</div>
+<div class="line"><a name="l03175"></a><span class="lineno"> 3175</span>       }</div>
+<div class="line"><a name="l03176"></a><span class="lineno"> 3176</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03177"></a><span class="lineno"> 3177</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a4266f7e24caae40a2f94bd2261a62485" title="The AST block, which acts as a container around the full AST block.">AST_BLOCK_ID</a>:</div>
+<div class="line"><a name="l03178"></a><span class="lineno"> 3178</span>       <span class="keywordflow">if</span> (!HaveReadControlBlock) {</div>
+<div class="line"><a name="l03179"></a><span class="lineno"> 3179</span>         <span class="keywordflow">if</span> ((ClientLoadCapabilities & ARR_VersionMismatch) == 0)</div>
+<div class="line"><a name="l03180"></a><span class="lineno"> 3180</span>           <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::warn_pch_version_too_old);</div>
+<div class="line"><a name="l03181"></a><span class="lineno"> 3181</span>         <span class="keywordflow">return</span> VersionMismatch;</div>
+<div class="line"><a name="l03182"></a><span class="lineno"> 3182</span>       }</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">// Record that we've loaded this module.</span></div>
+<div class="line"><a name="l03185"></a><span class="lineno"> 3185</span>       Loaded.push_back(ImportedModule(M, ImportedBy, ImportLoc));</div>
+<div class="line"><a name="l03186"></a><span class="lineno"> 3186</span>       <span class="keywordflow">return</span> Success;</div>
+<div class="line"><a name="l03187"></a><span class="lineno"> 3187</span> </div>
+<div class="line"><a name="l03188"></a><span class="lineno"> 3188</span>     <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l03189"></a><span class="lineno"> 3189</span>       <span class="keywordflow">if</span> (Stream.SkipBlock()) {</div>
+<div class="line"><a name="l03190"></a><span class="lineno"> 3190</span>         Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l03191"></a><span class="lineno"> 3191</span>         <span class="keywordflow">return</span> Failure;</div>
+<div class="line"><a name="l03192"></a><span class="lineno"> 3192</span>       }</div>
+<div class="line"><a name="l03193"></a><span class="lineno"> 3193</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03194"></a><span class="lineno"> 3194</span>     }</div>
+<div class="line"><a name="l03195"></a><span class="lineno"> 3195</span>   }</div>
+<div class="line"><a name="l03196"></a><span class="lineno"> 3196</span>   </div>
+<div class="line"><a name="l03197"></a><span class="lineno"> 3197</span>   <span class="keywordflow">return</span> Success;</div>
+<div class="line"><a name="l03198"></a><span class="lineno"> 3198</span> }</div>
+<div class="line"><a name="l03199"></a><span class="lineno"> 3199</span> </div>
+<div class="line"><a name="l03200"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#aeac15b1f4508652a258b3beaf216fda5"> 3200</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#aeac15b1f4508652a258b3beaf216fda5" title="Initializes the ASTContext.">ASTReader::InitializeContext</a>() {  </div>
+<div class="line"><a name="l03201"></a><span class="lineno"> 3201</span>   <span class="comment">// If there's a listener, notify them that we "read" the translation unit.</span></div>
+<div class="line"><a name="l03202"></a><span class="lineno"> 3202</span>   <span class="keywordflow">if</span> (DeserializationListener)</div>
+<div class="line"><a name="l03203"></a><span class="lineno"> 3203</span>     DeserializationListener->DeclRead(<a class="code" href="group__ASTAST.html#gga1167da4d5ead9463cc4509ff87a1be2badd00da6a63fee234053917357a95596b" title="The translation unit.">PREDEF_DECL_TRANSLATION_UNIT_ID</a>, </div>
+<div class="line"><a name="l03204"></a><span class="lineno"> 3204</span>                                       <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>());</div>
+<div class="line"><a name="l03205"></a><span class="lineno"> 3205</span> </div>
+<div class="line"><a name="l03206"></a><span class="lineno"> 3206</span>   <span class="comment">// Make sure we load the declaration update records for the translation unit,</span></div>
+<div class="line"><a name="l03207"></a><span class="lineno"> 3207</span>   <span class="comment">// if there are any.</span></div>
+<div class="line"><a name="l03208"></a><span class="lineno"> 3208</span>   loadDeclUpdateRecords(<a class="code" href="group__ASTAST.html#gga1167da4d5ead9463cc4509ff87a1be2badd00da6a63fee234053917357a95596b" title="The translation unit.">PREDEF_DECL_TRANSLATION_UNIT_ID</a>, </div>
+<div class="line"><a name="l03209"></a><span class="lineno"> 3209</span>                         <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>());</div>
+<div class="line"><a name="l03210"></a><span class="lineno"> 3210</span>   </div>
+<div class="line"><a name="l03211"></a><span class="lineno"> 3211</span>   <span class="comment">// FIXME: Find a better way to deal with collisions between these</span></div>
+<div class="line"><a name="l03212"></a><span class="lineno"> 3212</span>   <span class="comment">// built-in types. Right now, we just ignore the problem.</span></div>
+<div class="line"><a name="l03213"></a><span class="lineno"> 3213</span>   </div>
+<div class="line"><a name="l03214"></a><span class="lineno"> 3214</span>   <span class="comment">// Load the special types.</span></div>
+<div class="line"><a name="l03215"></a><span class="lineno"> 3215</span>   <span class="keywordflow">if</span> (SpecialTypes.size() >= <a class="code" href="group__ASTAST.html#gaa78bdbb787a5ca15e0ae0ba327d0f133" title="The number of special type IDs.">NumSpecialTypeIDs</a>) {</div>
+<div class="line"><a name="l03216"></a><span class="lineno"> 3216</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> String = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14ac19d6529fc31e6804a7ffdcba53c24cd" title="CFConstantString type.">SPECIAL_TYPE_CF_CONSTANT_STRING</a>]) {</div>
+<div class="line"><a name="l03217"></a><span class="lineno"> 3217</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.CFConstantStringTypeDecl)</div>
+<div class="line"><a name="l03218"></a><span class="lineno"> 3218</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#af5c0bf1d48a039e504d4d69341a81274">setCFConstantStringType</a>(GetType(String));</div>
+<div class="line"><a name="l03219"></a><span class="lineno"> 3219</span>     }</div>
+<div class="line"><a name="l03220"></a><span class="lineno"> 3220</span>     </div>
+<div class="line"><a name="l03221"></a><span class="lineno"> 3221</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> File = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a58040e99a54222aac4b8656769d3888f" title="C FILE typedef type.">SPECIAL_TYPE_FILE</a>]) {</div>
+<div class="line"><a name="l03222"></a><span class="lineno"> 3222</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> FileType = GetType(File);</div>
+<div class="line"><a name="l03223"></a><span class="lineno"> 3223</span>       <span class="keywordflow">if</span> (FileType.<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="l03224"></a><span class="lineno"> 3224</span>         Error(<span class="stringliteral">"FILE type is NULL"</span>);</div>
+<div class="line"><a name="l03225"></a><span class="lineno"> 3225</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03226"></a><span class="lineno"> 3226</span>       }</div>
+<div class="line"><a name="l03227"></a><span class="lineno"> 3227</span>       </div>
+<div class="line"><a name="l03228"></a><span class="lineno"> 3228</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.FILEDecl) {</div>
+<div class="line"><a name="l03229"></a><span class="lineno"> 3229</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *Typedef = FileType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TypedefType.html">TypedefType</a>>())</div>
+<div class="line"><a name="l03230"></a><span class="lineno"> 3230</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a40e556b482579051e35ccb73e1de2c86" title="Set the type for the C FILE type.">setFILEDecl</a>(Typedef->getDecl());</div>
+<div class="line"><a name="l03231"></a><span class="lineno"> 3231</span>         <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l03232"></a><span class="lineno"> 3232</span>           <span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *Tag = FileType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TagType.html">TagType</a>>();</div>
+<div class="line"><a name="l03233"></a><span class="lineno"> 3233</span>           <span class="keywordflow">if</span> (!Tag) {</div>
+<div class="line"><a name="l03234"></a><span class="lineno"> 3234</span>             Error(<span class="stringliteral">"Invalid FILE type in AST file"</span>);</div>
+<div class="line"><a name="l03235"></a><span class="lineno"> 3235</span>             <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03236"></a><span class="lineno"> 3236</span>           }</div>
+<div class="line"><a name="l03237"></a><span class="lineno"> 3237</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a40e556b482579051e35ccb73e1de2c86" title="Set the type for the C FILE type.">setFILEDecl</a>(Tag-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>());</div>
+<div class="line"><a name="l03238"></a><span class="lineno"> 3238</span>         }</div>
+<div class="line"><a name="l03239"></a><span class="lineno"> 3239</span>       }</div>
+<div class="line"><a name="l03240"></a><span class="lineno"> 3240</span>     }</div>
+<div class="line"><a name="l03241"></a><span class="lineno"> 3241</span>     </div>
+<div class="line"><a name="l03242"></a><span class="lineno"> 3242</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> Jmp_buf = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a5234c1d3dd1d5d3ae033b2f8f7f42d5b" title="C jmp_buf typedef type.">SPECIAL_TYPE_JMP_BUF</a>]) {</div>
+<div class="line"><a name="l03243"></a><span class="lineno"> 3243</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> Jmp_bufType = GetType(Jmp_buf);</div>
+<div class="line"><a name="l03244"></a><span class="lineno"> 3244</span>       <span class="keywordflow">if</span> (Jmp_bufType.<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="l03245"></a><span class="lineno"> 3245</span>         Error(<span class="stringliteral">"jmp_buf type is NULL"</span>);</div>
+<div class="line"><a name="l03246"></a><span class="lineno"> 3246</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03247"></a><span class="lineno"> 3247</span>       }</div>
+<div class="line"><a name="l03248"></a><span class="lineno"> 3248</span>       </div>
+<div class="line"><a name="l03249"></a><span class="lineno"> 3249</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.jmp_bufDecl) {</div>
+<div class="line"><a name="l03250"></a><span class="lineno"> 3250</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *Typedef = Jmp_bufType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TypedefType.html">TypedefType</a>>())</div>
+<div class="line"><a name="l03251"></a><span class="lineno"> 3251</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ad8ab980a7b9686070ce056052dddb6d7" title="Set the type for the C jmp_buf type.">setjmp_bufDecl</a>(Typedef->getDecl());</div>
+<div class="line"><a name="l03252"></a><span class="lineno"> 3252</span>         <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l03253"></a><span class="lineno"> 3253</span>           <span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *Tag = Jmp_bufType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TagType.html">TagType</a>>();</div>
+<div class="line"><a name="l03254"></a><span class="lineno"> 3254</span>           <span class="keywordflow">if</span> (!Tag) {</div>
+<div class="line"><a name="l03255"></a><span class="lineno"> 3255</span>             Error(<span class="stringliteral">"Invalid jmp_buf type in AST file"</span>);</div>
+<div class="line"><a name="l03256"></a><span class="lineno"> 3256</span>             <span class="keywordflow">return</span>;</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>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ad8ab980a7b9686070ce056052dddb6d7" title="Set the type for the C jmp_buf type.">setjmp_bufDecl</a>(Tag-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>());</div>
+<div class="line"><a name="l03259"></a><span class="lineno"> 3259</span>         }</div>
+<div class="line"><a name="l03260"></a><span class="lineno"> 3260</span>       }</div>
+<div class="line"><a name="l03261"></a><span class="lineno"> 3261</span>     }</div>
+<div class="line"><a name="l03262"></a><span class="lineno"> 3262</span>     </div>
+<div class="line"><a name="l03263"></a><span class="lineno"> 3263</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> Sigjmp_buf = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a7208b79f17567e6a58e8eeb6293d1986" title="C sigjmp_buf typedef type.">SPECIAL_TYPE_SIGJMP_BUF</a>]) {</div>
+<div class="line"><a name="l03264"></a><span class="lineno"> 3264</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> Sigjmp_bufType = GetType(Sigjmp_buf);</div>
+<div class="line"><a name="l03265"></a><span class="lineno"> 3265</span>       <span class="keywordflow">if</span> (Sigjmp_bufType.<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="l03266"></a><span class="lineno"> 3266</span>         Error(<span class="stringliteral">"sigjmp_buf type is NULL"</span>);</div>
+<div class="line"><a name="l03267"></a><span class="lineno"> 3267</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l03268"></a><span class="lineno"> 3268</span>       }</div>
+<div class="line"><a name="l03269"></a><span class="lineno"> 3269</span>       </div>
+<div class="line"><a name="l03270"></a><span class="lineno"> 3270</span>       <span class="keywordflow">if</span> (!<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.sigjmp_bufDecl) {</div>
+<div class="line"><a name="l03271"></a><span class="lineno"> 3271</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *Typedef = Sigjmp_bufType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TypedefType.html">TypedefType</a>>())</div>
+<div class="line"><a name="l03272"></a><span class="lineno"> 3272</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3b1656071d2c454d4af90fb5fb648ee5" title="Set the type for the C sigjmp_buf type.">setsigjmp_bufDecl</a>(Typedef->getDecl());</div>
+<div class="line"><a name="l03273"></a><span class="lineno"> 3273</span>         <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l03274"></a><span class="lineno"> 3274</span>           <span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *Tag = Sigjmp_bufType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TagType.html">TagType</a>>();</div>
+<div class="line"><a name="l03275"></a><span class="lineno"> 3275</span>           assert(Tag && <span class="stringliteral">"Invalid sigjmp_buf type in AST file"</span>);</div>
+<div class="line"><a name="l03276"></a><span class="lineno"> 3276</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3b1656071d2c454d4af90fb5fb648ee5" title="Set the type for the C sigjmp_buf type.">setsigjmp_bufDecl</a>(Tag-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>());</div>
+<div class="line"><a name="l03277"></a><span class="lineno"> 3277</span>         }</div>
+<div class="line"><a name="l03278"></a><span class="lineno"> 3278</span>       }</div>
+<div class="line"><a name="l03279"></a><span class="lineno"> 3279</span>     }</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">if</span> (<span class="keywordtype">unsigned</span> ObjCIdRedef</div>
+<div class="line"><a name="l03282"></a><span class="lineno"> 3282</span>           = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14aeebe2671fe279bed97101aa7f5dcb465" title="Objective-C "id" redefinition type.">SPECIAL_TYPE_OBJC_ID_REDEFINITION</a>]) {</div>
+<div class="line"><a name="l03283"></a><span class="lineno"> 3283</span>       <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCIdRedefinitionType.<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="l03284"></a><span class="lineno"> 3284</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCIdRedefinitionType = GetType(ObjCIdRedef);</div>
+<div class="line"><a name="l03285"></a><span class="lineno"> 3285</span>     }</div>
+<div class="line"><a name="l03286"></a><span class="lineno"> 3286</span> </div>
+<div class="line"><a name="l03287"></a><span class="lineno"> 3287</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> ObjCClassRedef</div>
+<div class="line"><a name="l03288"></a><span class="lineno"> 3288</span>           = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a952847a6d0c7c597d2d85f556a9232fe" title="Objective-C "Class" redefinition type.">SPECIAL_TYPE_OBJC_CLASS_REDEFINITION</a>]) {</div>
+<div class="line"><a name="l03289"></a><span class="lineno"> 3289</span>       <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCClassRedefinitionType.<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="l03290"></a><span class="lineno"> 3290</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCClassRedefinitionType = GetType(ObjCClassRedef);</div>
+<div class="line"><a name="l03291"></a><span class="lineno"> 3291</span>     }</div>
+<div class="line"><a name="l03292"></a><span class="lineno"> 3292</span> </div>
+<div class="line"><a name="l03293"></a><span class="lineno"> 3293</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> ObjCSelRedef</div>
+<div class="line"><a name="l03294"></a><span class="lineno"> 3294</span>           = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a2ddc79bdfd8a396952583974e250a444" title="Objective-C "SEL" redefinition type.">SPECIAL_TYPE_OBJC_SEL_REDEFINITION</a>]) {</div>
+<div class="line"><a name="l03295"></a><span class="lineno"> 3295</span>       <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCSelRedefinitionType.<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="l03296"></a><span class="lineno"> 3296</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ObjCSelRedefinitionType = GetType(ObjCSelRedef);</div>
+<div class="line"><a name="l03297"></a><span class="lineno"> 3297</span>     }</div>
+<div class="line"><a name="l03298"></a><span class="lineno"> 3298</span> </div>
+<div class="line"><a name="l03299"></a><span class="lineno"> 3299</span>     <span class="keywordflow">if</span> (<span class="keywordtype">unsigned</span> Ucontext_t = SpecialTypes[<a class="code" href="group__ASTAST.html#ggaaaeb7654607f0c2c2eec0a6acc4b8c14a3e4cc315a5487c19dea7d575c0ea9d9a" title="C ucontext_t typedef type.">SPECIAL_TYPE_UCONTEXT_T</a>]) {</div>
+<div class="line"><a name="l03300"></a><span class="lineno"> 3300</span>       <a class="code" href="classclang_1_1QualType.html">QualType</a> Ucontext_tType = GetType(Ucontext_t);</div>
+<div class="line"><a name="l03301"></a><span class="lineno"> 3301</span>       <span class="keywordflow">if</span> (Ucontext_tType.<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="l03302"></a><span class="lineno"> 3302</span>         Error(<span class="stringliteral">"ucontext_t type is NULL"</span>);</div>
+<div class="line"><a name="l03303"></a><span class="lineno"> 3303</span>         <span class="keywordflow">return</span>;</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>       <span class="keywordflow">if</span> (!<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.ucontext_tDecl) {</div>
+<div class="line"><a name="l03307"></a><span class="lineno"> 3307</span>         <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1TypedefType.html">TypedefType</a> *Typedef = Ucontext_tType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TypedefType.html">TypedefType</a>>())</div>
+<div class="line"><a name="l03308"></a><span class="lineno"> 3308</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a75353cd0cc487d748b089ffb23f6f687" title="Set the type for the C ucontext_t type.">setucontext_tDecl</a>(Typedef->getDecl());</div>
+<div class="line"><a name="l03309"></a><span class="lineno"> 3309</span>         <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l03310"></a><span class="lineno"> 3310</span>           <span class="keyword">const</span> <a class="code" href="classclang_1_1TagType.html">TagType</a> *Tag = Ucontext_tType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1TagType.html">TagType</a>>();</div>
+<div class="line"><a name="l03311"></a><span class="lineno"> 3311</span>           assert(Tag && <span class="stringliteral">"Invalid ucontext_t type in AST file"</span>);</div>
+<div class="line"><a name="l03312"></a><span class="lineno"> 3312</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a75353cd0cc487d748b089ffb23f6f687" title="Set the type for the C ucontext_t type.">setucontext_tDecl</a>(Tag-><a class="code" href="classclang_1_1TagType.html#a880aa28ffbb490e83117a9d3da077bdc">getDecl</a>());</div>
+<div class="line"><a name="l03313"></a><span class="lineno"> 3313</span>         }</div>
+<div class="line"><a name="l03314"></a><span class="lineno"> 3314</span>       }</div>
+<div class="line"><a name="l03315"></a><span class="lineno"> 3315</span>     }</div>
+<div class="line"><a name="l03316"></a><span class="lineno"> 3316</span>   }</div>
+<div class="line"><a name="l03317"></a><span class="lineno"> 3317</span>   </div>
+<div class="line"><a name="l03318"></a><span class="lineno"> 3318</span>   ReadPragmaDiagnosticMappings(<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a9038dcc99a0eb802f7d2686b5a9de271">getDiagnostics</a>());</div>
+<div class="line"><a name="l03319"></a><span class="lineno"> 3319</span> </div>
+<div class="line"><a name="l03320"></a><span class="lineno"> 3320</span>   <span class="comment">// If there were any CUDA special declarations, deserialize them.</span></div>
+<div class="line"><a name="l03321"></a><span class="lineno"> 3321</span>   <span class="keywordflow">if</span> (!CUDASpecialDeclRefs.empty()) {</div>
+<div class="line"><a name="l03322"></a><span class="lineno"> 3322</span>     assert(CUDASpecialDeclRefs.size() == 1 && <span class="stringliteral">"More decl refs than expected!"</span>);</div>
+<div class="line"><a name="l03323"></a><span class="lineno"> 3323</span>     <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abf783fe989283819fe34c82d23c0cbe2">setcudaConfigureCallDecl</a>(</div>
+<div class="line"><a name="l03324"></a><span class="lineno"> 3324</span>                            cast<FunctionDecl>(GetDecl(CUDASpecialDeclRefs[0])));</div>
+<div class="line"><a name="l03325"></a><span class="lineno"> 3325</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>   <span class="comment">// Re-export any modules that were imported by a non-module AST file.</span></div>
+<div class="line"><a name="l03328"></a><span class="lineno"> 3328</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = ImportedModules.size(); I != N; ++I) {</div>
+<div class="line"><a name="l03329"></a><span class="lineno"> 3329</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *Imported = getSubmodule(ImportedModules[I]))</div>
+<div class="line"><a name="l03330"></a><span class="lineno"> 3330</span>       makeModuleVisible(Imported, <a class="code" href="classclang_1_1Module.html#a1ca9cf81299c2f40c68d04f44eea8a67ab2042481b5eab6785bdbe0a928c7062a" title="All of the names in this module are visible.">Module::AllVisible</a>,</div>
+<div class="line"><a name="l03331"></a><span class="lineno"> 3331</span>                         <span class="comment">/*ImportLoc=*/</span><a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l03332"></a><span class="lineno"> 3332</span>                         <span class="comment">/*Complain=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l03333"></a><span class="lineno"> 3333</span>   }</div>
+<div class="line"><a name="l03334"></a><span class="lineno"> 3334</span>   ImportedModules.clear();</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> </div>
+<div class="line"><a name="l03337"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a465f49446e09d85908708ffc53d1d0a9"> 3337</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#a465f49446e09d85908708ffc53d1d0a9" title="Finalizes the AST reader's state before writing an AST file to disk.">ASTReader::finalizeForWriting</a>() {</div>
+<div class="line"><a name="l03338"></a><span class="lineno"> 3338</span>   <span class="keywordflow">for</span> (HiddenNamesMapType::iterator Hidden = HiddenNamesMap.begin(),</div>
+<div class="line"><a name="l03339"></a><span class="lineno"> 3339</span>                                  HiddenEnd = HiddenNamesMap.end();</div>
+<div class="line"><a name="l03340"></a><span class="lineno"> 3340</span>        Hidden != HiddenEnd; ++Hidden) {</div>
+<div class="line"><a name="l03341"></a><span class="lineno"> 3341</span>     makeNamesVisible(Hidden->second, Hidden->first);</div>
+<div class="line"><a name="l03342"></a><span class="lineno"> 3342</span>   }</div>
+<div class="line"><a name="l03343"></a><span class="lineno"> 3343</span>   HiddenNamesMap.clear();</div>
+<div class="line"><a name="l03344"></a><span class="lineno"> 3344</span> }</div>
+<div class="line"><a name="l03345"></a><span class="lineno"> 3345</span> <span class="comment"></span></div>
+<div class="line"><a name="l03346"></a><span class="lineno"> 3346</span> <span class="comment">/// \brief Given a cursor at the start of an AST file, scan ahead and drop the</span></div>
+<div class="line"><a name="l03347"></a><span class="lineno"> 3347</span> <span class="comment">/// cursor into the start of the given block ID, returning false on success and</span></div>
+<div class="line"><a name="l03348"></a><span class="lineno"> 3348</span> <span class="comment">/// true on failure.</span></div>
+<div class="line"><a name="l03349"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#aeca17e31436332f05545c021f107dd11"> 3349</a></span> <span class="comment"></span><span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="ASTReader_8cpp.html#aeca17e31436332f05545c021f107dd11" title="Given a cursor at the start of an AST file, scan ahead and drop the cursor into the start of the give...">SkipCursorToBlock</a>(BitstreamCursor &Cursor, <span class="keywordtype">unsigned</span> BlockID) {</div>
+<div class="line"><a name="l03350"></a><span class="lineno"> 3350</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l03351"></a><span class="lineno"> 3351</span>     llvm::BitstreamEntry Entry = Cursor.advance();</div>
+<div class="line"><a name="l03352"></a><span class="lineno"> 3352</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l03353"></a><span class="lineno"> 3353</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l03354"></a><span class="lineno"> 3354</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l03355"></a><span class="lineno"> 3355</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03356"></a><span class="lineno"> 3356</span>         </div>
+<div class="line"><a name="l03357"></a><span class="lineno"> 3357</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l03358"></a><span class="lineno"> 3358</span>       <span class="comment">// Ignore top-level records.</span></div>
+<div class="line"><a name="l03359"></a><span class="lineno"> 3359</span>       Cursor.skipRecord(Entry.ID);</div>
+<div class="line"><a name="l03360"></a><span class="lineno"> 3360</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03361"></a><span class="lineno"> 3361</span>         </div>
+<div class="line"><a name="l03362"></a><span class="lineno"> 3362</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock:</div>
+<div class="line"><a name="l03363"></a><span class="lineno"> 3363</span>       <span class="keywordflow">if</span> (Entry.ID == BlockID) {</div>
+<div class="line"><a name="l03364"></a><span class="lineno"> 3364</span>         <span class="keywordflow">if</span> (Cursor.EnterSubBlock(BlockID))</div>
+<div class="line"><a name="l03365"></a><span class="lineno"> 3365</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03366"></a><span class="lineno"> 3366</span>         <span class="comment">// Found it!</span></div>
+<div class="line"><a name="l03367"></a><span class="lineno"> 3367</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03368"></a><span class="lineno"> 3368</span>       }</div>
+<div class="line"><a name="l03369"></a><span class="lineno"> 3369</span>       </div>
+<div class="line"><a name="l03370"></a><span class="lineno"> 3370</span>       <span class="keywordflow">if</span> (Cursor.SkipBlock())</div>
+<div class="line"><a name="l03371"></a><span class="lineno"> 3371</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03372"></a><span class="lineno"> 3372</span>     }</div>
+<div class="line"><a name="l03373"></a><span class="lineno"> 3373</span>   }</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> <span class="comment"></span></div>
+<div class="line"><a name="l03376"></a><span class="lineno"> 3376</span> <span class="comment">/// \brief Retrieve the name of the original source file name</span></div>
+<div class="line"><a name="l03377"></a><span class="lineno"> 3377</span> <span class="comment">/// directly from the AST file, without actually loading the AST</span></div>
+<div class="line"><a name="l03378"></a><span class="lineno"> 3378</span> <span class="comment">/// file.</span></div>
+<div class="line"><a name="l03379"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a794a223efaa8d4b6120ee6bffb6b08c8"> 3379</a></span> <span class="comment"></span>std::string <a class="code" href="classclang_1_1ASTReader.html#a9e432550deca2299b965facd32fd00f0" title="Retrieve the name of the original source file name for the primary module file.">ASTReader::getOriginalSourceFile</a>(<span class="keyword">const</span> std::string &ASTFileName,</div>
+<div class="line"><a name="l03380"></a><span class="lineno"> 3380</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,</div>
+<div class="line"><a name="l03381"></a><span class="lineno"> 3381</span>                                              <a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> &Diags) {</div>
+<div class="line"><a name="l03382"></a><span class="lineno"> 3382</span>   <span class="comment">// Open the AST file.</span></div>
+<div class="line"><a name="l03383"></a><span class="lineno"> 3383</span>   std::string ErrStr;</div>
+<div class="line"><a name="l03384"></a><span class="lineno"> 3384</span>   <a class="code" href="classllvm_1_1OwningPtr.html">OwningPtr<llvm::MemoryBuffer></a> Buffer;</div>
+<div class="line"><a name="l03385"></a><span class="lineno"> 3385</span>   Buffer.reset(FileMgr.<a class="code" href="classclang_1_1FileManager.html#a4aedd4bd4b3dc2a8df7f3dba692464a8" title="Open the specified file as a MemoryBuffer, returning a new MemoryBuffer if successful, otherwise returning null.">getBufferForFile</a>(ASTFileName, &ErrStr));</div>
+<div class="line"><a name="l03386"></a><span class="lineno"> 3386</span>   <span class="keywordflow">if</span> (!Buffer) {</div>
+<div class="line"><a name="l03387"></a><span class="lineno"> 3387</span>     Diags.<a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_fe_unable_to_read_pch_file) << ASTFileName << ErrStr;</div>
+<div class="line"><a name="l03388"></a><span class="lineno"> 3388</span>     <span class="keywordflow">return</span> std::string();</div>
+<div class="line"><a name="l03389"></a><span class="lineno"> 3389</span>   }</div>
+<div class="line"><a name="l03390"></a><span class="lineno"> 3390</span> </div>
+<div class="line"><a name="l03391"></a><span class="lineno"> 3391</span>   <span class="comment">// Initialize the stream</span></div>
+<div class="line"><a name="l03392"></a><span class="lineno"> 3392</span>   llvm::BitstreamReader StreamFile;</div>
+<div class="line"><a name="l03393"></a><span class="lineno"> 3393</span>   BitstreamCursor Stream;</div>
+<div class="line"><a name="l03394"></a><span class="lineno"> 3394</span>   StreamFile.init((<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Buffer->getBufferStart(),</div>
+<div class="line"><a name="l03395"></a><span class="lineno"> 3395</span>                   (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Buffer->getBufferEnd());</div>
+<div class="line"><a name="l03396"></a><span class="lineno"> 3396</span>   Stream.init(StreamFile);</div>
+<div class="line"><a name="l03397"></a><span class="lineno"> 3397</span> </div>
+<div class="line"><a name="l03398"></a><span class="lineno"> 3398</span>   <span class="comment">// Sniff for the signature.</span></div>
+<div class="line"><a name="l03399"></a><span class="lineno"> 3399</span>   <span class="keywordflow">if</span> (Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03400"></a><span class="lineno"> 3400</span>       Stream.Read(8) != <span class="charliteral">'P'</span> ||</div>
+<div class="line"><a name="l03401"></a><span class="lineno"> 3401</span>       Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03402"></a><span class="lineno"> 3402</span>       Stream.Read(8) != <span class="charliteral">'H'</span>) {</div>
+<div class="line"><a name="l03403"></a><span class="lineno"> 3403</span>     Diags.<a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_fe_not_a_pch_file) << ASTFileName;</div>
+<div class="line"><a name="l03404"></a><span class="lineno"> 3404</span>     <span class="keywordflow">return</span> std::string();</div>
+<div class="line"><a name="l03405"></a><span class="lineno"> 3405</span>   }</div>
+<div class="line"><a name="l03406"></a><span class="lineno"> 3406</span>   </div>
+<div class="line"><a name="l03407"></a><span class="lineno"> 3407</span>   <span class="comment">// Scan for the CONTROL_BLOCK_ID block.</span></div>
+<div class="line"><a name="l03408"></a><span class="lineno"> 3408</span>   <span class="keywordflow">if</span> (<a class="code" href="ASTReader_8cpp.html#aeca17e31436332f05545c021f107dd11" title="Given a cursor at the start of an AST file, scan ahead and drop the cursor into the start of the give...">SkipCursorToBlock</a>(Stream, <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>)) {</div>
+<div class="line"><a name="l03409"></a><span class="lineno"> 3409</span>     Diags.<a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_fe_pch_malformed_block) << ASTFileName;</div>
+<div class="line"><a name="l03410"></a><span class="lineno"> 3410</span>     <span class="keywordflow">return</span> std::string();</div>
+<div class="line"><a name="l03411"></a><span class="lineno"> 3411</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">// Scan for ORIGINAL_FILE inside the control block.</span></div>
+<div class="line"><a name="l03414"></a><span class="lineno"> 3414</span>   <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l03415"></a><span class="lineno"> 3415</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l03416"></a><span class="lineno"> 3416</span>     llvm::BitstreamEntry Entry = Stream.advanceSkippingSubblocks();</div>
+<div class="line"><a name="l03417"></a><span class="lineno"> 3417</span>     <span class="keywordflow">if</span> (Entry.Kind == llvm::BitstreamEntry::EndBlock)</div>
+<div class="line"><a name="l03418"></a><span class="lineno"> 3418</span>       <span class="keywordflow">return</span> std::string();</div>
+<div class="line"><a name="l03419"></a><span class="lineno"> 3419</span>     </div>
+<div class="line"><a name="l03420"></a><span class="lineno"> 3420</span>     <span class="keywordflow">if</span> (Entry.Kind != llvm::BitstreamEntry::Record) {</div>
+<div class="line"><a name="l03421"></a><span class="lineno"> 3421</span>       Diags.<a class="code" href="classclang_1_1DiagnosticsEngine.html#a03686c59442babd725417ff740b397b4" title="Issue the message to the client.">Report</a>(diag::err_fe_pch_malformed_block) << ASTFileName;</div>
+<div class="line"><a name="l03422"></a><span class="lineno"> 3422</span>       <span class="keywordflow">return</span> std::string();</div>
+<div class="line"><a name="l03423"></a><span class="lineno"> 3423</span>     }</div>
+<div class="line"><a name="l03424"></a><span class="lineno"> 3424</span>     </div>
+<div class="line"><a name="l03425"></a><span class="lineno"> 3425</span>     Record.clear();</div>
+<div class="line"><a name="l03426"></a><span class="lineno"> 3426</span>     StringRef Blob;</div>
+<div class="line"><a name="l03427"></a><span class="lineno"> 3427</span>     <span class="keywordflow">if</span> (Stream.readRecord(Entry.ID, Record, &Blob) == <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="l03428"></a><span class="lineno"> 3428</span>       <span class="keywordflow">return</span> Blob.str();</div>
+<div class="line"><a name="l03429"></a><span class="lineno"> 3429</span>   }</div>
+<div class="line"><a name="l03430"></a><span class="lineno"> 3430</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> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l03433"></a><span class="lineno"> 3433</span>   <span class="keyword">class </span>SimplePCHValidator : <span class="keyword">public</span> <a class="code" href="classclang_1_1ASTReaderListener.html" title="Abstract interface for callback invocations by the ASTReader.">ASTReaderListener</a> {</div>
+<div class="line"><a name="l03434"></a><span class="lineno"> 3434</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> &ExistingLangOpts;</div>
+<div class="line"><a name="l03435"></a><span class="lineno"> 3435</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &ExistingTargetOpts;</div>
+<div class="line"><a name="l03436"></a><span class="lineno"> 3436</span>     <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &ExistingPPOpts;</div>
+<div class="line"><a name="l03437"></a><span class="lineno"> 3437</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;</div>
+<div class="line"><a name="l03438"></a><span class="lineno"> 3438</span>     </div>
+<div class="line"><a name="l03439"></a><span class="lineno"> 3439</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l03440"></a><span class="lineno"> 3440</span>     SimplePCHValidator(<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> &ExistingLangOpts,</div>
+<div class="line"><a name="l03441"></a><span class="lineno"> 3441</span>                        <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &ExistingTargetOpts,</div>
+<div class="line"><a name="l03442"></a><span class="lineno"> 3442</span>                        <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &ExistingPPOpts,</div>
+<div class="line"><a name="l03443"></a><span class="lineno"> 3443</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)</div>
+<div class="line"><a name="l03444"></a><span class="lineno"> 3444</span>       : ExistingLangOpts(ExistingLangOpts),</div>
+<div class="line"><a name="l03445"></a><span class="lineno"> 3445</span>         ExistingTargetOpts(ExistingTargetOpts),</div>
+<div class="line"><a name="l03446"></a><span class="lineno"> 3446</span>         ExistingPPOpts(ExistingPPOpts),</div>
+<div class="line"><a name="l03447"></a><span class="lineno"> 3447</span>         FileMgr(FileMgr)</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>     }</div>
+<div class="line"><a name="l03450"></a><span class="lineno"> 3450</span> </div>
+<div class="line"><a name="l03451"></a><span class="lineno"> 3451</span>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> ReadLanguageOptions(<span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts,</div>
+<div class="line"><a name="l03452"></a><span class="lineno"> 3452</span>                                      <span class="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l03453"></a><span class="lineno"> 3453</span>       <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#a54029a9dab784b6c9b12c5ea45e3b88b" title="Compare the given set of language options against an existing set of language options.">checkLanguageOptions</a>(ExistingLangOpts, LangOpts, 0);</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="keyword">virtual</span> <span class="keywordtype">bool</span> ReadTargetOptions(<span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &TargetOpts,</div>
+<div class="line"><a name="l03456"></a><span class="lineno"> 3456</span>                                    <span class="keywordtype">bool</span> Complain) {</div>
+<div class="line"><a name="l03457"></a><span class="lineno"> 3457</span>       <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#ab250b756432ff50e3d2858a62d2ce5a8" title="Compare the given set of target options against an existing set of target options.">checkTargetOptions</a>(ExistingTargetOpts, TargetOpts, 0);</div>
+<div class="line"><a name="l03458"></a><span class="lineno"> 3458</span>     }</div>
+<div class="line"><a name="l03459"></a><span class="lineno"> 3459</span>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> ReadPreprocessorOptions(<span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts,</div>
+<div class="line"><a name="l03460"></a><span class="lineno"> 3460</span>                                          <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l03461"></a><span class="lineno"> 3461</span>                                          std::string &SuggestedPredefines) {</div>
+<div class="line"><a name="l03462"></a><span class="lineno"> 3462</span>       <span class="keywordflow">return</span> <a class="code" href="ASTReader_8cpp.html#ac52041bb817074de73114c5084656afc" title="Check the preprocessor options deserialized from the control block against the preprocessor options i...">checkPreprocessorOptions</a>(ExistingPPOpts, PPOpts, 0, FileMgr,</div>
+<div class="line"><a name="l03463"></a><span class="lineno"> 3463</span>                                       SuggestedPredefines, ExistingLangOpts);</div>
+<div class="line"><a name="l03464"></a><span class="lineno"> 3464</span>     }</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> }</div>
+<div class="line"><a name="l03467"></a><span class="lineno"> 3467</span> </div>
+<div class="line"><a name="l03468"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a5ec941b1cf7469fcaf7353cad8b86a81"> 3468</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#a5ec941b1cf7469fcaf7353cad8b86a81" title="Read the control block for the named AST file.">ASTReader::readASTFileControlBlock</a>(StringRef Filename,</div>
+<div class="line"><a name="l03469"></a><span class="lineno"> 3469</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,</div>
+<div class="line"><a name="l03470"></a><span class="lineno"> 3470</span>                                         <a class="code" href="classclang_1_1ASTReaderListener.html" title="Abstract interface for callback invocations by the ASTReader.">ASTReaderListener</a> &Listener) {</div>
+<div class="line"><a name="l03471"></a><span class="lineno"> 3471</span>   <span class="comment">// Open the AST file.</span></div>
+<div class="line"><a name="l03472"></a><span class="lineno"> 3472</span>   std::string ErrStr;</div>
+<div class="line"><a name="l03473"></a><span class="lineno"> 3473</span>   <a class="code" href="classllvm_1_1OwningPtr.html">OwningPtr<llvm::MemoryBuffer></a> Buffer;</div>
+<div class="line"><a name="l03474"></a><span class="lineno"> 3474</span>   Buffer.reset(FileMgr.<a class="code" href="classclang_1_1FileManager.html#a4aedd4bd4b3dc2a8df7f3dba692464a8" title="Open the specified file as a MemoryBuffer, returning a new MemoryBuffer if successful, otherwise returning null.">getBufferForFile</a>(Filename, &ErrStr));</div>
+<div class="line"><a name="l03475"></a><span class="lineno"> 3475</span>   <span class="keywordflow">if</span> (!Buffer) {</div>
+<div class="line"><a name="l03476"></a><span class="lineno"> 3476</span>     <span class="keywordflow">return</span> <span class="keyword">true</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> </div>
+<div class="line"><a name="l03479"></a><span class="lineno"> 3479</span>   <span class="comment">// Initialize the stream</span></div>
+<div class="line"><a name="l03480"></a><span class="lineno"> 3480</span>   llvm::BitstreamReader StreamFile;</div>
+<div class="line"><a name="l03481"></a><span class="lineno"> 3481</span>   BitstreamCursor Stream;</div>
+<div class="line"><a name="l03482"></a><span class="lineno"> 3482</span>   StreamFile.init((<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Buffer->getBufferStart(),</div>
+<div class="line"><a name="l03483"></a><span class="lineno"> 3483</span>                   (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *)Buffer->getBufferEnd());</div>
+<div class="line"><a name="l03484"></a><span class="lineno"> 3484</span>   Stream.init(StreamFile);</div>
+<div class="line"><a name="l03485"></a><span class="lineno"> 3485</span> </div>
+<div class="line"><a name="l03486"></a><span class="lineno"> 3486</span>   <span class="comment">// Sniff for the signature.</span></div>
+<div class="line"><a name="l03487"></a><span class="lineno"> 3487</span>   <span class="keywordflow">if</span> (Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03488"></a><span class="lineno"> 3488</span>       Stream.Read(8) != <span class="charliteral">'P'</span> ||</div>
+<div class="line"><a name="l03489"></a><span class="lineno"> 3489</span>       Stream.Read(8) != <span class="charliteral">'C'</span> ||</div>
+<div class="line"><a name="l03490"></a><span class="lineno"> 3490</span>       Stream.Read(8) != <span class="charliteral">'H'</span>) {</div>
+<div class="line"><a name="l03491"></a><span class="lineno"> 3491</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03492"></a><span class="lineno"> 3492</span>   }</div>
+<div class="line"><a name="l03493"></a><span class="lineno"> 3493</span> </div>
+<div class="line"><a name="l03494"></a><span class="lineno"> 3494</span>   <span class="comment">// Scan for the CONTROL_BLOCK_ID block.</span></div>
+<div class="line"><a name="l03495"></a><span class="lineno"> 3495</span>   <span class="keywordflow">if</span> (<a class="code" href="ASTReader_8cpp.html#aeca17e31436332f05545c021f107dd11" title="Given a cursor at the start of an AST file, scan ahead and drop the cursor into the start of the give...">SkipCursorToBlock</a>(Stream, <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>))</div>
+<div class="line"><a name="l03496"></a><span class="lineno"> 3496</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03497"></a><span class="lineno"> 3497</span> </div>
+<div class="line"><a name="l03498"></a><span class="lineno"> 3498</span>   <span class="keywordtype">bool</span> NeedsInputFiles = Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#a1b1828030e669898a9be899c4e3328ff" title="Returns true if this ASTReaderListener wants to receive the input files of the AST file via visitInpu...">needsInputFileVisitation</a>();</div>
+<div class="line"><a name="l03499"></a><span class="lineno"> 3499</span>   BitstreamCursor InputFilesCursor;</div>
+<div class="line"><a name="l03500"></a><span class="lineno"> 3500</span>   <span class="keywordflow">if</span> (NeedsInputFiles) {</div>
+<div class="line"><a name="l03501"></a><span class="lineno"> 3501</span>     InputFilesCursor = Stream;</div>
+<div class="line"><a name="l03502"></a><span class="lineno"> 3502</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTReader_8cpp.html#aeca17e31436332f05545c021f107dd11" title="Given a cursor at the start of an AST file, scan ahead and drop the cursor into the start of the give...">SkipCursorToBlock</a>(InputFilesCursor, <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>))</div>
+<div class="line"><a name="l03503"></a><span class="lineno"> 3503</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03504"></a><span class="lineno"> 3504</span> </div>
+<div class="line"><a name="l03505"></a><span class="lineno"> 3505</span>     <span class="comment">// Read the abbreviations</span></div>
+<div class="line"><a name="l03506"></a><span class="lineno"> 3506</span>     <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l03507"></a><span class="lineno"> 3507</span>       uint64_t <a class="code" href="namespaceclang_1_1io.html#ae0bbdf4a2b076935546931e52d48d29b">Offset</a> = InputFilesCursor.GetCurrentBitNo();</div>
+<div class="line"><a name="l03508"></a><span class="lineno"> 3508</span>       <span class="keywordtype">unsigned</span> Code = InputFilesCursor.ReadCode();</div>
+<div class="line"><a name="l03509"></a><span class="lineno"> 3509</span> </div>
+<div class="line"><a name="l03510"></a><span class="lineno"> 3510</span>       <span class="comment">// We expect all abbrevs to be at the start of the block.</span></div>
+<div class="line"><a name="l03511"></a><span class="lineno"> 3511</span>       <span class="keywordflow">if</span> (Code != llvm::bitc::DEFINE_ABBREV) {</div>
+<div class="line"><a name="l03512"></a><span class="lineno"> 3512</span>         InputFilesCursor.JumpToBit(Offset);</div>
+<div class="line"><a name="l03513"></a><span class="lineno"> 3513</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03514"></a><span class="lineno"> 3514</span>       }</div>
+<div class="line"><a name="l03515"></a><span class="lineno"> 3515</span>       InputFilesCursor.ReadAbbrevRecord();</div>
+<div class="line"><a name="l03516"></a><span class="lineno"> 3516</span>     }</div>
+<div class="line"><a name="l03517"></a><span class="lineno"> 3517</span>   }</div>
+<div class="line"><a name="l03518"></a><span class="lineno"> 3518</span>   </div>
+<div class="line"><a name="l03519"></a><span class="lineno"> 3519</span>   <span class="comment">// Scan for ORIGINAL_FILE inside the control block.</span></div>
+<div class="line"><a name="l03520"></a><span class="lineno"> 3520</span>   <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l03521"></a><span class="lineno"> 3521</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l03522"></a><span class="lineno"> 3522</span>     llvm::BitstreamEntry Entry = Stream.advanceSkippingSubblocks();</div>
+<div class="line"><a name="l03523"></a><span class="lineno"> 3523</span>     <span class="keywordflow">if</span> (Entry.Kind == llvm::BitstreamEntry::EndBlock)</div>
+<div class="line"><a name="l03524"></a><span class="lineno"> 3524</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03525"></a><span class="lineno"> 3525</span>     </div>
+<div class="line"><a name="l03526"></a><span class="lineno"> 3526</span>     <span class="keywordflow">if</span> (Entry.Kind != llvm::BitstreamEntry::Record)</div>
+<div class="line"><a name="l03527"></a><span class="lineno"> 3527</span>       <span class="keywordflow">return</span> <span class="keyword">true</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>     Record.clear();</div>
+<div class="line"><a name="l03530"></a><span class="lineno"> 3530</span>     StringRef Blob;</div>
+<div class="line"><a name="l03531"></a><span class="lineno"> 3531</span>     <span class="keywordtype">unsigned</span> RecCode = Stream.readRecord(Entry.ID, Record, &Blob);</div>
+<div class="line"><a name="l03532"></a><span class="lineno"> 3532</span>     <span class="keywordflow">switch</span> ((<a class="code" href="namespaceclang_1_1serialization.html#aa0c5209369854f3f8c1f292679199b0d" title="Record types that occur within the control block.">ControlRecordTypes</a>)RecCode) {</div>
+<div class="line"><a name="l03533"></a><span class="lineno"> 3533</span>     <span class="keywordflow">case</span> <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="l03534"></a><span class="lineno"> 3534</span>       <span class="keywordflow">if</span> (Record[0] != <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="l03535"></a><span class="lineno"> 3535</span>         <span class="keywordflow">return</span> <span class="keyword">true</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>       <span class="keywordflow">if</span> (Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#adbfe4664363bd038b84886c51c4e04c3" title="Receives the full Clang version information.">ReadFullVersionInformation</a>(Blob))</div>
+<div class="line"><a name="l03538"></a><span class="lineno"> 3538</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03539"></a><span class="lineno"> 3539</span>       </div>
+<div class="line"><a name="l03540"></a><span class="lineno"> 3540</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03541"></a><span class="lineno"> 3541</span>     }</div>
+<div class="line"><a name="l03542"></a><span class="lineno"> 3542</span>     <span class="keywordflow">case</span> <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="l03543"></a><span class="lineno"> 3543</span>       <span class="keywordflow">if</span> (ParseLanguageOptions(Record, <span class="keyword">false</span>, Listener))</div>
+<div class="line"><a name="l03544"></a><span class="lineno"> 3544</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03545"></a><span class="lineno"> 3545</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03546"></a><span class="lineno"> 3546</span> </div>
+<div class="line"><a name="l03547"></a><span class="lineno"> 3547</span>     <span class="keywordflow">case</span> <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="l03548"></a><span class="lineno"> 3548</span>       <span class="keywordflow">if</span> (ParseTargetOptions(Record, <span class="keyword">false</span>, Listener))</div>
+<div class="line"><a name="l03549"></a><span class="lineno"> 3549</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03550"></a><span class="lineno"> 3550</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03551"></a><span class="lineno"> 3551</span> </div>
+<div class="line"><a name="l03552"></a><span class="lineno"> 3552</span>     <span class="keywordflow">case</span> <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="l03553"></a><span class="lineno"> 3553</span>       <span class="keywordflow">if</span> (ParseDiagnosticOptions(Record, <span class="keyword">false</span>, Listener))</div>
+<div class="line"><a name="l03554"></a><span class="lineno"> 3554</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03555"></a><span class="lineno"> 3555</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03556"></a><span class="lineno"> 3556</span> </div>
+<div class="line"><a name="l03557"></a><span class="lineno"> 3557</span>     <span class="keywordflow">case</span> <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="l03558"></a><span class="lineno"> 3558</span>       <span class="keywordflow">if</span> (ParseFileSystemOptions(Record, <span class="keyword">false</span>, Listener))</div>
+<div class="line"><a name="l03559"></a><span class="lineno"> 3559</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03560"></a><span class="lineno"> 3560</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03561"></a><span class="lineno"> 3561</span> </div>
+<div class="line"><a name="l03562"></a><span class="lineno"> 3562</span>     <span class="keywordflow">case</span> <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="l03563"></a><span class="lineno"> 3563</span>       <span class="keywordflow">if</span> (ParseHeaderSearchOptions(Record, <span class="keyword">false</span>, Listener))</div>
+<div class="line"><a name="l03564"></a><span class="lineno"> 3564</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03565"></a><span class="lineno"> 3565</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03566"></a><span class="lineno"> 3566</span> </div>
+<div class="line"><a name="l03567"></a><span class="lineno"> 3567</span>     <span class="keywordflow">case</span> <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="l03568"></a><span class="lineno"> 3568</span>       std::string IgnoredSuggestedPredefines;</div>
+<div class="line"><a name="l03569"></a><span class="lineno"> 3569</span>       <span class="keywordflow">if</span> (ParsePreprocessorOptions(Record, <span class="keyword">false</span>, Listener,</div>
+<div class="line"><a name="l03570"></a><span class="lineno"> 3570</span>                                    IgnoredSuggestedPredefines))</div>
+<div class="line"><a name="l03571"></a><span class="lineno"> 3571</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03572"></a><span class="lineno"> 3572</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03573"></a><span class="lineno"> 3573</span>     }</div>
+<div class="line"><a name="l03574"></a><span class="lineno"> 3574</span> </div>
+<div class="line"><a name="l03575"></a><span class="lineno"> 3575</span>     <span class="keywordflow">case</span> <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="l03576"></a><span class="lineno"> 3576</span>       <span class="keywordflow">if</span> (!NeedsInputFiles)</div>
+<div class="line"><a name="l03577"></a><span class="lineno"> 3577</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03578"></a><span class="lineno"> 3578</span> </div>
+<div class="line"><a name="l03579"></a><span class="lineno"> 3579</span>       <span class="keywordtype">unsigned</span> NumInputFiles = Record[0];</div>
+<div class="line"><a name="l03580"></a><span class="lineno"> 3580</span>       <span class="keywordtype">unsigned</span> NumUserFiles = Record[1];</div>
+<div class="line"><a name="l03581"></a><span class="lineno"> 3581</span>       <span class="keyword">const</span> uint32_t *InputFileOffs = (<span class="keyword">const</span> uint32_t *)Blob.data();</div>
+<div class="line"><a name="l03582"></a><span class="lineno"> 3582</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumInputFiles; ++I) {</div>
+<div class="line"><a name="l03583"></a><span class="lineno"> 3583</span>         <span class="comment">// Go find this input file.</span></div>
+<div class="line"><a name="l03584"></a><span class="lineno"> 3584</span>         <span class="keywordtype">bool</span> isSystemFile = I >= NumUserFiles;</div>
+<div class="line"><a name="l03585"></a><span class="lineno"> 3585</span>         BitstreamCursor &Cursor = InputFilesCursor;</div>
+<div class="line"><a name="l03586"></a><span class="lineno"> 3586</span>         <a class="code" href="structclang_1_1SavedStreamPosition.html" title="Helper class that saves the current stream position and then restores it when destroyed.">SavedStreamPosition</a> SavedPosition(Cursor);</div>
+<div class="line"><a name="l03587"></a><span class="lineno"> 3587</span>         Cursor.JumpToBit(InputFileOffs[I]);</div>
+<div class="line"><a name="l03588"></a><span class="lineno"> 3588</span> </div>
+<div class="line"><a name="l03589"></a><span class="lineno"> 3589</span>         <span class="keywordtype">unsigned</span> Code = Cursor.ReadCode();</div>
+<div class="line"><a name="l03590"></a><span class="lineno"> 3590</span>         <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l03591"></a><span class="lineno"> 3591</span>         StringRef Blob;</div>
+<div class="line"><a name="l03592"></a><span class="lineno"> 3592</span>         <span class="keywordtype">bool</span> shouldContinue = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03593"></a><span class="lineno"> 3593</span>         <span class="keywordflow">switch</span> ((<a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabaf" title="Record types that occur within the input-files block inside the control block.">InputFileRecordTypes</a>)Cursor.readRecord(Code, Record, &Blob)) {</div>
+<div class="line"><a name="l03594"></a><span class="lineno"> 3594</span>         <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#ab041e7364838b57367dbe8777fecabafa89ed64576af15d65e2cf65cf8bc0c5e2" title="An input file.">INPUT_FILE</a>:</div>
+<div class="line"><a name="l03595"></a><span class="lineno"> 3595</span>           shouldContinue = Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#a39566ebdcff6b23fbf7c05ee25927c0b" title="if needsInputFileVisitation returns true, this is called for each input file of the AST file...">visitInputFile</a>(Blob, isSystemFile);</div>
+<div class="line"><a name="l03596"></a><span class="lineno"> 3596</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03597"></a><span class="lineno"> 3597</span>         }</div>
+<div class="line"><a name="l03598"></a><span class="lineno"> 3598</span>         <span class="keywordflow">if</span> (!shouldContinue)</div>
+<div class="line"><a name="l03599"></a><span class="lineno"> 3599</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03600"></a><span class="lineno"> 3600</span>       }</div>
+<div class="line"><a name="l03601"></a><span class="lineno"> 3601</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03602"></a><span class="lineno"> 3602</span>     }</div>
+<div class="line"><a name="l03603"></a><span class="lineno"> 3603</span> </div>
+<div class="line"><a name="l03604"></a><span class="lineno"> 3604</span>     <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l03605"></a><span class="lineno"> 3605</span>       <span class="comment">// No other validation to perform.</span></div>
+<div class="line"><a name="l03606"></a><span class="lineno"> 3606</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03607"></a><span class="lineno"> 3607</span>     }</div>
+<div class="line"><a name="l03608"></a><span class="lineno"> 3608</span>   }</div>
+<div class="line"><a name="l03609"></a><span class="lineno"> 3609</span> }</div>
+<div class="line"><a name="l03610"></a><span class="lineno"> 3610</span> </div>
+<div class="line"><a name="l03611"></a><span class="lineno"> 3611</span> </div>
+<div class="line"><a name="l03612"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a0113093938c86545e57f83bbf94e5a4f"> 3612</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTReader.html#a0113093938c86545e57f83bbf94e5a4f" title="Determine whether the given AST file is acceptable to load into a translation unit with the given lan...">ASTReader::isAcceptableASTFile</a>(StringRef Filename,</div>
+<div class="line"><a name="l03613"></a><span class="lineno"> 3613</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,</div>
+<div class="line"><a name="l03614"></a><span class="lineno"> 3614</span>                                     <span class="keyword">const</span> <a class="code" href="classclang_1_1LangOptions.html" title="Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...">LangOptions</a> &LangOpts,</div>
+<div class="line"><a name="l03615"></a><span class="lineno"> 3615</span>                                     <span class="keyword">const</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> &TargetOpts,</div>
+<div class="line"><a name="l03616"></a><span class="lineno"> 3616</span>                                     <span class="keyword">const</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> &PPOpts) {</div>
+<div class="line"><a name="l03617"></a><span class="lineno"> 3617</span>   SimplePCHValidator validator(LangOpts, TargetOpts, PPOpts, FileMgr);</div>
+<div class="line"><a name="l03618"></a><span class="lineno"> 3618</span>   <span class="keywordflow">return</span> !readASTFileControlBlock(Filename, FileMgr, validator);</div>
+<div class="line"><a name="l03619"></a><span class="lineno"> 3619</span> }</div>
+<div class="line"><a name="l03620"></a><span class="lineno"> 3620</span> </div>
+<div class="line"><a name="l03621"></a><span class="lineno"> 3621</span> <span class="keywordtype">bool</span> ASTReader::ReadSubmoduleBlock(ModuleFile &F) {</div>
+<div class="line"><a name="l03622"></a><span class="lineno"> 3622</span>   <span class="comment">// Enter the submodule block.</span></div>
+<div class="line"><a name="l03623"></a><span class="lineno"> 3623</span>   <span class="keywordflow">if</span> (F.Stream.EnterSubBlock(<a class="code" href="namespaceclang_1_1serialization.html#a6a24bf341e02d138c55340635c2c4118a14912d6f1fd55657162378580af7dcca" title="The block containing the submodule structure.">SUBMODULE_BLOCK_ID</a>)) {</div>
+<div class="line"><a name="l03624"></a><span class="lineno"> 3624</span>     Error(<span class="stringliteral">"malformed submodule block record in AST file"</span>);</div>
+<div class="line"><a name="l03625"></a><span class="lineno"> 3625</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03626"></a><span class="lineno"> 3626</span>   }</div>
+<div class="line"><a name="l03627"></a><span class="lineno"> 3627</span> </div>
+<div class="line"><a name="l03628"></a><span class="lineno"> 3628</span>   <a class="code" href="classclang_1_1ModuleMap.html">ModuleMap</a> &ModMap = PP.getHeaderSearchInfo().getModuleMap();</div>
+<div class="line"><a name="l03629"></a><span class="lineno"> 3629</span>   <span class="keywordtype">bool</span> First = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03630"></a><span class="lineno"> 3630</span>   <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *CurrentModule = 0;</div>
+<div class="line"><a name="l03631"></a><span class="lineno"> 3631</span>   RecordData Record;</div>
+<div class="line"><a name="l03632"></a><span class="lineno"> 3632</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l03633"></a><span class="lineno"> 3633</span>     llvm::BitstreamEntry Entry = F.Stream.advanceSkippingSubblocks();</div>
+<div class="line"><a name="l03634"></a><span class="lineno"> 3634</span>     </div>
+<div class="line"><a name="l03635"></a><span class="lineno"> 3635</span>     <span class="keywordflow">switch</span> (Entry.Kind) {</div>
+<div class="line"><a name="l03636"></a><span class="lineno"> 3636</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::SubBlock: <span class="comment">// Handled for us already.</span></div>
+<div class="line"><a name="l03637"></a><span class="lineno"> 3637</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Error:</div>
+<div class="line"><a name="l03638"></a><span class="lineno"> 3638</span>       Error(<span class="stringliteral">"malformed block record in AST file"</span>);</div>
+<div class="line"><a name="l03639"></a><span class="lineno"> 3639</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03640"></a><span class="lineno"> 3640</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::EndBlock:</div>
+<div class="line"><a name="l03641"></a><span class="lineno"> 3641</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03642"></a><span class="lineno"> 3642</span>     <span class="keywordflow">case</span> llvm::BitstreamEntry::Record:</div>
+<div class="line"><a name="l03643"></a><span class="lineno"> 3643</span>       <span class="comment">// The interesting case.</span></div>
+<div class="line"><a name="l03644"></a><span class="lineno"> 3644</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03645"></a><span class="lineno"> 3645</span>     }</div>
+<div class="line"><a name="l03646"></a><span class="lineno"> 3646</span> </div>
+<div class="line"><a name="l03647"></a><span class="lineno"> 3647</span>     <span class="comment">// Read a record.</span></div>
+<div class="line"><a name="l03648"></a><span class="lineno"> 3648</span>     StringRef Blob;</div>
+<div class="line"><a name="l03649"></a><span class="lineno"> 3649</span>     Record.clear();</div>
+<div class="line"><a name="l03650"></a><span class="lineno"> 3650</span>     <span class="keywordflow">switch</span> (F.Stream.readRecord(Entry.ID, Record, &Blob)) {</div>
+<div class="line"><a name="l03651"></a><span class="lineno"> 3651</span>     <span class="keywordflow">default</span>:  <span class="comment">// Default behavior: ignore.</span></div>
+<div class="line"><a name="l03652"></a><span class="lineno"> 3652</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03653"></a><span class="lineno"> 3653</span>       </div>
+<div class="line"><a name="l03654"></a><span class="lineno"> 3654</span>     <span class="keywordflow">case</span> <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="l03655"></a><span class="lineno"> 3655</span>       <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03656"></a><span class="lineno"> 3656</span>         Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03657"></a><span class="lineno"> 3657</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03658"></a><span class="lineno"> 3658</span>       }</div>
+<div class="line"><a name="l03659"></a><span class="lineno"> 3659</span> </div>
+<div class="line"><a name="l03660"></a><span class="lineno"> 3660</span>       <span class="keywordflow">if</span> (Record.size() < 8) {</div>
+<div class="line"><a name="l03661"></a><span class="lineno"> 3661</span>         Error(<span class="stringliteral">"malformed module definition"</span>);</div>
+<div class="line"><a name="l03662"></a><span class="lineno"> 3662</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03663"></a><span class="lineno"> 3663</span>       }</div>
+<div class="line"><a name="l03664"></a><span class="lineno"> 3664</span>       </div>
+<div class="line"><a name="l03665"></a><span class="lineno"> 3665</span>       StringRef Name = Blob;</div>
+<div class="line"><a name="l03666"></a><span class="lineno"> 3666</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> GlobalID = getGlobalSubmoduleID(F, Record[0]);</div>
+<div class="line"><a name="l03667"></a><span class="lineno"> 3667</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> Parent = getGlobalSubmoduleID(F, Record[1]);</div>
+<div class="line"><a name="l03668"></a><span class="lineno"> 3668</span>       <span class="keywordtype">bool</span> IsFramework = Record[2];</div>
+<div class="line"><a name="l03669"></a><span class="lineno"> 3669</span>       <span class="keywordtype">bool</span> IsExplicit = Record[3];</div>
+<div class="line"><a name="l03670"></a><span class="lineno"> 3670</span>       <span class="keywordtype">bool</span> IsSystem = Record[4];</div>
+<div class="line"><a name="l03671"></a><span class="lineno"> 3671</span>       <span class="keywordtype">bool</span> InferSubmodules = Record[5];</div>
+<div class="line"><a name="l03672"></a><span class="lineno"> 3672</span>       <span class="keywordtype">bool</span> InferExplicitSubmodules = Record[6];</div>
+<div class="line"><a name="l03673"></a><span class="lineno"> 3673</span>       <span class="keywordtype">bool</span> InferExportWildcard = Record[7];</div>
+<div class="line"><a name="l03674"></a><span class="lineno"> 3674</span>       <span class="keywordtype">bool</span> ConfigMacrosExhaustive = Record[8];</div>
+<div class="line"><a name="l03675"></a><span class="lineno"> 3675</span> </div>
+<div class="line"><a name="l03676"></a><span class="lineno"> 3676</span>       <a class="code" href="classclang_1_1Module.html" title="Describes a module or submodule.">Module</a> *ParentModule = 0;</div>
+<div class="line"><a name="l03677"></a><span class="lineno"> 3677</span>       <span class="keywordflow">if</span> (Parent)</div>
+<div class="line"><a name="l03678"></a><span class="lineno"> 3678</span>         ParentModule = getSubmodule(Parent);</div>
+<div class="line"><a name="l03679"></a><span class="lineno"> 3679</span>       </div>
+<div class="line"><a name="l03680"></a><span class="lineno"> 3680</span>       <span class="comment">// Retrieve this (sub)module from the module map, creating it if</span></div>
+<div class="line"><a name="l03681"></a><span class="lineno"> 3681</span>       <span class="comment">// necessary.</span></div>
+<div class="line"><a name="l03682"></a><span class="lineno"> 3682</span>       CurrentModule = ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a115a5b7b114346aaa534995084fc3ac0" title="Find a new module or submodule, or create it if it does not already exist.">findOrCreateModule</a>(Name, ParentModule, </div>
+<div class="line"><a name="l03683"></a><span class="lineno"> 3683</span>                                                 IsFramework, </div>
+<div class="line"><a name="l03684"></a><span class="lineno"> 3684</span>                                                 IsExplicit).first;</div>
+<div class="line"><a name="l03685"></a><span class="lineno"> 3685</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> GlobalIndex = GlobalID - <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="l03686"></a><span class="lineno"> 3686</span>       <span class="keywordflow">if</span> (GlobalIndex >= SubmodulesLoaded.size() ||</div>
+<div class="line"><a name="l03687"></a><span class="lineno"> 3687</span>           SubmodulesLoaded[GlobalIndex]) {</div>
+<div class="line"><a name="l03688"></a><span class="lineno"> 3688</span>         Error(<span class="stringliteral">"too many submodules"</span>);</div>
+<div class="line"><a name="l03689"></a><span class="lineno"> 3689</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03690"></a><span class="lineno"> 3690</span>       }</div>
+<div class="line"><a name="l03691"></a><span class="lineno"> 3691</span> </div>
+<div class="line"><a name="l03692"></a><span class="lineno"> 3692</span>       <span class="keywordflow">if</span> (!ParentModule) {</div>
+<div class="line"><a name="l03693"></a><span class="lineno"> 3693</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> *CurFile = CurrentModule-><a class="code" href="classclang_1_1Module.html#a10df0873f5129f15adb57677a910f697" title="The serialized AST file for this module, if one was created.">getASTFile</a>()) {</div>
+<div class="line"><a name="l03694"></a><span class="lineno"> 3694</span>           <span class="keywordflow">if</span> (CurFile != F.File) {</div>
+<div class="line"><a name="l03695"></a><span class="lineno"> 3695</span>             <span class="keywordflow">if</span> (!Diags.isDiagnosticInFlight()) {</div>
+<div class="line"><a name="l03696"></a><span class="lineno"> 3696</span>               <a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>(diag::err_module_file_conflict)</div>
+<div class="line"><a name="l03697"></a><span class="lineno"> 3697</span>                 << CurrentModule-><a class="code" href="classclang_1_1Module.html#a9500036125ff28f527f653855d6077c8" title="Retrieve the name of the top-level module.">getTopLevelModuleName</a>()</div>
+<div class="line"><a name="l03698"></a><span class="lineno"> 3698</span>                 << CurFile->getName()</div>
+<div class="line"><a name="l03699"></a><span class="lineno"> 3699</span>                 << F.File->getName();</div>
+<div class="line"><a name="l03700"></a><span class="lineno"> 3700</span>             }</div>
+<div class="line"><a name="l03701"></a><span class="lineno"> 3701</span>             <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03702"></a><span class="lineno"> 3702</span>           }</div>
+<div class="line"><a name="l03703"></a><span class="lineno"> 3703</span>         }</div>
+<div class="line"><a name="l03704"></a><span class="lineno"> 3704</span> </div>
+<div class="line"><a name="l03705"></a><span class="lineno"> 3705</span>         CurrentModule-><a class="code" href="classclang_1_1Module.html#a7185327e256ac41ea654e1f0ec246287" title="Set the serialized AST file for the top-level module of this module.">setASTFile</a>(F.File);</div>
+<div class="line"><a name="l03706"></a><span class="lineno"> 3706</span>       }</div>
+<div class="line"><a name="l03707"></a><span class="lineno"> 3707</span>       </div>
+<div class="line"><a name="l03708"></a><span class="lineno"> 3708</span>       CurrentModule-><a class="code" href="classclang_1_1Module.html#ab947fac64520fa50e1b64c6672724b80" title="Whether this module was loaded from a module file.">IsFromModuleFile</a> = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03709"></a><span class="lineno"> 3709</span>       CurrentModule-><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> = IsSystem || CurrentModule-><a class="code" href="classclang_1_1Module.html#a505c7530ef3ac10e3f8c207e5722a158" title="Whether this is a "system" module (which