[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 assumes that all headers in it are system headers)...">IsSystem</a>;</div>
+<div class="line"><a name="l03710"></a><span class="lineno"> 3710</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a07cb2506efca1aba4c0959b7a0f8443c" title="Whether we should infer submodules for this module based on the headers.">InferSubmodules</a> = InferSubmodules;</div>
+<div class="line"><a name="l03711"></a><span class="lineno"> 3711</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#ae64ff7e3ba9cb2d5fa98f6b55c58d921" title="Whether, when inferring submodules, the inferred submodules should be explicit.">InferExplicitSubmodules</a> = InferExplicitSubmodules;</div>
+<div class="line"><a name="l03712"></a><span class="lineno"> 3712</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#aab3a3e63b2c07e737f21296484abbcf9" title="Whether, when inferring submodules, the inferr submodules should export all modules they import (e...">InferExportWildcard</a> = InferExportWildcard;</div>
+<div class="line"><a name="l03713"></a><span class="lineno"> 3713</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a97a926961c5f156791faf98633970246" title="Whether the set of configuration macros is exhaustive.">ConfigMacrosExhaustive</a> = ConfigMacrosExhaustive;</div>
+<div class="line"><a name="l03714"></a><span class="lineno"> 3714</span> <span class="keywordflow">if</span> (DeserializationListener)</div>
+<div class="line"><a name="l03715"></a><span class="lineno"> 3715</span> DeserializationListener->ModuleRead(GlobalID, CurrentModule);</div>
+<div class="line"><a name="l03716"></a><span class="lineno"> 3716</span> </div>
+<div class="line"><a name="l03717"></a><span class="lineno"> 3717</span> SubmodulesLoaded[GlobalIndex] = CurrentModule;</div>
+<div class="line"><a name="l03718"></a><span class="lineno"> 3718</span> </div>
+<div class="line"><a name="l03719"></a><span class="lineno"> 3719</span> <span class="comment">// Clear out data that will be replaced by what is the module file.</span></div>
+<div class="line"><a name="l03720"></a><span class="lineno"> 3720</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a59f744ae0f6907785614508d01a5cd59" title="The set of libraries or frameworks to link against when an entity from this module is used...">LinkLibraries</a>.clear();</div>
+<div class="line"><a name="l03721"></a><span class="lineno"> 3721</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a162d6fa484ed34109093c8264dd116d3" title="The set of "configuration macros", which are macros that (intentionally) change how this module is bu...">ConfigMacros</a>.clear();</div>
+<div class="line"><a name="l03722"></a><span class="lineno"> 3722</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#ab8f0b274f72bfad381e2ca20a7aecff6" title="The list of conflicts for which the module-id has not yet been resolved.">UnresolvedConflicts</a>.clear();</div>
+<div class="line"><a name="l03723"></a><span class="lineno"> 3723</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#afe7d527c3baed85720bfd21f822e2783" title="The list of conflicts.">Conflicts</a>.clear();</div>
+<div class="line"><a name="l03724"></a><span class="lineno"> 3724</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03725"></a><span class="lineno"> 3725</span> }</div>
+<div class="line"><a name="l03726"></a><span class="lineno"> 3726</span> </div>
+<div class="line"><a name="l03727"></a><span class="lineno"> 3727</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a2cb7f4c593234b567f3ec480bf52c397" title="Specifies the umbrella header used to create this module, if any.">SUBMODULE_UMBRELLA_HEADER</a>: {</div>
+<div class="line"><a name="l03728"></a><span class="lineno"> 3728</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03729"></a><span class="lineno"> 3729</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03730"></a><span class="lineno"> 3730</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03731"></a><span class="lineno"> 3731</span> }</div>
+<div class="line"><a name="l03732"></a><span class="lineno"> 3732</span> </div>
+<div class="line"><a name="l03733"></a><span class="lineno"> 3733</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03734"></a><span class="lineno"> 3734</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03735"></a><span class="lineno"> 3735</span> </div>
+<div class="line"><a name="l03736"></a><span class="lineno"> 3736</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> *Umbrella = PP.getFileManager().getFile(Blob)) {</div>
+<div class="line"><a name="l03737"></a><span class="lineno"> 3737</span> <span class="keywordflow">if</span> (!CurrentModule-><a class="code" href="classclang_1_1Module.html#adc5b168a2266a0c3db0af7769dd0d4f5" title="Retrieve the header that serves as the umbrella header for this module.">getUmbrellaHeader</a>())</div>
+<div class="line"><a name="l03738"></a><span class="lineno"> 3738</span> ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a4e5eb634a8ba4425d545d84b6b28156d" title="Sets the umbrella header of the given module to the given header.">setUmbrellaHeader</a>(CurrentModule, Umbrella);</div>
+<div class="line"><a name="l03739"></a><span class="lineno"> 3739</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (CurrentModule-><a class="code" href="classclang_1_1Module.html#adc5b168a2266a0c3db0af7769dd0d4f5" title="Retrieve the header that serves as the umbrella header for this module.">getUmbrellaHeader</a>() != Umbrella) {</div>
+<div class="line"><a name="l03740"></a><span class="lineno"> 3740</span> Error(<span class="stringliteral">"mismatched umbrella headers in submodule"</span>);</div>
+<div class="line"><a name="l03741"></a><span class="lineno"> 3741</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03742"></a><span class="lineno"> 3742</span> }</div>
+<div class="line"><a name="l03743"></a><span class="lineno"> 3743</span> }</div>
+<div class="line"><a name="l03744"></a><span class="lineno"> 3744</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03745"></a><span class="lineno"> 3745</span> }</div>
+<div class="line"><a name="l03746"></a><span class="lineno"> 3746</span> </div>
+<div class="line"><a name="l03747"></a><span class="lineno"> 3747</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a15fa82930e16d13023a653fb14d7ea08" title="Specifies a header that falls into this (sub)module.">SUBMODULE_HEADER</a>: {</div>
+<div class="line"><a name="l03748"></a><span class="lineno"> 3748</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03749"></a><span class="lineno"> 3749</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03750"></a><span class="lineno"> 3750</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03751"></a><span class="lineno"> 3751</span> }</div>
+<div class="line"><a name="l03752"></a><span class="lineno"> 3752</span> </div>
+<div class="line"><a name="l03753"></a><span class="lineno"> 3753</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03754"></a><span class="lineno"> 3754</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03755"></a><span class="lineno"> 3755</span> </div>
+<div class="line"><a name="l03756"></a><span class="lineno"> 3756</span> <span class="comment">// We lazily associate headers with their modules via the HeaderInfoTable.</span></div>
+<div class="line"><a name="l03757"></a><span class="lineno"> 3757</span> <span class="comment">// FIXME: Re-evaluate this section; maybe only store InputFile IDs instead</span></div>
+<div class="line"><a name="l03758"></a><span class="lineno"> 3758</span> <span class="comment">// of complete filenames or remove it entirely.</span></div>
+<div class="line"><a name="l03759"></a><span class="lineno"> 3759</span> <span class="keywordflow">break</span>; </div>
+<div class="line"><a name="l03760"></a><span class="lineno"> 3760</span> }</div>
+<div class="line"><a name="l03761"></a><span class="lineno"> 3761</span> </div>
+<div class="line"><a name="l03762"></a><span class="lineno"> 3762</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a028742fbd584e17f5cae06fcfb9d59a6" title="Specifies a header that has been explicitly excluded from this submodule.">SUBMODULE_EXCLUDED_HEADER</a>: {</div>
+<div class="line"><a name="l03763"></a><span class="lineno"> 3763</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03764"></a><span class="lineno"> 3764</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03765"></a><span class="lineno"> 3765</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03766"></a><span class="lineno"> 3766</span> }</div>
+<div class="line"><a name="l03767"></a><span class="lineno"> 3767</span> </div>
+<div class="line"><a name="l03768"></a><span class="lineno"> 3768</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03769"></a><span class="lineno"> 3769</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03770"></a><span class="lineno"> 3770</span> </div>
+<div class="line"><a name="l03771"></a><span class="lineno"> 3771</span> <span class="comment">// We lazily associate headers with their modules via the HeaderInfoTable.</span></div>
+<div class="line"><a name="l03772"></a><span class="lineno"> 3772</span> <span class="comment">// FIXME: Re-evaluate this section; maybe only store InputFile IDs instead</span></div>
+<div class="line"><a name="l03773"></a><span class="lineno"> 3773</span> <span class="comment">// of complete filenames or remove it entirely.</span></div>
+<div class="line"><a name="l03774"></a><span class="lineno"> 3774</span> <span class="keywordflow">break</span>; </div>
+<div class="line"><a name="l03775"></a><span class="lineno"> 3775</span> }</div>
+<div class="line"><a name="l03776"></a><span class="lineno"> 3776</span> </div>
+<div class="line"><a name="l03777"></a><span class="lineno"> 3777</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a68d99f7f9863d47c0cbbf070e7ad1712" title="Specifies a header that is private to this submodule.">SUBMODULE_PRIVATE_HEADER</a>: {</div>
+<div class="line"><a name="l03778"></a><span class="lineno"> 3778</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03779"></a><span class="lineno"> 3779</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03780"></a><span class="lineno"> 3780</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03781"></a><span class="lineno"> 3781</span> }</div>
+<div class="line"><a name="l03782"></a><span class="lineno"> 3782</span> </div>
+<div class="line"><a name="l03783"></a><span class="lineno"> 3783</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03784"></a><span class="lineno"> 3784</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03785"></a><span class="lineno"> 3785</span> </div>
+<div class="line"><a name="l03786"></a><span class="lineno"> 3786</span> <span class="comment">// We lazily associate headers with their modules via the HeaderInfoTable.</span></div>
+<div class="line"><a name="l03787"></a><span class="lineno"> 3787</span> <span class="comment">// FIXME: Re-evaluate this section; maybe only store InputFile IDs instead</span></div>
+<div class="line"><a name="l03788"></a><span class="lineno"> 3788</span> <span class="comment">// of complete filenames or remove it entirely.</span></div>
+<div class="line"><a name="l03789"></a><span class="lineno"> 3789</span> <span class="keywordflow">break</span>; </div>
+<div class="line"><a name="l03790"></a><span class="lineno"> 3790</span> }</div>
+<div class="line"><a name="l03791"></a><span class="lineno"> 3791</span> </div>
+<div class="line"><a name="l03792"></a><span class="lineno"> 3792</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a062b09f326841f5582e1f391dc099909" title="Specifies a top-level header that falls into this (sub)module.">SUBMODULE_TOPHEADER</a>: {</div>
+<div class="line"><a name="l03793"></a><span class="lineno"> 3793</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03794"></a><span class="lineno"> 3794</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03795"></a><span class="lineno"> 3795</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03796"></a><span class="lineno"> 3796</span> }</div>
+<div class="line"><a name="l03797"></a><span class="lineno"> 3797</span> </div>
+<div class="line"><a name="l03798"></a><span class="lineno"> 3798</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03799"></a><span class="lineno"> 3799</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03800"></a><span class="lineno"> 3800</span> </div>
+<div class="line"><a name="l03801"></a><span class="lineno"> 3801</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a3965b16abb889cdcd7aac334ed0b473b" title="Add a top-level header filename associated with this module.">addTopHeaderFilename</a>(Blob);</div>
+<div class="line"><a name="l03802"></a><span class="lineno"> 3802</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03803"></a><span class="lineno"> 3803</span> }</div>
+<div class="line"><a name="l03804"></a><span class="lineno"> 3804</span> </div>
+<div class="line"><a name="l03805"></a><span class="lineno"> 3805</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a20abdcf339f65537381003762d806e15" title="Specifies an umbrella directory.">SUBMODULE_UMBRELLA_DIR</a>: {</div>
+<div class="line"><a name="l03806"></a><span class="lineno"> 3806</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03807"></a><span class="lineno"> 3807</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03808"></a><span class="lineno"> 3808</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03809"></a><span class="lineno"> 3809</span> }</div>
+<div class="line"><a name="l03810"></a><span class="lineno"> 3810</span> </div>
+<div class="line"><a name="l03811"></a><span class="lineno"> 3811</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03812"></a><span class="lineno"> 3812</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03813"></a><span class="lineno"> 3813</span> </div>
+<div class="line"><a name="l03814"></a><span class="lineno"> 3814</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1DirectoryEntry.html" title="Cached information about one directory (either on disk or in the virtual file system).">DirectoryEntry</a> *Umbrella</div>
+<div class="line"><a name="l03815"></a><span class="lineno"> 3815</span> = PP.getFileManager().getDirectory(Blob)) {</div>
+<div class="line"><a name="l03816"></a><span class="lineno"> 3816</span> <span class="keywordflow">if</span> (!CurrentModule-><a class="code" href="classclang_1_1Module.html#a2a142c05e037bb81a45fdf60c236cea7" title="Retrieve the directory for which this module serves as the umbrella.">getUmbrellaDir</a>())</div>
+<div class="line"><a name="l03817"></a><span class="lineno"> 3817</span> ModMap.<a class="code" href="classclang_1_1ModuleMap.html#a5cc71eb848ebea391b1a075496f2f7ee" title="Sets the umbrella directory of the given module to the given directory.">setUmbrellaDir</a>(CurrentModule, Umbrella);</div>
+<div class="line"><a name="l03818"></a><span class="lineno"> 3818</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (CurrentModule-><a class="code" href="classclang_1_1Module.html#a2a142c05e037bb81a45fdf60c236cea7" title="Retrieve the directory for which this module serves as the umbrella.">getUmbrellaDir</a>() != Umbrella) {</div>
+<div class="line"><a name="l03819"></a><span class="lineno"> 3819</span> Error(<span class="stringliteral">"mismatched umbrella directories in submodule"</span>);</div>
+<div class="line"><a name="l03820"></a><span class="lineno"> 3820</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03821"></a><span class="lineno"> 3821</span> }</div>
+<div class="line"><a name="l03822"></a><span class="lineno"> 3822</span> }</div>
+<div class="line"><a name="l03823"></a><span class="lineno"> 3823</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03824"></a><span class="lineno"> 3824</span> }</div>
+<div class="line"><a name="l03825"></a><span class="lineno"> 3825</span> </div>
+<div class="line"><a name="l03826"></a><span class="lineno"> 3826</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a4205f24f830979982872b647b508c667" title="Metadata for submodules as a whole.">SUBMODULE_METADATA</a>: {</div>
+<div class="line"><a name="l03827"></a><span class="lineno"> 3827</span> <span class="keywordflow">if</span> (!First) {</div>
+<div class="line"><a name="l03828"></a><span class="lineno"> 3828</span> Error(<span class="stringliteral">"submodule metadata record not at beginning of block"</span>);</div>
+<div class="line"><a name="l03829"></a><span class="lineno"> 3829</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03830"></a><span class="lineno"> 3830</span> }</div>
+<div class="line"><a name="l03831"></a><span class="lineno"> 3831</span> First = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03832"></a><span class="lineno"> 3832</span> </div>
+<div class="line"><a name="l03833"></a><span class="lineno"> 3833</span> F.BaseSubmoduleID = getTotalNumSubmodules();</div>
+<div class="line"><a name="l03834"></a><span class="lineno"> 3834</span> F.LocalNumSubmodules = Record[0];</div>
+<div class="line"><a name="l03835"></a><span class="lineno"> 3835</span> <span class="keywordtype">unsigned</span> LocalBaseSubmoduleID = Record[1];</div>
+<div class="line"><a name="l03836"></a><span class="lineno"> 3836</span> <span class="keywordflow">if</span> (F.LocalNumSubmodules > 0) {</div>
+<div class="line"><a name="l03837"></a><span class="lineno"> 3837</span> <span class="comment">// Introduce the global -> local mapping for submodules within this </span></div>
+<div class="line"><a name="l03838"></a><span class="lineno"> 3838</span> <span class="comment">// module.</span></div>
+<div class="line"><a name="l03839"></a><span class="lineno"> 3839</span> GlobalSubmoduleMap.insert(std::make_pair(getTotalNumSubmodules()+1,&F));</div>
+<div class="line"><a name="l03840"></a><span class="lineno"> 3840</span> </div>
+<div class="line"><a name="l03841"></a><span class="lineno"> 3841</span> <span class="comment">// Introduce the local -> global mapping for submodules within this </span></div>
+<div class="line"><a name="l03842"></a><span class="lineno"> 3842</span> <span class="comment">// module.</span></div>
+<div class="line"><a name="l03843"></a><span class="lineno"> 3843</span> F.SubmoduleRemap.insertOrReplace(</div>
+<div class="line"><a name="l03844"></a><span class="lineno"> 3844</span> std::make_pair(LocalBaseSubmoduleID,</div>
+<div class="line"><a name="l03845"></a><span class="lineno"> 3845</span> F.BaseSubmoduleID - LocalBaseSubmoduleID));</div>
+<div class="line"><a name="l03846"></a><span class="lineno"> 3846</span> </div>
+<div class="line"><a name="l03847"></a><span class="lineno"> 3847</span> SubmodulesLoaded.resize(SubmodulesLoaded.size() + F.LocalNumSubmodules);</div>
+<div class="line"><a name="l03848"></a><span class="lineno"> 3848</span> } </div>
+<div class="line"><a name="l03849"></a><span class="lineno"> 3849</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03850"></a><span class="lineno"> 3850</span> }</div>
+<div class="line"><a name="l03851"></a><span class="lineno"> 3851</span> </div>
+<div class="line"><a name="l03852"></a><span class="lineno"> 3852</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a74e5834c1d1f89ab8cfa76731b77e67b" title="Specifies the submodules that are imported by this submodule.">SUBMODULE_IMPORTS</a>: {</div>
+<div class="line"><a name="l03853"></a><span class="lineno"> 3853</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03854"></a><span class="lineno"> 3854</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03855"></a><span class="lineno"> 3855</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03856"></a><span class="lineno"> 3856</span> }</div>
+<div class="line"><a name="l03857"></a><span class="lineno"> 3857</span> </div>
+<div class="line"><a name="l03858"></a><span class="lineno"> 3858</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03859"></a><span class="lineno"> 3859</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03860"></a><span class="lineno"> 3860</span> </div>
+<div class="line"><a name="l03861"></a><span class="lineno"> 3861</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> Idx = 0; Idx != Record.size(); ++Idx) {</div>
+<div class="line"><a name="l03862"></a><span class="lineno"> 3862</span> UnresolvedModuleRef Unresolved;</div>
+<div class="line"><a name="l03863"></a><span class="lineno"> 3863</span> Unresolved.File = &F;</div>
+<div class="line"><a name="l03864"></a><span class="lineno"> 3864</span> Unresolved.Mod = CurrentModule;</div>
+<div class="line"><a name="l03865"></a><span class="lineno"> 3865</span> Unresolved.ID = Record[Idx];</div>
+<div class="line"><a name="l03866"></a><span class="lineno"> 3866</span> Unresolved.Kind = UnresolvedModuleRef::Import;</div>
+<div class="line"><a name="l03867"></a><span class="lineno"> 3867</span> Unresolved.IsWildcard = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03868"></a><span class="lineno"> 3868</span> UnresolvedModuleRefs.push_back(Unresolved);</div>
+<div class="line"><a name="l03869"></a><span class="lineno"> 3869</span> }</div>
+<div class="line"><a name="l03870"></a><span class="lineno"> 3870</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03871"></a><span class="lineno"> 3871</span> }</div>
+<div class="line"><a name="l03872"></a><span class="lineno"> 3872</span> </div>
+<div class="line"><a name="l03873"></a><span class="lineno"> 3873</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ae484be2b1c799948a691aa4a9b177ed4" title="Specifies the submodules that are re-exported from this submodule.">SUBMODULE_EXPORTS</a>: {</div>
+<div class="line"><a name="l03874"></a><span class="lineno"> 3874</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03875"></a><span class="lineno"> 3875</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03876"></a><span class="lineno"> 3876</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03877"></a><span class="lineno"> 3877</span> }</div>
+<div class="line"><a name="l03878"></a><span class="lineno"> 3878</span> </div>
+<div class="line"><a name="l03879"></a><span class="lineno"> 3879</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03880"></a><span class="lineno"> 3880</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03881"></a><span class="lineno"> 3881</span> </div>
+<div class="line"><a name="l03882"></a><span class="lineno"> 3882</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> Idx = 0; Idx + 1 < Record.size(); Idx += 2) {</div>
+<div class="line"><a name="l03883"></a><span class="lineno"> 3883</span> UnresolvedModuleRef Unresolved;</div>
+<div class="line"><a name="l03884"></a><span class="lineno"> 3884</span> Unresolved.File = &F;</div>
+<div class="line"><a name="l03885"></a><span class="lineno"> 3885</span> Unresolved.Mod = CurrentModule;</div>
+<div class="line"><a name="l03886"></a><span class="lineno"> 3886</span> Unresolved.ID = Record[Idx];</div>
+<div class="line"><a name="l03887"></a><span class="lineno"> 3887</span> Unresolved.Kind = UnresolvedModuleRef::Export;</div>
+<div class="line"><a name="l03888"></a><span class="lineno"> 3888</span> Unresolved.IsWildcard = Record[Idx + 1];</div>
+<div class="line"><a name="l03889"></a><span class="lineno"> 3889</span> UnresolvedModuleRefs.push_back(Unresolved);</div>
+<div class="line"><a name="l03890"></a><span class="lineno"> 3890</span> }</div>
+<div class="line"><a name="l03891"></a><span class="lineno"> 3891</span> </div>
+<div class="line"><a name="l03892"></a><span class="lineno"> 3892</span> <span class="comment">// Once we've loaded the set of exports, there's no reason to keep </span></div>
+<div class="line"><a name="l03893"></a><span class="lineno"> 3893</span> <span class="comment">// the parsed, unresolved exports around.</span></div>
+<div class="line"><a name="l03894"></a><span class="lineno"> 3894</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a62b8063b204ad8902efdc67fa4da1956" title="The set of export declarations that have yet to be resolved.">UnresolvedExports</a>.clear();</div>
+<div class="line"><a name="l03895"></a><span class="lineno"> 3895</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03896"></a><span class="lineno"> 3896</span> }</div>
+<div class="line"><a name="l03897"></a><span class="lineno"> 3897</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a51856a095208e1798945b73e3011d80e" title="Specifies a required feature.">SUBMODULE_REQUIRES</a>: {</div>
+<div class="line"><a name="l03898"></a><span class="lineno"> 3898</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03899"></a><span class="lineno"> 3899</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03900"></a><span class="lineno"> 3900</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03901"></a><span class="lineno"> 3901</span> }</div>
+<div class="line"><a name="l03902"></a><span class="lineno"> 3902</span> </div>
+<div class="line"><a name="l03903"></a><span class="lineno"> 3903</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03904"></a><span class="lineno"> 3904</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03905"></a><span class="lineno"> 3905</span> </div>
+<div class="line"><a name="l03906"></a><span class="lineno"> 3906</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a007a11f18b75c2258a04ed53bbcda2af" title="Add the given feature requirement to the list of features required by this module.">addRequirement</a>(Blob, Record[0], <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3faa7b5a5e8d1637c53dea680acca0ff">getLangOpts</a>(),</div>
+<div class="line"><a name="l03907"></a><span class="lineno"> 3907</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a1f86013f3f8d32eec61a74c21d26b2a4">getTargetInfo</a>());</div>
+<div class="line"><a name="l03908"></a><span class="lineno"> 3908</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03909"></a><span class="lineno"> 3909</span> }</div>
+<div class="line"><a name="l03910"></a><span class="lineno"> 3910</span> </div>
+<div class="line"><a name="l03911"></a><span class="lineno"> 3911</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ad76793b4612c3b89d8c6740f24fd4bbb" title="Specifies a library or framework to link against.">SUBMODULE_LINK_LIBRARY</a>:</div>
+<div class="line"><a name="l03912"></a><span class="lineno"> 3912</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03913"></a><span class="lineno"> 3913</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03914"></a><span class="lineno"> 3914</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03915"></a><span class="lineno"> 3915</span> }</div>
+<div class="line"><a name="l03916"></a><span class="lineno"> 3916</span> </div>
+<div class="line"><a name="l03917"></a><span class="lineno"> 3917</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03918"></a><span class="lineno"> 3918</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03919"></a><span class="lineno"> 3919</span> </div>
+<div class="line"><a name="l03920"></a><span class="lineno"> 3920</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a59f744ae0f6907785614508d01a5cd59" title="The set of libraries or frameworks to link against when an entity from this module is used...">LinkLibraries</a>.push_back(</div>
+<div class="line"><a name="l03921"></a><span class="lineno"> 3921</span> <a class="code" href="structclang_1_1Module_1_1LinkLibrary.html" title="A library or framework to link against when an entity from this module is used.">Module::LinkLibrary</a>(Blob, Record[0]));</div>
+<div class="line"><a name="l03922"></a><span class="lineno"> 3922</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03923"></a><span class="lineno"> 3923</span> </div>
+<div class="line"><a name="l03924"></a><span class="lineno"> 3924</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11ae3517e307cebf2dd4ae0a81af459c3ae" title="Specifies a configuration macro for this module.">SUBMODULE_CONFIG_MACRO</a>:</div>
+<div class="line"><a name="l03925"></a><span class="lineno"> 3925</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03926"></a><span class="lineno"> 3926</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03927"></a><span class="lineno"> 3927</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03928"></a><span class="lineno"> 3928</span> }</div>
+<div class="line"><a name="l03929"></a><span class="lineno"> 3929</span> </div>
+<div class="line"><a name="l03930"></a><span class="lineno"> 3930</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03931"></a><span class="lineno"> 3931</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03932"></a><span class="lineno"> 3932</span> </div>
+<div class="line"><a name="l03933"></a><span class="lineno"> 3933</span> CurrentModule-><a class="code" href="classclang_1_1Module.html#a162d6fa484ed34109093c8264dd116d3" title="The set of "configuration macros", which are macros that (intentionally) change how this module is bu...">ConfigMacros</a>.push_back(Blob.str());</div>
+<div class="line"><a name="l03934"></a><span class="lineno"> 3934</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03935"></a><span class="lineno"> 3935</span> </div>
+<div class="line"><a name="l03936"></a><span class="lineno"> 3936</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#a3b4543e942fd334ad9ea2a0ab901be11a7b3e8b2f3d01c92396ae70e18c1c413d" title="Specifies a conflict with another module.">SUBMODULE_CONFLICT</a>: {</div>
+<div class="line"><a name="l03937"></a><span class="lineno"> 3937</span> <span class="keywordflow">if</span> (First) {</div>
+<div class="line"><a name="l03938"></a><span class="lineno"> 3938</span> Error(<span class="stringliteral">"missing submodule metadata record at beginning of block"</span>);</div>
+<div class="line"><a name="l03939"></a><span class="lineno"> 3939</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l03940"></a><span class="lineno"> 3940</span> }</div>
+<div class="line"><a name="l03941"></a><span class="lineno"> 3941</span> </div>
+<div class="line"><a name="l03942"></a><span class="lineno"> 3942</span> <span class="keywordflow">if</span> (!CurrentModule)</div>
+<div class="line"><a name="l03943"></a><span class="lineno"> 3943</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03944"></a><span class="lineno"> 3944</span> </div>
+<div class="line"><a name="l03945"></a><span class="lineno"> 3945</span> UnresolvedModuleRef Unresolved;</div>
+<div class="line"><a name="l03946"></a><span class="lineno"> 3946</span> Unresolved.File = &F;</div>
+<div class="line"><a name="l03947"></a><span class="lineno"> 3947</span> Unresolved.Mod = CurrentModule;</div>
+<div class="line"><a name="l03948"></a><span class="lineno"> 3948</span> Unresolved.ID = Record[0];</div>
+<div class="line"><a name="l03949"></a><span class="lineno"> 3949</span> Unresolved.Kind = UnresolvedModuleRef::Conflict;</div>
+<div class="line"><a name="l03950"></a><span class="lineno"> 3950</span> Unresolved.IsWildcard = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l03951"></a><span class="lineno"> 3951</span> Unresolved.String = Blob;</div>
+<div class="line"><a name="l03952"></a><span class="lineno"> 3952</span> UnresolvedModuleRefs.push_back(Unresolved);</div>
+<div class="line"><a name="l03953"></a><span class="lineno"> 3953</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l03954"></a><span class="lineno"> 3954</span> }</div>
+<div class="line"><a name="l03955"></a><span class="lineno"> 3955</span> }</div>
+<div class="line"><a name="l03956"></a><span class="lineno"> 3956</span> }</div>
+<div class="line"><a name="l03957"></a><span class="lineno"> 3957</span> }</div>
+<div class="line"><a name="l03958"></a><span class="lineno"> 3958</span> <span class="comment"></span></div>
+<div class="line"><a name="l03959"></a><span class="lineno"> 3959</span> <span class="comment">/// \brief Parse the record that corresponds to a LangOptions data</span></div>
+<div class="line"><a name="l03960"></a><span class="lineno"> 3960</span> <span class="comment">/// structure.</span></div>
+<div class="line"><a name="l03961"></a><span class="lineno"> 3961</span> <span class="comment">///</span></div>
+<div class="line"><a name="l03962"></a><span class="lineno"> 3962</span> <span class="comment">/// This routine parses the language options from the AST file and then gives</span></div>
+<div class="line"><a name="l03963"></a><span class="lineno"> 3963</span> <span class="comment">/// them to the AST listener if one is set.</span></div>
+<div class="line"><a name="l03964"></a><span class="lineno"> 3964</span> <span class="comment">///</span></div>
+<div class="line"><a name="l03965"></a><span class="lineno"> 3965</span> <span class="comment">/// \returns true if the listener deems the file unacceptable, false otherwise.</span></div>
+<div class="line"><a name="l03966"></a><span class="lineno"> 3966</span> <span class="comment"></span><span class="keywordtype">bool</span> ASTReader::ParseLanguageOptions(<span class="keyword">const</span> RecordData &Record,</div>
+<div class="line"><a name="l03967"></a><span class="lineno"> 3967</span> <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l03968"></a><span class="lineno"> 3968</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="l03969"></a><span class="lineno"> 3969</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="l03970"></a><span class="lineno"> 3970</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l03971"></a><span class="lineno"> 3971</span> <span class="preprocessor">#define LANGOPT(Name, Bits, Default, Description) \</span></div>
+<div class="line"><a name="l03972"></a><span class="lineno"> 3972</span> <span class="preprocessor"> LangOpts.Name = Record[Idx++];</span></div>
+<div class="line"><a name="l03973"></a><span class="lineno"> 3973</span> <span class="preprocessor"></span><span class="preprocessor">#define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \</span></div>
+<div class="line"><a name="l03974"></a><span class="lineno"> 3974</span> <span class="preprocessor"> LangOpts.set##Name(static_cast<LangOptions::Type>(Record[Idx++]));</span></div>
+<div class="line"><a name="l03975"></a><span class="lineno"> 3975</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/LangOptions.def"</span></div>
+<div class="line"><a name="l03976"></a><span class="lineno"> 3976</span> <span class="preprocessor">#define SANITIZER(NAME, ID) LangOpts.Sanitize.ID = Record[Idx++];</span></div>
+<div class="line"><a name="l03977"></a><span class="lineno"> 3977</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/Sanitizers.def"</span></div>
+<div class="line"><a name="l03978"></a><span class="lineno"> 3978</span> </div>
+<div class="line"><a name="l03979"></a><span class="lineno"> 3979</span> <a class="code" href="classclang_1_1ObjCRuntime.html#af19fe070a7073df4ecc666b44137c4e5" title="The basic Objective-C runtimes that we know about.">ObjCRuntime::Kind</a> runtimeKind = (<a class="code" href="classclang_1_1ObjCRuntime.html#af19fe070a7073df4ecc666b44137c4e5" title="The basic Objective-C runtimes that we know about.">ObjCRuntime::Kind</a>) Record[Idx++];</div>
+<div class="line"><a name="l03980"></a><span class="lineno"> 3980</span> <a class="code" href="classclang_1_1VersionTuple.html" title="Represents a version number in the form major[.minor[.subminor]].">VersionTuple</a> runtimeVersion = ReadVersionTuple(Record, Idx);</div>
+<div class="line"><a name="l03981"></a><span class="lineno"> 3981</span> LangOpts.<a class="code" href="classclang_1_1LangOptions.html#a34a8b84f730051971c84c36daa84dda7">ObjCRuntime</a> = <a class="code" href="classclang_1_1ObjCRuntime.html" title="The basic abstraction for the target Objective-C runtime.">ObjCRuntime</a>(runtimeKind, runtimeVersion);</div>
+<div class="line"><a name="l03982"></a><span class="lineno"> 3982</span> </div>
+<div class="line"><a name="l03983"></a><span class="lineno"> 3983</span> <span class="keywordtype">unsigned</span> Length = Record[Idx++];</div>
+<div class="line"><a name="l03984"></a><span class="lineno"> 3984</span> LangOpts.<a class="code" href="classclang_1_1LangOptions.html#afd139a4fe76990c1c01e77ae67cd1310" title="The name of the current module.">CurrentModule</a>.assign(Record.begin() + Idx, </div>
+<div class="line"><a name="l03985"></a><span class="lineno"> 3985</span> Record.begin() + Idx + Length);</div>
+<div class="line"><a name="l03986"></a><span class="lineno"> 3986</span> </div>
+<div class="line"><a name="l03987"></a><span class="lineno"> 3987</span> Idx += Length;</div>
+<div class="line"><a name="l03988"></a><span class="lineno"> 3988</span> </div>
+<div class="line"><a name="l03989"></a><span class="lineno"> 3989</span> <span class="comment">// Comment options.</span></div>
+<div class="line"><a name="l03990"></a><span class="lineno"> 3990</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l03991"></a><span class="lineno"> 3991</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>.push_back(</div>
+<div class="line"><a name="l03992"></a><span class="lineno"> 3992</span> ReadString(Record, Idx));</div>
+<div class="line"><a name="l03993"></a><span class="lineno"> 3993</span> }</div>
+<div class="line"><a name="l03994"></a><span class="lineno"> 3994</span> LangOpts.<a class="code" href="classclang_1_1LangOptions.html#a55b602de4cd250005ce67b32570c1bb7" title="Options for parsing comments.">CommentOpts</a>.<a class="code" href="structclang_1_1CommentOptions.html#a7ba587db0f18af3838a52ca3121b5f4a" title="Treat ordinary comments as documentation comments.">ParseAllComments</a> = Record[Idx++];</div>
+<div class="line"><a name="l03995"></a><span class="lineno"> 3995</span> </div>
+<div class="line"><a name="l03996"></a><span class="lineno"> 3996</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#aab6478c63b520285f83688e87acc07bc" title="Receives the language options.">ReadLanguageOptions</a>(LangOpts, Complain);</div>
+<div class="line"><a name="l03997"></a><span class="lineno"> 3997</span> }</div>
+<div class="line"><a name="l03998"></a><span class="lineno"> 3998</span> </div>
+<div class="line"><a name="l03999"></a><span class="lineno"> 3999</span> <span class="keywordtype">bool</span> ASTReader::ParseTargetOptions(<span class="keyword">const</span> RecordData &Record,</div>
+<div class="line"><a name="l04000"></a><span class="lineno"> 4000</span> <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l04001"></a><span class="lineno"> 4001</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="l04002"></a><span class="lineno"> 4002</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04003"></a><span class="lineno"> 4003</span> <a class="code" href="classclang_1_1TargetOptions.html" title="Options for controlling the target.">TargetOptions</a> TargetOpts;</div>
+<div class="line"><a name="l04004"></a><span class="lineno"> 4004</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a12b408888ccc3422095eedd01acb06df">Triple</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04005"></a><span class="lineno"> 4005</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a584ea7e329a9ec00a0888bc12ad7d0ed" title="If given, the name of the target CPU to generate code for.">CPU</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04006"></a><span class="lineno"> 4006</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a50254b7ea1e4092810930e472ff5b96d" title="If given, the name of the target ABI to use.">ABI</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04007"></a><span class="lineno"> 4007</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a9d1961ba580fd1a3dda9d440612cdf00">CXXABI</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04008"></a><span class="lineno"> 4008</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a25fdbed9006602b66f1c46d8f76bc371" title="If given, the version string of the linker in use.">LinkerVersion</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04009"></a><span class="lineno"> 4009</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04010"></a><span class="lineno"> 4010</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>.push_back(ReadString(Record, Idx));</div>
+<div class="line"><a name="l04011"></a><span class="lineno"> 4011</span> }</div>
+<div class="line"><a name="l04012"></a><span class="lineno"> 4012</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04013"></a><span class="lineno"> 4013</span> TargetOpts.<a class="code" href="classclang_1_1TargetOptions.html#a3f3cb914dff142e77717f1d3668dcdb6">Features</a>.push_back(ReadString(Record, Idx));</div>
+<div class="line"><a name="l04014"></a><span class="lineno"> 4014</span> }</div>
+<div class="line"><a name="l04015"></a><span class="lineno"> 4015</span> </div>
+<div class="line"><a name="l04016"></a><span class="lineno"> 4016</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#ae422bf97111d3937199718df03951d3a" title="Receives the target options.">ReadTargetOptions</a>(TargetOpts, Complain);</div>
+<div class="line"><a name="l04017"></a><span class="lineno"> 4017</span> }</div>
+<div class="line"><a name="l04018"></a><span class="lineno"> 4018</span> </div>
+<div class="line"><a name="l04019"></a><span class="lineno"> 4019</span> <span class="keywordtype">bool</span> ASTReader::ParseDiagnosticOptions(<span class="keyword">const</span> RecordData &Record, <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l04020"></a><span class="lineno"> 4020</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="l04021"></a><span class="lineno"> 4021</span> <a class="code" href="classclang_1_1DiagnosticOptions.html" title="Options for controlling the compiler diagnostics engine.">DiagnosticOptions</a> DiagOpts;</div>
+<div class="line"><a name="l04022"></a><span class="lineno"> 4022</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04023"></a><span class="lineno"> 4023</span> <span class="preprocessor">#define DIAGOPT(Name, Bits, Default) DiagOpts.Name = Record[Idx++];</span></div>
+<div class="line"><a name="l04024"></a><span class="lineno"> 4024</span> <span class="preprocessor"></span><span class="preprocessor">#define ENUM_DIAGOPT(Name, Type, Bits, Default) \</span></div>
+<div class="line"><a name="l04025"></a><span class="lineno"> 4025</span> <span class="preprocessor"> DiagOpts.set##Name(static_cast<Type>(Record[Idx++]));</span></div>
+<div class="line"><a name="l04026"></a><span class="lineno"> 4026</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/Basic/DiagnosticOptions.def"</span></div>
+<div class="line"><a name="l04027"></a><span class="lineno"> 4027</span> </div>
+<div class="line"><a name="l04028"></a><span class="lineno"> 4028</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04029"></a><span class="lineno"> 4029</span> DiagOpts.<a class="code" href="classclang_1_1DiagnosticOptions.html#a49cc2c156ed8aa987e60ac26a934f859">Warnings</a>.push_back(ReadString(Record, Idx));</div>
+<div class="line"><a name="l04030"></a><span class="lineno"> 4030</span> }</div>
+<div class="line"><a name="l04031"></a><span class="lineno"> 4031</span> </div>
+<div class="line"><a name="l04032"></a><span class="lineno"> 4032</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#af82a9eeab1d4421012a6db722b5c1167" title="Receives the diagnostic options.">ReadDiagnosticOptions</a>(DiagOpts, Complain);</div>
+<div class="line"><a name="l04033"></a><span class="lineno"> 4033</span> }</div>
+<div class="line"><a name="l04034"></a><span class="lineno"> 4034</span> </div>
+<div class="line"><a name="l04035"></a><span class="lineno"> 4035</span> <span class="keywordtype">bool</span> ASTReader::ParseFileSystemOptions(<span class="keyword">const</span> RecordData &Record, <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l04036"></a><span class="lineno"> 4036</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="l04037"></a><span class="lineno"> 4037</span> <a class="code" href="classclang_1_1FileSystemOptions.html" title="Keeps track of options that affect how file operations are performed.">FileSystemOptions</a> FSOpts;</div>
+<div class="line"><a name="l04038"></a><span class="lineno"> 4038</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04039"></a><span class="lineno"> 4039</span> FSOpts.<a class="code" href="classclang_1_1FileSystemOptions.html#ae4aca3787990759cfe1f748b259442ce" title="If set, paths are resolved as if the working directory was set to the value of WorkingDir.">WorkingDir</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04040"></a><span class="lineno"> 4040</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#a3c75f1fd6a8b9ff6cc17ceac856432af" title="Receives the file system options.">ReadFileSystemOptions</a>(FSOpts, Complain);</div>
+<div class="line"><a name="l04041"></a><span class="lineno"> 4041</span> }</div>
+<div class="line"><a name="l04042"></a><span class="lineno"> 4042</span> </div>
+<div class="line"><a name="l04043"></a><span class="lineno"> 4043</span> <span class="keywordtype">bool</span> ASTReader::ParseHeaderSearchOptions(<span class="keyword">const</span> RecordData &Record,</div>
+<div class="line"><a name="l04044"></a><span class="lineno"> 4044</span> <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l04045"></a><span class="lineno"> 4045</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="l04046"></a><span class="lineno"> 4046</span> <a class="code" href="classclang_1_1HeaderSearchOptions.html">HeaderSearchOptions</a> HSOpts;</div>
+<div class="line"><a name="l04047"></a><span class="lineno"> 4047</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04048"></a><span class="lineno"> 4048</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a7b2c49429c3e24836a745727bd14dfbb">Sysroot</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04049"></a><span class="lineno"> 4049</span> </div>
+<div class="line"><a name="l04050"></a><span class="lineno"> 4050</span> <span class="comment">// Include entries.</span></div>
+<div class="line"><a name="l04051"></a><span class="lineno"> 4051</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04052"></a><span class="lineno"> 4052</span> std::string Path = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04053"></a><span class="lineno"> 4053</span> <a class="code" href="namespaceclang_1_1frontend.html#add3c3955b811cfaec91d27507d77063a">frontend::IncludeDirGroup</a> Group</div>
+<div class="line"><a name="l04054"></a><span class="lineno"> 4054</span> = <span class="keyword">static_cast<</span><a class="code" href="namespaceclang_1_1frontend.html#add3c3955b811cfaec91d27507d77063a">frontend::IncludeDirGroup</a><span class="keyword">></span>(Record[Idx++]);</div>
+<div class="line"><a name="l04055"></a><span class="lineno"> 4055</span> <span class="keywordtype">bool</span> IsFramework = Record[Idx++];</div>
+<div class="line"><a name="l04056"></a><span class="lineno"> 4056</span> <span class="keywordtype">bool</span> IgnoreSysRoot = Record[Idx++];</div>
+<div class="line"><a name="l04057"></a><span class="lineno"> 4057</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#ac2921b3f83d750de31ce2dbf7aa62c9c" title="User specified include entries.">UserEntries</a>.push_back(</div>
+<div class="line"><a name="l04058"></a><span class="lineno"> 4058</span> <a class="code" href="structclang_1_1HeaderSearchOptions_1_1Entry.html">HeaderSearchOptions::Entry</a>(Path, Group, IsFramework, IgnoreSysRoot));</div>
+<div class="line"><a name="l04059"></a><span class="lineno"> 4059</span> }</div>
+<div class="line"><a name="l04060"></a><span class="lineno"> 4060</span> </div>
+<div class="line"><a name="l04061"></a><span class="lineno"> 4061</span> <span class="comment">// System header prefixes.</span></div>
+<div class="line"><a name="l04062"></a><span class="lineno"> 4062</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04063"></a><span class="lineno"> 4063</span> std::string Prefix = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04064"></a><span class="lineno"> 4064</span> <span class="keywordtype">bool</span> IsSystemHeader = Record[Idx++];</div>
+<div class="line"><a name="l04065"></a><span class="lineno"> 4065</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a5245b2e519d69e1e3c93eae9aab82cb9" title="User-specified system header prefixes.">SystemHeaderPrefixes</a>.push_back(</div>
+<div class="line"><a name="l04066"></a><span class="lineno"> 4066</span> <a class="code" href="structclang_1_1HeaderSearchOptions_1_1SystemHeaderPrefix.html">HeaderSearchOptions::SystemHeaderPrefix</a>(Prefix, IsSystemHeader));</div>
+<div class="line"><a name="l04067"></a><span class="lineno"> 4067</span> }</div>
+<div class="line"><a name="l04068"></a><span class="lineno"> 4068</span> </div>
+<div class="line"><a name="l04069"></a><span class="lineno"> 4069</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#ac3915152e45f4ff70c81bd8f48947006">ResourceDir</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04070"></a><span class="lineno"> 4070</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a8c2a9d11a35b6c25f5700273fc816610" title="The directory used for the module cache.">ModuleCachePath</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04071"></a><span class="lineno"> 4071</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#af41794d056b511092d3b9016bad29a72" title="Whether we should disable the use of the hash string within the module cache.">DisableModuleHash</a> = Record[Idx++];</div>
+<div class="line"><a name="l04072"></a><span class="lineno"> 4072</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a9728d4297286c77fd6d306eda1d3aade" title="Include the compiler builtin includes.">UseBuiltinIncludes</a> = Record[Idx++];</div>
+<div class="line"><a name="l04073"></a><span class="lineno"> 4073</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#accb2fa9a6d1af19217718168dedde735" title="Include the system standard include search directories.">UseStandardSystemIncludes</a> = Record[Idx++];</div>
+<div class="line"><a name="l04074"></a><span class="lineno"> 4074</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#aa50fb306fc3b3afd9772e2769cd798d5" title="Include the system standard C++ library include search directories.">UseStandardCXXIncludes</a> = Record[Idx++];</div>
+<div class="line"><a name="l04075"></a><span class="lineno"> 4075</span> HSOpts.<a class="code" href="classclang_1_1HeaderSearchOptions.html#a9583c71fac1ed1bc2683a06e7895ee52" title="Use libc++ instead of the default libstdc++.">UseLibcxx</a> = Record[Idx++];</div>
+<div class="line"><a name="l04076"></a><span class="lineno"> 4076</span> </div>
+<div class="line"><a name="l04077"></a><span class="lineno"> 4077</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#ad95a93cf7f031aa84fc349699bacb988" title="Receives the header search options.">ReadHeaderSearchOptions</a>(HSOpts, Complain);</div>
+<div class="line"><a name="l04078"></a><span class="lineno"> 4078</span> }</div>
+<div class="line"><a name="l04079"></a><span class="lineno"> 4079</span> </div>
+<div class="line"><a name="l04080"></a><span class="lineno"> 4080</span> <span class="keywordtype">bool</span> ASTReader::ParsePreprocessorOptions(<span class="keyword">const</span> RecordData &Record,</div>
+<div class="line"><a name="l04081"></a><span class="lineno"> 4081</span> <span class="keywordtype">bool</span> Complain,</div>
+<div class="line"><a name="l04082"></a><span class="lineno"> 4082</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="l04083"></a><span class="lineno"> 4083</span> std::string &SuggestedPredefines) {</div>
+<div class="line"><a name="l04084"></a><span class="lineno"> 4084</span> <a class="code" href="classclang_1_1PreprocessorOptions.html">PreprocessorOptions</a> PPOpts;</div>
+<div class="line"><a name="l04085"></a><span class="lineno"> 4085</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04086"></a><span class="lineno"> 4086</span> </div>
+<div class="line"><a name="l04087"></a><span class="lineno"> 4087</span> <span class="comment">// Macro definitions/undefs</span></div>
+<div class="line"><a name="l04088"></a><span class="lineno"> 4088</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04089"></a><span class="lineno"> 4089</span> std::string Macro = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04090"></a><span class="lineno"> 4090</span> <span class="keywordtype">bool</span> IsUndef = Record[Idx++];</div>
+<div class="line"><a name="l04091"></a><span class="lineno"> 4091</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#ae048445dc7b1036784a71d057eb803c1">Macros</a>.push_back(std::make_pair(Macro, IsUndef));</div>
+<div class="line"><a name="l04092"></a><span class="lineno"> 4092</span> }</div>
+<div class="line"><a name="l04093"></a><span class="lineno"> 4093</span> </div>
+<div class="line"><a name="l04094"></a><span class="lineno"> 4094</span> <span class="comment">// Includes</span></div>
+<div class="line"><a name="l04095"></a><span class="lineno"> 4095</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04096"></a><span class="lineno"> 4096</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1d10fb5b3335d765ea61e5a5cf3e1821">Includes</a>.push_back(ReadString(Record, Idx));</div>
+<div class="line"><a name="l04097"></a><span class="lineno"> 4097</span> }</div>
+<div class="line"><a name="l04098"></a><span class="lineno"> 4098</span> </div>
+<div class="line"><a name="l04099"></a><span class="lineno"> 4099</span> <span class="comment">// Macro Includes</span></div>
+<div class="line"><a name="l04100"></a><span class="lineno"> 4100</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> N = Record[Idx++]; N; --N) {</div>
+<div class="line"><a name="l04101"></a><span class="lineno"> 4101</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a1ab7a198bfde2831a06b9716986eab3b">MacroIncludes</a>.push_back(ReadString(Record, Idx));</div>
+<div class="line"><a name="l04102"></a><span class="lineno"> 4102</span> }</div>
+<div class="line"><a name="l04103"></a><span class="lineno"> 4103</span> </div>
+<div class="line"><a name="l04104"></a><span class="lineno"> 4104</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a6bf6504a1e99a33278fc9918525482be" title="Initialize the preprocessor with the compiler and target specific predefines.">UsePredefines</a> = Record[Idx++];</div>
+<div class="line"><a name="l04105"></a><span class="lineno"> 4105</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> = Record[Idx++];</div>
+<div class="line"><a name="l04106"></a><span class="lineno"> 4106</span> PPOpts.<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> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04107"></a><span class="lineno"> 4107</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a0c36fcce055469acd070d560240f6179">ImplicitPTHInclude</a> = ReadString(Record, Idx);</div>
+<div class="line"><a name="l04108"></a><span class="lineno"> 4108</span> PPOpts.<a class="code" href="classclang_1_1PreprocessorOptions.html#a539b6d0619bceaaf15a2cee0d0280fe8" title="The Objective-C++ ARC standard library that we should support, by providing appropriate definitions t...">ObjCXXARCStandardLibrary</a> =</div>
+<div class="line"><a name="l04109"></a><span class="lineno"> 4109</span> <span class="keyword">static_cast<</span><a class="code" href="namespaceclang.html#a6d30ae8d7e08d15996da55cf93877d55" title="Enumerate the kinds of standard library that.">ObjCXXARCStandardLibraryKind</a><span class="keyword">></span>(Record[Idx++]);</div>
+<div class="line"><a name="l04110"></a><span class="lineno"> 4110</span> SuggestedPredefines.clear();</div>
+<div class="line"><a name="l04111"></a><span class="lineno"> 4111</span> <span class="keywordflow">return</span> Listener.<a class="code" href="classclang_1_1ASTReaderListener.html#a1bd59e23d284589e0f9da0d9cadce731" title="Receives the preprocessor options.">ReadPreprocessorOptions</a>(PPOpts, Complain,</div>
+<div class="line"><a name="l04112"></a><span class="lineno"> 4112</span> SuggestedPredefines);</div>
+<div class="line"><a name="l04113"></a><span class="lineno"> 4113</span> }</div>
+<div class="line"><a name="l04114"></a><span class="lineno"> 4114</span> </div>
+<div class="line"><a name="l04115"></a><span class="lineno"> 4115</span> std::pair<ModuleFile *, unsigned></div>
+<div class="line"><a name="l04116"></a><span class="lineno"> 4116</span> ASTReader::getModulePreprocessedEntity(<span class="keywordtype">unsigned</span> GlobalIndex) {</div>
+<div class="line"><a name="l04117"></a><span class="lineno"> 4117</span> GlobalPreprocessedEntityMapType::iterator</div>
+<div class="line"><a name="l04118"></a><span class="lineno"> 4118</span> I = GlobalPreprocessedEntityMap.find(GlobalIndex);</div>
+<div class="line"><a name="l04119"></a><span class="lineno"> 4119</span> assert(I != GlobalPreprocessedEntityMap.end() && </div>
+<div class="line"><a name="l04120"></a><span class="lineno"> 4120</span> <span class="stringliteral">"Corrupted global preprocessed entity map"</span>);</div>
+<div class="line"><a name="l04121"></a><span class="lineno"> 4121</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 = I->second;</div>
+<div class="line"><a name="l04122"></a><span class="lineno"> 4122</span> <span class="keywordtype">unsigned</span> LocalIndex = GlobalIndex - M->BasePreprocessedEntityID;</div>
+<div class="line"><a name="l04123"></a><span class="lineno"> 4123</span> <span class="keywordflow">return</span> std::make_pair(M, LocalIndex);</div>
+<div class="line"><a name="l04124"></a><span class="lineno"> 4124</span> }</div>
+<div class="line"><a name="l04125"></a><span class="lineno"> 4125</span> </div>
+<div class="line"><a name="l04126"></a><span class="lineno"> 4126</span> std::pair<PreprocessingRecord::iterator, PreprocessingRecord::iterator></div>
+<div class="line"><a name="l04127"></a><span class="lineno"> 4127</span> ASTReader::getModulePreprocessedEntities(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &Mod)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04128"></a><span class="lineno"> 4128</span> <span class="keywordflow">if</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="l04129"></a><span class="lineno"> 4129</span> <span class="keywordflow">return</span> PPRec->getIteratorsForLoadedRange(Mod.<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>,</div>
+<div class="line"><a name="l04130"></a><span class="lineno"> 4130</span> Mod.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a>);</div>
+<div class="line"><a name="l04131"></a><span class="lineno"> 4131</span> </div>
+<div class="line"><a name="l04132"></a><span class="lineno"> 4132</span> <span class="keywordflow">return</span> std::make_pair(<a class="code" href="classclang_1_1PreprocessingRecord_1_1iterator.html">PreprocessingRecord::iterator</a>(),</div>
+<div class="line"><a name="l04133"></a><span class="lineno"> 4133</span> <a class="code" href="classclang_1_1PreprocessingRecord_1_1iterator.html">PreprocessingRecord::iterator</a>());</div>
+<div class="line"><a name="l04134"></a><span class="lineno"> 4134</span> }</div>
+<div class="line"><a name="l04135"></a><span class="lineno"> 4135</span> </div>
+<div class="line"><a name="l04136"></a><span class="lineno"> 4136</span> std::pair<ASTReader::ModuleDeclIterator, ASTReader::ModuleDeclIterator></div>
+<div class="line"><a name="l04137"></a><span class="lineno"> 4137</span> ASTReader::getModuleFileLevelDecls(<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html" title="Information about a module that has been loaded by the ASTReader.">ModuleFile</a> &Mod) {</div>
+<div class="line"><a name="l04138"></a><span class="lineno"> 4138</span> <span class="keywordflow">return</span> std::make_pair(ModuleDeclIterator(<span class="keyword">this</span>, &Mod, Mod.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#acdbc4cb9938d92fdf6238b873854ec43" title="Array of file-level DeclIDs sorted by file.">FileSortedDecls</a>),</div>
+<div class="line"><a name="l04139"></a><span class="lineno"> 4139</span> ModuleDeclIterator(<span class="keyword">this</span>, &Mod,</div>
+<div class="line"><a name="l04140"></a><span class="lineno"> 4140</span> Mod.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#acdbc4cb9938d92fdf6238b873854ec43" title="Array of file-level DeclIDs sorted by file.">FileSortedDecls</a> + Mod.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a922823ba762b8e30da92267ea71729e4">NumFileSortedDecls</a>));</div>
+<div class="line"><a name="l04141"></a><span class="lineno"> 4141</span> }</div>
+<div class="line"><a name="l04142"></a><span class="lineno"> 4142</span> </div>
+<div class="line"><a name="l04143"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a3a2a3a82dbc3218287b313cad020ce2c"> 4143</a></span> <a class="code" href="classclang_1_1PreprocessedEntity.html" title="Base class that describes a preprocessed entity, which may be a preprocessor directive or macro expan...">PreprocessedEntity</a> *<a class="code" href="classclang_1_1ASTReader.html#a3a2a3a82dbc3218287b313cad020ce2c" title="Read a preallocated preprocessed entity from the external source.">ASTReader::ReadPreprocessedEntity</a>(<span class="keywordtype">unsigned</span> Index) {</div>
+<div class="line"><a name="l04144"></a><span class="lineno"> 4144</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> PPID = Index+1;</div>
+<div class="line"><a name="l04145"></a><span class="lineno"> 4145</span> std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);</div>
+<div class="line"><a name="l04146"></a><span class="lineno"> 4146</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 = *PPInfo.first;</div>
+<div class="line"><a name="l04147"></a><span class="lineno"> 4147</span> <span class="keywordtype">unsigned</span> LocalIndex = PPInfo.second;</div>
+<div class="line"><a name="l04148"></a><span class="lineno"> 4148</span> <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> &PPOffs = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a021e8c5e97c6e88b54b7ab41b68b178a">PreprocessedEntityOffsets</a>[LocalIndex];</div>
+<div class="line"><a name="l04149"></a><span class="lineno"> 4149</span> </div>
+<div class="line"><a name="l04150"></a><span class="lineno"> 4150</span> <span class="keywordflow">if</span> (!PP.getPreprocessingRecord()) {</div>
+<div class="line"><a name="l04151"></a><span class="lineno"> 4151</span> Error(<span class="stringliteral">"no preprocessing record"</span>);</div>
+<div class="line"><a name="l04152"></a><span class="lineno"> 4152</span> <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l04153"></a><span class="lineno"> 4153</span> }</div>
+<div class="line"><a name="l04154"></a><span class="lineno"> 4154</span> </div>
+<div class="line"><a name="l04155"></a><span class="lineno"> 4155</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(M.<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="l04156"></a><span class="lineno"> 4156</span> M.<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>.JumpToBit(PPOffs.<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html#a0741ea29ab1a486d42c9f2078587ff66" title="Offset in the AST file.">BitOffset</a>);</div>
+<div class="line"><a name="l04157"></a><span class="lineno"> 4157</span> </div>
+<div class="line"><a name="l04158"></a><span class="lineno"> 4158</span> llvm::BitstreamEntry Entry =</div>
+<div class="line"><a name="l04159"></a><span class="lineno"> 4159</span> M.<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>.advance(BitstreamCursor::AF_DontPopBlockAtEnd);</div>
+<div class="line"><a name="l04160"></a><span class="lineno"> 4160</span> <span class="keywordflow">if</span> (Entry.Kind != llvm::BitstreamEntry::Record)</div>
+<div class="line"><a name="l04161"></a><span class="lineno"> 4161</span> <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l04162"></a><span class="lineno"> 4162</span> </div>
+<div class="line"><a name="l04163"></a><span class="lineno"> 4163</span> <span class="comment">// Read the record.</span></div>
+<div class="line"><a name="l04164"></a><span class="lineno"> 4164</span> <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Range(ReadSourceLocation(M, PPOffs.<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html#a1f64a406f5c1480afb1921b32b00b1c9" title="Raw source location of beginning of range.">Begin</a>),</div>
+<div class="line"><a name="l04165"></a><span class="lineno"> 4165</span> ReadSourceLocation(M, PPOffs.<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html#af974b3a5ddc27e984dcca4d6fc99ad43" title="Raw source location of end of range.">End</a>));</div>
+<div class="line"><a name="l04166"></a><span class="lineno"> 4166</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="l04167"></a><span class="lineno"> 4167</span> StringRef Blob;</div>
+<div class="line"><a name="l04168"></a><span class="lineno"> 4168</span> <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> Record;</div>
+<div class="line"><a name="l04169"></a><span class="lineno"> 4169</span> <a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623" title="Record types used within a preprocessor detail block.">PreprocessorDetailRecordTypes</a> RecType =</div>
+<div class="line"><a name="l04170"></a><span class="lineno"> 4170</span> (<a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623" title="Record types used within a preprocessor detail block.">PreprocessorDetailRecordTypes</a>)M.<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>.readRecord(</div>
+<div class="line"><a name="l04171"></a><span class="lineno"> 4171</span> Entry.ID, Record, &Blob);</div>
+<div class="line"><a name="l04172"></a><span class="lineno"> 4172</span> <span class="keywordflow">switch</span> (RecType) {</div>
+<div class="line"><a name="l04173"></a><span class="lineno"> 4173</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a917e25be9fbc280765180bcb2660ab13" title="Describes a macro expansion within the preprocessing record.">PPD_MACRO_EXPANSION</a>: {</div>
+<div class="line"><a name="l04174"></a><span class="lineno"> 4174</span> <span class="keywordtype">bool</span> isBuiltin = Record[0];</div>
+<div class="line"><a name="l04175"></a><span class="lineno"> 4175</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = 0;</div>
+<div class="line"><a name="l04176"></a><span class="lineno"> 4176</span> <a class="code" href="classclang_1_1MacroDefinition.html" title="Record the location of a macro definition.">MacroDefinition</a> *Def = 0;</div>
+<div class="line"><a name="l04177"></a><span class="lineno"> 4177</span> <span class="keywordflow">if</span> (isBuiltin)</div>
+<div class="line"><a name="l04178"></a><span class="lineno"> 4178</span> Name = getLocalIdentifier(M, Record[1]);</div>
+<div class="line"><a name="l04179"></a><span class="lineno"> 4179</span> <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l04180"></a><span class="lineno"> 4180</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="l04181"></a><span class="lineno"> 4181</span> GlobalID = getGlobalPreprocessedEntityID(M, Record[1]);</div>
+<div class="line"><a name="l04182"></a><span class="lineno"> 4182</span> Def =cast<MacroDefinition>(PPRec.getLoadedPreprocessedEntity(GlobalID-1));</div>
+<div class="line"><a name="l04183"></a><span class="lineno"> 4183</span> }</div>
+<div class="line"><a name="l04184"></a><span class="lineno"> 4184</span> </div>
+<div class="line"><a name="l04185"></a><span class="lineno"> 4185</span> <a class="code" href="classclang_1_1MacroExpansion.html" title="Records the location of a macro expansion.">MacroExpansion</a> *ME;</div>
+<div class="line"><a name="l04186"></a><span class="lineno"> 4186</span> <span class="keywordflow">if</span> (isBuiltin)</div>
+<div class="line"><a name="l04187"></a><span class="lineno"> 4187</span> ME = <span class="keyword">new</span> (PPRec) <a class="code" href="classclang_1_1MacroExpansion.html" title="Records the location of a macro expansion.">MacroExpansion</a>(Name, Range);</div>
+<div class="line"><a name="l04188"></a><span class="lineno"> 4188</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l04189"></a><span class="lineno"> 4189</span> ME = <span class="keyword">new</span> (PPRec) <a class="code" href="classclang_1_1MacroExpansion.html" title="Records the location of a macro expansion.">MacroExpansion</a>(Def, Range);</div>
+<div class="line"><a name="l04190"></a><span class="lineno"> 4190</span> </div>
+<div class="line"><a name="l04191"></a><span class="lineno"> 4191</span> <span class="keywordflow">return</span> ME;</div>
+<div class="line"><a name="l04192"></a><span class="lineno"> 4192</span> }</div>
+<div class="line"><a name="l04193"></a><span class="lineno"> 4193</span> </div>
+<div class="line"><a name="l04194"></a><span class="lineno"> 4194</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623ad7c7599728ddb7b15c0656913a9d97d5" title="Describes a macro definition within the preprocessing record.">PPD_MACRO_DEFINITION</a>: {</div>
+<div class="line"><a name="l04195"></a><span class="lineno"> 4195</span> <span class="comment">// Decode the identifier info and then check again; if the macro is</span></div>
+<div class="line"><a name="l04196"></a><span class="lineno"> 4196</span> <span class="comment">// still defined and associated with the identifier,</span></div>
+<div class="line"><a name="l04197"></a><span class="lineno"> 4197</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II = getLocalIdentifier(M, Record[0]);</div>
+<div class="line"><a name="l04198"></a><span class="lineno"> 4198</span> <a class="code" href="classclang_1_1MacroDefinition.html" title="Record the location of a macro definition.">MacroDefinition</a> *MD</div>
+<div class="line"><a name="l04199"></a><span class="lineno"> 4199</span> = <span class="keyword">new</span> (PPRec) <a class="code" href="classclang_1_1MacroDefinition.html" title="Record the location of a macro definition.">MacroDefinition</a>(II, Range);</div>
+<div class="line"><a name="l04200"></a><span class="lineno"> 4200</span> </div>
+<div class="line"><a name="l04201"></a><span class="lineno"> 4201</span> <span class="keywordflow">if</span> (DeserializationListener)</div>
+<div class="line"><a name="l04202"></a><span class="lineno"> 4202</span> DeserializationListener->MacroDefinitionRead(PPID, MD);</div>
+<div class="line"><a name="l04203"></a><span class="lineno"> 4203</span> </div>
+<div class="line"><a name="l04204"></a><span class="lineno"> 4204</span> <span class="keywordflow">return</span> MD;</div>
+<div class="line"><a name="l04205"></a><span class="lineno"> 4205</span> }</div>
+<div class="line"><a name="l04206"></a><span class="lineno"> 4206</span> </div>
+<div class="line"><a name="l04207"></a><span class="lineno"> 4207</span> <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1serialization.html#ac3a63f46519bba4aa819769a970e1623a6a2477427b4e4e86dfa3a7d250712a5e" title="Describes an inclusion directive within the preprocessing record.">PPD_INCLUSION_DIRECTIVE</a>: {</div>
+<div class="line"><a name="l04208"></a><span class="lineno"> 4208</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *FullFileNameStart = Blob.data() + Record[0];</div>
+<div class="line"><a name="l04209"></a><span class="lineno"> 4209</span> StringRef FullFileName(FullFileNameStart, Blob.size() - Record[0]);</div>
+<div class="line"><a name="l04210"></a><span class="lineno"> 4210</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 = 0;</div>
+<div class="line"><a name="l04211"></a><span class="lineno"> 4211</span> <span class="keywordflow">if</span> (!FullFileName.empty())</div>
+<div class="line"><a name="l04212"></a><span class="lineno"> 4212</span> File = PP.getFileManager().getFile(FullFileName);</div>
+<div class="line"><a name="l04213"></a><span class="lineno"> 4213</span> </div>
+<div class="line"><a name="l04214"></a><span class="lineno"> 4214</span> <span class="comment">// FIXME: Stable encoding</span></div>
+<div class="line"><a name="l04215"></a><span class="lineno"> 4215</span> <a class="code" href="classclang_1_1InclusionDirective.html#a762101f8828f156ea99ccfab1b20d91c" title="The kind of inclusion directives known to the preprocessor.">InclusionDirective::InclusionKind</a> <a class="code" href="ChrootChecker_8cpp.html#aa10c9e8951b8ccf714a59ec321bdac5b">Kind</a></div>
+<div class="line"><a name="l04216"></a><span class="lineno"> 4216</span> = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1InclusionDirective.html#a762101f8828f156ea99ccfab1b20d91c" title="The kind of inclusion directives known to the preprocessor.">InclusionDirective::InclusionKind</a><span class="keyword">></span>(Record[2]);</div>
+<div class="line"><a name="l04217"></a><span class="lineno"> 4217</span> <a class="code" href="classclang_1_1InclusionDirective.html" title="Record the location of an inclusion directive, such as an #include or #import statement.">InclusionDirective</a> *ID</div>
+<div class="line"><a name="l04218"></a><span class="lineno"> 4218</span> = <span class="keyword">new</span> (PPRec) <a class="code" href="classclang_1_1InclusionDirective.html" title="Record the location of an inclusion directive, such as an #include or #import statement.">InclusionDirective</a>(PPRec, Kind,</div>
+<div class="line"><a name="l04219"></a><span class="lineno"> 4219</span> StringRef(Blob.data(), Record[0]),</div>
+<div class="line"><a name="l04220"></a><span class="lineno"> 4220</span> Record[1], Record[3],</div>
+<div class="line"><a name="l04221"></a><span class="lineno"> 4221</span> File,</div>
+<div class="line"><a name="l04222"></a><span class="lineno"> 4222</span> Range);</div>
+<div class="line"><a name="l04223"></a><span class="lineno"> 4223</span> <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>;</div>
+<div class="line"><a name="l04224"></a><span class="lineno"> 4224</span> }</div>
+<div class="line"><a name="l04225"></a><span class="lineno"> 4225</span> }</div>
+<div class="line"><a name="l04226"></a><span class="lineno"> 4226</span> </div>
+<div class="line"><a name="l04227"></a><span class="lineno"> 4227</span> llvm_unreachable(<span class="stringliteral">"Invalid PreprocessorDetailRecordTypes"</span>);</div>
+<div class="line"><a name="l04228"></a><span class="lineno"> 4228</span> }</div>
+<div class="line"><a name="l04229"></a><span class="lineno"> 4229</span> <span class="comment"></span></div>
+<div class="line"><a name="l04230"></a><span class="lineno"> 4230</span> <span class="comment">/// \brief \arg SLocMapI points at a chunk of a module that contains no</span></div>
+<div class="line"><a name="l04231"></a><span class="lineno"> 4231</span> <span class="comment">/// preprocessed entities or the entities it contains are not the ones we are</span></div>
+<div class="line"><a name="l04232"></a><span class="lineno"> 4232</span> <span class="comment">/// looking for. Find the next module that contains entities and return the ID</span></div>
+<div class="line"><a name="l04233"></a><span class="lineno"> 4233</span> <span class="comment">/// of the first entry.</span></div>
+<div class="line"><a name="l04234"></a><span class="lineno"> 4234</span> <span class="comment"></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> ASTReader::findNextPreprocessedEntity(</div>
+<div class="line"><a name="l04235"></a><span class="lineno"> 4235</span> GlobalSLocOffsetMapType::const_iterator SLocMapI)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04236"></a><span class="lineno"> 4236</span> ++SLocMapI;</div>
+<div class="line"><a name="l04237"></a><span class="lineno"> 4237</span> <span class="keywordflow">for</span> (GlobalSLocOffsetMapType::const_iterator</div>
+<div class="line"><a name="l04238"></a><span class="lineno"> 4238</span> EndI = GlobalSLocOffsetMap.end(); SLocMapI != EndI; ++SLocMapI) {</div>
+<div class="line"><a name="l04239"></a><span class="lineno"> 4239</span> ModuleFile &M = *SLocMapI->second;</div>
+<div class="line"><a name="l04240"></a><span class="lineno"> 4240</span> <span class="keywordflow">if</span> (M.NumPreprocessedEntities)</div>
+<div class="line"><a name="l04241"></a><span class="lineno"> 4241</span> <span class="keywordflow">return</span> M.BasePreprocessedEntityID;</div>
+<div class="line"><a name="l04242"></a><span class="lineno"> 4242</span> }</div>
+<div class="line"><a name="l04243"></a><span class="lineno"> 4243</span> </div>
+<div class="line"><a name="l04244"></a><span class="lineno"> 4244</span> <span class="keywordflow">return</span> getTotalNumPreprocessedEntities();</div>
+<div class="line"><a name="l04245"></a><span class="lineno"> 4245</span> }</div>
+<div class="line"><a name="l04246"></a><span class="lineno"> 4246</span> </div>
+<div class="line"><a name="l04247"></a><span class="lineno"> 4247</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l04248"></a><span class="lineno"> 4248</span> </div>
+<div class="line"><a name="l04249"></a><span class="lineno"> 4249</span> <span class="keyword">template</span> <<span class="keywordtype">unsigned</span> PPEntityOffset::*PPLoc></div>
+<div class="line"><a name="l04250"></a><span class="lineno"> 4250</span> <span class="keyword">struct </span>PPEntityComp {</div>
+<div class="line"><a name="l04251"></a><span class="lineno"> 4251</span> <span class="keyword">const</span> <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="l04252"></a><span class="lineno"> 4252</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="l04253"></a><span class="lineno"> 4253</span> </div>
+<div class="line"><a name="l04254"></a><span class="lineno"> 4254</span> PPEntityComp(<span class="keyword">const</span> <a class="code" href="classclang_1_1ASTReader.html" title="Reads an AST files chain containing the contents of a translation unit.">ASTReader</a> &Reader, <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) : Reader(Reader), M(M) { }</div>
+<div class="line"><a name="l04255"></a><span class="lineno"> 4255</span> </div>
+<div class="line"><a name="l04256"></a><span class="lineno"> 4256</span> <span class="keywordtype">bool</span> operator()(<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> &L, <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> &R)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04257"></a><span class="lineno"> 4257</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> LHS = getLoc(L);</div>
+<div class="line"><a name="l04258"></a><span class="lineno"> 4258</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> RHS = getLoc(R);</div>
+<div class="line"><a name="l04259"></a><span class="lineno"> 4259</span> <span class="keywordflow">return</span> Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS);</div>
+<div class="line"><a name="l04260"></a><span class="lineno"> 4260</span> }</div>
+<div class="line"><a name="l04261"></a><span class="lineno"> 4261</span> </div>
+<div class="line"><a name="l04262"></a><span class="lineno"> 4262</span> <span class="keywordtype">bool</span> operator()(<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> &L, <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> RHS)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04263"></a><span class="lineno"> 4263</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> LHS = getLoc(L);</div>
+<div class="line"><a name="l04264"></a><span class="lineno"> 4264</span> <span class="keywordflow">return</span> Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS);</div>
+<div class="line"><a name="l04265"></a><span class="lineno"> 4265</span> }</div>
+<div class="line"><a name="l04266"></a><span class="lineno"> 4266</span> </div>
+<div class="line"><a name="l04267"></a><span class="lineno"> 4267</span> <span class="keywordtype">bool</span> operator()(<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> LHS, <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> &R)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04268"></a><span class="lineno"> 4268</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> RHS = getLoc(R);</div>
+<div class="line"><a name="l04269"></a><span class="lineno"> 4269</span> <span class="keywordflow">return</span> Reader.getSourceManager().isBeforeInTranslationUnit(LHS, RHS);</div>
+<div class="line"><a name="l04270"></a><span class="lineno"> 4270</span> }</div>
+<div class="line"><a name="l04271"></a><span class="lineno"> 4271</span> </div>
+<div class="line"><a name="l04272"></a><span class="lineno"> 4272</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> getLoc(<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> &PPE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04273"></a><span class="lineno"> 4273</span> <span class="keywordflow">return</span> Reader.ReadSourceLocation(M, PPE.*PPLoc);</div>
+<div class="line"><a name="l04274"></a><span class="lineno"> 4274</span> }</div>
+<div class="line"><a name="l04275"></a><span class="lineno"> 4275</span> };</div>
+<div class="line"><a name="l04276"></a><span class="lineno"> 4276</span> </div>
+<div class="line"><a name="l04277"></a><span class="lineno"> 4277</span> }</div>
+<div class="line"><a name="l04278"></a><span class="lineno"> 4278</span> <span class="comment"></span></div>
+<div class="line"><a name="l04279"></a><span class="lineno"> 4279</span> <span class="comment">/// \brief Returns the first preprocessed entity ID that ends after \arg BLoc.</span></div>
+<div class="line"><a name="l04280"></a><span class="lineno"> 4280</span> <span class="comment"></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="l04281"></a><span class="lineno"> 4281</span> ASTReader::findBeginPreprocessedEntity(<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> BLoc)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04282"></a><span class="lineno"> 4282</span> <span class="keywordflow">if</span> (<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#af1194356bbade1c672011d939b75ebd2" title="Returns true if Loc did not come from a PCH/Module.">isLocalSourceLocation</a>(BLoc))</div>
+<div class="line"><a name="l04283"></a><span class="lineno"> 4283</span> <span class="keywordflow">return</span> getTotalNumPreprocessedEntities();</div>
+<div class="line"><a name="l04284"></a><span class="lineno"> 4284</span> </div>
+<div class="line"><a name="l04285"></a><span class="lineno"> 4285</span> GlobalSLocOffsetMapType::const_iterator</div>
+<div class="line"><a name="l04286"></a><span class="lineno"> 4286</span> SLocMapI = GlobalSLocOffsetMap.find(SourceManager::MaxLoadedOffset -</div>
+<div class="line"><a name="l04287"></a><span class="lineno"> 4287</span> BLoc.getOffset() - 1);</div>
+<div class="line"><a name="l04288"></a><span class="lineno"> 4288</span> assert(SLocMapI != GlobalSLocOffsetMap.end() &&</div>
+<div class="line"><a name="l04289"></a><span class="lineno"> 4289</span> <span class="stringliteral">"Corrupted global sloc offset map"</span>);</div>
+<div class="line"><a name="l04290"></a><span class="lineno"> 4290</span> </div>
+<div class="line"><a name="l04291"></a><span class="lineno"> 4291</span> <span class="keywordflow">if</span> (SLocMapI->second->NumPreprocessedEntities == 0)</div>
+<div class="line"><a name="l04292"></a><span class="lineno"> 4292</span> <span class="keywordflow">return</span> findNextPreprocessedEntity(SLocMapI);</div>
+<div class="line"><a name="l04293"></a><span class="lineno"> 4293</span> </div>
+<div class="line"><a name="l04294"></a><span class="lineno"> 4294</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 = *SLocMapI->second;</div>
+<div class="line"><a name="l04295"></a><span class="lineno"> 4295</span> <span class="keyword">typedef</span> <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> *pp_iterator;</div>
+<div class="line"><a name="l04296"></a><span class="lineno"> 4296</span> pp_iterator pp_begin = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a021e8c5e97c6e88b54b7ab41b68b178a">PreprocessedEntityOffsets</a>;</div>
+<div class="line"><a name="l04297"></a><span class="lineno"> 4297</span> pp_iterator pp_end = pp_begin + M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a>;</div>
+<div class="line"><a name="l04298"></a><span class="lineno"> 4298</span> </div>
+<div class="line"><a name="l04299"></a><span class="lineno"> 4299</span> <span class="keywordtype">size_t</span> <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960ad0386506936fec96a18d01e42d4eb514">Count</a> = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a>;</div>
+<div class="line"><a name="l04300"></a><span class="lineno"> 4300</span> <span class="keywordtype">size_t</span> Half;</div>
+<div class="line"><a name="l04301"></a><span class="lineno"> 4301</span> pp_iterator First = pp_begin;</div>
+<div class="line"><a name="l04302"></a><span class="lineno"> 4302</span> pp_iterator PPI;</div>
+<div class="line"><a name="l04303"></a><span class="lineno"> 4303</span> </div>
+<div class="line"><a name="l04304"></a><span class="lineno"> 4304</span> <span class="comment">// Do a binary search manually instead of using std::lower_bound because</span></div>
+<div class="line"><a name="l04305"></a><span class="lineno"> 4305</span> <span class="comment">// The end locations of entities may be unordered (when a macro expansion</span></div>
+<div class="line"><a name="l04306"></a><span class="lineno"> 4306</span> <span class="comment">// is inside another macro argument), but for this case it is not important</span></div>
+<div class="line"><a name="l04307"></a><span class="lineno"> 4307</span> <span class="comment">// whether we get the first macro expansion or its containing macro.</span></div>
+<div class="line"><a name="l04308"></a><span class="lineno"> 4308</span> <span class="keywordflow">while</span> (Count > 0) {</div>
+<div class="line"><a name="l04309"></a><span class="lineno"> 4309</span> Half = Count/2;</div>
+<div class="line"><a name="l04310"></a><span class="lineno"> 4310</span> PPI = First;</div>
+<div class="line"><a name="l04311"></a><span class="lineno"> 4311</span> std::advance(PPI, Half);</div>
+<div class="line"><a name="l04312"></a><span class="lineno"> 4312</span> <span class="keywordflow">if</span> (<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a80e6af876450686c7811c34fc72fcbdc" title="Determines the order of 2 source locations in the translation unit.">isBeforeInTranslationUnit</a>(ReadSourceLocation(M, PPI->End),</div>
+<div class="line"><a name="l04313"></a><span class="lineno"> 4313</span> BLoc)){</div>
+<div class="line"><a name="l04314"></a><span class="lineno"> 4314</span> First = PPI;</div>
+<div class="line"><a name="l04315"></a><span class="lineno"> 4315</span> ++First;</div>
+<div class="line"><a name="l04316"></a><span class="lineno"> 4316</span> Count = Count - Half - 1;</div>
+<div class="line"><a name="l04317"></a><span class="lineno"> 4317</span> } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l04318"></a><span class="lineno"> 4318</span> Count = Half;</div>
+<div class="line"><a name="l04319"></a><span class="lineno"> 4319</span> }</div>
+<div class="line"><a name="l04320"></a><span class="lineno"> 4320</span> </div>
+<div class="line"><a name="l04321"></a><span class="lineno"> 4321</span> <span class="keywordflow">if</span> (PPI == pp_end)</div>
+<div class="line"><a name="l04322"></a><span class="lineno"> 4322</span> <span class="keywordflow">return</span> findNextPreprocessedEntity(SLocMapI);</div>
+<div class="line"><a name="l04323"></a><span class="lineno"> 4323</span> </div>
+<div class="line"><a name="l04324"></a><span class="lineno"> 4324</span> <span class="keywordflow">return</span> M.<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> + (PPI - pp_begin);</div>
+<div class="line"><a name="l04325"></a><span class="lineno"> 4325</span> }</div>
+<div class="line"><a name="l04326"></a><span class="lineno"> 4326</span> <span class="comment"></span></div>
+<div class="line"><a name="l04327"></a><span class="lineno"> 4327</span> <span class="comment">/// \brief Returns the first preprocessed entity ID that begins after \arg ELoc.</span></div>
+<div class="line"><a name="l04328"></a><span class="lineno"> 4328</span> <span class="comment"></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="l04329"></a><span class="lineno"> 4329</span> ASTReader::findEndPreprocessedEntity(<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> ELoc)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l04330"></a><span class="lineno"> 4330</span> <span class="keywordflow">if</span> (<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#af1194356bbade1c672011d939b75ebd2" title="Returns true if Loc did not come from a PCH/Module.">isLocalSourceLocation</a>(ELoc))</div>
+<div class="line"><a name="l04331"></a><span class="lineno"> 4331</span> <span class="keywordflow">return</span> getTotalNumPreprocessedEntities();</div>
+<div class="line"><a name="l04332"></a><span class="lineno"> 4332</span> </div>
+<div class="line"><a name="l04333"></a><span class="lineno"> 4333</span> GlobalSLocOffsetMapType::const_iterator</div>
+<div class="line"><a name="l04334"></a><span class="lineno"> 4334</span> SLocMapI = GlobalSLocOffsetMap.find(SourceManager::MaxLoadedOffset -</div>
+<div class="line"><a name="l04335"></a><span class="lineno"> 4335</span> ELoc.getOffset() - 1);</div>
+<div class="line"><a name="l04336"></a><span class="lineno"> 4336</span> assert(SLocMapI != GlobalSLocOffsetMap.end() &&</div>
+<div class="line"><a name="l04337"></a><span class="lineno"> 4337</span> <span class="stringliteral">"Corrupted global sloc offset map"</span>);</div>
+<div class="line"><a name="l04338"></a><span class="lineno"> 4338</span> </div>
+<div class="line"><a name="l04339"></a><span class="lineno"> 4339</span> <span class="keywordflow">if</span> (SLocMapI->second->NumPreprocessedEntities == 0)</div>
+<div class="line"><a name="l04340"></a><span class="lineno"> 4340</span> <span class="keywordflow">return</span> findNextPreprocessedEntity(SLocMapI);</div>
+<div class="line"><a name="l04341"></a><span class="lineno"> 4341</span> </div>
+<div class="line"><a name="l04342"></a><span class="lineno"> 4342</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 = *SLocMapI->second;</div>
+<div class="line"><a name="l04343"></a><span class="lineno"> 4343</span> <span class="keyword">typedef</span> <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> *pp_iterator;</div>
+<div class="line"><a name="l04344"></a><span class="lineno"> 4344</span> pp_iterator pp_begin = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a021e8c5e97c6e88b54b7ab41b68b178a">PreprocessedEntityOffsets</a>;</div>
+<div class="line"><a name="l04345"></a><span class="lineno"> 4345</span> pp_iterator pp_end = pp_begin + M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a88ac4827bc99f652cf652f509b1e2143">NumPreprocessedEntities</a>;</div>
+<div class="line"><a name="l04346"></a><span class="lineno"> 4346</span> pp_iterator PPI =</div>
+<div class="line"><a name="l04347"></a><span class="lineno"> 4347</span> std::upper_bound(pp_begin, pp_end, ELoc,</div>
+<div class="line"><a name="l04348"></a><span class="lineno"> 4348</span> PPEntityComp<&PPEntityOffset::Begin>(*<span class="keyword">this</span>, M));</div>
+<div class="line"><a name="l04349"></a><span class="lineno"> 4349</span> </div>
+<div class="line"><a name="l04350"></a><span class="lineno"> 4350</span> <span class="keywordflow">if</span> (PPI == pp_end)</div>
+<div class="line"><a name="l04351"></a><span class="lineno"> 4351</span> <span class="keywordflow">return</span> findNextPreprocessedEntity(SLocMapI);</div>
+<div class="line"><a name="l04352"></a><span class="lineno"> 4352</span> </div>
+<div class="line"><a name="l04353"></a><span class="lineno"> 4353</span> <span class="keywordflow">return</span> M.<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> + (PPI - pp_begin);</div>
+<div class="line"><a name="l04354"></a><span class="lineno"> 4354</span> }</div>
+<div class="line"><a name="l04355"></a><span class="lineno"> 4355</span> <span class="comment"></span></div>
+<div class="line"><a name="l04356"></a><span class="lineno"> 4356</span> <span class="comment">/// \brief Returns a pair of [Begin, End) indices of preallocated</span></div>
+<div class="line"><a name="l04357"></a><span class="lineno"> 4357</span> <span class="comment">/// preprocessed entities that \arg Range encompasses.</span></div>
+<div class="line"><a name="l04358"></a><span class="lineno"> 4358</span> <span class="comment"></span>std::pair<unsigned, unsigned></div>
+<div class="line"><a name="l04359"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#afdff683ae8d4f444798f8ddea662e2eb"> 4359</a></span> <a class="code" href="classclang_1_1ASTReader.html#afdff683ae8d4f444798f8ddea662e2eb" title="Returns a pair of [Begin, End) indices of preallocated preprocessed entities that Range encompasses...">ASTReader::findPreprocessedEntitiesInRange</a>(<a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Range) {</div>
+<div class="line"><a name="l04360"></a><span class="lineno"> 4360</span> <span class="keywordflow">if</span> (Range.<a class="code" href="classclang_1_1SourceRange.html#ad4b210c1ce478d3e76c9e8e27bad7745">isInvalid</a>())</div>
+<div class="line"><a name="l04361"></a><span class="lineno"> 4361</span> <span class="keywordflow">return</span> std::make_pair(0,0);</div>
+<div class="line"><a name="l04362"></a><span class="lineno"> 4362</span> assert(!<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a80e6af876450686c7811c34fc72fcbdc" title="Determines the order of 2 source locations in the translation unit.">isBeforeInTranslationUnit</a>(Range.<a class="code" href="classclang_1_1SourceRange.html#a982d28235ad96ce81b3e8144b7b245c0">getEnd</a>(),Range.<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>()));</div>
+<div class="line"><a name="l04363"></a><span class="lineno"> 4363</span> </div>
+<div class="line"><a name="l04364"></a><span class="lineno"> 4364</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> BeginID = findBeginPreprocessedEntity(Range.<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>());</div>
+<div class="line"><a name="l04365"></a><span class="lineno"> 4365</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> EndID = findEndPreprocessedEntity(Range.<a class="code" href="classclang_1_1SourceRange.html#a982d28235ad96ce81b3e8144b7b245c0">getEnd</a>());</div>
+<div class="line"><a name="l04366"></a><span class="lineno"> 4366</span> <span class="keywordflow">return</span> std::make_pair(BeginID, EndID);</div>
+<div class="line"><a name="l04367"></a><span class="lineno"> 4367</span> }</div>
+<div class="line"><a name="l04368"></a><span class="lineno"> 4368</span> <span class="comment"></span></div>
+<div class="line"><a name="l04369"></a><span class="lineno"> 4369</span> <span class="comment">/// \brief Optionally returns true or false if the preallocated preprocessed</span></div>
+<div class="line"><a name="l04370"></a><span class="lineno"> 4370</span> <span class="comment">/// entity with index \arg Index came from file \arg FID.</span></div>
+<div class="line"><a name="l04371"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ab829b75277cfb1cdb2073f3095a1622f"> 4371</a></span> <span class="comment"></span><a class="code" href="classllvm_1_1Optional.html">Optional<bool></a> <a class="code" href="classclang_1_1ASTReader.html#ab829b75277cfb1cdb2073f3095a1622f" title="Optionally returns true or false if the preallocated preprocessed entity with index Index came from f...">ASTReader::isPreprocessedEntityInFileID</a>(<span class="keywordtype">unsigned</span> Index,</div>
+<div class="line"><a name="l04372"></a><span class="lineno"> 4372</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) {</div>
+<div class="line"><a name="l04373"></a><span class="lineno"> 4373</span> <span class="keywordflow">if</span> (FID.<a class="code" href="classclang_1_1FileID.html#a89ac6cca1064b7275a777f86450c7863">isInvalid</a>())</div>
+<div class="line"><a name="l04374"></a><span class="lineno"> 4374</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04375"></a><span class="lineno"> 4375</span> </div>
+<div class="line"><a name="l04376"></a><span class="lineno"> 4376</span> std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);</div>
+<div class="line"><a name="l04377"></a><span class="lineno"> 4377</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 = *PPInfo.first;</div>
+<div class="line"><a name="l04378"></a><span class="lineno"> 4378</span> <span class="keywordtype">unsigned</span> LocalIndex = PPInfo.second;</div>
+<div class="line"><a name="l04379"></a><span class="lineno"> 4379</span> <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> &PPOffs = M.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#a021e8c5e97c6e88b54b7ab41b68b178a">PreprocessedEntityOffsets</a>[LocalIndex];</div>
+<div class="line"><a name="l04380"></a><span class="lineno"> 4380</span> </div>
+<div class="line"><a name="l04381"></a><span class="lineno"> 4381</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, PPOffs.<a class="code" href="structclang_1_1serialization_1_1PPEntityOffset.html#a1f64a406f5c1480afb1921b32b00b1c9" title="Raw source location of beginning of range.">Begin</a>);</div>
+<div class="line"><a name="l04382"></a><span class="lineno"> 4382</span> <span class="keywordflow">if</span> (Loc.<a class="code" href="classclang_1_1SourceLocation.html#a1936fc09837ff8a195fa63e29f05796f">isInvalid</a>())</div>
+<div class="line"><a name="l04383"></a><span class="lineno"> 4383</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04384"></a><span class="lineno"> 4384</span> </div>
+<div class="line"><a name="l04385"></a><span class="lineno"> 4385</span> <span class="keywordflow">if</span> (<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#ab7ef8050c9bcf7a743dab59f2487382c" title="Given a specific FileID, returns true if Loc is inside that FileID chunk and sets relative offset (of...">isInFileID</a>(<a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>.<a class="code" href="classclang_1_1SourceManager.html#a0a48eea62efa1672fb1da24a310d36db" title="Given Loc, if it is a macro location return the expansion location or the spelling location...">getFileLoc</a>(Loc), FID))</div>
+<div class="line"><a name="l04386"></a><span class="lineno"> 4386</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l04387"></a><span class="lineno"> 4387</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l04388"></a><span class="lineno"> 4388</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04389"></a><span class="lineno"> 4389</span> }</div>
+<div class="line"><a name="l04390"></a><span class="lineno"> 4390</span> </div>
+<div class="line"><a name="l04391"></a><span class="lineno"> 4391</span> <span class="keyword">namespace </span>{<span class="comment"></span></div>
+<div class="line"><a name="l04392"></a><span class="lineno"> 4392</span> <span class="comment"> /// \brief Visitor used to search for information about a header file.</span></div>
+<div class="line"><a name="l04393"></a><span class="lineno"> 4393</span> <span class="comment"></span> <span class="keyword">class </span>HeaderFileInfoVisitor {</div>
+<div class="line"><a name="l04394"></a><span class="lineno"> 4394</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1FileEntry.html" title="Cached information about one file (either on disk or in the virtual file system).">FileEntry</a> *FE;</div>
+<div class="line"><a name="l04395"></a><span class="lineno"> 4395</span> </div>
+<div class="line"><a name="l04396"></a><span class="lineno"> 4396</span> <a class="code" href="classllvm_1_1Optional.html">Optional<HeaderFileInfo></a> HFI;</div>
+<div class="line"><a name="l04397"></a><span class="lineno"> 4397</span> </div>
+<div class="line"><a name="l04398"></a><span class="lineno"> 4398</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l04399"></a><span class="lineno"> 4399</span> <span class="keyword">explicit</span> HeaderFileInfoVisitor(<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="l04400"></a><span class="lineno"> 4400</span> : FE(FE) { }</div>
+<div class="line"><a name="l04401"></a><span class="lineno"> 4401</span> </div>
+<div class="line"><a name="l04402"></a><span class="lineno"> 4402</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="l04403"></a><span class="lineno"> 4403</span> HeaderFileInfoVisitor *This</div>
+<div class="line"><a name="l04404"></a><span class="lineno"> 4404</span> = <span class="keyword">static_cast<</span>HeaderFileInfoVisitor *<span class="keyword">></span>(UserData);</div>
+<div class="line"><a name="l04405"></a><span class="lineno"> 4405</span> </div>
+<div class="line"><a name="l04406"></a><span class="lineno"> 4406</span> <a class="code" href="classclang_1_1OnDiskChainedHashTable.html">HeaderFileInfoLookupTable</a> *Table</div>
+<div class="line"><a name="l04407"></a><span class="lineno"> 4407</span> = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1OnDiskChainedHashTable.html">HeaderFileInfoLookupTable</a> *<span class="keyword">></span>(M.<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="l04408"></a><span class="lineno"> 4408</span> <span class="keywordflow">if</span> (!Table)</div>
+<div class="line"><a name="l04409"></a><span class="lineno"> 4409</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04410"></a><span class="lineno"> 4410</span> </div>
+<div class="line"><a name="l04411"></a><span class="lineno"> 4411</span> <span class="comment">// Look in the on-disk hash table for an entry for this file name.</span></div>
+<div class="line"><a name="l04412"></a><span class="lineno"> 4412</span> <a class="code" href="classclang_1_1OnDiskChainedHashTable_1_1iterator.html">HeaderFileInfoLookupTable::iterator</a> Pos = Table-><a class="code" href="classclang_1_1OnDiskChainedHashTable.html#ad3ac7a66bbf1aa535d84050d6f45b619">find</a>(This->FE);</div>
+<div class="line"><a name="l04413"></a><span class="lineno"> 4413</span> <span class="keywordflow">if</span> (Pos == Table-><a class="code" href="classclang_1_1OnDiskChainedHashTable.html#a5c81d6847bc1a46c650e5b733bd64dbd">end</a>())</div>
+<div class="line"><a name="l04414"></a><span class="lineno"> 4414</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04415"></a><span class="lineno"> 4415</span> </div>
+<div class="line"><a name="l04416"></a><span class="lineno"> 4416</span> This->HFI = *Pos;</div>
+<div class="line"><a name="l04417"></a><span class="lineno"> 4417</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l04418"></a><span class="lineno"> 4418</span> }</div>
+<div class="line"><a name="l04419"></a><span class="lineno"> 4419</span> </div>
+<div class="line"><a name="l04420"></a><span class="lineno"> 4420</span> <a class="code" href="classllvm_1_1Optional.html">Optional<HeaderFileInfo></a> getHeaderFileInfo()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> HFI; }</div>
+<div class="line"><a name="l04421"></a><span class="lineno"> 4421</span> };</div>
+<div class="line"><a name="l04422"></a><span class="lineno"> 4422</span> }</div>
+<div class="line"><a name="l04423"></a><span class="lineno"> 4423</span> </div>
+<div class="line"><a name="l04424"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#adb2f4b8a3aa18c21e44a59d7630ed21e"> 4424</a></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> <a class="code" href="classclang_1_1ASTReader.html#adb2f4b8a3aa18c21e44a59d7630ed21e" title="Read the header file information for the given file entry.">ASTReader::GetHeaderFileInfo</a>(<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="l04425"></a><span class="lineno"> 4425</span> HeaderFileInfoVisitor Visitor(FE);</div>
+<div class="line"><a name="l04426"></a><span class="lineno"> 4426</span> ModuleMgr.visit(&HeaderFileInfoVisitor::visit, &Visitor);</div>
+<div class="line"><a name="l04427"></a><span class="lineno"> 4427</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<HeaderFileInfo></a> HFI = Visitor.getHeaderFileInfo())</div>
+<div class="line"><a name="l04428"></a><span class="lineno"> 4428</span> <span class="keywordflow">return</span> *HFI;</div>
+<div class="line"><a name="l04429"></a><span class="lineno"> 4429</span> </div>
+<div class="line"><a name="l04430"></a><span class="lineno"> 4430</span> <span class="keywordflow">return</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>();</div>
+<div class="line"><a name="l04431"></a><span class="lineno"> 4431</span> }</div>
+<div class="line"><a name="l04432"></a><span class="lineno"> 4432</span> </div>
+<div class="line"><a name="l04433"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#ad17063268dc4a9569e6f5cc3d9827b9e"> 4433</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTReader.html#ad17063268dc4a9569e6f5cc3d9827b9e">ASTReader::ReadPragmaDiagnosticMappings</a>(<a class="code" href="classclang_1_1DiagnosticsEngine.html" title="Concrete class used by the front-end to report problems and issues.">DiagnosticsEngine</a> &<a class="code" href="LiteralSupport_8cpp.html#a5f4a4a29292c4a1697226abf1d22b9dd" title="Produce a diagnostic highlighting some portion of a literal.">Diag</a>) {</div>
+<div class="line"><a name="l04434"></a><span class="lineno"> 4434</span> <span class="comment">// FIXME: Make it work properly with modules.</span></div>
+<div class="line"><a name="l04435"></a><span class="lineno"> 4435</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<DiagnosticsEngine::DiagState *, 32></a> DiagStates;</div>
+<div class="line"><a name="l04436"></a><span class="lineno"> 4436</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1ASTReader.html#ace124ed077656a9c852012e3458f0131">ModuleIterator</a> I = ModuleMgr.begin(), E = ModuleMgr.end(); I != E; ++I) {</div>
+<div class="line"><a name="l04437"></a><span class="lineno"> 4437</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 = *(*I);</div>
+<div class="line"><a name="l04438"></a><span class="lineno"> 4438</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04439"></a><span class="lineno"> 4439</span> DiagStates.clear();</div>
+<div class="line"><a name="l04440"></a><span class="lineno"> 4440</span> assert(!Diag.DiagStates.empty());</div>
+<div class="line"><a name="l04441"></a><span class="lineno"> 4441</span> DiagStates.push_back(&Diag.DiagStates.front()); <span class="comment">// the command-line one.</span></div>
+<div class="line"><a name="l04442"></a><span class="lineno"> 4442</span> <span class="keywordflow">while</span> (Idx < F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.size()) {</div>
+<div class="line"><a name="l04443"></a><span class="lineno"> 4443</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, F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>[Idx++]);</div>
+<div class="line"><a name="l04444"></a><span class="lineno"> 4444</span> <span class="keywordtype">unsigned</span> DiagStateID = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>[Idx++];</div>
+<div class="line"><a name="l04445"></a><span class="lineno"> 4445</span> <span class="keywordflow">if</span> (DiagStateID != 0) {</div>
+<div class="line"><a name="l04446"></a><span class="lineno"> 4446</span> Diag.DiagStatePoints.push_back(</div>
+<div class="line"><a name="l04447"></a><span class="lineno"> 4447</span> DiagnosticsEngine::DiagStatePoint(DiagStates[DiagStateID-1],</div>
+<div class="line"><a name="l04448"></a><span class="lineno"> 4448</span> <a class="code" href="classclang_1_1FullSourceLoc.html" title="A SourceLocation and its associated SourceManager.">FullSourceLoc</a>(Loc, <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>)));</div>
+<div class="line"><a name="l04449"></a><span class="lineno"> 4449</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l04450"></a><span class="lineno"> 4450</span> }</div>
+<div class="line"><a name="l04451"></a><span class="lineno"> 4451</span> </div>
+<div class="line"><a name="l04452"></a><span class="lineno"> 4452</span> assert(DiagStateID == 0);</div>
+<div class="line"><a name="l04453"></a><span class="lineno"> 4453</span> <span class="comment">// A new DiagState was created here.</span></div>
+<div class="line"><a name="l04454"></a><span class="lineno"> 4454</span> Diag.DiagStates.push_back(*Diag.GetCurDiagState());</div>
+<div class="line"><a name="l04455"></a><span class="lineno"> 4455</span> DiagnosticsEngine::DiagState *NewState = &Diag.DiagStates.back();</div>
+<div class="line"><a name="l04456"></a><span class="lineno"> 4456</span> DiagStates.push_back(NewState);</div>
+<div class="line"><a name="l04457"></a><span class="lineno"> 4457</span> Diag.DiagStatePoints.push_back(</div>
+<div class="line"><a name="l04458"></a><span class="lineno"> 4458</span> DiagnosticsEngine::DiagStatePoint(NewState,</div>
+<div class="line"><a name="l04459"></a><span class="lineno"> 4459</span> <a class="code" href="classclang_1_1FullSourceLoc.html" title="A SourceLocation and its associated SourceManager.">FullSourceLoc</a>(Loc, <a class="code" href="Format_8cpp.html#a8b28f9f83ac8256fbde7e45b0f874f27">SourceMgr</a>)));</div>
+<div class="line"><a name="l04460"></a><span class="lineno"> 4460</span> <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l04461"></a><span class="lineno"> 4461</span> assert(Idx < F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.size() &&</div>
+<div class="line"><a name="l04462"></a><span class="lineno"> 4462</span> <span class="stringliteral">"Invalid data, didn't find '-1' marking end of diag/map pairs"</span>);</div>
+<div class="line"><a name="l04463"></a><span class="lineno"> 4463</span> <span class="keywordflow">if</span> (Idx >= F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>.size()) {</div>
+<div class="line"><a name="l04464"></a><span class="lineno"> 4464</span> <span class="keywordflow">break</span>; <span class="comment">// Something is messed up but at least avoid infinite loop in</span></div>
+<div class="line"><a name="l04465"></a><span class="lineno"> 4465</span> <span class="comment">// release build.</span></div>
+<div class="line"><a name="l04466"></a><span class="lineno"> 4466</span> }</div>
+<div class="line"><a name="l04467"></a><span class="lineno"> 4467</span> <span class="keywordtype">unsigned</span> DiagID = F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>[Idx++];</div>
+<div class="line"><a name="l04468"></a><span class="lineno"> 4468</span> <span class="keywordflow">if</span> (DiagID == (<span class="keywordtype">unsigned</span>)-1) {</div>
+<div class="line"><a name="l04469"></a><span class="lineno"> 4469</span> <span class="keywordflow">break</span>; <span class="comment">// no more diag/map pairs for this location.</span></div>
+<div class="line"><a name="l04470"></a><span class="lineno"> 4470</span> }</div>
+<div class="line"><a name="l04471"></a><span class="lineno"> 4471</span> <a class="code" href="namespaceclang_1_1diag.html#a43736816e2f46bc15d9d96be643c31cc">diag::Mapping</a> <a class="code" href="namespaceclang_1_1LangAS.html#a241b6fc974438ba623ec877f2b294f0c">Map</a> = (<a class="code" href="namespaceclang_1_1diag.html#a43736816e2f46bc15d9d96be643c31cc">diag::Mapping</a>)F.<a class="code" href="classclang_1_1serialization_1_1ModuleFile.html#aeffad7f7153a3ff8a14906ed0e4d3eb8" title="Diagnostic IDs and their mappings that the user changed.">PragmaDiagMappings</a>[Idx++];</div>
+<div class="line"><a name="l04472"></a><span class="lineno"> 4472</span> <a class="code" href="classclang_1_1DiagnosticMappingInfo.html">DiagnosticMappingInfo</a> MappingInfo = Diag.makeMappingInfo(Map, Loc);</div>
+<div class="line"><a name="l04473"></a><span class="lineno"> 4473</span> Diag.GetCurDiagState()->setMappingInfo(DiagID, MappingInfo);</div>
+<div class="line"><a name="l04474"></a><span class="lineno"> 4474</span> }</div>
+<div class="line"><a name="l04475"></a><span class="lineno"> 4475</span> }</div>
+<div class="line"><a name="l04476"></a><span class="lineno"> 4476</span> }</div>
+<div class="line"><a name="l04477"></a><span class="lineno"> 4477</span> }</div>
+<div class="line"><a name="l04478"></a><span class="lineno"> 4478</span> <span class="comment"></span></div>
+<div class="line"><a name="l04479"></a><span class="lineno"> 4479</span> <span class="comment">/// \brief Get the correct cursor and offset for loading a type.</span></div>
+<div class="line"><a name="l04480"></a><span class="lineno"> 4480</span> <span class="comment"></span>ASTReader::RecordLocation ASTReader::TypeCursorForIndex(<span class="keywordtype">unsigned</span> Index) {</div>
+<div class="line"><a name="l04481"></a><span class="lineno"> 4481</span> GlobalTypeMapType::iterator I = GlobalTypeMap.find(Index);</div>
+<div class="line"><a name="l04482"></a><span class="lineno"> 4482</span> assert(I != GlobalTypeMap.end() && <span class="stringliteral">"Corrupted global type map"</span>);</div>
+<div class="line"><a name="l04483"></a><span class="lineno"> 4483</span> ModuleFile *M = I->second;</div>
+<div class="line"><a name="l04484"></a><span class="lineno"> 4484</span> <span class="keywordflow">return</span> RecordLocation(M, M->TypeOffsets[Index - M->BaseTypeIndex]);</div>
+<div class="line"><a name="l04485"></a><span class="lineno"> 4485</span> }</div>
+<div class="line"><a name="l04486"></a><span class="lineno"> 4486</span> <span class="comment"></span></div>
+<div class="line"><a name="l04487"></a><span class="lineno"> 4487</span> <span class="comment">/// \brief Read and return the type with the given index..</span></div>
+<div class="line"><a name="l04488"></a><span class="lineno"> 4488</span> <span class="comment">///</span></div>
+<div class="line"><a name="l04489"></a><span class="lineno"> 4489</span> <span class="comment">/// The index is the type ID, shifted and minus the number of predefs. This</span></div>
+<div class="line"><a name="l04490"></a><span class="lineno"> 4490</span> <span class="comment">/// routine actually reads the record corresponding to the type at the given</span></div>
+<div class="line"><a name="l04491"></a><span class="lineno"> 4491</span> <span class="comment">/// location. It is a helper routine for GetType, which deals with reading type</span></div>
+<div class="line"><a name="l04492"></a><span class="lineno"> 4492</span> <span class="comment">/// IDs.</span></div>
+<div class="line"><a name="l04493"></a><span class="lineno"> 4493</span> <span class="comment"></span><a class="code" href="classclang_1_1QualType.html">QualType</a> ASTReader::readTypeRecord(<span class="keywordtype">unsigned</span> Index) {</div>
+<div class="line"><a name="l04494"></a><span class="lineno"> 4494</span> RecordLocation Loc = TypeCursorForIndex(Index);</div>
+<div class="line"><a name="l04495"></a><span class="lineno"> 4495</span> BitstreamCursor &DeclsCursor = Loc.F->DeclsCursor;</div>
+<div class="line"><a name="l04496"></a><span class="lineno"> 4496</span> </div>
+<div class="line"><a name="l04497"></a><span class="lineno"> 4497</span> <span class="comment">// Keep track of where we are in the stream, then jump back there</span></div>
+<div class="line"><a name="l04498"></a><span class="lineno"> 4498</span> <span class="comment">// after reading this type.</span></div>
+<div class="line"><a name="l04499"></a><span class="lineno"> 4499</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(DeclsCursor);</div>
+<div class="line"><a name="l04500"></a><span class="lineno"> 4500</span> </div>
+<div class="line"><a name="l04501"></a><span class="lineno"> 4501</span> ReadingKindTracker ReadingKind(Read_Type, *<span class="keyword">this</span>);</div>
+<div class="line"><a name="l04502"></a><span class="lineno"> 4502</span> </div>
+<div class="line"><a name="l04503"></a><span class="lineno"> 4503</span> <span class="comment">// Note that we are loading a type record.</span></div>
+<div class="line"><a name="l04504"></a><span class="lineno"> 4504</span> Deserializing AType(<span class="keyword">this</span>);</div>
+<div class="line"><a name="l04505"></a><span class="lineno"> 4505</span> </div>
+<div class="line"><a name="l04506"></a><span class="lineno"> 4506</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04507"></a><span class="lineno"> 4507</span> DeclsCursor.JumpToBit(Loc.Offset);</div>
+<div class="line"><a name="l04508"></a><span class="lineno"> 4508</span> RecordData Record;</div>
+<div class="line"><a name="l04509"></a><span class="lineno"> 4509</span> <span class="keywordtype">unsigned</span> Code = DeclsCursor.ReadCode();</div>
+<div class="line"><a name="l04510"></a><span class="lineno"> 4510</span> <span class="keywordflow">switch</span> ((<a class="code" href="group__ASTAST.html#gaa8f0422e40ce8d66ef65c0ca39d44838" title="Record codes for each kind of type.">TypeCode</a>)DeclsCursor.readRecord(Code, Record)) {</div>
+<div class="line"><a name="l04511"></a><span class="lineno"> 4511</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a81a62dc49641e74fc558135d203cf05a" title="An ExtQualType record.">TYPE_EXT_QUAL</a>: {</div>
+<div class="line"><a name="l04512"></a><span class="lineno"> 4512</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04513"></a><span class="lineno"> 4513</span> Error(<span class="stringliteral">"Incorrect encoding of extended qualifier type"</span>);</div>
+<div class="line"><a name="l04514"></a><span class="lineno"> 4514</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04515"></a><span class="lineno"> 4515</span> }</div>
+<div class="line"><a name="l04516"></a><span class="lineno"> 4516</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1Base.html">Base</a> = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04517"></a><span class="lineno"> 4517</span> <a class="code" href="classclang_1_1Qualifiers.html">Qualifiers</a> Quals = <a class="code" href="classclang_1_1Qualifiers.html#ae0c0f79b185e54da6c736add668041fe">Qualifiers::fromOpaqueValue</a>(Record[Idx++]);</div>
+<div class="line"><a name="l04518"></a><span class="lineno"> 4518</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a1995e62dee79876059ef940d76a38983" title="Un-split a SplitQualType.">getQualifiedType</a>(Base, Quals);</div>
+<div class="line"><a name="l04519"></a><span class="lineno"> 4519</span> }</div>
+<div class="line"><a name="l04520"></a><span class="lineno"> 4520</span> </div>
+<div class="line"><a name="l04521"></a><span class="lineno"> 4521</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac925d0e5cc832d99f8e3d21c5517db3d" title="A ComplexType record.">TYPE_COMPLEX</a>: {</div>
+<div class="line"><a name="l04522"></a><span class="lineno"> 4522</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04523"></a><span class="lineno"> 4523</span> Error(<span class="stringliteral">"Incorrect encoding of complex type"</span>);</div>
+<div class="line"><a name="l04524"></a><span class="lineno"> 4524</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04525"></a><span class="lineno"> 4525</span> }</div>
+<div class="line"><a name="l04526"></a><span class="lineno"> 4526</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElemType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04527"></a><span class="lineno"> 4527</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abb4f1ce1ae83128b86a9e12ae8392975" title="Return the uniqued reference to the type for a complex number with the specified element type...">getComplexType</a>(ElemType);</div>
+<div class="line"><a name="l04528"></a><span class="lineno"> 4528</span> }</div>
+<div class="line"><a name="l04529"></a><span class="lineno"> 4529</span> </div>
+<div class="line"><a name="l04530"></a><span class="lineno"> 4530</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a453cd1d29a477e7c16ba92befe68ce60" title="A PointerType record.">TYPE_POINTER</a>: {</div>
+<div class="line"><a name="l04531"></a><span class="lineno"> 4531</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04532"></a><span class="lineno"> 4532</span> Error(<span class="stringliteral">"Incorrect encoding of pointer type"</span>);</div>
+<div class="line"><a name="l04533"></a><span class="lineno"> 4533</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04534"></a><span class="lineno"> 4534</span> }</div>
+<div class="line"><a name="l04535"></a><span class="lineno"> 4535</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04536"></a><span class="lineno"> 4536</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(PointeeType);</div>
+<div class="line"><a name="l04537"></a><span class="lineno"> 4537</span> }</div>
+<div class="line"><a name="l04538"></a><span class="lineno"> 4538</span> </div>
+<div class="line"><a name="l04539"></a><span class="lineno"> 4539</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a29c01dccb42b2c28155722429f07e8be" title="A DecayedType record.">TYPE_DECAYED</a>: {</div>
+<div class="line"><a name="l04540"></a><span class="lineno"> 4540</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04541"></a><span class="lineno"> 4541</span> Error(<span class="stringliteral">"Incorrect encoding of decayed type"</span>);</div>
+<div class="line"><a name="l04542"></a><span class="lineno"> 4542</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04543"></a><span class="lineno"> 4543</span> }</div>
+<div class="line"><a name="l04544"></a><span class="lineno"> 4544</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> OriginalType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04545"></a><span class="lineno"> 4545</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> DT = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a0e78f845cc09a5e04b24244a75ec31b8" title="Perform adjustment on the parameter type of a function.">getAdjustedParameterType</a>(OriginalType);</div>
+<div class="line"><a name="l04546"></a><span class="lineno"> 4546</span> <span class="keywordflow">if</span> (!isa<DecayedType>(DT))</div>
+<div class="line"><a name="l04547"></a><span class="lineno"> 4547</span> Error(<span class="stringliteral">"Decayed type does not decay"</span>);</div>
+<div class="line"><a name="l04548"></a><span class="lineno"> 4548</span> <span class="keywordflow">return</span> DT;</div>
+<div class="line"><a name="l04549"></a><span class="lineno"> 4549</span> }</div>
+<div class="line"><a name="l04550"></a><span class="lineno"> 4550</span> </div>
+<div class="line"><a name="l04551"></a><span class="lineno"> 4551</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a249f939198f12f12fad2f9537eeab75f" title="A BlockPointerType record.">TYPE_BLOCK_POINTER</a>: {</div>
+<div class="line"><a name="l04552"></a><span class="lineno"> 4552</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04553"></a><span class="lineno"> 4553</span> Error(<span class="stringliteral">"Incorrect encoding of block pointer type"</span>);</div>
+<div class="line"><a name="l04554"></a><span class="lineno"> 4554</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04555"></a><span class="lineno"> 4555</span> }</div>
+<div class="line"><a name="l04556"></a><span class="lineno"> 4556</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04557"></a><span class="lineno"> 4557</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#af2b93ff3943b1f71c214a5e7f00292b5" title="Return the uniqued reference to the type for a block of the specified type.">getBlockPointerType</a>(PointeeType);</div>
+<div class="line"><a name="l04558"></a><span class="lineno"> 4558</span> }</div>
+<div class="line"><a name="l04559"></a><span class="lineno"> 4559</span> </div>
+<div class="line"><a name="l04560"></a><span class="lineno"> 4560</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a44eb6566d9a6235848046a03fd7b94ed" title="An LValueReferenceType record.">TYPE_LVALUE_REFERENCE</a>: {</div>
+<div class="line"><a name="l04561"></a><span class="lineno"> 4561</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04562"></a><span class="lineno"> 4562</span> Error(<span class="stringliteral">"Incorrect encoding of lvalue reference type"</span>);</div>
+<div class="line"><a name="l04563"></a><span class="lineno"> 4563</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04564"></a><span class="lineno"> 4564</span> }</div>
+<div class="line"><a name="l04565"></a><span class="lineno"> 4565</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04566"></a><span class="lineno"> 4566</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a606b062a2b948921c139286220a2549b" title="Return the uniqued reference to the type for an lvalue reference to the specified type...">getLValueReferenceType</a>(PointeeType, Record[1]);</div>
+<div class="line"><a name="l04567"></a><span class="lineno"> 4567</span> }</div>
+<div class="line"><a name="l04568"></a><span class="lineno"> 4568</span> </div>
+<div class="line"><a name="l04569"></a><span class="lineno"> 4569</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3bc8ea296401efd35adb0b46062cb1a9" title="An RValueReferenceType record.">TYPE_RVALUE_REFERENCE</a>: {</div>
+<div class="line"><a name="l04570"></a><span class="lineno"> 4570</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04571"></a><span class="lineno"> 4571</span> Error(<span class="stringliteral">"Incorrect encoding of rvalue reference type"</span>);</div>
+<div class="line"><a name="l04572"></a><span class="lineno"> 4572</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04573"></a><span class="lineno"> 4573</span> }</div>
+<div class="line"><a name="l04574"></a><span class="lineno"> 4574</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04575"></a><span class="lineno"> 4575</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#af5defc197ad151ad115b4f2f3a444d57" title="Return the uniqued reference to the type for an rvalue reference to the specified type...">getRValueReferenceType</a>(PointeeType);</div>
+<div class="line"><a name="l04576"></a><span class="lineno"> 4576</span> }</div>
+<div class="line"><a name="l04577"></a><span class="lineno"> 4577</span> </div>
+<div class="line"><a name="l04578"></a><span class="lineno"> 4578</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a6d1555cf519242c930ca86e334233566" title="A MemberPointerType record.">TYPE_MEMBER_POINTER</a>: {</div>
+<div class="line"><a name="l04579"></a><span class="lineno"> 4579</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04580"></a><span class="lineno"> 4580</span> Error(<span class="stringliteral">"Incorrect encoding of member pointer type"</span>);</div>
+<div class="line"><a name="l04581"></a><span class="lineno"> 4581</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04582"></a><span class="lineno"> 4582</span> }</div>
+<div class="line"><a name="l04583"></a><span class="lineno"> 4583</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PointeeType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04584"></a><span class="lineno"> 4584</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ClassType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04585"></a><span class="lineno"> 4585</span> <span class="keywordflow">if</span> (PointeeType.<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>() || ClassType.<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="l04586"></a><span class="lineno"> 4586</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04587"></a><span class="lineno"> 4587</span> </div>
+<div class="line"><a name="l04588"></a><span class="lineno"> 4588</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#abb9c962c295aa5b67d15ac70812cc050" title="Return the uniqued reference to the type for a member pointer to the specified type in the specified ...">getMemberPointerType</a>(PointeeType, ClassType.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>());</div>
+<div class="line"><a name="l04589"></a><span class="lineno"> 4589</span> }</div>
+<div class="line"><a name="l04590"></a><span class="lineno"> 4590</span> </div>
+<div class="line"><a name="l04591"></a><span class="lineno"> 4591</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ab24d08c5f524ea2b4c6bf12f758e849e" title="A ConstantArrayType record.">TYPE_CONSTANT_ARRAY</a>: {</div>
+<div class="line"><a name="l04592"></a><span class="lineno"> 4592</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04593"></a><span class="lineno"> 4593</span> <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM = (<a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a>)Record[1];</div>
+<div class="line"><a name="l04594"></a><span class="lineno"> 4594</span> <span class="keywordtype">unsigned</span> IndexTypeQuals = Record[2];</div>
+<div class="line"><a name="l04595"></a><span class="lineno"> 4595</span> <span class="keywordtype">unsigned</span> Idx = 3;</div>
+<div class="line"><a name="l04596"></a><span class="lineno"> 4596</span> llvm::APInt Size = ReadAPInt(Record, Idx);</div>
+<div class="line"><a name="l04597"></a><span class="lineno"> 4597</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a1dfd9aba04afad486b0dbbfc17de130b" title="Return the unique reference to the type for a constant array of the specified element type...">getConstantArrayType</a>(ElementType, Size,</div>
+<div class="line"><a name="l04598"></a><span class="lineno"> 4598</span> ASM, IndexTypeQuals);</div>
+<div class="line"><a name="l04599"></a><span class="lineno"> 4599</span> }</div>
+<div class="line"><a name="l04600"></a><span class="lineno"> 4600</span> </div>
+<div class="line"><a name="l04601"></a><span class="lineno"> 4601</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a48d67d01889e53fc437e0b1ebc3cdb45" title="An IncompleteArrayType record.">TYPE_INCOMPLETE_ARRAY</a>: {</div>
+<div class="line"><a name="l04602"></a><span class="lineno"> 4602</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04603"></a><span class="lineno"> 4603</span> <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM = (<a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a>)Record[1];</div>
+<div class="line"><a name="l04604"></a><span class="lineno"> 4604</span> <span class="keywordtype">unsigned</span> IndexTypeQuals = Record[2];</div>
+<div class="line"><a name="l04605"></a><span class="lineno"> 4605</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a66de3f90de039d0bc274b58f06e23ddd" title="Return a unique reference to the type for an incomplete array of the specified element type...">getIncompleteArrayType</a>(ElementType, ASM, IndexTypeQuals);</div>
+<div class="line"><a name="l04606"></a><span class="lineno"> 4606</span> }</div>
+<div class="line"><a name="l04607"></a><span class="lineno"> 4607</span> </div>
+<div class="line"><a name="l04608"></a><span class="lineno"> 4608</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a12c1023cccf7d9f9711eabd0873acf7e" title="A VariableArrayType record.">TYPE_VARIABLE_ARRAY</a>: {</div>
+<div class="line"><a name="l04609"></a><span class="lineno"> 4609</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04610"></a><span class="lineno"> 4610</span> <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM = (<a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a>)Record[1];</div>
+<div class="line"><a name="l04611"></a><span class="lineno"> 4611</span> <span class="keywordtype">unsigned</span> IndexTypeQuals = Record[2];</div>
+<div class="line"><a name="l04612"></a><span class="lineno"> 4612</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> LBLoc = ReadSourceLocation(*Loc.F, Record[3]);</div>
+<div class="line"><a name="l04613"></a><span class="lineno"> 4613</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> RBLoc = ReadSourceLocation(*Loc.F, Record[4]);</div>
+<div class="line"><a name="l04614"></a><span class="lineno"> 4614</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a2306f205fdac75ad3b74b69a8e043f35" title="Return a non-unique reference to the type for a variable array of the specified element type...">getVariableArrayType</a>(ElementType, ReadExpr(*Loc.F),</div>
+<div class="line"><a name="l04615"></a><span class="lineno"> 4615</span> ASM, IndexTypeQuals,</div>
+<div class="line"><a name="l04616"></a><span class="lineno"> 4616</span> <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(LBLoc, RBLoc));</div>
+<div class="line"><a name="l04617"></a><span class="lineno"> 4617</span> }</div>
+<div class="line"><a name="l04618"></a><span class="lineno"> 4618</span> </div>
+<div class="line"><a name="l04619"></a><span class="lineno"> 4619</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5220725764d02873f672d45f19d5267c" title="A VectorType record.">TYPE_VECTOR</a>: {</div>
+<div class="line"><a name="l04620"></a><span class="lineno"> 4620</span> <span class="keywordflow">if</span> (Record.size() != 3) {</div>
+<div class="line"><a name="l04621"></a><span class="lineno"> 4621</span> Error(<span class="stringliteral">"incorrect encoding of vector type in AST file"</span>);</div>
+<div class="line"><a name="l04622"></a><span class="lineno"> 4622</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04623"></a><span class="lineno"> 4623</span> }</div>
+<div class="line"><a name="l04624"></a><span class="lineno"> 4624</span> </div>
+<div class="line"><a name="l04625"></a><span class="lineno"> 4625</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04626"></a><span class="lineno"> 4626</span> <span class="keywordtype">unsigned</span> NumElements = Record[1];</div>
+<div class="line"><a name="l04627"></a><span class="lineno"> 4627</span> <span class="keywordtype">unsigned</span> VecKind = Record[2];</div>
+<div class="line"><a name="l04628"></a><span class="lineno"> 4628</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a9ede456580df03d5d74568b3c533eaa9" title="Return the unique reference to a vector type of the specified element type and size.">getVectorType</a>(ElementType, NumElements,</div>
+<div class="line"><a name="l04629"></a><span class="lineno"> 4629</span> (<a class="code" href="classclang_1_1VectorType.html#a807990d3b88bf4e957936b17f7a4c45c">VectorType::VectorKind</a>)VecKind);</div>
+<div class="line"><a name="l04630"></a><span class="lineno"> 4630</span> }</div>
+<div class="line"><a name="l04631"></a><span class="lineno"> 4631</span> </div>
+<div class="line"><a name="l04632"></a><span class="lineno"> 4632</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7ef20ba4567c2ee102e0039ab1628591" title="An ExtVectorType record.">TYPE_EXT_VECTOR</a>: {</div>
+<div class="line"><a name="l04633"></a><span class="lineno"> 4633</span> <span class="keywordflow">if</span> (Record.size() != 3) {</div>
+<div class="line"><a name="l04634"></a><span class="lineno"> 4634</span> Error(<span class="stringliteral">"incorrect encoding of extended vector type in AST file"</span>);</div>
+<div class="line"><a name="l04635"></a><span class="lineno"> 4635</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04636"></a><span class="lineno"> 4636</span> }</div>
+<div class="line"><a name="l04637"></a><span class="lineno"> 4637</span> </div>
+<div class="line"><a name="l04638"></a><span class="lineno"> 4638</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04639"></a><span class="lineno"> 4639</span> <span class="keywordtype">unsigned</span> NumElements = Record[1];</div>
+<div class="line"><a name="l04640"></a><span class="lineno"> 4640</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a083cfef8b192871196e505a9295a77ad" title="Return the unique reference to an extended vector type of the specified element type and size...">getExtVectorType</a>(ElementType, NumElements);</div>
+<div class="line"><a name="l04641"></a><span class="lineno"> 4641</span> }</div>
+<div class="line"><a name="l04642"></a><span class="lineno"> 4642</span> </div>
+<div class="line"><a name="l04643"></a><span class="lineno"> 4643</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a07f1a75b062d966067040a003aaf9813" title="A FunctionNoProtoType record.">TYPE_FUNCTION_NO_PROTO</a>: {</div>
+<div class="line"><a name="l04644"></a><span class="lineno"> 4644</span> <span class="keywordflow">if</span> (Record.size() != 6) {</div>
+<div class="line"><a name="l04645"></a><span class="lineno"> 4645</span> Error(<span class="stringliteral">"incorrect encoding of no-proto function type"</span>);</div>
+<div class="line"><a name="l04646"></a><span class="lineno"> 4646</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04647"></a><span class="lineno"> 4647</span> }</div>
+<div class="line"><a name="l04648"></a><span class="lineno"> 4648</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ResultType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04649"></a><span class="lineno"> 4649</span> <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionType::ExtInfo</a> Info(Record[1], Record[2], Record[3],</div>
+<div class="line"><a name="l04650"></a><span class="lineno"> 4650</span> (<a class="code" href="namespaceclang.html#ae6d16e133294b0b9c8c8d3108aadd25b" title="CallingConv - Specifies the calling convention that a function uses.">CallingConv</a>)Record[4], Record[5]);</div>
+<div class="line"><a name="l04651"></a><span class="lineno"> 4651</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a5f935beb13cff87f834784b26504f2f3" title="Return a K&R style C function type like 'int()'.">getFunctionNoProtoType</a>(ResultType, Info);</div>
+<div class="line"><a name="l04652"></a><span class="lineno"> 4652</span> }</div>
+<div class="line"><a name="l04653"></a><span class="lineno"> 4653</span> </div>
+<div class="line"><a name="l04654"></a><span class="lineno"> 4654</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a365fce2f776c2c685252d5091106c431" title="A FunctionProtoType record.">TYPE_FUNCTION_PROTO</a>: {</div>
+<div class="line"><a name="l04655"></a><span class="lineno"> 4655</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ResultType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04656"></a><span class="lineno"> 4656</span> </div>
+<div class="line"><a name="l04657"></a><span class="lineno"> 4657</span> <a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html" title="ExtProtoInfo - Extra information about a function prototype.">FunctionProtoType::ExtProtoInfo</a> EPI;</div>
+<div class="line"><a name="l04658"></a><span class="lineno"> 4658</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#af409c3d94eabd1a972dbbd9e95b8b135">ExtInfo</a> = <a class="code" href="classclang_1_1FunctionType_1_1ExtInfo.html">FunctionType::ExtInfo</a>(<span class="comment">/*noreturn*/</span> Record[1],</div>
+<div class="line"><a name="l04659"></a><span class="lineno"> 4659</span> <span class="comment">/*hasregparm*/</span> Record[2],</div>
+<div class="line"><a name="l04660"></a><span class="lineno"> 4660</span> <span class="comment">/*regparm*/</span> Record[3],</div>
+<div class="line"><a name="l04661"></a><span class="lineno"> 4661</span> static_cast<CallingConv>(Record[4]),</div>
+<div class="line"><a name="l04662"></a><span class="lineno"> 4662</span> <span class="comment">/*produces*/</span> Record[5]);</div>
+<div class="line"><a name="l04663"></a><span class="lineno"> 4663</span> </div>
+<div class="line"><a name="l04664"></a><span class="lineno"> 4664</span> <span class="keywordtype">unsigned</span> Idx = 6;</div>
+<div class="line"><a name="l04665"></a><span class="lineno"> 4665</span> <span class="keywordtype">unsigned</span> NumParams = Record[Idx++];</div>
+<div class="line"><a name="l04666"></a><span class="lineno"> 4666</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<QualType, 16></a> ParamTypes;</div>
+<div class="line"><a name="l04667"></a><span class="lineno"> 4667</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumParams; ++I)</div>
+<div class="line"><a name="l04668"></a><span class="lineno"> 4668</span> ParamTypes.push_back(readType(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04669"></a><span class="lineno"> 4669</span> </div>
+<div class="line"><a name="l04670"></a><span class="lineno"> 4670</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a03b5ccab359a1f5016b2db0fc9c3d523">Variadic</a> = Record[Idx++];</div>
+<div class="line"><a name="l04671"></a><span class="lineno"> 4671</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#afb2176e3ecf6965c85a4d16fa3010dce">HasTrailingReturn</a> = Record[Idx++];</div>
+<div class="line"><a name="l04672"></a><span class="lineno"> 4672</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a6eee88458f9450dff02009a5d8177fad">TypeQuals</a> = Record[Idx++];</div>
+<div class="line"><a name="l04673"></a><span class="lineno"> 4673</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#ab931425c4ecf4d50d19874f180521d73">RefQualifier</a> = <span class="keyword">static_cast<</span><a class="code" href="namespaceclang.html#a39da38c8381c23db69e49813390fa7f6" title="The kind of C++0x ref-qualifier associated with a function type, which determines whether a member fu...">RefQualifierKind</a><span class="keyword">></span>(Record[Idx++]);</div>
+<div class="line"><a name="l04674"></a><span class="lineno"> 4674</span> <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a> EST =</div>
+<div class="line"><a name="l04675"></a><span class="lineno"> 4675</span> <span class="keyword">static_cast<</span><a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a><span class="keyword">></span>(Record[Idx++]);</div>
+<div class="line"><a name="l04676"></a><span class="lineno"> 4676</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a397c16170f77b96329bf09a9fd0d7bbf">ExceptionSpecType</a> = EST;</div>
+<div class="line"><a name="l04677"></a><span class="lineno"> 4677</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<QualType, 2></a> Exceptions;</div>
+<div class="line"><a name="l04678"></a><span class="lineno"> 4678</span> <span class="keywordflow">if</span> (EST == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eaf4e0e31c2f1227d7cf242aa7db6de5bd" title="throw(T1, T2)">EST_Dynamic</a>) {</div>
+<div class="line"><a name="l04679"></a><span class="lineno"> 4679</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a573e6e3a7b3f29e7e6c790a8a03fc30a">NumExceptions</a> = Record[Idx++];</div>
+<div class="line"><a name="l04680"></a><span class="lineno"> 4680</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a573e6e3a7b3f29e7e6c790a8a03fc30a">NumExceptions</a>; ++I)</div>
+<div class="line"><a name="l04681"></a><span class="lineno"> 4681</span> Exceptions.push_back(readType(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04682"></a><span class="lineno"> 4682</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a0e37955f735fdd03137802f4eb0bedaf">Exceptions</a> = Exceptions.data();</div>
+<div class="line"><a name="l04683"></a><span class="lineno"> 4683</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EST == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081eae88c93c6922c9b0f0850b72e78294e57" title="noexcept(expression)">EST_ComputedNoexcept</a>) {</div>
+<div class="line"><a name="l04684"></a><span class="lineno"> 4684</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a93783de9682168108be55e4e93dbd73f">NoexceptExpr</a> = ReadExpr(*Loc.F);</div>
+<div class="line"><a name="l04685"></a><span class="lineno"> 4685</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EST == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ea5c47e4c2729a0db85f1534f536468533" title="not instantiated yet">EST_Uninstantiated</a>) {</div>
+<div class="line"><a name="l04686"></a><span class="lineno"> 4686</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#ad4c9d2ab2e193d7ad1c083f7d7b415af">ExceptionSpecDecl</a> = ReadDeclAs<FunctionDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04687"></a><span class="lineno"> 4687</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#a160853973d7cb9922a4d82e9b8aff711">ExceptionSpecTemplate</a> = ReadDeclAs<FunctionDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04688"></a><span class="lineno"> 4688</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (EST == <a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081ead20bd279037259cf905259c48b900821" title="not evaluated yet, for special member function">EST_Unevaluated</a>) {</div>
+<div class="line"><a name="l04689"></a><span class="lineno"> 4689</span> EPI.<a class="code" href="structclang_1_1FunctionProtoType_1_1ExtProtoInfo.html#ad4c9d2ab2e193d7ad1c083f7d7b415af">ExceptionSpecDecl</a> = ReadDeclAs<FunctionDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04690"></a><span class="lineno"> 4690</span> }</div>
+<div class="line"><a name="l04691"></a><span class="lineno"> 4691</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ac553ae12dc7460ab3a57381bdf9d74fb" title="Return a normal function type with a typed argument list.">getFunctionType</a>(ResultType, ParamTypes, EPI);</div>
+<div class="line"><a name="l04692"></a><span class="lineno"> 4692</span> }</div>
+<div class="line"><a name="l04693"></a><span class="lineno"> 4693</span> </div>
+<div class="line"><a name="l04694"></a><span class="lineno"> 4694</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac72aae936231124ca0c55589752df37c" title="An UnresolvedUsingType record.">TYPE_UNRESOLVED_USING</a>: {</div>
+<div class="line"><a name="l04695"></a><span class="lineno"> 4695</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04696"></a><span class="lineno"> 4696</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a028b11acbffc8c91facbab289df57771" title="Return the unique reference to the type for the specified type declaration.">getTypeDeclType</a>(</div>
+<div class="line"><a name="l04697"></a><span class="lineno"> 4697</span> ReadDeclAs<UnresolvedUsingTypenameDecl>(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04698"></a><span class="lineno"> 4698</span> }</div>
+<div class="line"><a name="l04699"></a><span class="lineno"> 4699</span> </div>
+<div class="line"><a name="l04700"></a><span class="lineno"> 4700</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae192168496dff60dd5778dda91ea74f0" title="A TypedefType record.">TYPE_TYPEDEF</a>: {</div>
+<div class="line"><a name="l04701"></a><span class="lineno"> 4701</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04702"></a><span class="lineno"> 4702</span> Error(<span class="stringliteral">"incorrect encoding of typedef type"</span>);</div>
+<div class="line"><a name="l04703"></a><span class="lineno"> 4703</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04704"></a><span class="lineno"> 4704</span> }</div>
+<div class="line"><a name="l04705"></a><span class="lineno"> 4705</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04706"></a><span class="lineno"> 4706</span> <a class="code" href="classclang_1_1TypedefNameDecl.html" title="Base class for declarations which introduce a typedef-name.">TypedefNameDecl</a> *<a class="code" href="classclang_1_1Decl.html">Decl</a> = ReadDeclAs<TypedefNameDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04707"></a><span class="lineno"> 4707</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Canonical = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04708"></a><span class="lineno"> 4708</span> <span class="keywordflow">if</span> (!Canonical.isNull())</div>
+<div class="line"><a name="l04709"></a><span class="lineno"> 4709</span> Canonical = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Canonical);</div>
+<div class="line"><a name="l04710"></a><span class="lineno"> 4710</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a3b01e9bb794ab9bc18a7578bc18a0611" title="Return the unique reference to the type for the specified typedef-name decl.">getTypedefType</a>(Decl, Canonical);</div>
+<div class="line"><a name="l04711"></a><span class="lineno"> 4711</span> }</div>
+<div class="line"><a name="l04712"></a><span class="lineno"> 4712</span> </div>
+<div class="line"><a name="l04713"></a><span class="lineno"> 4713</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a7fc2c8a9416e4238834312dae957735d" title="A TypeOfExprType record.">TYPE_TYPEOF_EXPR</a>:</div>
+<div class="line"><a name="l04714"></a><span class="lineno"> 4714</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a80d40f3cda969c8f3246cc076a88d6cf" title="GCC extension.">getTypeOfExprType</a>(ReadExpr(*Loc.F));</div>
+<div class="line"><a name="l04715"></a><span class="lineno"> 4715</span> </div>
+<div class="line"><a name="l04716"></a><span class="lineno"> 4716</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838af7f4dfb7b65252a257ab850a7b434c82" title="A TypeOfType record.">TYPE_TYPEOF</a>: {</div>
+<div class="line"><a name="l04717"></a><span class="lineno"> 4717</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04718"></a><span class="lineno"> 4718</span> Error(<span class="stringliteral">"incorrect encoding of typeof(type) in AST file"</span>);</div>
+<div class="line"><a name="l04719"></a><span class="lineno"> 4719</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04720"></a><span class="lineno"> 4720</span> }</div>
+<div class="line"><a name="l04721"></a><span class="lineno"> 4721</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> UnderlyingType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04722"></a><span class="lineno"> 4722</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a4642d777a15fd68838ee110ac4441374">getTypeOfType</a>(UnderlyingType);</div>
+<div class="line"><a name="l04723"></a><span class="lineno"> 4723</span> }</div>
+<div class="line"><a name="l04724"></a><span class="lineno"> 4724</span> </div>
+<div class="line"><a name="l04725"></a><span class="lineno"> 4725</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae0764a60cedade004a865894533f43f9" title="a DecltypeType record.">TYPE_DECLTYPE</a>: {</div>
+<div class="line"><a name="l04726"></a><span class="lineno"> 4726</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> UnderlyingType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04727"></a><span class="lineno"> 4727</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a42d6587b3420f8cd5d1383e012e66a92" title="C++11 decltype.">getDecltypeType</a>(ReadExpr(*Loc.F), UnderlyingType);</div>
+<div class="line"><a name="l04728"></a><span class="lineno"> 4728</span> }</div>
+<div class="line"><a name="l04729"></a><span class="lineno"> 4729</span> </div>
+<div class="line"><a name="l04730"></a><span class="lineno"> 4730</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ac2c4f4052ef5add0343d8017937629d9" title="A UnaryTransformType record.">TYPE_UNARY_TRANSFORM</a>: {</div>
+<div class="line"><a name="l04731"></a><span class="lineno"> 4731</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> BaseType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04732"></a><span class="lineno"> 4732</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> UnderlyingType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04733"></a><span class="lineno"> 4733</span> <a class="code" href="classclang_1_1UnaryTransformType.html#a42873f2e571d5dc689e2bfe2ae024e53">UnaryTransformType::UTTKind</a> UKind = (<a class="code" href="classclang_1_1UnaryTransformType.html#a42873f2e571d5dc689e2bfe2ae024e53">UnaryTransformType::UTTKind</a>)Record[2];</div>
+<div class="line"><a name="l04734"></a><span class="lineno"> 4734</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a0caf27e8240308fe937e92728e69cfff" title="Unary type transforms.">getUnaryTransformType</a>(BaseType, UnderlyingType, UKind);</div>
+<div class="line"><a name="l04735"></a><span class="lineno"> 4735</span> }</div>
+<div class="line"><a name="l04736"></a><span class="lineno"> 4736</span> </div>
+<div class="line"><a name="l04737"></a><span class="lineno"> 4737</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a161587fe9cc342bf38c02a626c397d53" title="A AutoType record.">TYPE_AUTO</a>: {</div>
+<div class="line"><a name="l04738"></a><span class="lineno"> 4738</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Deduced = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04739"></a><span class="lineno"> 4739</span> <span class="keywordtype">bool</span> IsDecltypeAuto = Record[Idx++];</div>
+<div class="line"><a name="l04740"></a><span class="lineno"> 4740</span> <span class="keywordtype">bool</span> IsDependent = Deduced.<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>() ? Record[Idx++] : <span class="keyword">false</span>;</div>
+<div class="line"><a name="l04741"></a><span class="lineno"> 4741</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#acedf7de23a97dd607e90d91e9ad25f80" title="C++11 deduced auto type.">getAutoType</a>(Deduced, IsDecltypeAuto, IsDependent);</div>
+<div class="line"><a name="l04742"></a><span class="lineno"> 4742</span> }</div>
+<div class="line"><a name="l04743"></a><span class="lineno"> 4743</span> </div>
+<div class="line"><a name="l04744"></a><span class="lineno"> 4744</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a8c72a0ce1aedd7a2426cdf86cab7d62d" title="A RecordType record.">TYPE_RECORD</a>: {</div>
+<div class="line"><a name="l04745"></a><span class="lineno"> 4745</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04746"></a><span class="lineno"> 4746</span> Error(<span class="stringliteral">"incorrect encoding of record type"</span>);</div>
+<div class="line"><a name="l04747"></a><span class="lineno"> 4747</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04748"></a><span class="lineno"> 4748</span> }</div>
+<div class="line"><a name="l04749"></a><span class="lineno"> 4749</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04750"></a><span class="lineno"> 4750</span> <span class="keywordtype">bool</span> IsDependent = Record[Idx++];</div>
+<div class="line"><a name="l04751"></a><span class="lineno"> 4751</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *RD = ReadDeclAs<RecordDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04752"></a><span class="lineno"> 4752</span> RD = cast_or_null<RecordDecl>(RD->getCanonicalDecl());</div>
+<div class="line"><a name="l04753"></a><span class="lineno"> 4753</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a2f2e06312812efc11ce91abe0695ba75">getRecordType</a>(RD);</div>
+<div class="line"><a name="l04754"></a><span class="lineno"> 4754</span> <span class="keyword">const_cast<</span>Type*<span class="keyword">></span>(T.getTypePtr())->setDependent(IsDependent);</div>
+<div class="line"><a name="l04755"></a><span class="lineno"> 4755</span> <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l04756"></a><span class="lineno"> 4756</span> }</div>
+<div class="line"><a name="l04757"></a><span class="lineno"> 4757</span> </div>
+<div class="line"><a name="l04758"></a><span class="lineno"> 4758</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a3cc4fc6c5d8a0743bc2f918cd4d5d453" title="An EnumType record.">TYPE_ENUM</a>: {</div>
+<div class="line"><a name="l04759"></a><span class="lineno"> 4759</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04760"></a><span class="lineno"> 4760</span> Error(<span class="stringliteral">"incorrect encoding of enum type"</span>);</div>
+<div class="line"><a name="l04761"></a><span class="lineno"> 4761</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04762"></a><span class="lineno"> 4762</span> }</div>
+<div class="line"><a name="l04763"></a><span class="lineno"> 4763</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04764"></a><span class="lineno"> 4764</span> <span class="keywordtype">bool</span> IsDependent = Record[Idx++];</div>
+<div class="line"><a name="l04765"></a><span class="lineno"> 4765</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> T</div>
+<div class="line"><a name="l04766"></a><span class="lineno"> 4766</span> = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aab4f99c6cea9d2cdb61354f94dbae9f7">getEnumType</a>(ReadDeclAs<EnumDecl>(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04767"></a><span class="lineno"> 4767</span> <span class="keyword">const_cast<</span>Type*<span class="keyword">></span>(T.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>())->setDependent(IsDependent);</div>
+<div class="line"><a name="l04768"></a><span class="lineno"> 4768</span> <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l04769"></a><span class="lineno"> 4769</span> }</div>
+<div class="line"><a name="l04770"></a><span class="lineno"> 4770</span> </div>
+<div class="line"><a name="l04771"></a><span class="lineno"> 4771</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a485b499c0753ab99a364675a3eee5ad0" title="An AttributedType record.">TYPE_ATTRIBUTED</a>: {</div>
+<div class="line"><a name="l04772"></a><span class="lineno"> 4772</span> <span class="keywordflow">if</span> (Record.size() != 3) {</div>
+<div class="line"><a name="l04773"></a><span class="lineno"> 4773</span> Error(<span class="stringliteral">"incorrect encoding of attributed type"</span>);</div>
+<div class="line"><a name="l04774"></a><span class="lineno"> 4774</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04775"></a><span class="lineno"> 4775</span> }</div>
+<div class="line"><a name="l04776"></a><span class="lineno"> 4776</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> modifiedType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04777"></a><span class="lineno"> 4777</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> equivalentType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04778"></a><span class="lineno"> 4778</span> <a class="code" href="classclang_1_1AttributedType.html#ab4901f7a37f5539698cb5ebd706245ed">AttributedType::Kind</a> <a class="code" href="namespaceclang_1_1diag.html#ab2f7277bc45b970f4b9631e0617ff02c" title="All of the diagnostics that can be emitted by the frontend.">kind</a> = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1AttributedType.html#ab4901f7a37f5539698cb5ebd706245ed">AttributedType::Kind</a><span class="keyword">></span>(Record[2]);</div>
+<div class="line"><a name="l04779"></a><span class="lineno"> 4779</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a5670f8abaeca3b7f97bca2040798d426">getAttributedType</a>(kind, modifiedType, equivalentType);</div>
+<div class="line"><a name="l04780"></a><span class="lineno"> 4780</span> }</div>
+<div class="line"><a name="l04781"></a><span class="lineno"> 4781</span> </div>
+<div class="line"><a name="l04782"></a><span class="lineno"> 4782</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a1f9cbdd76e827f3a56023d222a3e458e" title="A ParenType record.">TYPE_PAREN</a>: {</div>
+<div class="line"><a name="l04783"></a><span class="lineno"> 4783</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04784"></a><span class="lineno"> 4784</span> Error(<span class="stringliteral">"incorrect encoding of paren type"</span>);</div>
+<div class="line"><a name="l04785"></a><span class="lineno"> 4785</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04786"></a><span class="lineno"> 4786</span> }</div>
+<div class="line"><a name="l04787"></a><span class="lineno"> 4787</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> InnerType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04788"></a><span class="lineno"> 4788</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#af5bb4398bfea317faf70b72938e2ae1d">getParenType</a>(InnerType);</div>
+<div class="line"><a name="l04789"></a><span class="lineno"> 4789</span> }</div>
+<div class="line"><a name="l04790"></a><span class="lineno"> 4790</span> </div>
+<div class="line"><a name="l04791"></a><span class="lineno"> 4791</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a5a1dd79684e18fb1202ef9db340c35ee" title="A PackExpansionType record.">TYPE_PACK_EXPANSION</a>: {</div>
+<div class="line"><a name="l04792"></a><span class="lineno"> 4792</span> <span class="keywordflow">if</span> (Record.size() != 2) {</div>
+<div class="line"><a name="l04793"></a><span class="lineno"> 4793</span> Error(<span class="stringliteral">"incorrect encoding of pack expansion type"</span>);</div>
+<div class="line"><a name="l04794"></a><span class="lineno"> 4794</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04795"></a><span class="lineno"> 4795</span> }</div>
+<div class="line"><a name="l04796"></a><span class="lineno"> 4796</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Pattern = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04797"></a><span class="lineno"> 4797</span> <span class="keywordflow">if</span> (Pattern.<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="l04798"></a><span class="lineno"> 4798</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04799"></a><span class="lineno"> 4799</span> <a class="code" href="classllvm_1_1Optional.html">Optional<unsigned></a> NumExpansions;</div>
+<div class="line"><a name="l04800"></a><span class="lineno"> 4800</span> <span class="keywordflow">if</span> (Record[1])</div>
+<div class="line"><a name="l04801"></a><span class="lineno"> 4801</span> NumExpansions = Record[1] - 1;</div>
+<div class="line"><a name="l04802"></a><span class="lineno"> 4802</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a06285f3209aa603d17ec552e16870b18">getPackExpansionType</a>(Pattern, NumExpansions);</div>
+<div class="line"><a name="l04803"></a><span class="lineno"> 4803</span> }</div>
+<div class="line"><a name="l04804"></a><span class="lineno"> 4804</span> </div>
+<div class="line"><a name="l04805"></a><span class="lineno"> 4805</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ae7b7b0f26fdaafeca11969c17ba17ebd" title="An ElaboratedType record.">TYPE_ELABORATED</a>: {</div>
+<div class="line"><a name="l04806"></a><span class="lineno"> 4806</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04807"></a><span class="lineno"> 4807</span> <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword = (<a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a>)Record[Idx++];</div>
+<div class="line"><a name="l04808"></a><span class="lineno"> 4808</span> <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04809"></a><span class="lineno"> 4809</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> NamedType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04810"></a><span class="lineno"> 4810</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aab0ab5427f22ac0b0bf9bb398d1a1921">getElaboratedType</a>(Keyword, NNS, NamedType);</div>
+<div class="line"><a name="l04811"></a><span class="lineno"> 4811</span> }</div>
+<div class="line"><a name="l04812"></a><span class="lineno"> 4812</span> </div>
+<div class="line"><a name="l04813"></a><span class="lineno"> 4813</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838ad8afd65a2f44583464070982f4298446" title="An ObjCInterfaceType record.">TYPE_OBJC_INTERFACE</a>: {</div>
+<div class="line"><a name="l04814"></a><span class="lineno"> 4814</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04815"></a><span class="lineno"> 4815</span> <a class="code" href="classclang_1_1ObjCInterfaceDecl.html" title="Represents an ObjC class declaration.">ObjCInterfaceDecl</a> *ItfD</div>
+<div class="line"><a name="l04816"></a><span class="lineno"> 4816</span> = ReadDeclAs<ObjCInterfaceDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04817"></a><span class="lineno"> 4817</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ae498c138a079e26fa0b2ebcb11d9136b">getObjCInterfaceType</a>(ItfD-><a class="code" href="classclang_1_1ObjCInterfaceDecl.html#a8595a624c397109ebce97034e683be37" title="Retrieves the canonical declaration of this Objective-C class.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l04818"></a><span class="lineno"> 4818</span> }</div>
+<div class="line"><a name="l04819"></a><span class="lineno"> 4819</span> </div>
+<div class="line"><a name="l04820"></a><span class="lineno"> 4820</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a90de7a55ca63e402ddf39d31d0faa837" title="An ObjCObjectType record.">TYPE_OBJC_OBJECT</a>: {</div>
+<div class="line"><a name="l04821"></a><span class="lineno"> 4821</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04822"></a><span class="lineno"> 4822</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Base = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04823"></a><span class="lineno"> 4823</span> <span class="keywordtype">unsigned</span> NumProtos = Record[Idx++];</div>
+<div class="line"><a name="l04824"></a><span class="lineno"> 4824</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<ObjCProtocolDecl*, 4></a> Protos;</div>
+<div class="line"><a name="l04825"></a><span class="lineno"> 4825</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I != NumProtos; ++I)</div>
+<div class="line"><a name="l04826"></a><span class="lineno"> 4826</span> Protos.push_back(ReadDeclAs<ObjCProtocolDecl>(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04827"></a><span class="lineno"> 4827</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a10f2337176729545b73ac07c3a1b8c1e">getObjCObjectType</a>(Base, Protos.data(), NumProtos);</div>
+<div class="line"><a name="l04828"></a><span class="lineno"> 4828</span> }</div>
+<div class="line"><a name="l04829"></a><span class="lineno"> 4829</span> </div>
+<div class="line"><a name="l04830"></a><span class="lineno"> 4830</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4834a65b93ea8691ebcd96d2eccd479f" title="An ObjCObjectPointerType record.">TYPE_OBJC_OBJECT_POINTER</a>: {</div>
+<div class="line"><a name="l04831"></a><span class="lineno"> 4831</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04832"></a><span class="lineno"> 4832</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Pointee = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04833"></a><span class="lineno"> 4833</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a5c1abc77f994ace61ebfd7c864b64244" title="Return a ObjCObjectPointerType type for the given ObjCObjectType.">getObjCObjectPointerType</a>(Pointee);</div>
+<div class="line"><a name="l04834"></a><span class="lineno"> 4834</span> }</div>
+<div class="line"><a name="l04835"></a><span class="lineno"> 4835</span> </div>
+<div class="line"><a name="l04836"></a><span class="lineno"> 4836</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a0a7b59e1878dbf993e2e36fed8fe467c" title="A SubstTemplateTypeParmType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM</a>: {</div>
+<div class="line"><a name="l04837"></a><span class="lineno"> 4837</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04838"></a><span class="lineno"> 4838</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Parm = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04839"></a><span class="lineno"> 4839</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Replacement = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04840"></a><span class="lineno"> 4840</span> <span class="keywordflow">return</span></div>
+<div class="line"><a name="l04841"></a><span class="lineno"> 4841</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#adee23a4da9e92664732e53aaf3d04f30" title="Retrieve a substitution-result type.">getSubstTemplateTypeParmType</a>(cast<TemplateTypeParmType>(Parm),</div>
+<div class="line"><a name="l04842"></a><span class="lineno"> 4842</span> Replacement);</div>
+<div class="line"><a name="l04843"></a><span class="lineno"> 4843</span> }</div>
+<div class="line"><a name="l04844"></a><span class="lineno"> 4844</span> </div>
+<div class="line"><a name="l04845"></a><span class="lineno"> 4845</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d48385df2fb698004dc7f0ba65f24d9" title="A SubstTemplateTypeParmPackType record.">TYPE_SUBST_TEMPLATE_TYPE_PARM_PACK</a>: {</div>
+<div class="line"><a name="l04846"></a><span class="lineno"> 4846</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04847"></a><span class="lineno"> 4847</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Parm = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04848"></a><span class="lineno"> 4848</span> <a class="code" href="classclang_1_1TemplateArgument.html" title="Represents a template argument within a class template specialization.">TemplateArgument</a> ArgPack = ReadTemplateArgument(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04849"></a><span class="lineno"> 4849</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ae54b345be2b8989c7655107782ddae72" title="Retrieve a.">getSubstTemplateTypeParmPackType</a>(</div>
+<div class="line"><a name="l04850"></a><span class="lineno"> 4850</span> cast<TemplateTypeParmType>(Parm),</div>
+<div class="line"><a name="l04851"></a><span class="lineno"> 4851</span> ArgPack);</div>
+<div class="line"><a name="l04852"></a><span class="lineno"> 4852</span> }</div>
+<div class="line"><a name="l04853"></a><span class="lineno"> 4853</span> </div>
+<div class="line"><a name="l04854"></a><span class="lineno"> 4854</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838aaa42be527610372704021bda58e340ec" title="An InjectedClassNameType record.">TYPE_INJECTED_CLASS_NAME</a>: {</div>
+<div class="line"><a name="l04855"></a><span class="lineno"> 4855</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *D = ReadDeclAs<CXXRecordDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04856"></a><span class="lineno"> 4856</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> TST = readType(*Loc.F, Record, Idx); <span class="comment">// probably derivable</span></div>
+<div class="line"><a name="l04857"></a><span class="lineno"> 4857</span> <span class="comment">// FIXME: ASTContext::getInjectedClassNameType is not currently suitable</span></div>
+<div class="line"><a name="l04858"></a><span class="lineno"> 4858</span> <span class="comment">// for AST reading, too much interdependencies.</span></div>
+<div class="line"><a name="l04859"></a><span class="lineno"> 4859</span> <span class="keywordflow">return</span></div>
+<div class="line"><a name="l04860"></a><span class="lineno"> 4860</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>(<span class="keyword">new</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>, <a class="code" href="namespaceclang.html#a77a8750d33b41960b6cf5102c40ba32fa278ad50dedccda216d67b7157ce49094">TypeAlignment</a>) <a class="code" href="classclang_1_1InjectedClassNameType.html" title="The injected class name of a C++ class template or class template partial specialization. Used to record that a type was spelled with a bare identifier rather than as a template-id; the equivalent for non-templated classes is just RecordType.">InjectedClassNameType</a>(D, TST), 0);</div>
+<div class="line"><a name="l04861"></a><span class="lineno"> 4861</span> }</div>
+<div class="line"><a name="l04862"></a><span class="lineno"> 4862</span> </div>
+<div class="line"><a name="l04863"></a><span class="lineno"> 4863</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a867b307628077d23cdd86a6bc27c9544" title="An TemplateTypeParmType record.">TYPE_TEMPLATE_TYPE_PARM</a>: {</div>
+<div class="line"><a name="l04864"></a><span class="lineno"> 4864</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04865"></a><span class="lineno"> 4865</span> <span class="keywordtype">unsigned</span> <a class="code" href="ASTMatchFinder_8cpp.html#a770e10d3d091ec85cafce08832ae2e87">Depth</a> = Record[Idx++];</div>
+<div class="line"><a name="l04866"></a><span class="lineno"> 4866</span> <span class="keywordtype">unsigned</span> Index = Record[Idx++];</div>
+<div class="line"><a name="l04867"></a><span class="lineno"> 4867</span> <span class="keywordtype">bool</span> Pack = Record[Idx++];</div>
+<div class="line"><a name="l04868"></a><span class="lineno"> 4868</span> <a class="code" href="classclang_1_1TemplateTypeParmDecl.html" title="Declaration of a template type parameter.">TemplateTypeParmDecl</a> *D</div>
+<div class="line"><a name="l04869"></a><span class="lineno"> 4869</span> = ReadDeclAs<TemplateTypeParmDecl>(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04870"></a><span class="lineno"> 4870</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ab3e1ca12b08899e4213bfc59534af423" title="Retrieve the template type parameter type for a template parameter or parameter pack with the given d...">getTemplateTypeParmType</a>(Depth, Index, Pack, D);</div>
+<div class="line"><a name="l04871"></a><span class="lineno"> 4871</span> }</div>
+<div class="line"><a name="l04872"></a><span class="lineno"> 4872</span> </div>
+<div class="line"><a name="l04873"></a><span class="lineno"> 4873</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a4d950ffe5e20b29296722e5e08ca9c5c" title="A DependentNameType record.">TYPE_DEPENDENT_NAME</a>: {</div>
+<div class="line"><a name="l04874"></a><span class="lineno"> 4874</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04875"></a><span class="lineno"> 4875</span> <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword = (<a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a>)Record[Idx++];</div>
+<div class="line"><a name="l04876"></a><span class="lineno"> 4876</span> <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04877"></a><span class="lineno"> 4877</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = this->GetIdentifierInfo(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04878"></a><span class="lineno"> 4878</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Canon = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04879"></a><span class="lineno"> 4879</span> <span class="keywordflow">if</span> (!Canon.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l04880"></a><span class="lineno"> 4880</span> Canon = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(Canon);</div>
+<div class="line"><a name="l04881"></a><span class="lineno"> 4881</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ac8deb55d1eb6321930d69be5b9b54a9a">getDependentNameType</a>(Keyword, NNS, Name, Canon);</div>
+<div class="line"><a name="l04882"></a><span class="lineno"> 4882</span> }</div>
+<div class="line"><a name="l04883"></a><span class="lineno"> 4883</span> </div>
+<div class="line"><a name="l04884"></a><span class="lineno"> 4884</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a21bd2748c097a472baaaa45cd353bec8" title="A DependentTemplateSpecializationType record.">TYPE_DEPENDENT_TEMPLATE_SPECIALIZATION</a>: {</div>
+<div class="line"><a name="l04885"></a><span class="lineno"> 4885</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04886"></a><span class="lineno"> 4886</span> <a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a> Keyword = (<a class="code" href="namespaceclang.html#af16833e51c82a488104751351c4e95af" title="The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifie...">ElaboratedTypeKeyword</a>)Record[Idx++];</div>
+<div class="line"><a name="l04887"></a><span class="lineno"> 4887</span> <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *NNS = ReadNestedNameSpecifier(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04888"></a><span class="lineno"> 4888</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = this->GetIdentifierInfo(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04889"></a><span class="lineno"> 4889</span> <span class="keywordtype">unsigned</span> NumArgs = Record[Idx++];</div>
+<div class="line"><a name="l04890"></a><span class="lineno"> 4890</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 8></a> <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>;</div>
+<div class="line"><a name="l04891"></a><span class="lineno"> 4891</span> Args.reserve(NumArgs);</div>
+<div class="line"><a name="l04892"></a><span class="lineno"> 4892</span> <span class="keywordflow">while</span> (NumArgs--)</div>
+<div class="line"><a name="l04893"></a><span class="lineno"> 4893</span> Args.push_back(ReadTemplateArgument(*Loc.F, Record, Idx));</div>
+<div class="line"><a name="l04894"></a><span class="lineno"> 4894</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a329fdd30337210acb1e62bf90f6bfb58">getDependentTemplateSpecializationType</a>(Keyword, NNS, Name,</div>
+<div class="line"><a name="l04895"></a><span class="lineno"> 4895</span> Args.size(), Args.data());</div>
+<div class="line"><a name="l04896"></a><span class="lineno"> 4896</span> }</div>
+<div class="line"><a name="l04897"></a><span class="lineno"> 4897</span> </div>
+<div class="line"><a name="l04898"></a><span class="lineno"> 4898</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a60f156a1f3e063a669dd72ebc71ea4bf" title="A DependentSizedArrayType record.">TYPE_DEPENDENT_SIZED_ARRAY</a>: {</div>
+<div class="line"><a name="l04899"></a><span class="lineno"> 4899</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04900"></a><span class="lineno"> 4900</span> </div>
+<div class="line"><a name="l04901"></a><span class="lineno"> 4901</span> <span class="comment">// ArrayType</span></div>
+<div class="line"><a name="l04902"></a><span class="lineno"> 4902</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ElementType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04903"></a><span class="lineno"> 4903</span> <a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a> ASM</div>
+<div class="line"><a name="l04904"></a><span class="lineno"> 4904</span> = (<a class="code" href="classclang_1_1ArrayType.html#a044cc135a180b91387c89659ab7cabb4">ArrayType::ArraySizeModifier</a>)Record[Idx++];</div>
+<div class="line"><a name="l04905"></a><span class="lineno"> 4905</span> <span class="keywordtype">unsigned</span> IndexTypeQuals = Record[Idx++];</div>
+<div class="line"><a name="l04906"></a><span class="lineno"> 4906</span> </div>
+<div class="line"><a name="l04907"></a><span class="lineno"> 4907</span> <span class="comment">// DependentSizedArrayType</span></div>
+<div class="line"><a name="l04908"></a><span class="lineno"> 4908</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *NumElts = ReadExpr(*Loc.F);</div>
+<div class="line"><a name="l04909"></a><span class="lineno"> 4909</span> <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Brackets = ReadSourceRange(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04910"></a><span class="lineno"> 4910</span> </div>
+<div class="line"><a name="l04911"></a><span class="lineno"> 4911</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ae3fbffbe20514ea67afcb39b3b74e474" title="Return a non-unique reference to the type for a dependently-sized array of the specified element type...">getDependentSizedArrayType</a>(ElementType, NumElts, ASM,</div>
+<div class="line"><a name="l04912"></a><span class="lineno"> 4912</span> IndexTypeQuals, Brackets);</div>
+<div class="line"><a name="l04913"></a><span class="lineno"> 4913</span> }</div>
+<div class="line"><a name="l04914"></a><span class="lineno"> 4914</span> </div>
+<div class="line"><a name="l04915"></a><span class="lineno"> 4915</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838a532df5a5689cc53db51781e575b63e91" title="An TemplateSpecializationType record.">TYPE_TEMPLATE_SPECIALIZATION</a>: {</div>
+<div class="line"><a name="l04916"></a><span class="lineno"> 4916</span> <span class="keywordtype">unsigned</span> Idx = 0;</div>
+<div class="line"><a name="l04917"></a><span class="lineno"> 4917</span> <span class="keywordtype">bool</span> IsDependent = Record[Idx++];</div>
+<div class="line"><a name="l04918"></a><span class="lineno"> 4918</span> <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> Name = ReadTemplateName(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04919"></a><span class="lineno"> 4919</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TemplateArgument, 8></a> <a class="code" href="SemaOverload_8cpp.html#ab0970fce5a85028c7eac6fb99797fea5">Args</a>;</div>
+<div class="line"><a name="l04920"></a><span class="lineno"> 4920</span> ReadTemplateArgumentList(Args, *Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04921"></a><span class="lineno"> 4921</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Underlying = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04922"></a><span class="lineno"> 4922</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> T;</div>
+<div class="line"><a name="l04923"></a><span class="lineno"> 4923</span> <span class="keywordflow">if</span> (Underlying.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>())</div>
+<div class="line"><a name="l04924"></a><span class="lineno"> 4924</span> T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a7db97ec8dbb8e1ad54688035b23a2716">getCanonicalTemplateSpecializationType</a>(Name, Args.data(),</div>
+<div class="line"><a name="l04925"></a><span class="lineno"> 4925</span> Args.size());</div>
+<div class="line"><a name="l04926"></a><span class="lineno"> 4926</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l04927"></a><span class="lineno"> 4927</span> T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a450b0e57f5f8f5618ba5e52c1e111080">getTemplateSpecializationType</a>(Name, Args.data(),</div>
+<div class="line"><a name="l04928"></a><span class="lineno"> 4928</span> Args.size(), Underlying);</div>
+<div class="line"><a name="l04929"></a><span class="lineno"> 4929</span> <span class="keyword">const_cast<</span>Type*<span class="keyword">></span>(T.<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>())->setDependent(IsDependent);</div>
+<div class="line"><a name="l04930"></a><span class="lineno"> 4930</span> <span class="keywordflow">return</span> T;</div>
+<div class="line"><a name="l04931"></a><span class="lineno"> 4931</span> }</div>
+<div class="line"><a name="l04932"></a><span class="lineno"> 4932</span> </div>
+<div class="line"><a name="l04933"></a><span class="lineno"> 4933</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#ggaa8f0422e40ce8d66ef65c0ca39d44838add9b8caafe9f5a9fa4ab70aae8b7423c" title="An AtomicType record.">TYPE_ATOMIC</a>: {</div>
+<div class="line"><a name="l04934"></a><span class="lineno"> 4934</span> <span class="keywordflow">if</span> (Record.size() != 1) {</div>
+<div class="line"><a name="l04935"></a><span class="lineno"> 4935</span> Error(<span class="stringliteral">"Incorrect encoding of atomic type"</span>);</div>
+<div class="line"><a name="l04936"></a><span class="lineno"> 4936</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l04937"></a><span class="lineno"> 4937</span> }</div>
+<div class="line"><a name="l04938"></a><span class="lineno"> 4938</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ValueType = readType(*Loc.F, Record, Idx);</div>
+<div class="line"><a name="l04939"></a><span class="lineno"> 4939</span> <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a2994a3d3276df0b9ac6b00c4972d5d55" title="Return the uniqued reference to the atomic type for the specified type.">getAtomicType</a>(ValueType);</div>
+<div class="line"><a name="l04940"></a><span class="lineno"> 4940</span> }</div>
+<div class="line"><a name="l04941"></a><span class="lineno"> 4941</span> }</div>
+<div class="line"><a name="l04942"></a><span class="lineno"> 4942</span> llvm_unreachable(<span class="stringliteral">"Invalid TypeCode!"</span>);</div>
+<div class="line"><a name="l04943"></a><span class="lineno"> 4943</span> }</div>
+<div class="line"><a name="l04944"></a><span class="lineno"> 4944</span> </div>
+<div class="line"><a name="l04945"></a><span class="lineno"><a class="code" href="classclang_1_1TypeLocReader.html"> 4945</a></span> <span class="keyword">class </span><a class="code" href="classclang_1_1TypeLocReader.html">clang::TypeLocReader</a> : <span class="keyword">public</span> <a class="code" href="classclang_1_1TypeLocVisitor.html">TypeLocVisitor</a><TypeLocReader> {</div>
+<div class="line"><a name="l04946"></a><span class="lineno"> 4946</span> <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="l04947"></a><span class="lineno"> 4947</span> ModuleFile &F;</div>
+<div class="line"><a name="l04948"></a><span class="lineno"> 4948</span> <span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">ASTReader::RecordData</a> &Record;</div>
+<div class="line"><a name="l04949"></a><span class="lineno"> 4949</span> <span class="keywordtype">unsigned</span> &Idx;</div>
+<div class="line"><a name="l04950"></a><span class="lineno"> 4950</span> </div>
+<div class="line"><a name="l04951"></a><span class="lineno"> 4951</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> ReadSourceLocation(<span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">ASTReader::RecordData</a> &R,</div>
+<div class="line"><a name="l04952"></a><span class="lineno"> 4952</span> <span class="keywordtype">unsigned</span> &I) {</div>
+<div class="line"><a name="l04953"></a><span class="lineno"> 4953</span> <span class="keywordflow">return</span> Reader.ReadSourceLocation(F, R, I);</div>
+<div class="line"><a name="l04954"></a><span class="lineno"> 4954</span> }</div>
+<div class="line"><a name="l04955"></a><span class="lineno"> 4955</span> </div>
+<div class="line"><a name="l04956"></a><span class="lineno"> 4956</span> <span class="keyword">template</span><<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l04957"></a><span class="lineno"> 4957</span> T *ReadDeclAs(<span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">ASTReader::RecordData</a> &Record, <span class="keywordtype">unsigned</span> &Idx) {</div>
+<div class="line"><a name="l04958"></a><span class="lineno"> 4958</span> <span class="keywordflow">return</span> Reader.ReadDeclAs<T>(F, Record, Idx);</div>
+<div class="line"><a name="l04959"></a><span class="lineno"> 4959</span> }</div>
+<div class="line"><a name="l04960"></a><span class="lineno"> 4960</span> </div>
+<div class="line"><a name="l04961"></a><span class="lineno"> 4961</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l04962"></a><span class="lineno"><a class="code" href="classclang_1_1TypeLocReader.html#a22b0793e1cc0b3aa2fcb2d8490b5d368"> 4962</a></span> <a class="code" href="classclang_1_1TypeLocReader.html">TypeLocReader</a>(<a class="code" href="classclang_1_1ASTReader.html" title="Reads an AST files chain containing the contents of a translation unit.">ASTReader</a> &Reader, ModuleFile &F,</div>
+<div class="line"><a name="l04963"></a><span class="lineno"> 4963</span> <span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">ASTReader::RecordData</a> &Record, <span class="keywordtype">unsigned</span> &Idx)</div>
+<div class="line"><a name="l04964"></a><span class="lineno"> 4964</span> : Reader(Reader), F(F), Record(Record), Idx(Idx)</div>
+<div class="line"><a name="l04965"></a><span class="lineno"> 4965</span> { }</div>
+<div class="line"><a name="l04966"></a><span class="lineno"> 4966</span> </div>
+<div class="line"><a name="l04967"></a><span class="lineno"> 4967</span> <span class="comment">// We want compile-time assurance that we've enumerated all of</span></div>
+<div class="line"><a name="l04968"></a><span class="lineno"> 4968</span> <span class="comment">// these, so unfortunately we have to declare them first, then</span></div>
+<div class="line"><a name="l04969"></a><span class="lineno"> 4969</span> <span class="comment">// define them out-of-line.</span></div>
+<div class="line"><a name="l04970"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a55c58528f838d8fdfa42d024f2cad815"> 4970</a></span> <span class="preprocessor">#define ABSTRACT_TYPELOC(CLASS, PARENT)</span></div>
+<div class="line"><a name="l04971"></a><span class="lineno"><a class="code" href="ASTReader_8cpp.html#a63bcd70674be7d8825e683d84b5fad15"> 4971</a></span> <span class="preprocessor"></span><span class="preprocessor">#define TYPELOC(CLASS, PARENT) \</span></div>
+<div class="line"><a name="l04972"></a><span class="lineno"> 4972</span> <span class="preprocessor"> void Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);</span></div>
+<div class="line"><a name="l04973"></a><span class="lineno"> 4973</span> <span class="preprocessor"></span><span class="preprocessor">#include "clang/AST/TypeLocNodes.def"</span></div>
+<div class="line"><a name="l04974"></a><span class="lineno"> 4974</span> </div>
+<div class="line"><a name="l04975"></a><span class="lineno"> 4975</span> <span class="keywordtype">void</span> VisitFunctionTypeLoc(<a class="code" href="classclang_1_1FunctionTypeLoc.html" title="Wrapper for source info for functions.">FunctionTypeLoc</a>);</div>
+<div class="line"><a name="l04976"></a><span class="lineno"> 4976</span> <span class="keywordtype">void</span> VisitArrayTypeLoc(<a class="code" href="classclang_1_1ArrayTypeLoc.html" title="Wrapper for source info for arrays.">ArrayTypeLoc</a>);</div>
+<div class="line"><a name="l04977"></a><span class="lineno"> 4977</span> };</div>
+<div class="line"><a name="l04978"></a><span class="lineno"> 4978</span> </div>
+<div class="line"><a name="l04979"></a><span class="lineno"> 4979</span> <span class="keywordtype">void</span> TypeLocReader::VisitQualifiedTypeLoc(<a class="code" href="classclang_1_1QualifiedTypeLoc.html" title="Wrapper of type source information for a type with non-trivial direct qualifiers.">QualifiedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l04980"></a><span class="lineno"> 4980</span> <span class="comment">// nothing to do</span></div>
+<div class="line"><a name="l04981"></a><span class="lineno"> 4981</span> }</div>
+<div class="line"><a name="l04982"></a><span class="lineno"> 4982</span> <span class="keywordtype">void</span> TypeLocReader::VisitBuiltinTypeLoc(<a class="code" href="classclang_1_1BuiltinTypeLoc.html" title="Wrapper for source info for builtin types.">BuiltinTypeLoc</a> TL) {</div>
+<div class="line"><a name="l04983"></a><span class="lineno"> 4983</span> TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a56d4f58a1d3d50417aad83996c11dae4">setBuiltinLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l04984"></a><span class="lineno"> 4984</span> <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a6d12f2ca8e8029a9ec6bbc70ee48a8fa">needsExtraLocalData</a>()) {</div>
+<div class="line"><a name="l04985"></a><span class="lineno"> 4985</span> TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a3c1c5c7c42272f69062add970c398a87">setWrittenTypeSpec</a>(static_cast<DeclSpec::TST>(Record[Idx++]));</div>
+<div class="line"><a name="l04986"></a><span class="lineno"> 4986</span> TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a8c78e02f0c44e8191e0e1fb118ced881">setWrittenSignSpec</a>(static_cast<DeclSpec::TSS>(Record[Idx++]));</div>
+<div class="line"><a name="l04987"></a><span class="lineno"> 4987</span> TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a70ead9c4dfa73526be372847ef735c22">setWrittenWidthSpec</a>(static_cast<DeclSpec::TSW>(Record[Idx++]));</div>
+<div class="line"><a name="l04988"></a><span class="lineno"> 4988</span> TL.<a class="code" href="classclang_1_1BuiltinTypeLoc.html#a55bf405569cd2fb7410803d0c83d11a4">setModeAttr</a>(Record[Idx++]);</div>
+<div class="line"><a name="l04989"></a><span class="lineno"> 4989</span> }</div>
+<div class="line"><a name="l04990"></a><span class="lineno"> 4990</span> }</div>
+<div class="line"><a name="l04991"></a><span class="lineno"> 4991</span> <span class="keywordtype">void</span> TypeLocReader::VisitComplexTypeLoc(<a class="code" href="classclang_1_1ComplexTypeLoc.html">ComplexTypeLoc</a> TL) {</div>
+<div class="line"><a name="l04992"></a><span class="lineno"> 4992</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l04993"></a><span class="lineno"> 4993</span> }</div>
+<div class="line"><a name="l04994"></a><span class="lineno"> 4994</span> <span class="keywordtype">void</span> TypeLocReader::VisitPointerTypeLoc(<a class="code" href="classclang_1_1PointerTypeLoc.html" title="Wrapper for source info for pointers.">PointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l04995"></a><span class="lineno"> 4995</span> TL.<a class="code" href="classclang_1_1PointerTypeLoc.html#ab060a4dd8dcdeb280e8756e54a56315d">setStarLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l04996"></a><span class="lineno"> 4996</span> }</div>
+<div class="line"><a name="l04997"></a><span class="lineno"> 4997</span> <span class="keywordtype">void</span> TypeLocReader::VisitDecayedTypeLoc(<a class="code" href="classclang_1_1DecayedTypeLoc.html" title="Wrapper for source info for pointers decayed from arrays and functions.">DecayedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l04998"></a><span class="lineno"> 4998</span> <span class="comment">// nothing to do</span></div>
+<div class="line"><a name="l04999"></a><span class="lineno"> 4999</span> }</div>
+<div class="line"><a name="l05000"></a><span class="lineno"> 5000</span> <span class="keywordtype">void</span> TypeLocReader::VisitBlockPointerTypeLoc(<a class="code" href="classclang_1_1BlockPointerTypeLoc.html" title="Wrapper for source info for block pointers.">BlockPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05001"></a><span class="lineno"> 5001</span> TL.<a class="code" href="classclang_1_1BlockPointerTypeLoc.html#aef29c0005b35998dbd92b12e0e5a9f59">setCaretLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05002"></a><span class="lineno"> 5002</span> }</div>
+<div class="line"><a name="l05003"></a><span class="lineno"> 5003</span> <span class="keywordtype">void</span> TypeLocReader::VisitLValueReferenceTypeLoc(<a class="code" href="classclang_1_1LValueReferenceTypeLoc.html">LValueReferenceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05004"></a><span class="lineno"> 5004</span> TL.<a class="code" href="classclang_1_1LValueReferenceTypeLoc.html#a3c02c86c28696841544c7a3a3435c7e9">setAmpLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05005"></a><span class="lineno"> 5005</span> }</div>
+<div class="line"><a name="l05006"></a><span class="lineno"> 5006</span> <span class="keywordtype">void</span> TypeLocReader::VisitRValueReferenceTypeLoc(<a class="code" href="classclang_1_1RValueReferenceTypeLoc.html">RValueReferenceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05007"></a><span class="lineno"> 5007</span> TL.<a class="code" href="classclang_1_1RValueReferenceTypeLoc.html#a8fd3b8b40c52d7161dd3f907a1ba2304">setAmpAmpLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05008"></a><span class="lineno"> 5008</span> }</div>
+<div class="line"><a name="l05009"></a><span class="lineno"> 5009</span> <span class="keywordtype">void</span> TypeLocReader::VisitMemberPointerTypeLoc(<a class="code" href="classclang_1_1MemberPointerTypeLoc.html" title="Wrapper for source info for member pointers.">MemberPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05010"></a><span class="lineno"> 5010</span> TL.<a class="code" href="classclang_1_1MemberPointerTypeLoc.html#a3466e46dc290c9dc7e0a63718a46a831">setStarLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05011"></a><span class="lineno"> 5011</span> TL.<a class="code" href="classclang_1_1MemberPointerTypeLoc.html#a9926c7b823054da9b1ee54eb2ccedb69">setClassTInfo</a>(Reader.GetTypeSourceInfo(F, Record, Idx));</div>
+<div class="line"><a name="l05012"></a><span class="lineno"> 5012</span> }</div>
+<div class="line"><a name="l05013"></a><span class="lineno"><a class="code" href="classclang_1_1TypeLocReader.html#a05162c1c3eb8c3b0bcb60ba62bab3144"> 5013</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1TypeLocReader.html#a05162c1c3eb8c3b0bcb60ba62bab3144">TypeLocReader::VisitArrayTypeLoc</a>(<a class="code" href="classclang_1_1ArrayTypeLoc.html" title="Wrapper for source info for arrays.">ArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05014"></a><span class="lineno"> 5014</span> TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#a5b2b2d5b336e6a2cdf6ca9d1ec6cd719">setLBracketLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05015"></a><span class="lineno"> 5015</span> TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#a6ca60cdad92637b33b6fa813e50c1fa5">setRBracketLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05016"></a><span class="lineno"> 5016</span> <span class="keywordflow">if</span> (Record[Idx++])</div>
+<div class="line"><a name="l05017"></a><span class="lineno"> 5017</span> TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#afa8e919e89982b4ea8a016aefff9e640">setSizeExpr</a>(Reader.ReadExpr(F));</div>
+<div class="line"><a name="l05018"></a><span class="lineno"> 5018</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l05019"></a><span class="lineno"> 5019</span> TL.<a class="code" href="classclang_1_1ArrayTypeLoc.html#afa8e919e89982b4ea8a016aefff9e640">setSizeExpr</a>(0);</div>
+<div class="line"><a name="l05020"></a><span class="lineno"> 5020</span> }</div>
+<div class="line"><a name="l05021"></a><span class="lineno"> 5021</span> <span class="keywordtype">void</span> TypeLocReader::VisitConstantArrayTypeLoc(<a class="code" href="classclang_1_1ConstantArrayTypeLoc.html">ConstantArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05022"></a><span class="lineno"> 5022</span> VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l05023"></a><span class="lineno"> 5023</span> }</div>
+<div class="line"><a name="l05024"></a><span class="lineno"> 5024</span> <span class="keywordtype">void</span> TypeLocReader::VisitIncompleteArrayTypeLoc(<a class="code" href="classclang_1_1IncompleteArrayTypeLoc.html">IncompleteArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05025"></a><span class="lineno"> 5025</span> VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l05026"></a><span class="lineno"> 5026</span> }</div>
+<div class="line"><a name="l05027"></a><span class="lineno"> 5027</span> <span class="keywordtype">void</span> TypeLocReader::VisitVariableArrayTypeLoc(<a class="code" href="classclang_1_1VariableArrayTypeLoc.html">VariableArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05028"></a><span class="lineno"> 5028</span> VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l05029"></a><span class="lineno"> 5029</span> }</div>
+<div class="line"><a name="l05030"></a><span class="lineno"> 5030</span> <span class="keywordtype">void</span> TypeLocReader::VisitDependentSizedArrayTypeLoc(</div>
+<div class="line"><a name="l05031"></a><span class="lineno"> 5031</span> <a class="code" href="classclang_1_1DependentSizedArrayTypeLoc.html">DependentSizedArrayTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05032"></a><span class="lineno"> 5032</span> VisitArrayTypeLoc(TL);</div>
+<div class="line"><a name="l05033"></a><span class="lineno"> 5033</span> }</div>
+<div class="line"><a name="l05034"></a><span class="lineno"> 5034</span> <span class="keywordtype">void</span> TypeLocReader::VisitDependentSizedExtVectorTypeLoc(</div>
+<div class="line"><a name="l05035"></a><span class="lineno"> 5035</span> <a class="code" href="classclang_1_1DependentSizedExtVectorTypeLoc.html">DependentSizedExtVectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05036"></a><span class="lineno"> 5036</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05037"></a><span class="lineno"> 5037</span> }</div>
+<div class="line"><a name="l05038"></a><span class="lineno"> 5038</span> <span class="keywordtype">void</span> TypeLocReader::VisitVectorTypeLoc(<a class="code" href="classclang_1_1VectorTypeLoc.html">VectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05039"></a><span class="lineno"> 5039</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05040"></a><span class="lineno"> 5040</span> }</div>
+<div class="line"><a name="l05041"></a><span class="lineno"> 5041</span> <span class="keywordtype">void</span> TypeLocReader::VisitExtVectorTypeLoc(<a class="code" href="classclang_1_1ExtVectorTypeLoc.html">ExtVectorTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05042"></a><span class="lineno"> 5042</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05043"></a><span class="lineno"> 5043</span> }</div>
+<div class="line"><a name="l05044"></a><span class="lineno"><a class="code" href="classclang_1_1TypeLocReader.html#a61bff51529207e62b13a2ebf49cbbbd8"> 5044</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1TypeLocReader.html#a61bff51529207e62b13a2ebf49cbbbd8">TypeLocReader::VisitFunctionTypeLoc</a>(<a class="code" href="classclang_1_1FunctionTypeLoc.html" title="Wrapper for source info for functions.">FunctionTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05045"></a><span class="lineno"> 5045</span> TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a59f8bddeb514b691a4ad08ad90313028">setLocalRangeBegin</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05046"></a><span class="lineno"> 5046</span> TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a61a27a57df1d816345c0c5accda0589b">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05047"></a><span class="lineno"> 5047</span> TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#a9b37718a5a9b073f865c6915e4048f36">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05048"></a><span class="lineno"> 5048</span> TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#abea9128d3686d44aca3f28e24cf67cf1">setLocalRangeEnd</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05049"></a><span class="lineno"> 5049</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#acb477418ed362b15bfb115255acb7b33">getNumArgs</a>(); i != e; ++i) {</div>
+<div class="line"><a name="l05050"></a><span class="lineno"> 5050</span> TL.<a class="code" href="classclang_1_1FunctionTypeLoc.html#af2c4c7edf835f1a06c0da0b9334e93eb">setArg</a>(i, ReadDeclAs<ParmVarDecl>(Record, Idx));</div>
+<div class="line"><a name="l05051"></a><span class="lineno"> 5051</span> }</div>
+<div class="line"><a name="l05052"></a><span class="lineno"> 5052</span> }</div>
+<div class="line"><a name="l05053"></a><span class="lineno"> 5053</span> <span class="keywordtype">void</span> TypeLocReader::VisitFunctionProtoTypeLoc(<a class="code" href="classclang_1_1FunctionProtoTypeLoc.html">FunctionProtoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05054"></a><span class="lineno"> 5054</span> VisitFunctionTypeLoc(TL);</div>
+<div class="line"><a name="l05055"></a><span class="lineno"> 5055</span> }</div>
+<div class="line"><a name="l05056"></a><span class="lineno"> 5056</span> <span class="keywordtype">void</span> TypeLocReader::VisitFunctionNoProtoTypeLoc(<a class="code" href="classclang_1_1FunctionNoProtoTypeLoc.html">FunctionNoProtoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05057"></a><span class="lineno"> 5057</span> VisitFunctionTypeLoc(TL);</div>
+<div class="line"><a name="l05058"></a><span class="lineno"> 5058</span> }</div>
+<div class="line"><a name="l05059"></a><span class="lineno"> 5059</span> <span class="keywordtype">void</span> TypeLocReader::VisitUnresolvedUsingTypeLoc(<a class="code" href="classclang_1_1UnresolvedUsingTypeLoc.html" title="Wrapper for source info for unresolved typename using decls.">UnresolvedUsingTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05060"></a><span class="lineno"> 5060</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05061"></a><span class="lineno"> 5061</span> }</div>
+<div class="line"><a name="l05062"></a><span class="lineno"> 5062</span> <span class="keywordtype">void</span> TypeLocReader::VisitTypedefTypeLoc(<a class="code" href="classclang_1_1TypedefTypeLoc.html" title="Wrapper for source info for typedefs.">TypedefTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05063"></a><span class="lineno"> 5063</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05064"></a><span class="lineno"> 5064</span> }</div>
+<div class="line"><a name="l05065"></a><span class="lineno"> 5065</span> <span class="keywordtype">void</span> TypeLocReader::VisitTypeOfExprTypeLoc(<a class="code" href="classclang_1_1TypeOfExprTypeLoc.html">TypeOfExprTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05066"></a><span class="lineno"> 5066</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ad3ffc81c8beb470a773bfe8983cdd143">setTypeofLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05067"></a><span class="lineno"> 5067</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ac1798f0a4c2fc21bda50764c0af3ae51">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05068"></a><span class="lineno"> 5068</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#adaeb8c4a97ce8473082b9dc784b8123b">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05069"></a><span class="lineno"> 5069</span> }</div>
+<div class="line"><a name="l05070"></a><span class="lineno"> 5070</span> <span class="keywordtype">void</span> TypeLocReader::VisitTypeOfTypeLoc(<a class="code" href="classclang_1_1TypeOfTypeLoc.html">TypeOfTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05071"></a><span class="lineno"> 5071</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ad3ffc81c8beb470a773bfe8983cdd143">setTypeofLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05072"></a><span class="lineno"> 5072</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#ac1798f0a4c2fc21bda50764c0af3ae51">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05073"></a><span class="lineno"> 5073</span> TL.<a class="code" href="classclang_1_1TypeofLikeTypeLoc.html#adaeb8c4a97ce8473082b9dc784b8123b">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05074"></a><span class="lineno"> 5074</span> TL.<a class="code" href="classclang_1_1TypeOfTypeLoc.html#a584c506f0822a4c6c3b8c17141c6171d">setUnderlyingTInfo</a>(Reader.GetTypeSourceInfo(F, Record, Idx));</div>
+<div class="line"><a name="l05075"></a><span class="lineno"> 5075</span> }</div>
+<div class="line"><a name="l05076"></a><span class="lineno"> 5076</span> <span class="keywordtype">void</span> TypeLocReader::VisitDecltypeTypeLoc(<a class="code" href="classclang_1_1DecltypeTypeLoc.html">DecltypeTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05077"></a><span class="lineno"> 5077</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05078"></a><span class="lineno"> 5078</span> }</div>
+<div class="line"><a name="l05079"></a><span class="lineno"> 5079</span> <span class="keywordtype">void</span> TypeLocReader::VisitUnaryTransformTypeLoc(<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html">UnaryTransformTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05080"></a><span class="lineno"> 5080</span> TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#a5a23ae2e7f4c943308dff2fc54245763">setKWLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05081"></a><span class="lineno"> 5081</span> TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#af44bd2cf4c89c8d1b25f51e575a58013">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05082"></a><span class="lineno"> 5082</span> TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#a0d1e096beaa49137c3d09c9f690fa083">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05083"></a><span class="lineno"> 5083</span> TL.<a class="code" href="classclang_1_1UnaryTransformTypeLoc.html#ae1889ac1194cb452d1e40623bd395cff">setUnderlyingTInfo</a>(Reader.GetTypeSourceInfo(F, Record, Idx));</div>
+<div class="line"><a name="l05084"></a><span class="lineno"> 5084</span> }</div>
+<div class="line"><a name="l05085"></a><span class="lineno"> 5085</span> <span class="keywordtype">void</span> TypeLocReader::VisitAutoTypeLoc(<a class="code" href="classclang_1_1AutoTypeLoc.html">AutoTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05086"></a><span class="lineno"> 5086</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05087"></a><span class="lineno"> 5087</span> }</div>
+<div class="line"><a name="l05088"></a><span class="lineno"> 5088</span> <span class="keywordtype">void</span> TypeLocReader::VisitRecordTypeLoc(<a class="code" href="classclang_1_1RecordTypeLoc.html" title="Wrapper for source info for record types.">RecordTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05089"></a><span class="lineno"> 5089</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05090"></a><span class="lineno"> 5090</span> }</div>
+<div class="line"><a name="l05091"></a><span class="lineno"> 5091</span> <span class="keywordtype">void</span> TypeLocReader::VisitEnumTypeLoc(<a class="code" href="classclang_1_1EnumTypeLoc.html" title="Wrapper for source info for enum types.">EnumTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05092"></a><span class="lineno"> 5092</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05093"></a><span class="lineno"> 5093</span> }</div>
+<div class="line"><a name="l05094"></a><span class="lineno"> 5094</span> <span class="keywordtype">void</span> TypeLocReader::VisitAttributedTypeLoc(<a class="code" href="classclang_1_1AttributedTypeLoc.html" title="Type source information for an attributed type.">AttributedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05095"></a><span class="lineno"> 5095</span> TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#abcad4f8b6c700a2cbb5b420e99b9e2d6">setAttrNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05096"></a><span class="lineno"> 5096</span> <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a09c336a4e2efeafa088f8ecf38a86b83">hasAttrOperand</a>()) {</div>
+<div class="line"><a name="l05097"></a><span class="lineno"> 5097</span> <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> range;</div>
+<div class="line"><a name="l05098"></a><span class="lineno"> 5098</span> range.<a class="code" href="classclang_1_1SourceRange.html#a11fd265391224233491b6a0d351b8acd">setBegin</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05099"></a><span class="lineno"> 5099</span> range.<a class="code" href="classclang_1_1SourceRange.html#af322eeeb77d6c139e13026445159e795">setEnd</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05100"></a><span class="lineno"> 5100</span> TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#ad1ff0667d10b4c706072551760a2f21e">setAttrOperandParensRange</a>(range);</div>
+<div class="line"><a name="l05101"></a><span class="lineno"> 5101</span> }</div>
+<div class="line"><a name="l05102"></a><span class="lineno"> 5102</span> <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a9c6781ee99d0cf9942961de59ddb765a">hasAttrExprOperand</a>()) {</div>
+<div class="line"><a name="l05103"></a><span class="lineno"> 5103</span> <span class="keywordflow">if</span> (Record[Idx++])</div>
+<div class="line"><a name="l05104"></a><span class="lineno"> 5104</span> TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#aa7022d6fb91f2a86d431537004ca6bac">setAttrExprOperand</a>(Reader.ReadExpr(F));</div>
+<div class="line"><a name="l05105"></a><span class="lineno"> 5105</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l05106"></a><span class="lineno"> 5106</span> TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#aa7022d6fb91f2a86d431537004ca6bac">setAttrExprOperand</a>(0);</div>
+<div class="line"><a name="l05107"></a><span class="lineno"> 5107</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#ad7efd3ab9490b3a6fca9c4c1a205a165">hasAttrEnumOperand</a>())</div>
+<div class="line"><a name="l05108"></a><span class="lineno"> 5108</span> TL.<a class="code" href="classclang_1_1AttributedTypeLoc.html#a1792a8a60c0f221c6439dfe245a5221c">setAttrEnumOperandLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05109"></a><span class="lineno"> 5109</span> }</div>
+<div class="line"><a name="l05110"></a><span class="lineno"> 5110</span> <span class="keywordtype">void</span> TypeLocReader::VisitTemplateTypeParmTypeLoc(<a class="code" href="classclang_1_1TemplateTypeParmTypeLoc.html" title="Wrapper for template type parameters.">TemplateTypeParmTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05111"></a><span class="lineno"> 5111</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05112"></a><span class="lineno"> 5112</span> }</div>
+<div class="line"><a name="l05113"></a><span class="lineno"> 5113</span> <span class="keywordtype">void</span> TypeLocReader::VisitSubstTemplateTypeParmTypeLoc(</div>
+<div class="line"><a name="l05114"></a><span class="lineno"> 5114</span> <a class="code" href="classclang_1_1SubstTemplateTypeParmTypeLoc.html" title="Wrapper for substituted template type parameters.">SubstTemplateTypeParmTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05115"></a><span class="lineno"> 5115</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05116"></a><span class="lineno"> 5116</span> }</div>
+<div class="line"><a name="l05117"></a><span class="lineno"> 5117</span> <span class="keywordtype">void</span> TypeLocReader::VisitSubstTemplateTypeParmPackTypeLoc(</div>
+<div class="line"><a name="l05118"></a><span class="lineno"> 5118</span> <a class="code" href="classclang_1_1SubstTemplateTypeParmPackTypeLoc.html" title="Wrapper for substituted template type parameters.">SubstTemplateTypeParmPackTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05119"></a><span class="lineno"> 5119</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05120"></a><span class="lineno"> 5120</span> }</div>
+<div class="line"><a name="l05121"></a><span class="lineno"> 5121</span> <span class="keywordtype">void</span> TypeLocReader::VisitTemplateSpecializationTypeLoc(</div>
+<div class="line"><a name="l05122"></a><span class="lineno"> 5122</span> <a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html">TemplateSpecializationTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05123"></a><span class="lineno"> 5123</span> TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a5542c3d1413024a428ceebe7dae86e0a">setTemplateKeywordLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05124"></a><span class="lineno"> 5124</span> TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a84f6e2f968ab0b224e2e0f8cc423b171">setTemplateNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05125"></a><span class="lineno"> 5125</span> TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#aaa7b667e7a4aaf051ac7a6e4d228cc26">setLAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05126"></a><span class="lineno"> 5126</span> TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#af24263fc3a1b71dac8e9f0d9addb5f92">setRAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05127"></a><span class="lineno"> 5127</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a844fb73f9788cccc7d1c7375aea17d38">getNumArgs</a>(); i != e; ++i)</div>
+<div class="line"><a name="l05128"></a><span class="lineno"> 5128</span> TL.<a class="code" href="classclang_1_1TemplateSpecializationTypeLoc.html#a19e3d9b1f0bb75e5b97851b94dc7811c">setArgLocInfo</a>(i,</div>
+<div class="line"><a name="l05129"></a><span class="lineno"> 5129</span> Reader.GetTemplateArgumentLocInfo(F,</div>
+<div class="line"><a name="l05130"></a><span class="lineno"> 5130</span> TL.<a class="code" href="classclang_1_1ConcreteTypeLoc.html#ae3fe0c20e64c865de2bb3ea4c2c652cb">getTypePtr</a>()-><a class="code" href="classclang_1_1TemplateSpecializationType.html#a0489e6434d465d61acc6e52e7be35e3e" title="Retrieve a specific template argument as a type.">getArg</a>(i).<a class="code" href="classclang_1_1TemplateArgument.html#a17d8d61d5172e159f898a9021695bd56" title="Return the kind of stored template argument.">getKind</a>(),</div>
+<div class="line"><a name="l05131"></a><span class="lineno"> 5131</span> Record, Idx));</div>
+<div class="line"><a name="l05132"></a><span class="lineno"> 5132</span> }</div>
+<div class="line"><a name="l05133"></a><span class="lineno"> 5133</span> <span class="keywordtype">void</span> TypeLocReader::VisitParenTypeLoc(<a class="code" href="classclang_1_1ParenTypeLoc.html">ParenTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05134"></a><span class="lineno"> 5134</span> TL.<a class="code" href="classclang_1_1ParenTypeLoc.html#ae182f319e016c9119e0c5ddfbee8f5bc">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05135"></a><span class="lineno"> 5135</span> TL.<a class="code" href="classclang_1_1ParenTypeLoc.html#a2441f904899690d640a8956b1c7e3825">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05136"></a><span class="lineno"> 5136</span> }</div>
+<div class="line"><a name="l05137"></a><span class="lineno"> 5137</span> <span class="keywordtype">void</span> TypeLocReader::VisitElaboratedTypeLoc(<a class="code" href="classclang_1_1ElaboratedTypeLoc.html">ElaboratedTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05138"></a><span class="lineno"> 5138</span> TL.<a class="code" href="classclang_1_1ElaboratedTypeLoc.html#ac8e29011ccc761994c79708eb158c3d5">setElaboratedKeywordLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05139"></a><span class="lineno"> 5139</span> TL.<a class="code" href="classclang_1_1ElaboratedTypeLoc.html#ad9ce379ff2ca7d3d971006515c770474">setQualifierLoc</a>(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx));</div>
+<div class="line"><a name="l05140"></a><span class="lineno"> 5140</span> }</div>
+<div class="line"><a name="l05141"></a><span class="lineno"> 5141</span> <span class="keywordtype">void</span> TypeLocReader::VisitInjectedClassNameTypeLoc(<a class="code" href="classclang_1_1InjectedClassNameTypeLoc.html" title="Wrapper for source info for injected class names of class templates.">InjectedClassNameTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05142"></a><span class="lineno"> 5142</span> TL.<a class="code" href="classclang_1_1TypeSpecTypeLoc.html#a9d94a03f7d3b5cb971d95241d3016722">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05143"></a><span class="lineno"> 5143</span> }</div>
+<div class="line"><a name="l05144"></a><span class="lineno"> 5144</span> <span class="keywordtype">void</span> TypeLocReader::VisitDependentNameTypeLoc(<a class="code" href="classclang_1_1DependentNameTypeLoc.html">DependentNameTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05145"></a><span class="lineno"> 5145</span> TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#ae8c1fbc96c256a136e29dc18390cb491">setElaboratedKeywordLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05146"></a><span class="lineno"> 5146</span> TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#afb61766d877703adbc009abbdfbc6690">setQualifierLoc</a>(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx));</div>
+<div class="line"><a name="l05147"></a><span class="lineno"> 5147</span> TL.<a class="code" href="classclang_1_1DependentNameTypeLoc.html#accd3ced0762987d92bad8aa37fcdd2b4">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05148"></a><span class="lineno"> 5148</span> }</div>
+<div class="line"><a name="l05149"></a><span class="lineno"> 5149</span> <span class="keywordtype">void</span> TypeLocReader::VisitDependentTemplateSpecializationTypeLoc(</div>
+<div class="line"><a name="l05150"></a><span class="lineno"> 5150</span> <a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html">DependentTemplateSpecializationTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05151"></a><span class="lineno"> 5151</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a5468b086e3df3b605298d08484fa44b6">setElaboratedKeywordLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05152"></a><span class="lineno"> 5152</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a079e6afd826308c1cbc93ad59099200f">setQualifierLoc</a>(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx));</div>
+<div class="line"><a name="l05153"></a><span class="lineno"> 5153</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a36a20fba82d8753441b0272951da0feb">setTemplateKeywordLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05154"></a><span class="lineno"> 5154</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ae1186f82e6e7c638a763efbb6d5f86e2">setTemplateNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05155"></a><span class="lineno"> 5155</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ac670480e89dbac5fa06e6100322ce3e0">setLAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05156"></a><span class="lineno"> 5156</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#a61b7b965c969dbb6f02cedd403c51d4a">setRAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05157"></a><span class="lineno"> 5157</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, E = TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#ad855aa803fca4917c429991ca53c8841">getNumArgs</a>(); I != E; ++I)</div>
+<div class="line"><a name="l05158"></a><span class="lineno"> 5158</span> TL.<a class="code" href="classclang_1_1DependentTemplateSpecializationTypeLoc.html#acf0195b527ae855e333eee3cbe8711d7">setArgLocInfo</a>(I,</div>
+<div class="line"><a name="l05159"></a><span class="lineno"> 5159</span> Reader.GetTemplateArgumentLocInfo(F,</div>
+<div class="line"><a name="l05160"></a><span class="lineno"> 5160</span> TL.<a class="code" href="classclang_1_1ConcreteTypeLoc.html#ae3fe0c20e64c865de2bb3ea4c2c652cb">getTypePtr</a>()-><a class="code" href="classclang_1_1DependentTemplateSpecializationType.html#aad4f3e006abe0a1177d39045dce72465">getArg</a>(I).<a class="code" href="classclang_1_1TemplateArgument.html#a17d8d61d5172e159f898a9021695bd56" title="Return the kind of stored template argument.">getKind</a>(),</div>
+<div class="line"><a name="l05161"></a><span class="lineno"> 5161</span> Record, Idx));</div>
+<div class="line"><a name="l05162"></a><span class="lineno"> 5162</span> }</div>
+<div class="line"><a name="l05163"></a><span class="lineno"> 5163</span> <span class="keywordtype">void</span> TypeLocReader::VisitPackExpansionTypeLoc(<a class="code" href="classclang_1_1PackExpansionTypeLoc.html">PackExpansionTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05164"></a><span class="lineno"> 5164</span> TL.<a class="code" href="classclang_1_1PackExpansionTypeLoc.html#a0fd3f5f8cb8b47539c0c9bef77386171">setEllipsisLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05165"></a><span class="lineno"> 5165</span> }</div>
+<div class="line"><a name="l05166"></a><span class="lineno"> 5166</span> <span class="keywordtype">void</span> TypeLocReader::VisitObjCInterfaceTypeLoc(<a class="code" href="classclang_1_1ObjCInterfaceTypeLoc.html" title="Wrapper for source info for ObjC interfaces.">ObjCInterfaceTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05167"></a><span class="lineno"> 5167</span> TL.<a class="code" href="classclang_1_1ObjCInterfaceTypeLoc.html#a0d81d57fd0a526155c7e36e6339597ee">setNameLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05168"></a><span class="lineno"> 5168</span> }</div>
+<div class="line"><a name="l05169"></a><span class="lineno"> 5169</span> <span class="keywordtype">void</span> TypeLocReader::VisitObjCObjectTypeLoc(<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html">ObjCObjectTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05170"></a><span class="lineno"> 5170</span> TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#abe39dedae7f0ba598a06fcedd65b6152">setHasBaseTypeAsWritten</a>(Record[Idx++]);</div>
+<div class="line"><a name="l05171"></a><span class="lineno"> 5171</span> TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a5c29570d1acb96d493041d07446d3f22">setLAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05172"></a><span class="lineno"> 5172</span> TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#ab3d58f4bd31a40f19274926e4afd821f">setRAngleLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05173"></a><span class="lineno"> 5173</span> <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#a787fe11dd1b2d9335c602f39b4b38f54">getNumProtocols</a>(); i != e; ++i)</div>
+<div class="line"><a name="l05174"></a><span class="lineno"> 5174</span> TL.<a class="code" href="classclang_1_1ObjCObjectTypeLoc.html#ad519c051cb234fd5279d50bf223009e1">setProtocolLoc</a>(i, ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05175"></a><span class="lineno"> 5175</span> }</div>
+<div class="line"><a name="l05176"></a><span class="lineno"> 5176</span> <span class="keywordtype">void</span> TypeLocReader::VisitObjCObjectPointerTypeLoc(<a class="code" href="classclang_1_1ObjCObjectPointerTypeLoc.html" title="Wraps an ObjCPointerType with source location information.">ObjCObjectPointerTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05177"></a><span class="lineno"> 5177</span> TL.<a class="code" href="classclang_1_1ObjCObjectPointerTypeLoc.html#aaaaa4aafeacd4b879d489cd6f2ec8eb6">setStarLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05178"></a><span class="lineno"> 5178</span> }</div>
+<div class="line"><a name="l05179"></a><span class="lineno"> 5179</span> <span class="keywordtype">void</span> TypeLocReader::VisitAtomicTypeLoc(<a class="code" href="classclang_1_1AtomicTypeLoc.html">AtomicTypeLoc</a> TL) {</div>
+<div class="line"><a name="l05180"></a><span class="lineno"> 5180</span> TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#a6fd678bff63e90eb954cb760668c5ee4">setKWLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05181"></a><span class="lineno"> 5181</span> TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#a6a2da37c34039d889eeb5e12380bb3c1">setLParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05182"></a><span class="lineno"> 5182</span> TL.<a class="code" href="classclang_1_1AtomicTypeLoc.html#a3dd4fa8f7c71bca1d4feacec21473cf1">setRParenLoc</a>(ReadSourceLocation(Record, Idx));</div>
+<div class="line"><a name="l05183"></a><span class="lineno"> 5183</span> }</div>
+<div class="line"><a name="l05184"></a><span class="lineno"> 5184</span> </div>
+<div class="line"><a name="l05185"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#af43207d6e17d29beb23cd8126267c895"> 5185</a></span> <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *<a class="code" href="classclang_1_1ASTReader.html#af43207d6e17d29beb23cd8126267c895" title="Reads a declarator info from the given record.">ASTReader::GetTypeSourceInfo</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,</div>
+<div class="line"><a name="l05186"></a><span class="lineno"> 5186</span> <span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVector.html">RecordData</a> &Record,</div>
+<div class="line"><a name="l05187"></a><span class="lineno"> 5187</span> <span class="keywordtype">unsigned</span> &Idx) {</div>
+<div class="line"><a name="l05188"></a><span class="lineno"> 5188</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> InfoTy = readType(F, Record, Idx);</div>
+<div class="line"><a name="l05189"></a><span class="lineno"> 5189</span> <span class="keywordflow">if</span> (InfoTy.<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="l05190"></a><span class="lineno"> 5190</span> <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l05191"></a><span class="lineno"> 5191</span> </div>
+<div class="line"><a name="l05192"></a><span class="lineno"> 5192</span> <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *TInfo = getContext().CreateTypeSourceInfo(InfoTy);</div>
+<div class="line"><a name="l05193"></a><span class="lineno"> 5193</span> <a class="code" href="classclang_1_1TypeLocReader.html">TypeLocReader</a> TLR(*<span class="keyword">this</span>, F, Record, Idx);</div>
+<div class="line"><a name="l05194"></a><span class="lineno"> 5194</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1TypeLoc.html" title="Base wrapper for a particular "section" of type source info.">TypeLoc</a> TL = TInfo-><a class="code" href="classclang_1_1TypeSourceInfo.html#a51bc61879d5926193a3bb3ee1a280fee" title="Return the TypeLoc wrapper for the type source info.">getTypeLoc</a>(); !TL.<a class="code" href="classclang_1_1TypeLoc.html#abff2ac1e5bfa32b72e27afc6e1710343">isNull</a>(); TL = TL.<a class="code" href="classclang_1_1ConcreteTypeLoc.html#a2738eae351313681fa1a5703555d1829">getNextTypeLoc</a>())</div>
+<div class="line"><a name="l05195"></a><span class="lineno"> 5195</span> TLR.<a class="code" href="classclang_1_1TypeLocVisitor.html#a2593c771a2acaf8e819f132e4685a7f7">Visit</a>(TL);</div>
+<div class="line"><a name="l05196"></a><span class="lineno"> 5196</span> <span class="keywordflow">return</span> TInfo;</div>
+<div class="line"><a name="l05197"></a><span class="lineno"> 5197</span> }</div>
+<div class="line"><a name="l05198"></a><span class="lineno"> 5198</span> </div>
+<div class="line"><a name="l05199"></a><span class="lineno"><a class="code" href="classclang_1_1ASTReader.html#a7d288d00bf246742206d47b69c7bba05"> 5199</a></span> <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTReader.html#a7d288d00bf246742206d47b69c7bba05" title="Resolve a type ID into a type, potentially building a new type.">ASTReader::GetType</a>(<a class="code" href="namespaceclang_1_1serialization.html#a0e09d1ee46891ec8fe62b5ab5b583d12" title="An ID number that refers to a type in an AST file.">TypeID</a> ID) {</div>
+<div class="line"><a name="l05200"></a><span class="lineno"> 5200</span> <span class="keywordtype">unsigned</span> FastQuals = ID & <a class="code" href="classclang_1_1Qualifiers.html#a2550126cb4f337ed931d41aecde8b2dca68a6c83bfc3536dcea1f082f477a21a4" title="The fast qualifier mask.">Qualifiers::FastMask</a>;</div>
+<div class="line"><a name="l05201"></a><span class="lineno"> 5201</span> <span class="keywordtype">unsigned</span> Index = ID >> <a class="code" href="classclang_1_1Qualifiers.html#a2550126cb4f337ed931d41aecde8b2dca30214e4d78ff528975e8a2b3cc436ee9" title="The width of the "fast" qualifier mask.">Qualifiers::FastWidth</a>;</div>
+<div class="line"><a name="l05202"></a><span class="lineno"> 5202</span> </div>
+<div class="line"><a name="l05203"></a><span class="lineno"> 5203</span> <span class="keywordflow">if</span> (Index < <a class="code" href="group__ASTAST.html#ga448a4b7b0620397aaff0744d9d21a324" title="The number of predefined type IDs that are reserved for the PREDEF_TYPE_* constants.">NUM_PREDEF_TYPE_IDS</a>) {</div>
+<div class="line"><a name="l05204"></a><span class="lineno"> 5204</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> T;</div>
+<div class="line"><a name="l05205"></a><span class="lineno"> 5205</span> <span class="keywordflow">switch</span> ((<a class="code" href="group__ASTAST.html#ga08995bbb23bd66aea82b63f5a78ec247" title="Predefined type IDs.">PredefinedTypeIDs</a>)Index) {</div>
+<div class="line"><a name="l05206"></a><span class="lineno"> 5206</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247abadf8f3343197d6811e6097aa2ec3f12" title="The NULL type.">PREDEF_TYPE_NULL_ID</a>: <span class="keywordflow">return</span> <a class="code" href="classclang_1_1QualType.html">QualType</a>();</div>
+<div class="line"><a name="l05207"></a><span class="lineno"> 5207</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247aaf78cdabaec83024ffc359b153a42202" title="The void type.">PREDEF_TYPE_VOID_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aaa9dd0ebd4ff2e55c572f5718b7af508">VoidTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05208"></a><span class="lineno"> 5208</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a2ab913a6cdedc886b8807aeb863bf47e" title="The 'bool' or '_Bool' type.">PREDEF_TYPE_BOOL_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a699510ff594ec09506e02c3ec68e4ff5">BoolTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05209"></a><span class="lineno"> 5209</span> </div>
+<div class="line"><a name="l05210"></a><span class="lineno"> 5210</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a357e74b830e42b234cb1ccea4519a77e" title="The 'char' type, when it is unsigned.">PREDEF_TYPE_CHAR_U_ID</a>:</div>
+<div class="line"><a name="l05211"></a><span class="lineno"> 5211</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a70abfb680457b1ead36348a4ecc714b4" title="The 'char' type, when it is signed.">PREDEF_TYPE_CHAR_S_ID</a>:</div>
+<div class="line"><a name="l05212"></a><span class="lineno"> 5212</span> <span class="comment">// FIXME: Check that the signedness of CharTy is correct!</span></div>
+<div class="line"><a name="l05213"></a><span class="lineno"> 5213</span> T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a>;</div>
+<div class="line"><a name="l05214"></a><span class="lineno"> 5214</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05215"></a><span class="lineno"> 5215</span> </div>
+<div class="line"><a name="l05216"></a><span class="lineno"> 5216</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a672d50d3b103893ad825b9c550dc3c2c" title="The 'unsigned char' type.">PREDEF_TYPE_UCHAR_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aab61651b1e4d7e541343e7155263e861">UnsignedCharTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05217"></a><span class="lineno"> 5217</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a96b6fa5e9c08e6f26ceb7ba9f463f866" title="The 'unsigned short' type.">PREDEF_TYPE_USHORT_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ab9a777cc7ccb5b943f68c7d443b3cc86">UnsignedShortTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05218"></a><span class="lineno"> 5218</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a7df20bd4271aace9698c4233eec25cb7" title="The 'unsigned int' type.">PREDEF_TYPE_UINT_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aad4fc6bf8d266a4dbc03cd9d3a86aab4">UnsignedIntTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05219"></a><span class="lineno"> 5219</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247aeaef96762f0a58d103a04e6acd7e2ac0" title="The 'unsigned long' type.">PREDEF_TYPE_ULONG_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a76182acff43ec4d01c06751bb8a2f7bc">UnsignedLongTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05220"></a><span class="lineno"> 5220</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a965e13a6f4abc194ede378dc05e02d22" title="The 'unsigned long long' type.">PREDEF_TYPE_ULONGLONG_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ab61a96bf1fc99d696d00eefe6104ea70">UnsignedLongLongTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05221"></a><span class="lineno"> 5221</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247aa26f34c76f528e7da02387bcbf31ee30" title="The '__uint128_t' type.">PREDEF_TYPE_UINT128_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#aa7b4e360ae45eeb34bd6a58a9f6af2aa">UnsignedInt128Ty</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05222"></a><span class="lineno"> 5222</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a6dd0904570a7ab504ff4c7a3f1a41224" title="The 'signed char' type.">PREDEF_TYPE_SCHAR_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#a92063d19fd6dd12d2d3c1a016ffc849f">SignedCharTy</a>; <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l05223"></a><span class="lineno"> 5223</span> <span class="keywordflow">case</span> <a class="code" href="group__ASTAST.html#gga08995bbb23bd66aea82b63f5a78ec247a6311bcd4e5302971fbfcc8475f5c14bc" title="The C++ 'wchar_t' type.">PREDEF_TYPE_WCHAR_ID</a>: T = <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>.<a class="code" href="classclang_1_1ASTContext.html#ae128b93f45385b80c046cae6669f3dc7">WCharTy</a>; <span class="keywordflow">break</span>;</div>
[... 2413 lines stripped ...]
More information about the llvm-commits
mailing list