[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/ASTImporter_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,472 @@
+<!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: ASTImporter.d Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main Page</span></a></li>
+      <li><a href="pages.html"><span>Related Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li>
+        <div id="MSearchBox" class="MSearchBoxInactive">
+        <span class="left">
+          <img id="MSearchSelect" src="search/mag_sel.png"
+               onmouseover="return searchBox.OnSearchSelectShow()"
+               onmouseout="return searchBox.OnSearchSelectHide()"
+               alt=""/>
+          <input type="text" id="MSearchField" value="Search" accesskey="S"
+               onfocus="searchBox.OnSearchFieldFocus(true)" 
+               onblur="searchBox.OnSearchFieldFocus(false)" 
+               onkeyup="searchBox.OnSearchFieldChange(event)"/>
+          </span><span class="right">
+            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+          </span>
+        </div>
+      </li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File List</span></a></li>
+      <li><a href="globals.html"><span>File Members</span></a></li>
+    </ul>
+  </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+     onmouseover="return searchBox.OnSearchSelectShow()"
+     onmouseout="return searchBox.OnSearchSelectHide()"
+     onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
 (0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0" 
+        name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_87e2a7550f83bd8cbfc92736891468fc.html">lib</a></li><li class="navelem"><a class="el" href="dir_d3636efc55c6148efe36c59ffa01cb41.html">AST</a></li><li class="navelem"><a class="el" href="dir_e796beea07674cb14e7827e2d3a82e85.html">Release+Asserts</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTImporter.d</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTImporter_8d.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> /home/tstellar/llvm/tools/clang/lib/AST/Release+Asserts/ASTImporter.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>  /home/tstellar/llvm/tools/clang/lib/AST/Release+Asserts/ASTImporter.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>  ASTImporter.cpp \</div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTImporter.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>  /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>  /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>  /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>  /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>  /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>  /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>  /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>  /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>  /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>  /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>  /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>  /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>  /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>  /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>  /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>  /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>  /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>  /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>  /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>  /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>  /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>  /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>  /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>  /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>  /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>  /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>  /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTContext.h \</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>  /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>  /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>  /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>  /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>  /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>  /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>  /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h \</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandTraits.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandList.inc \</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>  /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RawCommentList.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileSystemOptions.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>  /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>  /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>  /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/AddressSpaces.h \</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>  /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>  /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTDiagnostic.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticASTKinds.inc \</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclCXX.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTUnresolvedSet.h \</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclObjC.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/<a class="code" href="namespaceclang.html#a0bca8d4a06a5e7175d2177c94788c9b4" title="Whether all locations of the selector identifiers are in a "standard" position.">SelectorLocationsKind</a>.h \</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclVisitor.h \</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclFriend.h \</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclTemplate.h \</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclOpenMP.h \</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtVisitor.h \</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprObjC.h \</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtCXX.h \</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtObjC.h \</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtOpenMP.h \</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenMPKinds.h \</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenMPKinds.def \</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>  /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeVisitor.h</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> </div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTImporter.h:</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> </div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclarationName.h:</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> </div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/IdentifierTable.h:</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> </div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> </div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> </div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> </div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> </div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> /home/tstellar/llvm/include/llvm/ADT/None.h:</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> </div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.h:</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> </div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.def:</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> </div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.h:</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span> </div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.def:</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> </div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span> </div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> </div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</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> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> </div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> </div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</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> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> </div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> </div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</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> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> </div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> </div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/PartialDiagnostic.h:</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> </div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Diagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticIDs.h:</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> </div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> </div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticCommonKinds.inc:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.h:</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> </div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceLocation.h:</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> </div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> </div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> </div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> </div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> </div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> </div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/NestedNameSpecifier.h:</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> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> </div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> </div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateName.h:</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> </div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> </div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h:</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> </div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h:</div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> </div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> </div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h:</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> </div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> </div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> </div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> </div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> </div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeNodes.def:</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> </div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/BuiltinTypes.def:</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> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h:</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> </div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTContext.h:</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> </div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTTypeTraits.h:</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> </div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTFwd.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclNodes.inc:</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> </div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> </div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Decl.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/APValue.h:</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> </div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> </div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclBase.h:</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> </div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/AttrIterator.h:</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> </div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> </div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExternalASTSource.h:</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> </div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CharUnits.h:</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> </div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Redeclarable.h:</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> </div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</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> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> </div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> </div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> </div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> /home/tstellar/llvm/include/llvm/Support/system_error.h:</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span> </div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span> </div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span> </div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtIterator.h:</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> </div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CapturedStmt.h:</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span> </div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateBase.h:</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> </div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLoc.h:</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> </div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLocNodes.def:</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> </div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandTraits.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CommentOptions.h:</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span> </div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandList.inc:</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span> </div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/PrettyPrinter.h:</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span> </div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ObjCRuntime.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/VersionTuple.h:</div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span> </div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h:</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span> </div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Sanitizers.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.def:</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span> </div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenCLExtensions.def:</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> </div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RawCommentList.h:</div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span> </div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceManager.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileManager.h:</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> </div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileSystemOptions.h:</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span> </div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h:</div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span> </div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h:</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> /home/tstellar/llvm/include/llvm-c/Core.h:</div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span> </div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/AddressSpaces.h:</div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span> </div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</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> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTDiagnostic.h:</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span> </div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticASTKinds.inc:</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span> </div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclCXX.h:</div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span> </div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTUnresolvedSet.h:</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span> </div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span> </div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span> </div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclAccessPair.h:</div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span> </div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Expr.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span> </div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span> </div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TypeTraits.h:</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span> </div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Builtins.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprCXX.h:</div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span> </div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span> </div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Lambda.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclObjC.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/<a class="code" href="namespaceclang.html#a0bca8d4a06a5e7175d2177c94788c9b4" title="Whether all locations of the selector identifiers are in a "standard" position.">SelectorLocationsKind</a>.h:</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span> </div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclVisitor.h:</div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span> </div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclFriend.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclTemplate.h:</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> </div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclOpenMP.h:</div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> </div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtVisitor.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprObjC.h:</div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> </div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtCXX.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtObjC.h:</div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span> </div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtOpenMP.h:</div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> </div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenMPKinds.h:</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span> </div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenMPKinds.def:</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span> </div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeVisitor.h:</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTImporter_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,369 @@
+<!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: ASTImporter.h 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_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_6152e82a4845f7e2a2888050f43c34d1.html">AST</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTImporter.h</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTImporter_8h.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">//===--- ASTImporter.h - Importing ASTs from other Contexts -----*- C++ -*-===//</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 ASTImporter class which imports AST nodes from one</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="comment">//  context into another context.</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> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="preprocessor">#ifndef LLVM_CLANG_AST_ASTIMPORTER_H</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_ASTIMPORTER_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="DeclarationName_8h.html">clang/AST/DeclarationName.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor">#include "<a class="code" href="Type_8h.html">clang/AST/Type.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="SourceLocation_8h.html" title="Defines the clang::SourceLocation class and associated facilities.">clang/Basic/SourceLocation.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "llvm/ADT/DenseMap.h"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="preprocessor">#include "llvm/ADT/DenseSet.h"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="preprocessor">#include "llvm/ADT/SmallVector.h"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> </div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>   <span class="keyword">class </span>ASTContext;</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>   <span class="keyword">class </span>Decl;</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>   <span class="keyword">class </span>DeclContext;</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>   <span class="keyword">class </span>DiagnosticsEngine;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>   <span class="keyword">class </span>Expr;</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>   <span class="keyword">class </span>FileManager;</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>   <span class="keyword">class </span>IdentifierInfo;</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>   <span class="keyword">class </span>NestedNameSpecifier;</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>   <span class="keyword">class </span>Stmt;</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>   <span class="keyword">class </span>TypeSourceInfo;</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>   <span class="comment"></span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="comment">  /// \brief Imports selected nodes from one AST context into another context,</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="comment">  /// merging AST nodes where appropriate.</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html">   38</a></span> <span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classclang_1_1ASTImporter.html" title="Imports selected nodes from one AST context into another context, merging AST nodes where appropriate...">ASTImporter</a> {</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#a5a963b6c7cfd2755730045973b7bc196">   40</a></span>     <span class="keyword">typedef</span> <a class="code" href="classllvm_1_1DenseSet.html">llvm::DenseSet<std::pair<Decl *, Decl *></a> > <a class="code" href="classclang_1_1ASTImporter.html#a5a963b6c7cfd2755730045973b7bc196">NonEquivalentDeclSet</a>;</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>     </div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>   <span class="keyword">private</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="comment">    /// \brief The contexts we're importing to and from.</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="comment"></span>    <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &ToContext, &FromContext;</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="comment">    /// \brief The file managers we're importing to and from.</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="comment"></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> &ToFileManager, &FromFileManager;</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="comment"></span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="comment">    /// \brief Whether to perform a minimal import.</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="comment"></span>    <span class="keywordtype">bool</span> Minimal;</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment"></span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">    /// \brief Whether the last diagnostic came from the "from" context.</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment"></span>    <span class="keywordtype">bool</span> LastDiagFromFrom;</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="comment">    /// \brief Mapping from the already-imported types in the "from" context</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="comment">    /// to the corresponding types in the "to" context.</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="comment"></span>    llvm::DenseMap<const Type *, const Type *> ImportedTypes;</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="comment">    /// \brief Mapping from the already-imported declarations in the "from"</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="comment">    /// context to the corresponding declarations in the "to" context.</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> <span class="comment"></span>    llvm::DenseMap<Decl *, Decl *> ImportedDecls;</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">    /// \brief Mapping from the already-imported statements in the "from"</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span> <span class="comment">    /// context to the corresponding statements in the "to" context.</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span> <span class="comment"></span>    llvm::DenseMap<Stmt *, Stmt *> ImportedStmts;</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> <span class="comment"></span></div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="comment">    /// \brief Mapping from the already-imported FileIDs in the "from" source</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">    /// manager to the corresponding FileIDs in the "to" source manager.</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment"></span>    llvm::DenseMap<FileID, FileID> ImportedFileIDs;</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">    /// \brief Imported, anonymous tag declarations that are missing their </span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span> <span class="comment">    /// corresponding typedefs.</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> <span class="comment"></span>    <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<TagDecl *, 4></a> AnonTagsWithPendingTypedefs;</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">    /// \brief Declaration (from, to) pairs that are known not to be equivalent</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">    /// (which we have already complained about).</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="comment"></span>    <a class="code" href="classllvm_1_1DenseSet.html">NonEquivalentDeclSet</a> NonEquivalentDecls;</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>     </div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>   <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="comment">    /// \brief Create a new AST importer.</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span> <span class="comment">    /// \param ToContext The context we'll be importing into.</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> <span class="comment">    /// \param ToFileManager The file manager we'll be importing into.</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span> <span class="comment">    /// \param FromContext The context we'll be importing from.</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span> <span class="comment">    /// \param FromFileManager The file manager we'll be importing into.</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span> <span class="comment">    /// \param MinimalImport If true, the importer will attempt to import</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span> <span class="comment">    /// as little as it can, e.g., by importing declarations as forward</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span> <span class="comment">    /// declarations that can be completed at a later point.</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="comment"></span>    <a class="code" href="classclang_1_1ASTImporter.html#a690ce2c6720402dad95427115065cbae" title="Create a new AST importer.">ASTImporter</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &ToContext, <a class="code" href="classclang_1_1FileManager.html" title="Implements support for file system lookup, file system caching, and directory search management...">FileManager</a> &ToFileManager,</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>                 <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &FromContext, <a class="code" href="classclang_1_1FileManager.html" title="Implements support for file system lookup, file system caching, and directory search management...">FileManager</a> &FromFileManager,</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>                 <span class="keywordtype">bool</span> MinimalImport);</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>     </div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>     <span class="keyword">virtual</span> <a class="code" href="classclang_1_1ASTImporter.html#ac20417faacdf35786182de5ee704b7ee">~ASTImporter</a>();</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span> <span class="comment">    /// \brief Whether the importer will perform a minimal import, creating</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="comment">    /// to-be-completed forward declarations when possible.</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#a5ef41d95caadc5b6730f68b533f900a2">  101</a></span> <span class="comment"></span>    <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTImporter.html#a5ef41d95caadc5b6730f68b533f900a2" title="Whether the importer will perform a minimal import, creating to-be-completed forward declarations whe...">isMinimalImport</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Minimal; }</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="comment">    /// \brief Import the given type from the "from" context into the "to"</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span> <span class="comment">    /// context.</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="comment">    /// \returns the equivalent type in the "to" context, or a NULL type if</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span> <span class="comment">    /// an error occurred.</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span> <span class="comment"></span>    <a class="code" href="classclang_1_1QualType.html">QualType</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> FromT);</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span> <span class="comment"></span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span> <span class="comment">    /// \brief Import the given type source information from the</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span> <span class="comment">    /// "from" context into the "to" context.</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span> <span class="comment">    /// \returns the equivalent type source information in the "to"</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span> <span class="comment">    /// context, or NULL if an error occurred.</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span> <span class="comment"></span>    <a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1TypeSourceInfo.html" title="A container of type source information.">TypeSourceInfo</a> *FromTSI);</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="comment"></span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span> <span class="comment">    /// \brief Import the given declaration from the "from" context into the </span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span> <span class="comment">    /// "to" context.</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span> <span class="comment">    /// \returns the equivalent declaration in the "to" context, or a NULL type </span></div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="comment">    /// if an error occurred.</span></div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span> <span class="comment"></span>    <a class="code" href="classclang_1_1Decl.html">Decl</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *FromD);</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span> <span class="comment"></span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment">    /// \brief Import the given declaration context from the "from"</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> <span class="comment">    /// AST context into the "to" AST context.</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="comment">    /// \returns the equivalent declaration context in the "to"</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span> <span class="comment">    /// context, or a NULL type if an error occurred.</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span> <span class="comment"></span>    <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *<a class="code" href="classclang_1_1ASTImporter.html#a91ce08d8942371d9b71b71c3806823d4" title="Import the given declaration context from the "from" AST context into the "to" AST context...">ImportContext</a>(<a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *FromDC);</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span> <span class="comment">    /// \brief Import the given expression from the "from" context into the</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span> <span class="comment">    /// "to" context.</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> <span class="comment">    /// \returns the equivalent expression in the "to" context, or NULL if</span></div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> <span class="comment">    /// an error occurred.</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> <span class="comment"></span>    <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1Expr.html">Expr</a> *FromE);</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> <span class="comment"></span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="comment">    /// \brief Import the given statement from the "from" context into the</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> <span class="comment">    /// "to" context.</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> <span class="comment">    /// \returns the equivalent statement in the "to" context, or NULL if</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> <span class="comment">    /// an error occurred.</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> <span class="comment"></span>    <a class="code" href="classclang_1_1Stmt.html">Stmt</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1Stmt.html">Stmt</a> *FromS);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="comment"></span></div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="comment">    /// \brief Import the given nested-name-specifier from the "from"</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="comment">    /// context into the "to" context.</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> <span class="comment">    /// \returns the equivalent nested-name-specifier in the "to"</span></div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> <span class="comment">    /// context, or NULL if an error occurred.</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="comment"></span>    <a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a> *FromNNS);</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> <span class="comment"></span></div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> <span class="comment">    /// \brief Import the given nested-name-specifier from the "from"</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> <span class="comment">    /// context into the "to" context.</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> <span class="comment">    /// \returns the equivalent nested-name-specifier in the "to"</span></div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span> <span class="comment">    /// context.</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> <span class="comment"></span>    <a class="code" href="classclang_1_1NestedNameSpecifierLoc.html" title="A C++ nested-name-specifier augmented with source location information.">NestedNameSpecifierLoc</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1NestedNameSpecifierLoc.html" title="A C++ nested-name-specifier augmented with source location information.">NestedNameSpecifierLoc</a> FromNNS);</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> <span class="comment"></span></div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span> <span class="comment">    /// \brief Import the goven template name from the "from" context into the</span></div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span> <span class="comment">    /// "to" context.</span></div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> <span class="comment"></span>    <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a> From);</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> <span class="comment">    /// \brief Import the given source location from the "from" context into</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span> <span class="comment">    /// the "to" context.</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> <span class="comment">    /// \returns the equivalent source location in the "to" context, or an</span></div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> <span class="comment">    /// invalid source location if an error occurred.</span></div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</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> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> FromLoc);</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> <span class="comment"></span></div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="comment">    /// \brief Import the given source range from the "from" context into</span></div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span> <span class="comment">    /// the "to" context.</span></div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="comment">    /// \returns the equivalent source range in the "to" context, or an</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> <span class="comment">    /// invalid source location if an error occurred.</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> <span class="comment"></span>    <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> FromRange);</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span> <span class="comment"></span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span> <span class="comment">    /// \brief Import the given declaration name from the "from"</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> <span class="comment">    /// context into the "to" context.</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> <span class="comment">    /// \returns the equivalent declaration name in the "to" context,</span></div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> <span class="comment">    /// or an empty declaration name if an error occurred.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> <span class="comment"></span>    <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> FromName);</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> <span class="comment"></span></div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span> <span class="comment">    /// \brief Import the given identifier from the "from" context</span></div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span> <span class="comment">    /// into the "to" context.</span></div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> <span class="comment">    /// \returns the equivalent identifier in the "to" context.</span></div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> <span class="comment"></span>    <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *<a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *FromId);</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> <span class="comment"></span></div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">    /// \brief Import the given Objective-C selector from the "from"</span></div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment">    /// context into the "to" context.</span></div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="comment">    /// \returns the equivalent selector in the "to" context.</span></div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> <span class="comment"></span>    <a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<a class="code" href="classclang_1_1Selector.html" title="Smart pointer class that efficiently represents Objective-C method names.">Selector</a> FromSel);</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment"></span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment">    /// \brief Import the given file ID from the "from" context into the </span></div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> <span class="comment">    /// "to" context.</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> <span class="comment">    /// \returns the equivalent file ID in the source manager of the "to"</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="comment">    /// context.</span></div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> <span class="comment"></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> <a class="code" href="classclang_1_1ASTImporter.html#a4232dccd504c669dd34ad8bbdd4c54f6" title="Import the given type from the "from" context into the "to" context.">Import</a>(<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>);</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> <span class="comment">    /// \brief Import the definition of the given declaration, including all of</span></div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> <span class="comment">    /// the declarations it contains.</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> <span class="comment">    /// This routine is intended to be used </span></div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> <span class="comment"></span>    <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTImporter.html#a8bdaba0128526f344b372987881e0d68" title="Import the definition of the given declaration, including all of the declarations it contains...">ImportDefinition</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *From);</div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span> <span class="comment"></span></div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span> <span class="comment">    /// \brief Cope with a name conflict when importing a declaration into the</span></div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="comment">    /// given context.</span></div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> <span class="comment">    /// This routine is invoked whenever there is a name conflict while </span></div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> <span class="comment">    /// importing a declaration. The returned name will become the name of the</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> <span class="comment">    /// imported declaration. By default, the returned name is the same as the</span></div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> <span class="comment">    /// original name, leaving the conflict unresolve such that name lookup</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="comment">    /// for this name is likely to find an ambiguity later.</span></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> <span class="comment">    /// Subclasses may override this routine to resolve the conflict, e.g., by</span></div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> <span class="comment">    /// renaming the declaration being imported.</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> <span class="comment">    /// \param Name the name of the declaration being imported, which conflicts</span></div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> <span class="comment">    /// with other declarations.</span></div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> <span class="comment">    /// \param DC the declaration context (in the "to" AST context) in which </span></div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> <span class="comment">    /// the name is being imported.</span></div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> <span class="comment">    /// \param IDNS the identifier namespace in which the name will be found.</span></div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> <span class="comment">    /// \param Decls the set of declarations with the same name as the</span></div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> <span class="comment">    /// declaration being imported.</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> <span class="comment">    /// \param NumDecls the number of conflicting declarations in \p Decls.</span></div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span> <span class="comment">    /// \returns the name that the newly-imported declaration should have.</span></div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span> <span class="comment"></span>    <span class="keyword">virtual</span> <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> <a class="code" href="classclang_1_1ASTImporter.html#a11463a2b469487176ab94585cd3f5212" title="Cope with a name conflict when importing a declaration into the given context.">HandleNameConflict</a>(<a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> Name,</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span>                                                <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC,</div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span>                                                <span class="keywordtype">unsigned</span> IDNS,</div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span>                                                <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> **Decls,</div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>                                                <span class="keywordtype">unsigned</span> NumDecls);</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> <span class="comment">    /// \brief Retrieve the context that AST nodes are being imported into.</span></div>
+<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#a82a69bbfc43b123917bc95afa2cb0ac2">  242</a></span> <span class="comment"></span>    <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="classclang_1_1ASTImporter.html#a82a69bbfc43b123917bc95afa2cb0ac2" title="Retrieve the context that AST nodes are being imported into.">getToContext</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ToContext; }</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> <span class="comment">    /// \brief Retrieve the context that AST nodes are being imported from.</span></div>
+<div class="line"><a name="l00245"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#a8563df947aaba461edfcb3c8c11de138">  245</a></span> <span class="comment"></span>    <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="classclang_1_1ASTImporter.html#a8563df947aaba461edfcb3c8c11de138" title="Retrieve the context that AST nodes are being imported from.">getFromContext</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FromContext; }</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span> <span class="comment">    /// \brief Retrieve the file manager that AST nodes are being imported into.</span></div>
+<div class="line"><a name="l00248"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#afa47db3e7c53a1542fb02348a3cb3444">  248</a></span> <span class="comment"></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> &<a class="code" href="classclang_1_1ASTImporter.html#afa47db3e7c53a1542fb02348a3cb3444" title="Retrieve the file manager that AST nodes are being imported into.">getToFileManager</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ToFileManager; }</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> <span class="comment"></span></div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> <span class="comment">    /// \brief Retrieve the file manager that AST nodes are being imported from.</span></div>
+<div class="line"><a name="l00251"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#ac17ec428fa1e1c124995ee9fe7fa3ee9">  251</a></span> <span class="comment"></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> &<a class="code" href="classclang_1_1ASTImporter.html#ac17ec428fa1e1c124995ee9fe7fa3ee9" title="Retrieve the file manager that AST nodes are being imported from.">getFromFileManager</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FromFileManager; }</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span> <span class="comment">    /// \brief Report a diagnostic in the "to" context.</span></div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> <span class="comment"></span>    <a class="code" href="classclang_1_1DiagnosticBuilder.html" title="A little helper class used to produce diagnostics.">DiagnosticBuilder</a> <a class="code" href="classclang_1_1ASTImporter.html#a34874134574914ed493ae37bae5c9011" title="Report a diagnostic in the "to" context.">ToDiag</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> Loc, <span class="keywordtype">unsigned</span> DiagID);</div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="comment">    /// \brief Report a diagnostic in the "from" context.</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> <span class="comment"></span>    <a class="code" href="classclang_1_1DiagnosticBuilder.html" title="A little helper class used to produce diagnostics.">DiagnosticBuilder</a> <a class="code" href="classclang_1_1ASTImporter.html#aa906d6a252ae26a00d98940388e6f131" title="Report a diagnostic in the "from" context.">FromDiag</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> Loc, <span class="keywordtype">unsigned</span> DiagID);</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> <span class="comment">    /// \brief Return the set of declarations that we know are not equivalent.</span></div>
+<div class="line"><a name="l00260"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#acc9acae239cd45ddb260fdae46f0a1f2">  260</a></span> <span class="comment"></span>    <a class="code" href="classllvm_1_1DenseSet.html">NonEquivalentDeclSet</a> &<a class="code" href="classclang_1_1ASTImporter.html#acc9acae239cd45ddb260fdae46f0a1f2" title="Return the set of declarations that we know are not equivalent.">getNonEquivalentDecls</a>() { <span class="keywordflow">return</span> NonEquivalentDecls; }</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span> <span class="comment"></span></div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> <span class="comment">    /// \brief Called for ObjCInterfaceDecl, ObjCProtocolDecl, and TagDecl.</span></div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> <span class="comment">    /// Mark the Decl as complete, filling it in as much as possible.</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> <span class="comment">    /// \param D A declaration in the "to" context.</span></div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ASTImporter.html#aed7b3c14d6b94dd75f7b786181fa7404" title="Called for ObjCInterfaceDecl, ObjCProtocolDecl, and TagDecl. Mark the Decl as complete, filling it in as much as possible.">CompleteDecl</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a>* D);</div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> <span class="comment">    /// \brief Note that we have imported the "from" declaration by mapping it</span></div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> <span class="comment">    /// to the (potentially-newly-created) "to" declaration.</span></div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span> <span class="comment">    /// Subclasses can override this function to observe all of the \c From -></span></div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> <span class="comment">    /// \c To declaration mappings as they are imported.</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> <span class="comment"></span>    <span class="keyword">virtual</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *<a class="code" href="classclang_1_1ASTImporter.html#aca633ad27b6b000e7f4895af5fd23daa" title="Note that we have imported the "from" declaration by mapping it to the (potentially-newly-created) "t...">Imported</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *From, <a class="code" href="classclang_1_1Decl.html">Decl</a> *To);</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span>       <span class="comment"></span></div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> <span class="comment">    /// \brief Called by StructuralEquivalenceContext.  If a RecordDecl is</span></div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="comment">    /// being compared to another RecordDecl as part of import, completing the</span></div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> <span class="comment">    /// other RecordDecl may trigger importation of the first RecordDecl. This</span></div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span> <span class="comment">    /// happens especially for anonymous structs.  If the original of the second</span></div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span> <span class="comment">    /// RecordDecl can be found, we can complete it without the need for</span></div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span> <span class="comment">    /// importation, eliminating this loop.</span></div>
+<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="classclang_1_1ASTImporter.html#a0fc1c2d8b70a9b2c98675f42c12c76ef">  281</a></span> <span class="comment"></span>    <span class="keyword">virtual</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *<a class="code" href="classclang_1_1ASTImporter.html#a0fc1c2d8b70a9b2c98675f42c12c76ef" title="Called by StructuralEquivalenceContext. If a RecordDecl is being compared to another RecordDecl as pa...">GetOriginalDecl</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *To) { <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>; }</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>     <span class="comment"></span></div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> <span class="comment">    /// \brief Determine whether the given types are structurally</span></div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> <span class="comment">    /// equivalent.</span></div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> <span class="comment"></span>    <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ASTImporter.html#ac3d453cfe1b5b5b0fb8138072361c238" title="Determine whether the given types are structurally equivalent.">IsStructurallyEquivalent</a>(<a class="code" href="classclang_1_1QualType.html">QualType</a> From, <a class="code" href="classclang_1_1QualType.html">QualType</a> To,</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>                                   <span class="keywordtype">bool</span> Complain = <span class="keyword">true</span>);</div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>   };</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> }</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> </div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> <span class="preprocessor">#endif // LLVM_CLANG_AST_ASTIMPORTER_H</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTLambda_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTLambda_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTLambda_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTLambda_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,159 @@
+<!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: ASTLambda.h 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_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_6152e82a4845f7e2a2888050f43c34d1.html">AST</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTLambda.h</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTLambda_8h.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">//===--- ASTLambda.h - Lambda Helper Functions --------------*- C++ -*-===//</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><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">/// \file</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="comment">/// \brief This file provides some common utility functions for processing</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span> <span class="comment">/// Lambda related AST Constructs.</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="comment"></span><span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> </div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="preprocessor">#ifndef LLVM_CLANG_AST_LAMBDA_H</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_LAMBDA_H</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="DeclCXX_8h.html" title="Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate.h) and friends (in DeclFriend.h).">clang/AST/DeclCXX.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "<a class="code" href="DeclTemplate_8h.html" title="Defines the C++ template declaration subclasses.">clang/AST/DeclTemplate.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> </div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="namespaceclang.html#ac9c5003398f250df494c5d60f5796421">   23</a></span> <span class="keyword">inline</span> StringRef <a class="code" href="namespaceclang.html#ac9c5003398f250df494c5d60f5796421">getLambdaStaticInvokerName</a>() {</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>   <span class="keywordflow">return</span> <span class="stringliteral">"__invoke"</span>;</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> }</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">// This function returns true if M is a specialization, a template,</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">// or a non-generic lambda call operator.</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">   28</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">isLambdaCallOperator</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *MD) {</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>   <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *LambdaClass = MD-><a class="code" href="classclang_1_1CXXMethodDecl.html#a89937377c3cbaa960c0d35a2b0100071">getParent</a>();</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>   <span class="keywordflow">if</span> (!LambdaClass || !LambdaClass-><a class="code" href="classclang_1_1CXXRecordDecl.html#ab9f7e987bf58b3cb15493d8a36a8f85e" title="Determine whether this class describes a lambda function object.">isLambda</a>()) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>   <span class="keywordflow">return</span> MD-><a class="code" href="classclang_1_1FunctionDecl.html#add2961020f578864af81da463b72f5ae">getOverloadedOperator</a>() == OO_Call;</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> }</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> </div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="namespaceclang.html#ab8ad9ad98d0fd52324e414959ea9286a">   34</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">isLambdaCallOperator</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>   <span class="keywordflow">if</span> (!DC || !isa<CXXMethodDecl>(DC)) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>   <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">isLambdaCallOperator</a>(cast<CXXMethodDecl>(DC));</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> }</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> </div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="namespaceclang.html#a3fe18aa9d9cae57e389dffa869a8930a">   39</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a3fe18aa9d9cae57e389dffa869a8930a">isGenericLambdaCallOperatorSpecialization</a>(<a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *MD) {</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>   <span class="keywordflow">if</span> (!MD) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>   <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *LambdaClass = MD-><a class="code" href="classclang_1_1CXXMethodDecl.html#a89937377c3cbaa960c0d35a2b0100071">getParent</a>();</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>   <span class="keywordflow">if</span> (LambdaClass && LambdaClass-><a class="code" href="classclang_1_1CXXRecordDecl.html#a29bc520934e0f53eab7fcf8af73fcaa2" title="Determine whether this class describes a generic lambda function object (i.e. function call operator ...">isGenericLambda</a>())</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">isLambdaCallOperator</a>(MD) && </div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>                     MD-><a class="code" href="classclang_1_1FunctionDecl.html#a4dfdf65e32e5028e4715cd63a1638e4f" title="Determine whether this function is a function template specialization.">isFunctionTemplateSpecialization</a>();</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> }</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> </div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="namespaceclang.html#ab1d2ab7941292bd2266c23780c8b2b96">   48</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#ab1d2ab7941292bd2266c23780c8b2b96">isLambdaConversionOperator</a>(<a class="code" href="classclang_1_1CXXConversionDecl.html" title="Represents a C++ conversion function within a class.">CXXConversionDecl</a> *C) {</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>   <span class="keywordflow">return</span> C ? C-><a class="code" href="classclang_1_1CXXMethodDecl.html#a89937377c3cbaa960c0d35a2b0100071">getParent</a>()-><a class="code" href="classclang_1_1CXXRecordDecl.html#ab9f7e987bf58b3cb15493d8a36a8f85e" title="Determine whether this class describes a lambda function object.">isLambda</a>() : <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> }</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> </div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="namespaceclang.html#a6ca0ac50b39f5d1fb16fa63f8f15e69b">   52</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#ab1d2ab7941292bd2266c23780c8b2b96">isLambdaConversionOperator</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *D) {</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>   <span class="keywordflow">if</span> (!D) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXConversionDecl.html" title="Represents a C++ conversion function within a class.">CXXConversionDecl</a> *Conv = dyn_cast<CXXConversionDecl>(D)) </div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#ab1d2ab7941292bd2266c23780c8b2b96">isLambdaConversionOperator</a>(Conv);  </div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1FunctionTemplateDecl.html" title="Declaration of a template function.">FunctionTemplateDecl</a> *F = dyn_cast<FunctionTemplateDecl>(D)) </div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXConversionDecl.html" title="Represents a C++ conversion function within a class.">CXXConversionDecl</a> *Conv = </div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>         dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) </div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>       <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#ab1d2ab7941292bd2266c23780c8b2b96">isLambdaConversionOperator</a>(Conv);</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> }</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span> </div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="namespaceclang.html#a780832b8df0178c90df288fa2591fc71">   63</a></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a3fe18aa9d9cae57e389dffa869a8930a">isGenericLambdaCallOperatorSpecialization</a>(<a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>   <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a3fe18aa9d9cae57e389dffa869a8930a">isGenericLambdaCallOperatorSpecialization</a>(</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>                                           dyn_cast<CXXMethodDecl>(DC));</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> }</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> </div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> </div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">// This returns the parent DeclContext ensuring that the correct</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment">// parent DeclContext is returned for Lambdas</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="namespaceclang.html#a646a2702ee62037b7f064381fcbafa8e">   71</a></span> <span class="keyword">inline</span> <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *<a class="code" href="namespaceclang.html#a646a2702ee62037b7f064381fcbafa8e">getLambdaAwareParentOfDeclContext</a>(<a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *DC) {</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>   <span class="keywordflow">if</span> (<a class="code" href="namespaceclang.html#a7385235b182acea119bba9574dab4c3f">isLambdaCallOperator</a>(DC))</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>     <span class="keywordflow">return</span> DC-><a class="code" href="classclang_1_1DeclContext.html#a31c99b38017e8d702fda9c0f1d021186" title="getParent - Returns the containing DeclContext.">getParent</a>()-><a class="code" href="classclang_1_1DeclContext.html#a31c99b38017e8d702fda9c0f1d021186" title="getParent - Returns the containing DeclContext.">getParent</a>();</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>   <span class="keywordflow">else</span> </div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>     <span class="keywordflow">return</span> DC-><a class="code" href="classclang_1_1DeclContext.html#a31c99b38017e8d702fda9c0f1d021186" title="getParent - Returns the containing DeclContext.">getParent</a>();</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> }</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> </div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span> } <span class="comment">// clang</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> </div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="preprocessor">#endif // LLVM_CLANG_AST_LAMBDA_H</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,936 @@
+<!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: ASTMatchFinder.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_7166f89c8d6eff13069d8d607a946656.html">ASTMatchers</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchFinder.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchFinder_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">//===--- ASTMatchFinder.cpp - Structural query framework ------------------===//</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">//  Implements an algorithm to efficiently search for matches on AST nodes.</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="comment">//  Uses memoization to support recursive matches like HasDescendant.</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> <span class="comment">//  The general idea is to visit all AST nodes with a RecursiveASTVisitor,</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="comment">//  calling the Matches(...) method of each matcher we are running on each</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="comment">//  AST node. The matcher can recurse via the ASTMatchFinder interface.</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> </div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="ASTMatchFinder_8h.html">clang/ASTMatchers/ASTMatchFinder.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "<a class="code" href="ASTConsumer_8h.html">clang/AST/ASTConsumer.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</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="l00022"></a><span class="lineno">   22</span> <span class="preprocessor">#include "<a class="code" href="RecursiveASTVisitor_8h.html">clang/AST/RecursiveASTVisitor.h</a>"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="preprocessor">#include <deque></span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="preprocessor">#include <set></span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> </div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="keyword">namespace </span>ast_matchers {</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> </div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="keyword">typedef</span> MatchFinder::MatchCallback MatchCallback;</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> </div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="comment">// The maximum number of memoization entries to store.</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> <span class="comment">// 10k has been experimentally found to give a good trade-off</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> <span class="comment">// of performance vs. memory consumption by running matcher</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="comment">// that match on every statement over a very large codebase.</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="comment">// FIXME: Do some performance optimization in general and</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="comment">// revisit this number; also, put up micro-benchmarks that we can</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="comment">// optimize this on.</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> MaxMemoizationEntries = 10000;</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> </div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="comment">// We use memoization to avoid running the same matcher on the same</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="comment">// AST node twice.  This struct is the key for looking up match</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="comment">// result.  It consists of an ID of the MatcherInterface (for</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="comment">// identifying the matcher), a pointer to the AST node and the</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="comment">// bound nodes before the matcher was executed.</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="comment">// We currently only memoize on nodes whose pointers identify the</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="comment">// nodes (\c Stmt and \c Decl, but not \c QualType or \c TypeLoc).</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment">// For \c QualType and \c TypeLoc it is possible to implement</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">// generation of keys for each type.</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment">// FIXME: Benchmark whether memoization of non-pointer typed nodes</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment">// provides enough benefit for the additional amount of code.</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="keyword">struct </span>MatchKey {</div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a42e40587fca37ef4bab1df66f04dfe34">   56</a></span>   uint64_t <a class="code" href="ASTMatchFinder_8cpp.html#a42e40587fca37ef4bab1df66f04dfe34">MatcherID</a>;</div>
+<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">   57</a></span>   ast_type_traits::DynTypedNode <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>;</div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">   58</a></span>   BoundNodesTreeBuilder <a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a>;</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> </div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>   <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a51e572049a11fe5cf42e8da840bf69af">operator<</a>(<span class="keyword">const</span> MatchKey &Other)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a42e40587fca37ef4bab1df66f04dfe34">MatcherID</a> != Other.MatcherID)</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>       <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a42e40587fca37ef4bab1df66f04dfe34">MatcherID</a> < Other.MatcherID;</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a> != Other.Node)</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>       <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a> < Other.Node;</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>     <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a> < Other.BoundNodes;</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>   }</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> };</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> </div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">// Used to store the result of a match and possibly bound nodes.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="keyword">struct </span>MemoizedMatchResult {</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#addd8ed4c42ca1b3aa6d08f53176f406d">   71</a></span>   <span class="keywordtype">bool</span> <a class="code" href="ASTMatchFinder_8cpp.html#addd8ed4c42ca1b3aa6d08f53176f406d">ResultOfMatch</a>;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a2efebf59722498358b342545b0e3b8ba">   72</a></span>   BoundNodesTreeBuilder <a class="code" href="ASTMatchFinder_8cpp.html#a2efebf59722498358b342545b0e3b8ba">Nodes</a>;</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> };</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span> </div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">// A RecursiveASTVisitor that traverses all children or all descendants of</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">// a node.</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="keyword">class </span>MatchChildASTVisitor</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>     : <span class="keyword">public</span> RecursiveASTVisitor<MatchChildASTVisitor> {</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>   <span class="keyword">typedef</span> RecursiveASTVisitor<MatchChildASTVisitor> VisitorBase;</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> </div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>   <span class="comment">// Creates an AST visitor that matches 'matcher' on all children or</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>   <span class="comment">// descendants of a traversed node. max_depth is the maximum depth</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>   <span class="comment">// to traverse: use 1 for matching the children and INT_MAX for</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>   <span class="comment">// matching the descendants.</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>   MatchChildASTVisitor(<span class="keyword">const</span> DynTypedMatcher *<a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>,</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>                        ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>                        BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>,</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>                        <span class="keywordtype">int</span> <a class="code" href="ASTMatchFinder_8cpp.html#a7c059a0ef3a5bd50b87d72237058658c">MaxDepth</a>,</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>                        ASTMatchFinder::TraversalKind <a class="code" href="ASTMatchFinder_8cpp.html#ad8c47a73d264643de1152822a30c694a">Traversal</a>,</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>                        ASTMatchFinder::BindKind <a class="code" href="ASTMatchFinder_8cpp.html#a0d6765c892b4337c112e848cdad07341">Bind</a>)</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>       : <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>(Matcher),</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>(Finder),</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>(Builder),</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>         <a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>(0),</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a7c059a0ef3a5bd50b87d72237058658c">MaxDepth</a>(MaxDepth),</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>         <a class="code" href="ASTMatchFinder_8cpp.html#ad8c47a73d264643de1152822a30c694a">Traversal</a>(Traversal),</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a0d6765c892b4337c112e848cdad07341">Bind</a>(Bind),</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a>(<span class="keyword">false</span>) {}</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> </div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>   <span class="comment">// Returns true if a match is found in the subtree rooted at the</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>   <span class="comment">// given AST node. This is done via a set of mutually recursive</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>   <span class="comment">// functions. Here's how the recursion is done (the  *wildcard can</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>   <span class="comment">// actually be Decl, Stmt, or Type):</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>   <span class="comment">//   - Traverse(node) calls BaseTraverse(node) when it needs</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>   <span class="comment">//     to visit the descendants of node.</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>   <span class="comment">//   - BaseTraverse(node) then calls (via VisitorBase::Traverse*(node))</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>   <span class="comment">//     Traverse*(c) for each child c of 'node'.</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>   <span class="comment">//   - Traverse*(c) in turn calls Traverse(c), completing the</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>   <span class="comment">//     recursion.</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>   <span class="keywordtype">bool</span> findMatch(<span class="keyword">const</span> ast_type_traits::DynTypedNode &DynNode) {</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>     reset();</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> Decl *D = DynNode.get<Decl>())</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>       traverse(*D);</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> Stmt *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a> = DynNode.get<Stmt>())</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>       traverse(*<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>);</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> NestedNameSpecifier *NNS =</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>              DynNode.get<NestedNameSpecifier>())</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>       traverse(*NNS);</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> NestedNameSpecifierLoc *NNSLoc =</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>              DynNode.get<NestedNameSpecifierLoc>())</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>       traverse(*NNSLoc);</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> QualType *Q = DynNode.get<QualType>())</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>       traverse(*Q);</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> TypeLoc *T = DynNode.get<TypeLoc>())</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>       traverse(*T);</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>     <span class="comment">// FIXME: Add other base types after adding tests.</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span> </div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>     <span class="comment">// It's OK to always overwrite the bound nodes, as if there was</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>     <span class="comment">// no match in this recursive branch, the result set is empty</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>     <span class="comment">// anyway.</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>     *Builder = <a class="code" href="ASTMatchFinder_8cpp.html#a23b1597404bb05afe964c2af90665ac0">ResultBindings</a>;</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> </div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>     <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a>;</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>   }</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> </div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>   <span class="comment">// The following are overriding methods from the base visitor class.</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>   <span class="comment">// They are public only to allow CRTP to work. They are *not *part</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>   <span class="comment">// of the public API of this class.</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>   <span class="keywordtype">bool</span> TraverseDecl(Decl *DeclNode) {</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>     <span class="keywordflow">return</span> (DeclNode == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) || traverse(*DeclNode);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>   }</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>   <span class="keywordtype">bool</span> TraverseStmt(Stmt *StmtNode) {</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>     <span class="keyword">const</span> Stmt *StmtToTraverse = StmtNode;</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>     <span class="keywordflow">if</span> (Traversal ==</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>         ASTMatchFinder::TK_IgnoreImplicitCastsAndParentheses) {</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>       <span class="keyword">const</span> Expr *ExprNode = dyn_cast_or_null<Expr>(StmtNode);</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>       <span class="keywordflow">if</span> (ExprNode != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>         StmtToTraverse = ExprNode->IgnoreParenImpCasts();</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>       }</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>     }</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>     <span class="keywordflow">return</span> (StmtToTraverse == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) || traverse(*StmtToTraverse);</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>   }</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>   <span class="comment">// We assume that the QualType and the contained type are on the same</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>   <span class="comment">// hierarchy level. Thus, we try to match either of them.</span></div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>   <span class="keywordtype">bool</span> TraverseType(QualType TypeNode) {</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>     <span class="keywordflow">if</span> (TypeNode.isNull())</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>     <span class="comment">// Match the Type.</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>     <span class="keywordflow">if</span> (!<a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*TypeNode))</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>     <span class="comment">// The QualType is matched inside traverse.</span></div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>     <span class="keywordflow">return</span> traverse(TypeNode);</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>   }</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>   <span class="comment">// We assume that the TypeLoc, contained QualType and contained Type all are</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>   <span class="comment">// on the same hierarchy level. Thus, we try to match all of them.</span></div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>   <span class="keywordtype">bool</span> TraverseTypeLoc(TypeLoc TypeLocNode) {</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>     <span class="keywordflow">if</span> (TypeLocNode.isNull())</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>     <span class="comment">// Match the Type.</span></div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>     <span class="keywordflow">if</span> (!<a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*TypeLocNode.getType()))</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>     <span class="comment">// Match the QualType.</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>     <span class="keywordflow">if</span> (!<a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(TypeLocNode.getType()))</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>     <span class="comment">// The TypeLoc is matched inside traverse.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>     <span class="keywordflow">return</span> traverse(TypeLocNode);</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>   }</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span>   <span class="keywordtype">bool</span> TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) {</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>     <span class="keywordflow">return</span> (NNS == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) || traverse(*NNS);</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>   }</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>   <span class="keywordtype">bool</span> TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS) {</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>     <span class="keywordflow">if</span> (!NNS)</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span>     ScopedIncrement ScopedDepth(&<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>);</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>     <span class="keywordflow">if</span> (!<a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*NNS.getNestedNameSpecifier()))</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span>     <span class="keywordflow">return</span> traverse(NNS);</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>   }</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> </div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>   <span class="keywordtype">bool</span> shouldVisitTemplateInstantiations()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span>   <span class="keywordtype">bool</span> shouldVisitImplicitCode()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>   <span class="comment">// Disables data recursion. We intercept Traverse* methods in the RAV, which</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span>   <span class="comment">// are not triggered during data recursion.</span></div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>   <span class="keywordtype">bool</span> shouldUseDataRecursionFor(<a class="code" href="classclang_1_1Stmt.html">clang::Stmt</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</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">  203</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>   <span class="comment">// Used for updating the depth during traversal.</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>   <span class="keyword">struct </span>ScopedIncrement {</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>     <span class="keyword">explicit</span> ScopedIncrement(<span class="keywordtype">int</span> *<a class="code" href="ASTMatchFinder_8cpp.html#a770e10d3d091ec85cafce08832ae2e87">Depth</a>) : Depth(Depth) { ++(*Depth); }</div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>     ~ScopedIncrement() { --(*Depth); }</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>    <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a770e10d3d091ec85cafce08832ae2e87">  210</a></span>     <span class="keywordtype">int</span> *<a class="code" href="ASTMatchFinder_8cpp.html#a770e10d3d091ec85cafce08832ae2e87">Depth</a>;</div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span>   };</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> </div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>   <span class="comment">// Resets the state of this object.</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span>   <span class="keywordtype">void</span> reset() {</div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span>     <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span>     <a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a> = 0;</div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span>   }</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> </div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span>   <span class="comment">// Forwards the call to the corresponding Traverse*() method in the</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>   <span class="comment">// base visitor class.</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>   <span class="keywordtype">bool</span> baseTraverse(<span class="keyword">const</span> Decl &DeclNode) {</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a99a9e941a07a015bc18d3613c5aa0914" title="Recursively visit a declaration, by dispatching to Traverse*Decl() based on the argument's dynamic ty...">VisitorBase::TraverseDecl</a>(const_cast<Decl*>(&DeclNode));</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>   }</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>   <span class="keywordtype">bool</span> baseTraverse(<span class="keyword">const</span> Stmt &StmtNode) {</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#ac74e5ed6ab3568f7ba8819507e768050" title="Recursively visit a statement or expression, by dispatching to Traverse*() based on the argument's dy...">VisitorBase::TraverseStmt</a>(const_cast<Stmt*>(&StmtNode));</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span>   }</div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span>   <span class="keywordtype">bool</span> baseTraverse(QualType TypeNode) {</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a196832d93cdc2d4f9b01a423132327cd" title="Recursively visit a type, by dispatching to Traverse*Type() based on the argument's getTypeClass() pr...">VisitorBase::TraverseType</a>(TypeNode);</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="keywordtype">bool</span> baseTraverse(TypeLoc TypeLocNode) {</div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a99d5987a8d711ede9748818e7a61aec4" title="Recursively visit a type with location, by dispatching to Traverse*TypeLoc() based on the argument ty...">VisitorBase::TraverseTypeLoc</a>(TypeLocNode);</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span>   }</div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>   <span class="keywordtype">bool</span> baseTraverse(<span class="keyword">const</span> NestedNameSpecifier &NNS) {</div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a7d497c4e947a1447e31f88655168b1ea" title="Recursively visit a C++ nested-name-specifier.">VisitorBase::TraverseNestedNameSpecifier</a>(</div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span>         const_cast<NestedNameSpecifier*>(&NNS));</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span>   }</div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span>   <span class="keywordtype">bool</span> baseTraverse(NestedNameSpecifierLoc NNS) {</div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a7002972a59828e56b9a23381b677c770" title="Recursively visit a C++ nested-name-specifier with location information.">VisitorBase::TraverseNestedNameSpecifierLoc</a>(NNS);</div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>   }</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> </div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>   <span class="comment">// Sets 'Matched' to true if 'Matcher' matches 'Node' and:</span></div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span>   <span class="comment">//   0 < CurrentDepth <= MaxDepth.</span></div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span>   <span class="comment">// Returns 'true' if traversal should continue after this function</span></div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>   <span class="comment">// returns, i.e. if no match is found or 'Bind' is 'BK_All'.</span></div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span>   <span class="keywordtype">bool</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(<span class="keyword">const</span> T &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>) {</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a> == 0 || <a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a> > MaxDepth) {</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span>     }</div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span>     <span class="keywordflow">if</span> (Bind != ASTMatchFinder::BK_All) {</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>       BoundNodesTreeBuilder RecursiveBuilder(*Builder);</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>       <span class="keywordflow">if</span> (Matcher->matches(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node), Finder,</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span>                            &RecursiveBuilder)) {</div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a> = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a23b1597404bb05afe964c2af90665ac0">ResultBindings</a>.addMatch(RecursiveBuilder);</div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>; <span class="comment">// Abort as soon as a match is found.</span></div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span>       }</div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span>       BoundNodesTreeBuilder RecursiveBuilder(*Builder);</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span>       <span class="keywordflow">if</span> (Matcher->matches(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node), Finder,</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span>                            &RecursiveBuilder)) {</div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span>         <span class="comment">// After the first match the matcher succeeds.</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a> = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a23b1597404bb05afe964c2af90665ac0">ResultBindings</a>.addMatch(RecursiveBuilder);</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span>       }</div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span>     }</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span>   }</div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> </div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span>   <span class="comment">// Traverses the subtree rooted at 'Node'; returns true if the</span></div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span>   <span class="comment">// traversal should continue after this function returns.</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span>   <span class="keywordtype">bool</span> traverse(<span class="keyword">const</span> T &Node) {</div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>(IsBaseType<T>::value,</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span>                            traverse_can_only_be_instantiated_with_base_type);</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>     <span class="keywordflow">if</span> (!<a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(Node))</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>     <span class="keywordflow">return</span> baseTraverse(Node);</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>   }</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> </div>
+<div class="line"><a name="l00282"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">  282</a></span>   <span class="keyword">const</span> DynTypedMatcher *<span class="keyword">const</span> <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>;</div>
+<div class="line"><a name="l00283"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">  283</a></span>   ASTMatchFinder *<span class="keyword">const</span> <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>;</div>
+<div class="line"><a name="l00284"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">  284</a></span>   BoundNodesTreeBuilder *<span class="keyword">const</span> <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a23b1597404bb05afe964c2af90665ac0">  285</a></span>   BoundNodesTreeBuilder <a class="code" href="ASTMatchFinder_8cpp.html#a23b1597404bb05afe964c2af90665ac0">ResultBindings</a>;</div>
+<div class="line"><a name="l00286"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">  286</a></span>   <span class="keywordtype">int</span> <a class="code" href="ASTMatchFinder_8cpp.html#acbf921b9f4d0e35087000cb358418ac6">CurrentDepth</a>;</div>
+<div class="line"><a name="l00287"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a7c059a0ef3a5bd50b87d72237058658c">  287</a></span>   <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="ASTMatchFinder_8cpp.html#a7c059a0ef3a5bd50b87d72237058658c">MaxDepth</a>;</div>
+<div class="line"><a name="l00288"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#ad8c47a73d264643de1152822a30c694a">  288</a></span>   <span class="keyword">const</span> ASTMatchFinder::TraversalKind <a class="code" href="ASTMatchFinder_8cpp.html#ad8c47a73d264643de1152822a30c694a">Traversal</a>;</div>
+<div class="line"><a name="l00289"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a0d6765c892b4337c112e848cdad07341">  289</a></span>   <span class="keyword">const</span> ASTMatchFinder::BindKind <a class="code" href="ASTMatchFinder_8cpp.html#a0d6765c892b4337c112e848cdad07341">Bind</a>;</div>
+<div class="line"><a name="l00290"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">  290</a></span>   <span class="keywordtype">bool</span> <a class="code" href="ASTMatchFinder_8cpp.html#a61268667d290fdaecde13566d3d494b8">Matches</a>;</div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> };</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> </div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span> <span class="comment">// Controls the outermost traversal of the AST and allows to match multiple</span></div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span> <span class="comment">// matchers.</span></div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span> <span class="keyword">class </span>MatchASTVisitor : <span class="keyword">public</span> RecursiveASTVisitor<MatchASTVisitor>,</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>                         <span class="keyword">public</span> ASTMatchFinder {</div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span>   MatchASTVisitor(</div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span>       std::vector<std::pair<internal::DynTypedMatcher, MatchCallback *> > *</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span>           <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>)</div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>       : <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>(<a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>), <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>(<a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {}</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span> </div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>   <span class="keywordtype">void</span> onStartOfTranslationUnit() {</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span>     <span class="keywordflow">for</span> (std::vector<std::pair<internal::DynTypedMatcher,</div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>                                MatchCallback *> >::const_iterator</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>              I = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->begin(),</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span>              E = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->end();</div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span>          I != E; ++I) {</div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span>       I->second->onStartOfTranslationUnit();</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span>     }</div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span>   }</div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span> </div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span>   <span class="keywordtype">void</span> onEndOfTranslationUnit() {</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span>     <span class="keywordflow">for</span> (std::vector<std::pair<internal::DynTypedMatcher,</div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span>                                MatchCallback *> >::const_iterator</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span>              I = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->begin(),</div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span>              E = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->end();</div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span>          I != E; ++I) {</div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span>       I->second->onEndOfTranslationUnit();</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>   }</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> </div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span>   <span class="keywordtype">void</span> set_active_ast_context(ASTContext *NewActiveASTContext) {</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span>     <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a> = NewActiveASTContext;</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> </div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span>   <span class="comment">// The following Visit*() and Traverse*() functions "override"</span></div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span>   <span class="comment">// methods in RecursiveASTVisitor.</span></div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span> </div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span>   <span class="keywordtype">bool</span> VisitTypedefNameDecl(TypedefNameDecl *DeclNode) {</div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span>     <span class="comment">// When we see 'typedef A B', we add name 'B' to the set of names</span></div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>     <span class="comment">// A's canonical type maps to.  This is necessary for implementing</span></div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span>     <span class="comment">// isDerivedFrom(x) properly, where x can be the name of the base</span></div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span>     <span class="comment">// class or any of its aliases.</span></div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>     <span class="comment">// In general, the is-alias-of (as defined by typedefs) relation</span></div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span>     <span class="comment">// is tree-shaped, as you can typedef a type more than once.  For</span></div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span>     <span class="comment">// example,</span></div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span>     <span class="comment">//   typedef A B;</span></div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span>     <span class="comment">//   typedef A C;</span></div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span>     <span class="comment">//   typedef C D;</span></div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span>     <span class="comment">//   typedef C E;</span></div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>     <span class="comment">// gives you</span></div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span>     <span class="comment">//   A</span></div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>     <span class="comment">//   |- B</span></div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>     <span class="comment">//   `- C</span></div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span>     <span class="comment">//      |- D</span></div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span>     <span class="comment">//      `- E</span></div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span>     <span class="comment">// It is wrong to assume that the relation is a chain.  A correct</span></div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>     <span class="comment">// implementation of isDerivedFrom() needs to recognize that B and</span></div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>     <span class="comment">// E are aliases, even though neither is a typedef of the other.</span></div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>     <span class="comment">// Therefore, we cannot simply walk through one typedef chain to</span></div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>     <span class="comment">// find out whether the type name matches.</span></div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>     <span class="keyword">const</span> Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr();</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>     <span class="keyword">const</span> Type *CanonicalType =  <span class="comment">// root of the typedef tree</span></div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>->getCanonicalType(TypeNode);</div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span>     <a class="code" href="ASTMatchFinder_8cpp.html#ac76fbd5931986e2cdfdca52f432695c0">TypeAliases</a>[CanonicalType].insert(DeclNode);</div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span>   }</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span> </div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>   <span class="keywordtype">bool</span> TraverseDecl(Decl *DeclNode);</div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>   <span class="keywordtype">bool</span> TraverseStmt(Stmt *StmtNode);</div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span>   <span class="keywordtype">bool</span> TraverseType(QualType TypeNode);</div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span>   <span class="keywordtype">bool</span> TraverseTypeLoc(TypeLoc TypeNode);</div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span>   <span class="keywordtype">bool</span> TraverseNestedNameSpecifier(NestedNameSpecifier *NNS);</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span>   <span class="keywordtype">bool</span> TraverseNestedNameSpecifierLoc(NestedNameSpecifierLoc NNS);</div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> </div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span>   <span class="comment">// Matches children or descendants of 'Node' with 'BaseMatcher'.</span></div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span>   <span class="keywordtype">bool</span> memoizedMatchesRecursively(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span>                                   <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span>                                   BoundNodesTreeBuilder *Builder, <span class="keywordtype">int</span> MaxDepth,</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span>                                   TraversalKind Traversal, BindKind Bind) {</div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span>     <span class="comment">// For AST-nodes that don't have an identity, we can't memoize.</span></div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span>     <span class="keywordflow">if</span> (!Node.getMemoizationData())</div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span>       <span class="keywordflow">return</span> matchesRecursively(Node, Matcher, Builder, MaxDepth, Traversal,</div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span>                                 Bind);</div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> </div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span>     MatchKey Key;</div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span>     Key.MatcherID = Matcher.getID();</div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</span>     Key.Node = <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>;</div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</span>     <span class="comment">// Note that we key on the bindings *before* the match.</span></div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span>     Key.BoundNodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> </div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span>     MemoizationMap::iterator I = <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.find(Key);</div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span>     <span class="keywordflow">if</span> (I != <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.end()) {</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span>       *Builder = I->second.Nodes;</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span>       <span class="keywordflow">return</span> I->second.ResultOfMatch;</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>     }</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>     MemoizedMatchResult Result;</div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span>     Result.Nodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span>     Result.ResultOfMatch = matchesRecursively(Node, Matcher, &Result.Nodes,</div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span>                                               MaxDepth, Traversal, Bind);</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span>     <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>[Key] = Result;</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>     *Builder = Result.Nodes;</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>     <span class="keywordflow">return</span> Result.ResultOfMatch;</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>   }</div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span> </div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span>   <span class="comment">// Matches children or descendants of 'Node' with 'BaseMatcher'.</span></div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span>   <span class="keywordtype">bool</span> matchesRecursively(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span>                           <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>                           BoundNodesTreeBuilder *Builder, <span class="keywordtype">int</span> MaxDepth,</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>                           TraversalKind Traversal, BindKind Bind) {</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span>     MatchChildASTVisitor Visitor(</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span>       &Matcher, <span class="keyword">this</span>, Builder, MaxDepth, Traversal, Bind);</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span>     <span class="keywordflow">return</span> Visitor.findMatch(Node);</div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span>   }</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span> </div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> classIsDerivedFrom(<span class="keyword">const</span> CXXRecordDecl *Declaration,</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span>                                   <span class="keyword">const</span> Matcher<NamedDecl> &<a class="code" href="classclang_1_1Base.html">Base</a>,</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span>                                   BoundNodesTreeBuilder *Builder);</div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span> </div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span>   <span class="comment">// Implements ASTMatchFinder::matchesChildOf.</span></div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesChildOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>                               <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>                               BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span>                               TraversalKind Traversal,</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span>                               BindKind Bind) {</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.size() > MaxMemoizationEntries)</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span>       <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.clear();</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>     <span class="keywordflow">return</span> memoizedMatchesRecursively(Node, Matcher, Builder, 1, Traversal,</div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span>                                       Bind);</div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>   }</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>   <span class="comment">// Implements ASTMatchFinder::matchesDescendantOf.</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesDescendantOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>                                    <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span>                                    BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>                                    BindKind Bind) {</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.size() > MaxMemoizationEntries)</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>       <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.clear();</div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span>     <span class="keywordflow">return</span> memoizedMatchesRecursively(Node, Matcher, Builder, <a class="code" href="limits_8h.html#a9ec306f36d50c7375e74f0d1c55a3a67">INT_MAX</a>,</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>                                       TK_AsIs, Bind);</div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>   }</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>   <span class="comment">// Implements ASTMatchFinder::matchesAncestorOf.</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesAncestorOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>                                  <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>                                  BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>                                  AncestorMatchMode MatchMode) {</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>     <span class="comment">// Reset the cache outside of the recursive call to make sure we</span></div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>     <span class="comment">// don't invalidate any iterators.</span></div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.size() > MaxMemoizationEntries)</div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>       <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.clear();</div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>     <span class="keywordflow">return</span> memoizedMatchesAncestorOfRecursively(Node, Matcher, Builder,</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>                                                 MatchMode);</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>   }</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>   <span class="comment">// Matches all registered matchers on the given node and calls the</span></div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span>   <span class="comment">// result callback for every node that matches.</span></div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>   <span class="keywordtype">void</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(<span class="keyword">const</span> ast_type_traits::DynTypedNode& Node) {</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>     <span class="keywordflow">for</span> (std::vector<std::pair<internal::DynTypedMatcher,</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>                                MatchCallback *> >::const_iterator</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span>              I = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->begin(),</div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>              E = <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>->end();</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>          I != E; ++I) {</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>       BoundNodesTreeBuilder <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>       <span class="keywordflow">if</span> (I->first.matches(Node, <span class="keyword">this</span>, &Builder)) {</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span>         MatchVisitor Visitor(<a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>, I->second);</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>         Builder.visitMatches(&Visitor);</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>       }</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>     }</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> </div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keywordtype">void</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(<span class="keyword">const</span> T &Node) {</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>     <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node));</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>   }</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span> </div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>   <span class="comment">// Implements ASTMatchFinder::getASTContext.</span></div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>   <span class="keyword">virtual</span> ASTContext &getASTContext()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> *<a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>; }</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>   <span class="keywordtype">bool</span> shouldVisitTemplateInstantiations()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>   <span class="keywordtype">bool</span> shouldVisitImplicitCode()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">true</span>; }</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>   <span class="comment">// Disables data recursion. We intercept Traverse* methods in the RAV, which</span></div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>   <span class="comment">// are not triggered during data recursion.</span></div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>   <span class="keywordtype">bool</span> shouldUseDataRecursionFor(<a class="code" href="classclang_1_1Stmt.html">clang::Stmt</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span> </div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span>   <span class="comment">// Returns whether an ancestor of \p Node matches \p Matcher.</span></div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span>   <span class="comment">// The order of matching ((which can lead to different nodes being bound in</span></div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span>   <span class="comment">// case there are multiple matches) is breadth first search.</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>   <span class="comment">// To allow memoization in the very common case of having deeply nested</span></div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>   <span class="comment">// expressions inside a template function, we first walk up the AST, memoizing</span></div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>   <span class="comment">// the result of the match along the way, as long as there is only a single</span></div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>   <span class="comment">// parent.</span></div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>   <span class="comment">// Once there are multiple parents, the breadth first search order does not</span></div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>   <span class="comment">// allow simple memoization on the ancestors. Thus, we only memoize as long</span></div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>   <span class="comment">// as there is a single parent.</span></div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>   <span class="keywordtype">bool</span> memoizedMatchesAncestorOfRecursively(</div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>       <span class="keyword">const</span> ast_type_traits::DynTypedNode &Node, <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>       BoundNodesTreeBuilder *Builder, AncestorMatchMode MatchMode) {</div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>     <span class="keywordflow">if</span> (Node.get<TranslationUnitDecl>() ==</div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>         <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>->getTranslationUnitDecl())</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>     assert(Node.getMemoizationData() &&</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>            <span class="stringliteral">"Invariant broken: only nodes that support memoization may be "</span></div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>            <span class="stringliteral">"used in the parent map."</span>);</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>     <a class="code" href="classclang_1_1ASTContext.html#a6a28f004a1f8d89252a0e94110a62654" title="Contains parents of a node.">ASTContext::ParentVector</a> Parents = <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>->getParents(Node);</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>     <span class="keywordflow">if</span> (Parents.empty()) {</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>       assert(<span class="keyword">false</span> && <span class="stringliteral">"Found node that is not in the parent map."</span>);</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>     }</div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span>     MatchKey Key;</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span>     Key.MatcherID = Matcher.getID();</div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>     Key.Node = <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>;</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>     Key.BoundNodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span> </div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span>     <span class="comment">// Note that we cannot use insert and reuse the iterator, as recursive</span></div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>     <span class="comment">// calls to match might invalidate the result cache iterators.</span></div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>     MemoizationMap::iterator I = <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.find(Key);</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>     <span class="keywordflow">if</span> (I != <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>.end()) {</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>       *Builder = I->second.Nodes;</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>       <span class="keywordflow">return</span> I->second.ResultOfMatch;</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>     MemoizedMatchResult Result;</div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>     Result.ResultOfMatch = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>     Result.Nodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>     <span class="keywordflow">if</span> (Parents.size() == 1) {</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>       <span class="comment">// Only one parent - do recursive memoization.</span></div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span>       <span class="keyword">const</span> ast_type_traits::DynTypedNode Parent = Parents[0];</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>       <span class="keywordflow">if</span> (Matcher.matches(Parent, <span class="keyword">this</span>, &Result.Nodes)) {</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>         Result.ResultOfMatch = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (MatchMode != ASTMatchFinder::AMM_ParentOnly) {</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>         <span class="comment">// Reset the results to not include the bound nodes from the failed</span></div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>         <span class="comment">// match above.</span></div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>         Result.Nodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>         Result.ResultOfMatch = memoizedMatchesAncestorOfRecursively(</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>             Parent, Matcher, &Result.Nodes, MatchMode);</div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span>         <span class="comment">// Once we get back from the recursive call, the result will be the</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>         <span class="comment">// same as the parent's result.</span></div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>       }</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>       <span class="comment">// Multiple parents - BFS over the rest of the nodes.</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>       <a class="code" href="classllvm_1_1DenseSet.html">llvm::DenseSet<const void *></a> Visited;</div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>       std::deque<ast_type_traits::DynTypedNode> Queue(Parents.begin(),</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>                                                       Parents.end());</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>       <span class="keywordflow">while</span> (!Queue.empty()) {</div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span>         Result.Nodes = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>         <span class="keywordflow">if</span> (Matcher.matches(Queue.front(), <span class="keyword">this</span>, &Result.Nodes)) {</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>           Result.ResultOfMatch = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>         }</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>         <span class="keywordflow">if</span> (MatchMode != ASTMatchFinder::AMM_ParentOnly) {</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>           <a class="code" href="classclang_1_1ASTContext.html#a6a28f004a1f8d89252a0e94110a62654" title="Contains parents of a node.">ASTContext::ParentVector</a> Ancestors =</div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>               <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>->getParents(Queue.front());</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>           <span class="keywordflow">for</span> (ASTContext::ParentVector::const_iterator I = Ancestors.begin(),</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>                                                         E = Ancestors.end();</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>                I != E; ++I) {</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>             <span class="comment">// Make sure we do not visit the same node twice.</span></div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>             <span class="comment">// Otherwise, we'll visit the common ancestors as often as there</span></div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>             <span class="comment">// are splits on the way down.</span></div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>             <span class="keywordflow">if</span> (Visited.insert(I->getMemoizationData()).second)</div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>               Queue.push_back(*I);</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>           }</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>         }</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>         Queue.pop_front();</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>       }</div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>     }</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span>     <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>[Key] = Result;</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> </div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>     *Builder = Result.Nodes;</div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>     <span class="keywordflow">return</span> Result.ResultOfMatch;</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>   }</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span> </div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>   <span class="comment">// Implements a BoundNodesTree::Visitor that calls a MatchCallback with</span></div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span>   <span class="comment">// the aggregated bound nodes for each match.</span></div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>   <span class="keyword">class </span>MatchVisitor : <span class="keyword">public</span> BoundNodesTreeBuilder::Visitor {</div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>     MatchVisitor(ASTContext* <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>,</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>                  MatchFinder::MatchCallback* <a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>)</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>       : Context(Context),</div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>         Callback(Callback) {}</div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span> </div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> visitMatch(<span class="keyword">const</span> <a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a>& BoundNodesView) {</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span>       <a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>->run(MatchFinder::MatchResult(BoundNodesView, <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>));</div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>     }</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span> </div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>   <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00584"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">  584</a></span>     ASTContext* <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>;</div>
+<div class="line"><a name="l00585"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">  585</a></span>     MatchFinder::MatchCallback* <a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>;</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> </div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>   <span class="comment">// Returns true if 'TypeNode' has an alias that matches the given matcher.</span></div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>   <span class="keywordtype">bool</span> typeHasMatchingAlias(<span class="keyword">const</span> Type *TypeNode,</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>                             <span class="keyword">const</span> Matcher<NamedDecl> Matcher,</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>                             BoundNodesTreeBuilder *Builder) {</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>     <span class="keyword">const</span> Type *<span class="keyword">const</span> CanonicalType =</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span>       <a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>->getCanonicalType(TypeNode);</div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>     <span class="keyword">const</span> std::set<const TypedefNameDecl *> &Aliases =</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>         <a class="code" href="ASTMatchFinder_8cpp.html#ac76fbd5931986e2cdfdca52f432695c0">TypeAliases</a>[CanonicalType];</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>     <span class="keywordflow">for</span> (std::set<const TypedefNameDecl*>::const_iterator</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>            It = Aliases.begin(), End = Aliases.end();</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>          It != End; ++It) {</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>       BoundNodesTreeBuilder Result(*Builder);</div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>       <span class="keywordflow">if</span> (Matcher.matches(**It, <span class="keyword">this</span>, &Result)) {</div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span>         *Builder = Result;</div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>       }</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>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>   }</div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span> </div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>   std::vector<std::pair<internal::DynTypedMatcher, MatchCallback *> > *<span class="keyword">const</span></div>
+<div class="line"><a name="l00609"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">  609</a></span>   <a class="code" href="ASTMatchFinder_8cpp.html#a2e6b0d7c9cb5371c155183a3bba69d26">MatcherCallbackPairs</a>;</div>
+<div class="line"><a name="l00610"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">  610</a></span>   ASTContext *<a class="code" href="ASTMatchFinder_8cpp.html#a06651bcda7fc3846abaf21b94abfbdca">ActiveASTContext</a>;</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span> </div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>   <span class="comment">// Maps a canonical type to its TypedefDecls.</span></div>
+<div class="line"><a name="l00613"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#ac76fbd5931986e2cdfdca52f432695c0">  613</a></span>   llvm::DenseMap<const Type*, std::set<const TypedefNameDecl*> > <a class="code" href="ASTMatchFinder_8cpp.html#ac76fbd5931986e2cdfdca52f432695c0">TypeAliases</a>;</div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span> </div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>   <span class="comment">// Maps (matcher, node) -> the match result for memoization.</span></div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>   <span class="keyword">typedef</span> std::map<MatchKey, MemoizedMatchResult> MemoizationMap;</div>
+<div class="line"><a name="l00617"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">  617</a></span>   MemoizationMap <a class="code" href="ASTMatchFinder_8cpp.html#a98f048be0b8eec8602f0addcd7fe9f31">ResultCache</a>;</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span> };</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span> </div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span> <span class="keyword">static</span> CXXRecordDecl *getAsCXXRecordDecl(<span class="keyword">const</span> Type *TypeNode) {</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>   <span class="comment">// Type::getAs<...>() drills through typedefs.</span></div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>   <span class="keywordflow">if</span> (TypeNode->getAs<DependentNameType>() != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> ||</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>       TypeNode->getAs<DependentTemplateSpecializationType>() != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> ||</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>       TypeNode->getAs<TemplateTypeParmType>() != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>     <span class="comment">// Dependent names and template TypeNode parameters will be matched when</span></div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>     <span class="comment">// the template is instantiated.</span></div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>   TemplateSpecializationType <span class="keyword">const</span> *TemplateType =</div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>       TypeNode->getAs<TemplateSpecializationType>();</div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span>   <span class="keywordflow">if</span> (TemplateType == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>     <span class="keywordflow">return</span> TypeNode->getAsCXXRecordDecl();</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>   <span class="keywordflow">if</span> (TemplateType->getTemplateName().isDependent())</div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span>     <span class="comment">// Dependent template specializations will be matched when the</span></div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span>     <span class="comment">// template is instantiated.</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>     <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> </div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>   <span class="comment">// For template specialization types which are specializing a template</span></div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span>   <span class="comment">// declaration which is an explicit or partial specialization of another</span></div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span>   <span class="comment">// template declaration, getAsCXXRecordDecl() returns the corresponding</span></div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>   <span class="comment">// ClassTemplateSpecializationDecl.</span></div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>   <span class="comment">// For template specialization types which are specializing a template</span></div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>   <span class="comment">// declaration which is neither an explicit nor partial specialization of</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>   <span class="comment">// another template declaration, getAsCXXRecordDecl() returns NULL and</span></div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>   <span class="comment">// we get the CXXRecordDecl of the templated declaration.</span></div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span>   CXXRecordDecl *SpecializationDecl = TemplateType->getAsCXXRecordDecl();</div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>   <span class="keywordflow">if</span> (SpecializationDecl != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>     <span class="keywordflow">return</span> SpecializationDecl;</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>   }</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>   NamedDecl *Templated =</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>       TemplateType->getTemplateName().getAsTemplateDecl()->getTemplatedDecl();</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span>   <span class="keywordflow">if</span> (CXXRecordDecl *TemplatedRecord = dyn_cast<CXXRecordDecl>(Templated)) {</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span>     <span class="keywordflow">return</span> TemplatedRecord;</div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span>   }</div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span>   <span class="comment">// Now it can still be that we have an alias template.</span></div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span>   TypeAliasDecl *AliasDecl = dyn_cast<TypeAliasDecl>(Templated);</div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>   assert(AliasDecl);</div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>   <span class="keywordflow">return</span> getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr());</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="comment">// Returns true if the given class is directly or indirectly derived</span></div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span> <span class="comment">// from a base type with the given name.  A class is not considered to be</span></div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span> <span class="comment">// derived from itself.</span></div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span> <span class="keywordtype">bool</span> MatchASTVisitor::classIsDerivedFrom(<span class="keyword">const</span> CXXRecordDecl *Declaration,</div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span>                                          <span class="keyword">const</span> Matcher<NamedDecl> &<a class="code" href="classclang_1_1Base.html">Base</a>,</div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span>                                          BoundNodesTreeBuilder *Builder) {</div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>   <span class="keywordflow">if</span> (!Declaration->hasDefinition())</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>   <span class="keyword">typedef</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a03641e17c7e525a2541f8a8bce7d3087" title="Iterator that traverses the base classes of a class.">CXXRecordDecl::base_class_const_iterator</a> BaseIterator;</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>   <span class="keywordflow">for</span> (BaseIterator It = Declaration->bases_begin(),</div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span>                     End = Declaration->bases_end();</div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>        It != End; ++It) {</div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>     <span class="keyword">const</span> Type *TypeNode = It-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>().<a class="code" href="classclang_1_1QualType.html#a669d7ba0645cd05d53508e3c1895075a">getTypePtr</a>();</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span> </div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>     <span class="keywordflow">if</span> (typeHasMatchingAlias(TypeNode, Base, Builder))</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span> </div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span>     CXXRecordDecl *ClassDecl = getAsCXXRecordDecl(TypeNode);</div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span>     <span class="keywordflow">if</span> (ClassDecl == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>       <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>     <span class="keywordflow">if</span> (ClassDecl == Declaration) {</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span>       <span class="comment">// This can happen for recursive template definitions; if the</span></div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span>       <span class="comment">// current declaration did not match, we can safely return false.</span></div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>     }</div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span>     BoundNodesTreeBuilder Result(*Builder);</div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span>     <span class="keywordflow">if</span> (Base.matches(*ClassDecl, <span class="keyword">this</span>, &Result)) {</div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span>       *Builder = Result;</div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span>     }</div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span>     <span class="keywordflow">if</span> (classIsDerivedFrom(ClassDecl, Base, Builder))</div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span>   }</div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span> }</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span> </div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseDecl(Decl *DeclNode) {</div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span>   <span class="keywordflow">if</span> (DeclNode == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span>   }</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*DeclNode);</div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a99a9e941a07a015bc18d3613c5aa0914" title="Recursively visit a declaration, by dispatching to Traverse*Decl() based on the argument's dynamic ty...">RecursiveASTVisitor<MatchASTVisitor>::TraverseDecl</a>(DeclNode);</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span> }</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> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseStmt(Stmt *StmtNode) {</div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span>   <span class="keywordflow">if</span> (StmtNode == <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>   }</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*StmtNode);</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#ac74e5ed6ab3568f7ba8819507e768050" title="Recursively visit a statement or expression, by dispatching to Traverse*() based on the argument's dy...">RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt</a>(StmtNode);</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span> }</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span> </div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseType(QualType TypeNode) {</div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(TypeNode);</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a196832d93cdc2d4f9b01a423132327cd" title="Recursively visit a type, by dispatching to Traverse*Type() based on the argument's getTypeClass() pr...">RecursiveASTVisitor<MatchASTVisitor>::TraverseType</a>(TypeNode);</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> </div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLocNode) {</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>   <span class="comment">// The RecursiveASTVisitor only visits types if they're not within TypeLocs.</span></div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span>   <span class="comment">// We still want to find those types via matchers, so we match them here. Note</span></div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>   <span class="comment">// that the TypeLocs are structurally a shadow-hierarchy to the expressed</span></div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>   <span class="comment">// type, so we visit all involved parts of a compound type when matching on</span></div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span>   <span class="comment">// each TypeLoc.</span></div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(TypeLocNode);</div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(TypeLocNode.getType());</div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a99d5987a8d711ede9748818e7a61aec4" title="Recursively visit a type with location, by dispatching to Traverse*TypeLoc() based on the argument ty...">RecursiveASTVisitor<MatchASTVisitor>::TraverseTypeLoc</a>(TypeLocNode);</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span> }</div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span> </div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseNestedNameSpecifier(NestedNameSpecifier *NNS) {</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*NNS);</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a7d497c4e947a1447e31f88655168b1ea" title="Recursively visit a C++ nested-name-specifier.">RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifier</a>(NNS);</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</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> <span class="keywordtype">bool</span> MatchASTVisitor::TraverseNestedNameSpecifierLoc(</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>     NestedNameSpecifierLoc NNS) {</div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(NNS);</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>   <span class="comment">// We only match the nested name specifier here (as opposed to traversing it)</span></div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>   <span class="comment">// because the traversal is already done in the parallel "Loc"-hierarchy.</span></div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>   <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(*NNS.getNestedNameSpecifier());</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>   <span class="keywordflow">return</span></div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>       <a class="code" href="classclang_1_1RecursiveASTVisitor.html#a7002972a59828e56b9a23381b677c770" title="Recursively visit a C++ nested-name-specifier with location information.">RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifierLoc</a>(NNS);</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> </div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span> <span class="keyword">class </span>MatchASTConsumer : <span class="keyword">public</span> ASTConsumer {</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>   MatchASTConsumer(MatchFinder *Finder,</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>                    MatchFinder::ParsingDoneTestCallback *<a class="code" href="ASTMatchFinder_8cpp.html#af7f743eea6f4c37bd3faf6fedc2fc1ac">ParsingDone</a>)</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>       : Finder(Finder), ParsingDone(ParsingDone) {}</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span> </div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> HandleTranslationUnit(ASTContext &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>     <span class="keywordflow">if</span> (<a class="code" href="ASTMatchFinder_8cpp.html#af7f743eea6f4c37bd3faf6fedc2fc1ac">ParsingDone</a> != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>       <a class="code" href="ASTMatchFinder_8cpp.html#af7f743eea6f4c37bd3faf6fedc2fc1ac">ParsingDone</a>->run();</div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>     }</div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>     Finder->matchAST(Context);</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>   MatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>;</div>
+<div class="line"><a name="l00760"></a><span class="lineno"><a class="code" href="ASTMatchFinder_8cpp.html#af7f743eea6f4c37bd3faf6fedc2fc1ac">  760</a></span>   MatchFinder::ParsingDoneTestCallback *<a class="code" href="ASTMatchFinder_8cpp.html#af7f743eea6f4c37bd3faf6fedc2fc1ac">ParsingDone</a>;</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> </div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span> } <span class="comment">// end namespace</span></div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span> } <span class="comment">// end namespace internal</span></div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span> </div>
+<div class="line"><a name="l00766"></a><span class="lineno"><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#a910137aee6ee27ee6a3132b2d17c8673">  766</a></span> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#a910137aee6ee27ee6a3132b2d17c8673">MatchFinder::MatchResult::MatchResult</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__matchers_1_1BoundNodes.html" title="Maps string IDs to AST nodes matched by parts of a matcher.">BoundNodes</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a2efebf59722498358b342545b0e3b8ba">Nodes</a>,</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>                                       <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> *<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>)</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>   : Nodes(Nodes), Context(Context),</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>     <a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">SourceManager</a>(&Context->getSourceManager()) {}</div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span> </div>
+<div class="line"><a name="l00771"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a33ee3a2e1030faec357ccf97ae9d4ac9">  771</a></span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a33ee3a2e1030faec357ccf97ae9d4ac9">MatchFinder::MatchCallback::~MatchCallback</a>() {}</div>
+<div class="line"><a name="l00772"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html#ab6018406e1835b0dcc7fa982e0836a55">  772</a></span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html#ab6018406e1835b0dcc7fa982e0836a55">MatchFinder::ParsingDoneTestCallback::~ParsingDoneTestCallback</a>() {}</div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span> </div>
+<div class="line"><a name="l00774"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a963150f2fb16e3f3a62909df9ae93c92">  774</a></span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a963150f2fb16e3f3a62909df9ae93c92">MatchFinder::MatchFinder</a>() : ParsingDone(<a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) {}</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span> </div>
+<div class="line"><a name="l00776"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a241c3ff786b34758455adb5ec063b627">  776</a></span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a241c3ff786b34758455adb5ec063b627">MatchFinder::~MatchFinder</a>() {}</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span> </div>
+<div class="line"><a name="l00778"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9">  778</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#ab30f9a7e7886e9e7e95ae8c22be96763" title="Types of matchers for the top-level classes in the AST class hierarchy.">DeclarationMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> }</div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span> </div>
+<div class="line"><a name="l00783"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a0301a5c2a003c9cc0a372eb6a1219c19">  783</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#aaf3ed160cf07d78b30bf7eb489ab56b7">TypeMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span> }</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span> </div>
+<div class="line"><a name="l00788"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5175644f8f6d8a9a1c407ae321170a13">  788</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a745639829e0e79583bcdcd9b91885d97">StatementMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span> }</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span> </div>
+<div class="line"><a name="l00793"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a9b317287bf8e49e4d2786c75a0b9c052">  793</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a623fdb61a98a79d9ab0a4e1ddf179676">NestedNameSpecifierMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span> }</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span> </div>
+<div class="line"><a name="l00798"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#ab7993e97d8c254cbeaed828d7dd935ed">  798</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a8f6136e88108ad75dfab55e51edd4ed3">NestedNameSpecifierLocMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span> }</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span> </div>
+<div class="line"><a name="l00803"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a85e1c52178f197355713d05836190cbb">  803</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">MatchFinder::addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a5f117121961390c6000248a202bffe22">TypeLocMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span>                              MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>   MatcherCallbackPairs.push_back(std::make_pair(NodeMatch, Action));</div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span> }</div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span> </div>
+<div class="line"><a name="l00808"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4258332cee92ef573c72bd5560b88b5b">  808</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4258332cee92ef573c72bd5560b88b5b" title="Adds a matcher to execute when running over the AST.">MatchFinder::addDynamicMatcher</a>(<span class="keyword">const</span> internal::DynTypedMatcher &NodeMatch,</div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>                                     MatchCallback *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>) {</div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>   <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1Decl.html">Decl</a>>()) {</div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1Decl.html">Decl</a>>(), Action);</div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1QualType.html">QualType</a>>()) {</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1QualType.html">QualType</a>>(), Action);</div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1Stmt.html">Stmt</a>>()) {</div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1Stmt.html">Stmt</a>>(), Action);</div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a>>()) {</div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1NestedNameSpecifier.html" title="Represents a C++ nested name specifier, such as "\::std::vector<int>::".">NestedNameSpecifier</a>>(), Action);</div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1NestedNameSpecifierLoc.html" title="A C++ nested-name-specifier augmented with source location information.">NestedNameSpecifierLoc</a>>()) {</div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1NestedNameSpecifierLoc.html" title="A C++ nested-name-specifier augmented with source location information.">NestedNameSpecifierLoc</a>>(), Action);</div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (NodeMatch.canConvertTo<<a class="code" href="classclang_1_1TypeLoc.html" title="Base wrapper for a particular "section" of type source info.">TypeLoc</a>>()) {</div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(NodeMatch.convertTo<<a class="code" href="classclang_1_1TypeLoc.html" title="Base wrapper for a particular "section" of type source info.">TypeLoc</a>>(), Action);</div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span>   }</div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span> }</div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span> </div>
+<div class="line"><a name="l00832"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4807049e6e39572d19ff127406df3d81">  832</a></span> <a class="code" href="classclang_1_1ASTConsumer.html">ASTConsumer</a> *<a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4807049e6e39572d19ff127406df3d81" title="Creates a clang ASTConsumer that finds all matches.">MatchFinder::newASTConsumer</a>() {</div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>   <span class="keywordflow">return</span> <span class="keyword">new</span> internal::MatchASTConsumer(<span class="keyword">this</span>, ParsingDone);</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> </div>
+<div class="line"><a name="l00836"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a910aa2dd7c53a51609f9214df6913ae0">  836</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502" title="Calls the registered callbacks on all matches on the given Node.">MatchFinder::match</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">clang::ast_type_traits::DynTypedNode</a> &Node,</div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>                         <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>   internal::MatchASTVisitor Visitor(&MatcherCallbackPairs);</div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>   Visitor.set_active_ast_context(&Context);</div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span>   Visitor.match(Node);</div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span> }</div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span> </div>
+<div class="line"><a name="l00843"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#aeb15cdd71c560a6c15abd86f655aed8f">  843</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#aeb15cdd71c560a6c15abd86f655aed8f" title="Finds all matches in the given AST.">MatchFinder::matchAST</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span>   internal::MatchASTVisitor Visitor(&MatcherCallbackPairs);</div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span>   Visitor.set_active_ast_context(&Context);</div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span>   Visitor.onStartOfTranslationUnit();</div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span>   Visitor.TraverseDecl(Context.<a class="code" href="classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64">getTranslationUnitDecl</a>());</div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span>   Visitor.onEndOfTranslationUnit();</div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span> }</div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span> </div>
+<div class="line"><a name="l00851"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a9a87015cae5dad12164ea4d74f7293bf">  851</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a9a87015cae5dad12164ea4d74f7293bf" title="Registers a callback to notify the end of parsing.">MatchFinder::registerTestCallbackAfterParsing</a>(</div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html" title="Called when parsing is finished. Intended for testing only.">MatchFinder::ParsingDoneTestCallback</a> *NewParsingDone) {</div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span>   ParsingDone = NewParsingDone;</div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span> }</div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span> </div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span> } <span class="comment">// end namespace ast_matchers</span></div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span> } <span class="comment">// end namespace clang</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,478 @@
+<!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: ASTMatchFinder.d 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_7166f89c8d6eff13069d8d607a946656.html">ASTMatchers</a></li><li class="navelem"><a class="el" href="dir_beed0994c59f0f5f1a9c7428d6c63a40.html">Release+Asserts</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchFinder.d</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchFinder_8d.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/Release+Asserts/ASTMatchFinder.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/Release+Asserts/ASTMatchFinder.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>  ASTMatchFinder.cpp \</div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchFinder.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchers.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclFriend.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclCXX.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTUnresolvedSet.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>  /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>  /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>  /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>  /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>  /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>  /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>  /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>  /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>  /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>  /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>  /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>  /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>  /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>  /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>  /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>  /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>  /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>  /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>  /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>  /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>  /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>  /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>  /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>  /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>  /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>  /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>  /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>  /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>  /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>  /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>  /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>  /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>  /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>  /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclTemplate.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersInternal.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtCXX.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>  /home/tstellar/llvm/include/llvm/ADT/VariadicFunction.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersMacros.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>  /home/tstellar/llvm/include/llvm/Support/Regex.h \</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTConsumer.h \</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTContext.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CanonicalType.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CommentCommandTraits.h \</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CommentCommandList.inc \</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>  /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/RawCommentList.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/FileSystemOptions.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>  /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>  /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>  /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>  /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/AddressSpaces.h \</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>  /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h \</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/RecursiveASTVisitor.h \</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclObjC.h \</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/<a class="code" href="namespaceclang.html#a0bca8d4a06a5e7175d2177c94788c9b4" title="Whether all locations of the selector identifiers are in a "standard" position.">SelectorLocationsKind</a>.h \</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclOpenMP.h \</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprObjC.h \</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtObjC.h \</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtOpenMP.h \</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenMPKinds.h \</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenMPKinds.def</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> </div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchFinder.h:</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> </div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchers.h:</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> </div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclFriend.h:</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> </div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclCXX.h:</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> </div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTUnresolvedSet.h:</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> </div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> </div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/AttrIterator.h:</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> </div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> </div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> </div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span> </div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> </div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span> /home/tstellar/llvm/include/llvm/ADT/None.h:</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span> </div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> </div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</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> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> </div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> </div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</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> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> </div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> </div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> </div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclAccessPair.h:</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> </div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> </div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> </div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Decl.h:</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> </div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/APValue.h:</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> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> </div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</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> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> </div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> </div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclBase.h:</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> </div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclarationName.h:</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> </div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/IdentifierTable.h:</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> </div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.h:</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> </div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.def:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.h:</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> </div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.def:</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> </div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> </div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> </div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> </div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/PartialDiagnostic.h:</div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> </div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Diagnostic.h:</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> </div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticIDs.h:</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> </div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> </div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticCommonKinds.inc:</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> </div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.h:</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> </div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.def:</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> </div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceLocation.h:</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> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> </div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</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> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> </div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h:</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> </div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> </div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclNodes.inc:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExternalASTSource.h:</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> </div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CharUnits.h:</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> </div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Redeclarable.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> </div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/NestedNameSpecifier.h:</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> </div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> </div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateName.h:</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> </div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h:</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> </div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h:</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> </div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> </div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> </div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeNodes.def:</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> </div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/BuiltinTypes.def:</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> </div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> </div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span> </div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span> </div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span> </div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> /home/tstellar/llvm/include/llvm/Support/system_error.h:</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> </div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Expr.h:</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span> </div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> </div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> </div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> </div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtIterator.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CapturedStmt.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span> </div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateBase.h:</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span> </div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span> </div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TypeTraits.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Builtins.def:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprCXX.h:</div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span> </div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span> </div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Lambda.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLoc.h:</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span> </div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLocNodes.def:</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> </div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span> </div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclTemplate.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersInternal.h:</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> </div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTTypeTraits.h:</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span> </div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTFwd.h:</div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span> </div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtCXX.h:</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> /home/tstellar/llvm/include/llvm/ADT/VariadicFunction.h:</div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span> </div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersMacros.h:</div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span> </div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span> /home/tstellar/llvm/include/llvm/Support/Regex.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTConsumer.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTContext.h:</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span> </div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CanonicalType.h:</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span> </div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CommentCommandTraits.h:</div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span> </div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CommentOptions.h:</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span> </div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CommentCommandList.inc:</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span> </div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/PrettyPrinter.h:</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span> </div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LangOptions.h:</div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span> </div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ObjCRuntime.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/VersionTuple.h:</div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span> </div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h:</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span> </div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Sanitizers.def:</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span> </div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LangOptions.def:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenCLExtensions.def:</div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span> </div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/RawCommentList.h:</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span> </div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceManager.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/FileManager.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/FileSystemOptions.h:</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span> </div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h:</div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span> </div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h:</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> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h:</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> </div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> /home/tstellar/llvm/include/llvm-c/Core.h:</div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> </div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/AddressSpaces.h:</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> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h:</div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> </div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/RecursiveASTVisitor.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclObjC.h:</div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span> </div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/<a class="code" href="namespaceclang.html#a0bca8d4a06a5e7175d2177c94788c9b4" title="Whether all locations of the selector identifiers are in a "standard" position.">SelectorLocationsKind</a>.h:</div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> </div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclOpenMP.h:</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span> </div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprObjC.h:</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span> </div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtObjC.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtOpenMP.h:</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span> </div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenMPKinds.h:</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span> </div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OpenMPKinds.def:</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchFinder_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,337 @@
+<!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: ASTMatchFinder.h 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_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_13fcf62b671b31ccdd455cdd72ed3510.html">ASTMatchers</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchFinder.h</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchFinder_8h.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">//===--- ASTMatchFinder.h - Structural query framework ----------*- C++ -*-===//</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">//  Provides a way to construct an ASTConsumer that runs given matchers</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span> <span class="comment">//  over the AST and invokes a given callback on every match.</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> <span class="comment">//  The general idea is to construct a matcher expression that describes a</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="comment">//  subtree match on the AST. Next, a callback that is executed every time the</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="comment">//  expression matches is registered, and the matcher is run over the AST of</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="comment">//  some code. Matched subexpressions can be bound to string IDs and easily</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="comment">//  be accessed from the registered callback. The callback can than use the</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="comment">//  AST nodes that the subexpressions matched on to output information about</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="comment">//  the match or construct changes that can be applied to the code.</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="comment">//  Example:</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment">//  class HandleMatch : public MatchFinder::MatchCallback {</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">//  public:</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">//    virtual void Run(const MatchFinder::MatchResult &Result) {</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">//      const CXXRecordDecl *Class =</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">//          Result.Nodes.GetDeclAs<CXXRecordDecl>("id");</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">//      ...</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">//    }</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">//  };</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">//  int main(int argc, char **argv) {</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="comment">//    ClangTool Tool(argc, argv);</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="comment">//    MatchFinder finder;</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> <span class="comment">//    finder.AddMatcher(Id("id", record(hasName("::a_namespace::AClass"))),</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> <span class="comment">//                      new HandleMatch);</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="comment">//    return Tool.Run(newFrontendActionFactory(&finder));</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="comment">//  }</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> </div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="preprocessor">#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="preprocessor">#include "<a class="code" href="ASTMatchers_8h.html">clang/ASTMatchers/ASTMatchers.h</a>"</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> </div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> </div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="keyword">namespace </span>ast_matchers {</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="comment"></span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="comment">/// \brief A class to allow finding matches over the Clang AST.</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">/// After creation, you can add multiple matchers to the MatchFinder via</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment">/// calls to addMatcher(...).</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="comment">/// Once all matchers are added, newASTConsumer() returns an ASTConsumer</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="comment">/// that will trigger the callbacks specified via addMatcher(...) when a match</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="comment">/// is found.</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="comment">/// The order of matches is guaranteed to be equivalent to doing a pre-order</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="comment">/// traversal on the AST, and applying the matchers in the order in which they</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> <span class="comment">/// were added to the MatchFinder.</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">/// See ASTMatchers.h for more information about how to create matchers.</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> <span class="comment">/// Not intended to be subclassed.</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html">   66</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html" title="A class to allow finding matches over the Clang AST.">MatchFinder</a> {</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">  /// \brief Contains all information for a given match.</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment">  /// Every time a match is found, the MatchFinder will invoke the registered</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span> <span class="comment">  /// MatchCallback with a MatchResult containing information about the match.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html">   72</a></span> <span class="comment"></span>  <span class="keyword">struct </span><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html" title="Contains all information for a given match.">MatchResult</a> {</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>     <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#a910137aee6ee27ee6a3132b2d17c8673">MatchResult</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__matchers_1_1BoundNodes.html" title="Maps string IDs to AST nodes matched by parts of a matcher.">BoundNodes</a> &<a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#aa6713f783d367af908a08c231b269e2a" title="Contains the nodes bound on the current match.">Nodes</a>, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">clang::ASTContext</a> *<a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#ab06481084c7027e5779a5a427596f66c" title="Utilities for interpreting the matched AST structures.">Context</a>);</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span> <span class="comment"></span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">    /// \brief Contains the nodes bound on the current match.</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="comment">    /// This allows user code to easily extract matched AST nodes.</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#aa6713f783d367af908a08c231b269e2a">   78</a></span> <span class="comment"></span>    <span class="keyword">const</span> <a class="code" href="classclang_1_1ast__matchers_1_1BoundNodes.html" title="Maps string IDs to AST nodes matched by parts of a matcher.">BoundNodes</a> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#aa6713f783d367af908a08c231b269e2a" title="Contains the nodes bound on the current match.">Nodes</a>;</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="comment"></span></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="comment">    /// \brief Utilities for interpreting the matched AST structures.</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="comment">    /// @{</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#ab06481084c7027e5779a5a427596f66c">   82</a></span> <span class="comment"></span>    <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">clang::ASTContext</a> * <span class="keyword">const</span> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#ab06481084c7027e5779a5a427596f66c" title="Utilities for interpreting the matched AST structures.">Context</a>;</div>
+<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#a155e96a44676c45f962ca457cb2f9e8a">   83</a></span>     <a class="code" href="classclang_1_1SourceManager.html" title="This class handles loading and caching of source files into memory.">clang::SourceManager</a> * <span class="keyword">const</span> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#a155e96a44676c45f962ca457cb2f9e8a">SourceManager</a>;<span class="comment"></span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> <span class="comment">    /// @}</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span> <span class="comment"></span>  };</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span> <span class="comment"></span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span> <span class="comment">  /// \brief Called when the Match registered for it was successfully found</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span> <span class="comment">  /// in the AST.</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html">   89</a></span> <span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> {</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>     <span class="keyword">virtual</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a33ee3a2e1030faec357ccf97ae9d4ac9">~MatchCallback</a>();</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span> <span class="comment"></span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="comment">    /// \brief Called on every match by the \c MatchFinder.</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span> <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a8e2033073b8b59e4dc15bf77cf1cf10e" title="Called on every match by the MatchFinder.">run</a>(<span class="keyword">const</span> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html" title="Contains all information for a given match.">MatchResult</a> &Result) = 0;</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span> <span class="comment"></span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span> <span class="comment">    /// \brief Called at the start of each translation unit.</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span> <span class="comment">    /// Optionally override to do per translation unit tasks.</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#ada07a9a3520bfd8c4bc8a0edd93c4770">   99</a></span> <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#ada07a9a3520bfd8c4bc8a0edd93c4770" title="Called at the start of each translation unit.">onStartOfTranslationUnit</a>() {}</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="comment"></span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="comment">    /// \brief Called at the end of each translation unit.</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="comment">    /// Optionally override to do per translation unit tasks.</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a545fd77921b92d46466aaaab2149463a">  104</a></span> <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html#a545fd77921b92d46466aaaab2149463a" title="Called at the end of each translation unit.">onEndOfTranslationUnit</a>() {}</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>   };</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="comment"></span></div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span> <span class="comment">  /// \brief Called when parsing is finished. Intended for testing only.</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html">  108</a></span> <span class="comment"></span>  <span class="keyword">class </span><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html" title="Called when parsing is finished. Intended for testing only.">ParsingDoneTestCallback</a> {</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>     <span class="keyword">virtual</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html#ab6018406e1835b0dcc7fa982e0836a55">~ParsingDoneTestCallback</a>();</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>     <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1ParsingDoneTestCallback.html#a818b643aaad117bb86bcda80bba32ceb">run</a>() = 0;</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>   };</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span> </div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a963150f2fb16e3f3a62909df9ae93c92">MatchFinder</a>();</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a241c3ff786b34758455adb5ec063b627">~MatchFinder</a>();</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="comment"></span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span> <span class="comment">  /// \brief Adds a matcher to execute when running over the AST.</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span> <span class="comment">  /// Calls 'Action' with the BoundNodes on every match.</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span> <span class="comment">  /// Adding more than one 'NodeMatch' allows finding different matches in a</span></div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="comment">  /// single pass over the AST.</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">  /// Does not take ownership of 'Action'.</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment">  /// @{</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> <span class="comment"></span>  <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#ab30f9a7e7886e9e7e95ae8c22be96763" title="Types of matchers for the top-level classes in the AST class hierarchy.">DeclarationMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#aaf3ed160cf07d78b30bf7eb489ab56b7">TypeMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a745639829e0e79583bcdcd9b91885d97">StatementMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a623fdb61a98a79d9ab0a4e1ddf179676">NestedNameSpecifierMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a8f6136e88108ad75dfab55e51edd4ed3">NestedNameSpecifierLocMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(<span class="keyword">const</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a5f117121961390c6000248a202bffe22">TypeLocMatcher</a> &NodeMatch,</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>                   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);<span class="comment"></span></div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> <span class="comment">  /// @}</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="comment"></span><span class="comment"></span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> <span class="comment">  /// \brief Adds a matcher to execute when running over the AST.</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> <span class="comment">  /// This is similar to \c addMatcher(), but it uses the dynamic interface. It</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> <span class="comment">  /// is more flexible, but the lost type information enables a caller to pass</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> <span class="comment">  /// a matcher that cannot match anything.</span></div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="comment">  /// \returns \c true if the matcher is a valid top-level matcher, \c false</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="comment">  ///   otherwise.</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="comment"></span>  <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4258332cee92ef573c72bd5560b88b5b" title="Adds a matcher to execute when running over the AST.">addDynamicMatcher</a>(<span class="keyword">const</span> internal::DynTypedMatcher &NodeMatch,</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>                          <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchCallback</a> *<a class="code" href="Tooling_8cpp.html#a611b216472a9171383c588b3c166b0a1">Action</a>);</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> <span class="comment"></span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="comment">  /// \brief Creates a clang ASTConsumer that finds all matches.</span></div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> <span class="comment"></span>  <a class="code" href="classclang_1_1ASTConsumer.html">clang::ASTConsumer</a> *<a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a4807049e6e39572d19ff127406df3d81" title="Creates a clang ASTConsumer that finds all matches.">newASTConsumer</a>();</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> <span class="comment"></span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> <span class="comment">  /// \brief Calls the registered callbacks on all matches on the given \p Node.</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> <span class="comment">  /// Note that there can be multiple matches on a single node, for</span></div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span> <span class="comment">  /// example when using decl(forEachDescendant(stmt())).</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> <span class="comment">  /// @{</span></div>
+<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502">  159</a></span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502" title="Calls the registered callbacks on all matches on the given Node.">match</a>(<span class="keyword">const</span> T &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>     <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502" title="Calls the registered callbacks on all matches on the given Node.">match</a>(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">clang::ast_type_traits::DynTypedNode::create</a>(Node), Context);</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>   }</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>   <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502" title="Calls the registered callbacks on all matches on the given Node.">match</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">clang::ast_type_traits::DynTypedNode</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>,</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>              <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>);<span class="comment"></span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span> <span class="comment">  /// @}</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span> <span class="comment"></span><span class="comment"></span></div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> <span class="comment">  /// \brief Finds all matches in the given AST.</span></div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> <span class="comment"></span>  <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#aeb15cdd71c560a6c15abd86f655aed8f" title="Finds all matches in the given AST.">matchAST</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>);</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> <span class="comment"></span></div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> <span class="comment">  /// \brief Registers a callback to notify the end of parsing.</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span> <span class="comment">  /// The provided closure is called after parsing is done, before the AST is</span></div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> <span class="comment">  /// traversed. Useful for benchmarking.</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="comment">  /// Each call to FindAll(...) will call the closure once.</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> <span class="comment"></span>  <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a9a87015cae5dad12164ea4d74f7293bf" title="Registers a callback to notify the end of parsing.">registerTestCallbackAfterParsing</a>(ParsingDoneTestCallback *ParsingDone);</div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> </div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span> <span class="keyword">private</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span> <span class="comment">  /// \brief For each \c DynTypedMatcher a \c MatchCallback that will be called</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> <span class="comment">  /// when it matches.</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> <span class="comment"></span>  std::vector<std::pair<internal::DynTypedMatcher, MatchCallback *> ></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>     MatcherCallbackPairs;</div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> <span class="comment"></span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> <span class="comment">  /// \brief Called when parsing is done.</span></div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> <span class="comment"></span>  ParsingDoneTestCallback *ParsingDone;</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="comment"></span></div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> <span class="comment">/// \brief Returns the results of matching \p Matcher on \p Node.</span></div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> <span class="comment">/// Collects the \c BoundNodes of all callback invocations when matching</span></div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> <span class="comment">/// \p Matcher on \p Node and returns the collected results.</span></div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment">/// Multiple results occur when using matchers like \c forEachDescendant,</span></div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> <span class="comment">/// which generate a result for each sub-match.</span></div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> <span class="comment">/// \see selectFirst</span></div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment">/// @{</span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT, <span class="keyword">typename</span> NodeT></div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<BoundNodes, 1></a></div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(MatcherT <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>, <span class="keyword">const</span> NodeT &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>);</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> </div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT></div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<BoundNodes, 1></a></div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(MatcherT <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>, <span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">ast_type_traits::DynTypedNode</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>,</div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>       <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>);<span class="comment"></span></div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> <span class="comment">/// @}</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> <span class="comment"></span><span class="comment"></span></div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> <span class="comment">/// \brief Returns the first result of type \c NodeT bound to \p BoundTo.</span></div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span> <span class="comment">/// Returns \c NULL if there is no match, or if the matching node cannot be</span></div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span> <span class="comment">/// casted to \c NodeT.</span></div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> <span class="comment">/// This is useful in combanation with \c match():</span></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> <span class="comment">/// \code</span></div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> <span class="comment">///   Decl *D = selectFirst<Decl>("id", match(Matcher.bind("id"),</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> <span class="comment">///                                           Node, Context));</span></div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> <span class="comment">/// \endcode</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> NodeT></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> NodeT *</div>
+<div class="line"><a name="l00218"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers.html#a0eddbe27e35a293a9e3b34b396f88c6c">  218</a></span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a0eddbe27e35a293a9e3b34b396f88c6c" title="Returns the first result of type NodeT bound to BoundTo.">selectFirst</a>(StringRef BoundTo, <span class="keyword">const</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<BoundNodes></a> &Results) {</div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span>   <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<BoundNodes>::const_iterator</a> I = Results.begin(),</div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>                                                    E = Results.end();</div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>        I != E; ++I) {</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>     <span class="keywordflow">if</span> (NodeT *<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a> = I->getNodeAs<NodeT>(BoundTo))</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>       <span class="keywordflow">return</span> <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>;</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>   }</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span>   <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> }</div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> </div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00229"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html">  229</a></span> <span class="keyword">class </span><a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html">CollectMatchesCallback</a> : <span class="keyword">public</span> <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html" title="Called when the Match registered for it was successfully found in the AST.">MatchFinder::MatchCallback</a> {</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a68ba8abc3d7d77d4971de90c490444ae">  231</a></span>   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a68ba8abc3d7d77d4971de90c490444ae" title="Called on every match by the MatchFinder.">run</a>(<span class="keyword">const</span> <a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html" title="Contains all information for a given match.">MatchFinder::MatchResult</a> &Result) {</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span>     <a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a973b3a1dbd09a3f107af8ef9449ab86e">Nodes</a>.push_back(Result.<a class="code" href="structclang_1_1ast__matchers_1_1MatchFinder_1_1MatchResult.html#aa6713f783d367af908a08c231b269e2a" title="Contains the nodes bound on the current match.">Nodes</a>);</div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>   }</div>
+<div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a973b3a1dbd09a3f107af8ef9449ab86e">  234</a></span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<BoundNodes, 1></a> <a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a973b3a1dbd09a3f107af8ef9449ab86e">Nodes</a>;</div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span> };</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> }</div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> </div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span> <span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT></div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<BoundNodes, 1></a></div>
+<div class="line"><a name="l00240"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers.html#a5eb71f721543d124fe779a99ff9a8200">  240</a></span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(MatcherT <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>, <span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">ast_type_traits::DynTypedNode</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>,</div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>       <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span>   <a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html">internal::CollectMatchesCallback</a> <a class="code" href="ASTMatchFinder_8cpp.html#a65f65be04d6e181a522ea0c32416a2b9">Callback</a>;</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span>   <a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html" title="A class to allow finding matches over the Clang AST.">MatchFinder</a> <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>;</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span>   Finder.<a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a5db879ac2c5df2b4e124946e0c5995e9" title="Adds a matcher to execute when running over the AST.">addMatcher</a>(Matcher, &Callback);</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>   Finder.<a class="code" href="classclang_1_1ast__matchers_1_1MatchFinder.html#a8b5a0b1b4d21c32009ad9e75ef8d5502" title="Calls the registered callbacks on all matches on the given Node.">match</a>(Node, Context);</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>   <span class="keywordflow">return</span> Callback.<a class="code" href="classclang_1_1ast__matchers_1_1internal_1_1CollectMatchesCallback.html#a973b3a1dbd09a3f107af8ef9449ab86e">Nodes</a>;</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> </div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> <span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT, <span class="keyword">typename</span> NodeT></div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<BoundNodes, 1></a></div>
+<div class="line"><a name="l00251"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a">  251</a></span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(MatcherT <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>, <span class="keyword">const</span> NodeT &<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>) {</div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>   <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a58409ce605d979d1d1e0a600ec417a0a" title="Returns the results of matching Matcher on Node.">match</a>(Matcher, <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node), Context);</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span> }</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> </div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> } <span class="comment">// end namespace ast_matchers</span></div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> } <span class="comment">// end namespace clang</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> </div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> <span class="preprocessor">#endif // LLVM_CLANG_AST_MATCHERS_AST_MATCH_FINDER_H</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,163 @@
+<!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: ASTMatchersInternal.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_7166f89c8d6eff13069d8d607a946656.html">ASTMatchers</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchersInternal.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchersInternal_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">//===--- ASTMatchersInternal.cpp - Structural query framework -------------===//</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">//  Implements the base layer of the matcher framework.</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="ASTMatchers_8h.html">clang/ASTMatchers/ASTMatchers.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor">#include "<a class="code" href="ASTMatchersInternal_8h.html">clang/ASTMatchers/ASTMatchersInternal.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> </div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="keyword">namespace </span>ast_matchers {</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> </div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="keywordtype">void</span> BoundNodesTreeBuilder::visitMatches(Visitor *ResultVisitor) {</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>   <span class="keywordflow">if</span> (Bindings.empty())</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>     Bindings.push_back(BoundNodesMap());</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = Bindings.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>     ResultVisitor->visitMatch(<a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a>(Bindings[i]));</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>   }</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> }</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> </div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> DynTypedMatcher::MatcherStorage::~MatcherStorage() {}</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> </div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="keywordtype">void</span> BoundNodesTreeBuilder::addMatch(<span class="keyword">const</span> BoundNodesTreeBuilder &Other) {</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = Other.Bindings.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>     Bindings.push_back(Other.Bindings[i]);</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>   }</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> }</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> </div>
+<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#a1761cc83e84dc62f780199ebd355de51">   37</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#a1761cc83e84dc62f780199ebd355de51">AllOfVariadicOperator</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">ast_type_traits::DynTypedNode</a> DynNode,</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>                            ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>                            BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>,</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>                            <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<DynTypedMatcher></a> InnerMatchers) {</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>   <span class="comment">// allOf leads to one matcher for each alternative in the first</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>   <span class="comment">// matcher combined with each alternative in the second matcher.</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>   <span class="comment">// Thus, we can reuse the same Builder.</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>   <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0, e = InnerMatchers.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>     <span class="keywordflow">if</span> (!InnerMatchers[i].matches(DynNode, Finder, Builder))</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>   }</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>   <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> }</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> </div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#aff07f5fb87a2a62523fc176a2524dd4a">   51</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#aff07f5fb87a2a62523fc176a2524dd4a">EachOfVariadicOperator</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">ast_type_traits::DynTypedNode</a> DynNode,</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>                             ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>                             BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>,</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>                             <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<DynTypedMatcher></a> InnerMatchers) {</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>   BoundNodesTreeBuilder Result;</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>   <span class="keywordtype">bool</span> Matched = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>   <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0, e = InnerMatchers.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>     BoundNodesTreeBuilder BuilderInner(*Builder);</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>     <span class="keywordflow">if</span> (InnerMatchers[i].matches(DynNode, Finder, &BuilderInner)) {</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>       Matched = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>       Result.addMatch(BuilderInner);</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>     }</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>   }</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>   *Builder = Result;</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>   <span class="keywordflow">return</span> Matched;</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> }</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> </div>
+<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#a32f1350e9dfbebbfa5ff79c2e8d7ad3a">   68</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespaceclang_1_1ast__matchers_1_1internal.html#a32f1350e9dfbebbfa5ff79c2e8d7ad3a">AnyOfVariadicOperator</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html" title="A dynamically typed AST node container.">ast_type_traits::DynTypedNode</a> DynNode,</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>                            ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>                            BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>,</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>                            <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<DynTypedMatcher></a> InnerMatchers) {</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>   <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0, e = InnerMatchers.size(); i != e; ++i) {</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>     BoundNodesTreeBuilder Result = *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>;</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>     <span class="keywordflow">if</span> (InnerMatchers[i].matches(DynNode, Finder, &Result)) {</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>       *Builder = Result;</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>     }</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>   }</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> }</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> </div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span> } <span class="comment">// end namespace internal</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span> } <span class="comment">// end namespace ast_matchers</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> } <span class="comment">// end namespace clang</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,376 @@
+<!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: ASTMatchersInternal.d 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_7166f89c8d6eff13069d8d607a946656.html">ASTMatchers</a></li><li class="navelem"><a class="el" href="dir_beed0994c59f0f5f1a9c7428d6c63a40.html">Release+Asserts</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchersInternal.d</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchersInternal_8d.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/Release+Asserts/ASTMatchersInternal.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/Release+Asserts/ASTMatchersInternal.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>  ASTMatchersInternal.cpp \</div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchers.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclFriend.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclCXX.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTUnresolvedSet.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>  /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>  /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>  /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>  /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>  /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>  /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>  /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>  /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>  /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>  /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>  /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>  /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>  /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>  /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>  /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>  /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>  /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>  /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>  /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>  /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>  /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>  /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>  /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>  /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h \</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>  /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>  /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>  /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>  /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>  /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>  /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>  /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>  /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>  /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>  /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>  /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclTemplate.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersInternal.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtCXX.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>  /home/tstellar/llvm/include/llvm/ADT/VariadicFunction.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>  /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersMacros.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>  /home/tstellar/llvm/include/llvm/Support/Regex.h</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span> </div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchers.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclFriend.h:</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> </div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclCXX.h:</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span> </div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTUnresolvedSet.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span> </div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/AttrIterator.h:</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span> </div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> </div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</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> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span> </div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span> </div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span> /home/tstellar/llvm/include/llvm/ADT/None.h:</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> </div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span> </div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span> </div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span> </div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span> </div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> </div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> </div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> </div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> </div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> </div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclAccessPair.h:</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> </div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> </div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> </div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> </div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Decl.h:</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> </div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/APValue.h:</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> </div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span> </div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> </div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span> </div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> </div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclBase.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclarationName.h:</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> </div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/IdentifierTable.h:</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> </div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/OperatorKinds.def:</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> </div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.h:</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> </div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TokenKinds.def:</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> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> </div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> </div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> </div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/PartialDiagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Diagnostic.h:</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span> </div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticIDs.h:</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> </div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticCommonKinds.inc:</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> </div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/DiagnosticOptions.def:</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> </div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/SourceLocation.h:</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> </div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> </div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> </div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> </div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h:</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> </div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclNodes.inc:</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> </div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExternalASTSource.h:</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> </div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/CharUnits.h:</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> </div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Redeclarable.h:</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> </div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> </div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/NestedNameSpecifier.h:</div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> </div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> </div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateName.h:</div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> </div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h:</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> </div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h:</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> </div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> </div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> </div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeNodes.def:</div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> </div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/BuiltinTypes.def:</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> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> </div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> </div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> </div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</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> /home/tstellar/llvm/include/llvm/Support/system_error.h:</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> </div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Expr.h:</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span> </div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/OperationKinds.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> </div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> </div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtIterator.h:</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> </div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CapturedStmt.h:</div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> </div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> </div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TemplateBase.h:</div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> </div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> </div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/TypeTraits.h:</div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> </div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Builtins.def:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ExprCXX.h:</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> </div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> </div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/Basic/Lambda.h:</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> </div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLoc.h:</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span> </div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/TypeLocNodes.def:</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span> </div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span> </div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/DeclTemplate.h:</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> </div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersInternal.h:</div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span> </div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTTypeTraits.h:</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> </div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/ASTFwd.h:</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> </div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/AST/StmtCXX.h:</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> </div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span> /home/tstellar/llvm/include/llvm/ADT/VariadicFunction.h:</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> /home/tstellar/llvm/tools/clang/lib/ASTMatchers/../../include/clang/ASTMatchers/ASTMatchersMacros.h:</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> /home/tstellar/llvm/include/llvm/Support/Regex.h:</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:14 for r$LatestRev$ by <a href="http://www.doxygen.org">Doxygen 
+1.8.3.1</a>.</p>
+<p class="footer">
+See the <a href="http://clang.llvm.org">Main Clang Web Page</a> for more 
+information.</p>
+</body>
+</html>

Added: www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ASTMatchersInternal_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,1698 @@
+<!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: ASTMatchersInternal.h 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_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_13fcf62b671b31ccdd455cdd72ed3510.html">ASTMatchers</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ASTMatchersInternal.h</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ASTMatchersInternal_8h.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">//===--- ASTMatchersInternal.h - Structural query framework -----*- C++ -*-===//</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">//  Implements the base layer of the matcher framework.</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">//  Matchers are methods that return a Matcher<T> which provides a method</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span> <span class="comment">//  Matches(...) which is a predicate on an AST node. The Matches method's</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span> <span class="comment">//  parameters define the context of the match, which allows matchers to recurse</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="comment">//  or store the current node as bound to a specific string, so that it can be</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="comment">//  retrieved later.</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="comment">//  In general, matchers have two parts:</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="comment">//  1. A function Matcher<T> MatcherName(<arguments>) which returns a Matcher<T></span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="comment">//     based on the arguments and optionally on template type deduction based</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="comment">//     on the arguments. Matcher<T>s form an implicit reverse hierarchy</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment">//     to clang's AST class hierarchy, meaning that you can use a Matcher<Base></span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">//     everywhere a Matcher<Derived> is required.</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">//  2. An implementation of a class derived from MatcherInterface<T>.</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">//  The matcher functions are defined in ASTMatchers.h. To make it possible</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">//  to implement both the matcher function and the implementation of the matcher</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">//  interface in one place, ASTMatcherMacros.h defines macros that allow</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">//  implementing a matcher in a single place.</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">//  This file contains the base classes needed to construct the actual matchers.</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> </div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span> <span class="preprocessor">#ifndef LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_INTERNAL_H</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_MATCHERS_AST_MATCHERS_INTERNAL_H</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span> <span class="preprocessor">#include "<a class="code" href="ASTTypeTraits_8h.html">clang/AST/ASTTypeTraits.h</a>"</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span> <span class="preprocessor">#include "<a class="code" href="Decl_8h.html">clang/AST/Decl.h</a>"</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="preprocessor">#include "<a class="code" href="DeclCXX_8h.html" title="Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate.h) and friends (in DeclFriend.h).">clang/AST/DeclCXX.h</a>"</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</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="l00042"></a><span class="lineno">   42</span> <span class="preprocessor">#include "<a class="code" href="Stmt_8h.html">clang/AST/Stmt.h</a>"</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="preprocessor">#include "<a class="code" href="StmtCXX_8h.html">clang/AST/StmtCXX.h</a>"</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="preprocessor">#include "<a class="code" href="Type_8h.html">clang/AST/Type.h</a>"</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="preprocessor">#include "llvm/ADT/Optional.h"</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="preprocessor">#include "llvm/ADT/VariadicFunction.h"</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="preprocessor">#include "llvm/Support/type_traits.h"</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="preprocessor">#include <map></span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="preprocessor">#include <string></span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="preprocessor">#include <vector></span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> </div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="keyword">namespace </span>ast_matchers {</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment"></span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="comment">/// FIXME: Move into the llvm support library.</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keywordtype">bool</span>> <span class="keyword">struct </span>CompileAssert {};</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="preprocessor">#define TOOLING_COMPILE_ASSERT(Expr, Msg) \</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="preprocessor">  typedef CompileAssert<(bool(Expr))> Msg[bool(Expr) ? 1 : -1]</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="keyword">class </span><a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a>;</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="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span> <span class="comment"></span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span> <span class="comment">/// \brief Internal version of BoundNodes. Holds all the bound nodes.</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span> <span class="comment"></span><span class="keyword">class </span>BoundNodesMap {</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="comment">  /// \brief Adds \c Node to the map with key \c ID.</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">  /// The node's base type should be in NodeBaseType or it will be unaccessible.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>   <span class="keywordtype">void</span> addNode(StringRef <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, <span class="keyword">const</span> T* <a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>) {</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>     NodeMap[<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>] = <a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(*Node);</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>   }</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span> <span class="comment"></span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">  /// \brief Returns the AST node bound to \c ID.</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="comment">  /// Returns NULL if there was no node bound to \c ID or if there is a node but</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span> <span class="comment">  /// it cannot be converted to the specified type.</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>   <span class="keyword">const</span> T *getNodeAs(StringRef <a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>     IDToNodeMap::const_iterator It = NodeMap.find(ID);</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>     <span class="keywordflow">if</span> (It == NodeMap.end()) {</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>       <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>     }</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>     <span class="keywordflow">return</span> It->second.get<T>();</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>   }</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span> </div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>   ast_type_traits::DynTypedNode getNode(StringRef ID)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>     IDToNodeMap::const_iterator It = NodeMap.find(ID);</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>     <span class="keywordflow">if</span> (It == NodeMap.end()) {</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>       <span class="keywordflow">return</span> ast_type_traits::DynTypedNode();</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>     }</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>     <span class="keywordflow">return</span> It->second;</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>   }</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span> <span class="comment"></span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span> <span class="comment">  /// \brief Imposes an order on BoundNodesMaps.</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="comment"></span>  <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a51e572049a11fe5cf42e8da840bf69af">operator<</a>(<span class="keyword">const</span> BoundNodesMap &Other)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>     <span class="keywordflow">return</span> NodeMap < Other.NodeMap;</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>   }</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="comment"></span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="comment">  /// \brief A map from IDs to the bound nodes.</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="comment">  /// Note that we're using std::map here, as for memoization:</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span> <span class="comment">  /// - we need a comparison operator</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span> <span class="comment">  /// - we need an assignment operator</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="comment"></span>  <span class="keyword">typedef</span> std::map<std::string, ast_type_traits::DynTypedNode> IDToNodeMap;</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span> </div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>   <span class="keyword">const</span> IDToNodeMap &getMap()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>     <span class="keywordflow">return</span> NodeMap;</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="keyword">private</span>:</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>   IDToNodeMap NodeMap;</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span> };</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span> <span class="comment"></span></div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="comment">/// \brief Creates BoundNodesTree objects.</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span> <span class="comment">/// The tree builder is used during the matching process to insert the bound</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span> <span class="comment">/// nodes from the Id matcher.</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span> <span class="comment"></span><span class="keyword">class </span>BoundNodesTreeBuilder {</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span> <span class="comment">  /// \brief A visitor interface to visit all BoundNodes results for a</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span> <span class="comment">  /// BoundNodesTree.</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment"></span>  <span class="keyword">class </span>Visitor {</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>     <span class="keyword">virtual</span> ~Visitor() {}</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">    /// \brief Called multiple times during a single call to VisitMatches(...).</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span> <span class="comment">    ///</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span> <span class="comment">    /// 'BoundNodesView' contains the bound nodes for a single match.</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span> <span class="comment"></span>    <span class="keyword">virtual</span> <span class="keywordtype">void</span> visitMatch(<span class="keyword">const</span> <a class="code" href="ASTMatchFinder_8cpp.html#a22cf12f5df6b95c27df50a9786cfea8d">BoundNodes</a>& BoundNodesView) = 0;</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>   };</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span> <span class="comment"></span></div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> <span class="comment">  /// \brief Add a binding from an id to a node.</span></div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keywordtype">void</span> setBinding(<span class="keyword">const</span> std::string &Id, <span class="keyword">const</span> T *<a class="code" href="ASTMatchFinder_8cpp.html#a1dfddff6f4d91f415ffe4b9a6da5f489">Node</a>) {</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>     <span class="keywordflow">if</span> (Bindings.empty())</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>       Bindings.push_back(BoundNodesMap());</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = Bindings.size(); i != e; ++i)</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>       Bindings[i].addNode(Id, Node);</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>   }</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span> <span class="comment"></span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> <span class="comment">  /// \brief Adds a branch in the tree.</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> <span class="comment"></span>  <span class="keywordtype">void</span> addMatch(<span class="keyword">const</span> BoundNodesTreeBuilder &Bindings);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="comment"></span></div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="comment">  /// \brief Visits all matches that this BoundNodesTree represents.</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="comment">  /// The ownership of 'ResultVisitor' remains at the caller.</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> <span class="comment"></span>  <span class="keywordtype">void</span> visitMatches(Visitor* ResultVisitor);</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> </div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> ExcludePredicate></div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>   <span class="keywordtype">bool</span> removeBindings(<span class="keyword">const</span> ExcludePredicate &Predicate) {</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>     Bindings.erase(std::remove_if(Bindings.begin(), Bindings.end(), Predicate),</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>                    Bindings.end());</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>     <span class="keywordflow">return</span> !Bindings.empty();</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="comment"></span></div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> <span class="comment">  /// \brief Imposes an order on BoundNodesTreeBuilders.</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> <span class="comment"></span>  <span class="keywordtype">bool</span> <a class="code" href="namespaceclang.html#a51e572049a11fe5cf42e8da840bf69af">operator<</a>(<span class="keyword">const</span> BoundNodesTreeBuilder &Other)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>     <span class="keywordflow">return</span> Bindings < Other.Bindings;</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>   }</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> </div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>   SmallVector<BoundNodesMap, 16> Bindings;</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> </div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span> <span class="keyword">class </span>ASTMatchFinder;</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> <span class="comment"></span></div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> <span class="comment">/// \brief Generic interface for matchers on an AST node of type T.</span></div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="comment">/// Implement this if your matcher may need to inspect the children or</span></div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span> <span class="comment">/// descendants of the node or bind matched nodes to names. If you are</span></div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> <span class="comment">/// writing a simple matcher that only inspects properties of the</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="comment">/// current node and doesn't care about its children or descendants,</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> <span class="comment">/// implement SingleNodeMatcherInterface instead.</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span> <span class="keyword">class </span>MatcherInterface : <span class="keyword">public</span> RefCountedBaseVPTR {</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>   <span class="keyword">virtual</span> ~MatcherInterface() {}</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> <span class="comment"></span></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> <span class="comment">  /// \brief Returns true if 'Node' can be matched.</span></div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> <span class="comment">  /// May bind 'Node' to an ID via 'Builder', or recurse into</span></div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> <span class="comment">  /// the AST via 'Finder'.</span></div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span> <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>                        ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>                        BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> };</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> <span class="comment"></span></div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> <span class="comment">/// \brief Interface for matchers that only evaluate properties on a single</span></div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">/// node.</span></div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> <span class="keyword">class </span>SingleNodeMatcherInterface : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> <span class="comment">  /// \brief Returns true if the matcher matches the provided node.</span></div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment">  /// A subclass must implement this instead of Matches().</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesNode(<span class="keyword">const</span> T &Node) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> </div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> <span class="keyword">private</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="comment">  /// Implements MatcherInterface::Matches.</span></div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span> <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>                        ASTMatchFinder * <span class="comment">/* Finder */</span>,</div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>                        BoundNodesTreeBuilder * <span class="comment">/*  Builder */</span>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>     <span class="keywordflow">return</span> matchesNode(Node);</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>   }</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> };</div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span> <span class="comment"></span></div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span> <span class="comment">/// \brief Wrapper of a MatcherInterface<T> *that allows copying.</span></div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="comment">/// A Matcher<Base> can be used anywhere a Matcher<Derived> is</span></div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> <span class="comment">/// required. This establishes an is-a relationship which is reverse</span></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> <span class="comment">/// to the AST hierarchy. In other words, Matcher<T> is contravariant</span></div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> <span class="comment">/// with respect to T. The relationship is built via a type conversion</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> <span class="comment">/// operator rather than a type hierarchy to be able to templatize the</span></div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> <span class="comment">/// type hierarchy instead of spelling it out.</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> <span class="keyword">class </span><a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a> {</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> <span class="comment">  /// \brief Takes ownership of the provided implementation pointer.</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> <span class="comment"></span>  <span class="keyword">explicit</span> <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>(MatcherInterface<T> *Implementation)</div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>       : Implementation(Implementation) {}</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> <span class="comment"></span></div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> <span class="comment">  /// \brief Implicitly converts \c Other to a Matcher<T>.</span></div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> <span class="comment">  /// Requires \c T to be derived from \c From.</span></div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> From></div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span>   <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>(<span class="keyword">const</span> Matcher<From> &Other,</div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span>           <span class="keyword">typename</span> llvm::enable_if_c<</div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span>             llvm::is_base_of<From, T>::value &&</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span>             !llvm::is_same<From, T>::value >::<a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a>* = 0)</div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span>       : Implementation(new ImplicitCastMatcher<From>(Other)) {}</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> <span class="comment"></span></div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> <span class="comment">  /// \brief Implicitly converts \c Matcher<Type> to \c Matcher<QualType>.</span></div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span> <span class="comment">  /// The resulting matcher is not strict, i.e. ignores qualifiers.</span></div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TypeT></div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span>   <a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>(<span class="keyword">const</span> Matcher<TypeT> &Other,</div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span>           <span class="keyword">typename</span> llvm::enable_if_c<</div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>             llvm::is_same<T, QualType>::value &&</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span>             llvm::is_same<TypeT, Type>::value >::<a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a>* = 0)</div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>       : Implementation(new TypeToQualType<TypeT>(Other)) {}</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> <span class="comment"></span></div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> <span class="comment">  /// \brief Forwards the call to the underlying MatcherInterface<T> pointer.</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>                ASTMatchFinder *<a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>,</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>                BoundNodesTreeBuilder *<a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span>     <span class="keywordflow">if</span> (Implementation->matches(Node, Finder, Builder))</div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span>     <span class="comment">// Delete all bindings when a matcher does not match.</span></div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span>     <span class="comment">// This prevents unexpected exposure of bound nodes in unmatches</span></div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span>     <span class="comment">// branches of the match tree.</span></div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>     *Builder = BoundNodesTreeBuilder();</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span>   }</div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> <span class="comment"></span></div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="comment">  /// \brief Returns an ID that uniquely identifies the matcher.</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> <span class="comment"></span>  uint64_t getID()<span class="keyword"> const </span>{<span class="comment"></span></div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> <span class="comment">    /// FIXME: Document the requirements this imposes on matcher</span></div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> <span class="comment">    /// implementations (no new() implementation_ during a Matches()).</span></div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> <span class="comment"></span>    <span class="keywordflow">return</span> <span class="keyword">reinterpret_cast<</span>uint64_t<span class="keyword">></span>(Implementation.getPtr());</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span>   }</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> <span class="comment"></span></div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> <span class="comment">  /// \brief Allows the conversion of a \c Matcher<Type> to a \c</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> <span class="comment">  /// Matcher<QualType>.</span></div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> <span class="comment">  /// Depending on the constructor argument, the matcher is either strict, i.e.</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span> <span class="comment">  /// does only matches in the absence of qualifiers, or not, i.e. simply</span></div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> <span class="comment">  /// ignores any qualifiers.</span></div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> TypeT></div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span>   <span class="keyword">class </span>TypeToQualType : <span class="keyword">public</span> MatcherInterface<QualType> {</div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span>    <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span>     TypeToQualType(<span class="keyword">const</span> Matcher<TypeT> &InnerMatcher)</div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span>         : InnerMatcher(InnerMatcher) {}</div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> </div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> QualType &Node,</div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span>                          ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>                          BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>       <span class="keywordflow">if</span> (Node.isNull())</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>       <span class="keywordflow">return</span> InnerMatcher.matches(*Node, Finder, Builder);</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span>     }</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>    <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span>     <span class="keyword">const</span> Matcher<TypeT> InnerMatcher;</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span>   };</div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> </div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span> <span class="keyword">private</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span> <span class="comment">  /// \brief Allows conversion from Matcher<Base> to Matcher<T> if T</span></div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> <span class="comment">  /// is derived from Base.</span></div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> Base></div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span>   <span class="keyword">class </span>ImplicitCastMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span>     <span class="keyword">explicit</span> ImplicitCastMatcher(<span class="keyword">const</span> Matcher<Base> &From)</div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span>         : From(From) {}</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="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>                          ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span>                          BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span>       <span class="keywordflow">return</span> From.matches(Node, Finder, Builder);</div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span>     }</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span> </div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>   <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span>     <span class="keyword">const</span> Matcher<Base> From;</div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>   };</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>   IntrusiveRefCntPtr< MatcherInterface<T> > Implementation;</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span> };  <span class="comment">// class Matcher</span></div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span> <span class="comment"></span></div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span> <span class="comment">/// \brief A convenient helper for creating a Matcher<T> without specifying</span></div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span> <span class="comment">/// the template type argument.</span></div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span> <span class="keyword">inline</span> Matcher<T> makeMatcher(MatcherInterface<T> *Implementation) {</div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span>   <span class="keywordflow">return</span> Matcher<T>(Implementation);</div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span> }</div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span> </div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">class </span>BindableMatcher;</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> <span class="comment"></span></div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span> <span class="comment">/// \brief Matcher that works on a \c DynTypedNode.</span></div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span> <span class="comment">/// It is constructed from a \c Matcher<T> object and redirects most calls to</span></div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span> <span class="comment">/// underlying matcher.</span></div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span> <span class="comment">/// It checks whether the \c DynTypedNode is convertible into the type of the</span></div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> <span class="comment">/// underlying matcher and then do the actual match on the actual node, or</span></div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span> <span class="comment">/// return false if it is not convertible.</span></div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span> <span class="comment"></span><span class="keyword">class </span>DynTypedMatcher {</div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span> <span class="comment">  /// \brief Construct from a \c Matcher<T>. Copies the matcher.</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">inline</span> DynTypedMatcher(<span class="keyword">const</span> Matcher<T> &M);</div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span> <span class="comment"></span></div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span> <span class="comment">  /// \brief Construct from a bindable \c Matcher<T>. Copies the matcher.</span></div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> <span class="comment">  /// This version enables \c tryBind() on the \c DynTypedMatcher.</span></div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">inline</span> DynTypedMatcher(<span class="keyword">const</span> BindableMatcher<T> &M);</div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span> <span class="comment"></span></div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span> <span class="comment">  /// \brief Returns true if the matcher matches the given \c DynNode.</span></div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> ast_type_traits::DynTypedNode DynNode,</div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>                ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span>     <span class="keywordflow">return</span> Storage->matches(DynNode, Finder, Builder);</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span>   }</div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span> <span class="comment"></span></div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span> <span class="comment">  /// \brief Bind the specified \p ID to the matcher.</span></div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span> <span class="comment">  /// \return A new matcher with the \p ID bound to it if this matcher supports</span></div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span> <span class="comment">  ///   binding. Otherwise, returns an empty \c Optional<>.</span></div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span> <span class="comment"></span>  <a class="code" href="classllvm_1_1Optional.html">llvm::Optional<DynTypedMatcher></a> tryBind(StringRef ID)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>     <span class="keywordflow">return</span> Storage->tryBind(ID);</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>   }</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span> <span class="comment"></span></div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span> <span class="comment">  /// \brief Returns a unique \p ID for the matcher.</span></div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span> <span class="comment"></span>  uint64_t getID()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Storage->getID(); }</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span> <span class="comment"></span></div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span> <span class="comment">  /// \brief Returns the type this matcher works on.</span></div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span> <span class="comment">  /// \c matches() will always return false unless the node passed is of this</span></div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span> <span class="comment">  /// or a derived type.</span></div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span> <span class="comment"></span>  ast_type_traits::ASTNodeKind getSupportedKind()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>     <span class="keywordflow">return</span> Storage->getSupportedKind();</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>   }</div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span> <span class="comment"></span></div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span> <span class="comment">  /// \brief Returns \c true if the passed \c DynTypedMatcher can be converted</span></div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span> <span class="comment">  ///   to a \c Matcher<T>.</span></div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span> <span class="comment">  /// This method verifies that the underlying matcher in \c Other can process</span></div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span> <span class="comment">  /// nodes of types T.</span></div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keywordtype">bool</span> canConvertTo()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span>     <span class="keywordflow">return</span> getSupportedKind().isBaseOf(</div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span>         ast_type_traits::ASTNodeKind::getFromNodeKind<T>());</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="comment"></span></div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span> <span class="comment">  /// \brief Construct a \c Matcher<T> interface around the dynamic matcher.</span></div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span> <span class="comment">  /// This method asserts that \c canConvertTo() is \c true. Callers</span></div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> <span class="comment">  /// should call \c canConvertTo() first to make sure that \c this is</span></div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span> <span class="comment">  /// compatible with T.</span></div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> Matcher<T> convertTo()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span>     assert(canConvertTo<T>());</div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span>     <span class="keywordflow">return</span> unconditionalConvertTo<T>();</div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span>   }</div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment"></span></div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">  /// \brief Same as \c convertTo(), but does not check that the underlying</span></div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">  ///   matcher can handle a value of T.</span></div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> <span class="comment">  /// If it is not compatible, then this matcher will never match anything.</span></div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> Matcher<T> unconditionalConvertTo()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span>     <span class="keywordflow">return</span> Matcher<T>(<span class="keyword">new</span> WrappedMatcher<T>(*this));</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="keyword">private</span>:</div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span>   <span class="keyword">class </span>MatcherStorage : <span class="keyword">public</span> RefCountedBaseVPTR {</div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span>     MatcherStorage(ast_type_traits::ASTNodeKind SupportedKind, uint64_t ID)</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span>         : SupportedKind(SupportedKind), ID(ID) {}</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span>     <span class="keyword">virtual</span> ~MatcherStorage();</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span> </div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> ast_type_traits::DynTypedNode DynNode,</div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span>                          ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span>                          BoundNodesTreeBuilder *Builder) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span> </div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span>     <span class="keyword">virtual</span> <a class="code" href="classllvm_1_1Optional.html">llvm::Optional<DynTypedMatcher></a> tryBind(StringRef ID) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span> </div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>     ast_type_traits::ASTNodeKind getSupportedKind()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>       <span class="keywordflow">return</span> SupportedKind;</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>     }</div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span> </div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span>     uint64_t getID()<span class="keyword"> const </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="l00404"></a><span class="lineno">  404</span> </div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span>   <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>     <span class="keyword">const</span> ast_type_traits::ASTNodeKind SupportedKind;</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>     <span class="keyword">const</span> uint64_t <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="l00408"></a><span class="lineno">  408</span>   };</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span> <span class="comment"></span></div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="comment">  /// \brief Typed implementation of \c MatcherStorage.</span></div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">class </span>TypedMatcherStorage;</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span> <span class="comment"></span></div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span> <span class="comment">  /// \brief Simple MatcherInterface<T> wrapper around a DynTypedMatcher.</span></div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">class </span>WrappedMatcher;</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span> </div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span>   IntrusiveRefCntPtr<const MatcherStorage> Storage;</div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span> };</div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span> </div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span> <span class="keyword">class </span>DynTypedMatcher::TypedMatcherStorage : <span class="keyword">public</span> MatcherStorage {</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span>   TypedMatcherStorage(<span class="keyword">const</span> Matcher<T> &Other, <span class="keywordtype">bool</span> AllowBind)</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>       : MatcherStorage(ast_type_traits::ASTNodeKind::getFromNodeKind<T>(),</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span>                        Other.getID()),</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>         InnerMatcher(Other), AllowBind(AllowBind) {}</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="keywordtype">bool</span> matches(<span class="keyword">const</span> ast_type_traits::DynTypedNode DynNode,</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>                ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) <span class="keyword">const</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>       LLVM_OVERRIDE {</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> T *Node = DynNode.get<T>()) {</div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span>       <span class="keywordflow">return</span> InnerMatcher.matches(*Node, Finder, Builder);</div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>     }</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>   }</div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span> </div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>   <a class="code" href="classllvm_1_1Optional.html">llvm::Optional<DynTypedMatcher></a> tryBind(StringRef ID) <span class="keyword">const</span> LLVM_OVERRIDE {</div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>     <span class="keywordflow">if</span> (!AllowBind)</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>       <span class="keywordflow">return</span> <a class="code" href="classllvm_1_1Optional.html">llvm::Optional<DynTypedMatcher></a>();</div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>     <span class="keywordflow">return</span> DynTypedMatcher(BindableMatcher<T>(InnerMatcher).bind(ID));</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>   }</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span> </div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>   <span class="keyword">const</span> Matcher<T> InnerMatcher;</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>   <span class="keyword">const</span> <span class="keywordtype">bool</span> AllowBind;</div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span> };</div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span> </div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span> <span class="keyword">inline</span> DynTypedMatcher::DynTypedMatcher(<span class="keyword">const</span> Matcher<T> &M)</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>     : Storage(new TypedMatcherStorage<T>(M, <a class="code" href="stdbool_8h.html#a65e9886d74aaee76545e83dd09011727">false</a>)) {}</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> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="keyword">inline</span> DynTypedMatcher::DynTypedMatcher(<span class="keyword">const</span> BindableMatcher<T> &M)</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>     : Storage(new TypedMatcherStorage<T>(M, <a class="code" href="stdbool_8h.html#a41f9c5fb8b08eb5dc3edce4dcb37fee7">true</a>)) {}</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span> </div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> <span class="keyword">class </span>DynTypedMatcher::WrappedMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>   <span class="keyword">explicit</span> WrappedMatcher(<span class="keyword">const</span> DynTypedMatcher &<a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>) : Inner(Matcher) {}</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>   <span class="keyword">virtual</span> ~WrappedMatcher() {}</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span> </div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span>   <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node, ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>                BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>     <span class="keywordflow">return</span> Inner.matches(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node), Finder,</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>                          Builder);</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> </div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>   <span class="keyword">const</span> DynTypedMatcher Inner;</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span> };</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span> <span class="comment"></span></div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span> <span class="comment">/// \brief Specialization of the conversion functions for QualType.</span></div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span> <span class="comment">/// These specializations provide the Matcher<Type>->Matcher<QualType></span></div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span> <span class="comment">/// conversion that the static API does.</span></div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span> <span class="comment"></span><span class="keyword">template</span> <> <span class="keyword">inline</span> <span class="keywordtype">bool</span> DynTypedMatcher::canConvertTo<QualType>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>   <span class="keyword">const</span> ast_type_traits::ASTNodeKind SourceKind = getSupportedKind();</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>   <span class="keywordflow">return</span> SourceKind.isSame(</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>              ast_type_traits::ASTNodeKind::getFromNodeKind<Type>()) ||</div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span>          SourceKind.isSame(</div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span>              ast_type_traits::ASTNodeKind::getFromNodeKind<QualType>());</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> }</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span> </div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="keyword">template</span> <></div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="keyword">inline</span> Matcher<QualType> DynTypedMatcher::convertTo<QualType>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>   assert(canConvertTo<QualType>());</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>   <span class="keyword">const</span> ast_type_traits::ASTNodeKind SourceKind = getSupportedKind();</div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>   <span class="keywordflow">if</span> (SourceKind.isSame(</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>           ast_type_traits::ASTNodeKind::getFromNodeKind<Type>())) {</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>     <span class="comment">// We support implicit conversion from Matcher<Type> to Matcher<QualType></span></div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>     <span class="keywordflow">return</span> unconditionalConvertTo<Type>();</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>   }</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>   <span class="keywordflow">return</span> unconditionalConvertTo<QualType>();</div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span> }</div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span> <span class="comment"></span></div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="comment">/// \brief Finds the first node in a range that matches the given matcher.</span></div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT, <span class="keyword">typename</span> IteratorT></div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span> <span class="keywordtype">bool</span> matchesFirstInRange(<span class="keyword">const</span> MatcherT &<a class="code" href="ASTMatchFinder_8cpp.html#af9fbb549e65300c565ad3beda8ac2a0c">Matcher</a>, IteratorT Start,</div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>                          IteratorT End, ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>                          BoundNodesTreeBuilder *Builder) {</div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>   <span class="keywordflow">for</span> (IteratorT I = Start; I != End; ++I) {</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>     BoundNodesTreeBuilder Result(*Builder);</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>     <span class="keywordflow">if</span> (Matcher.matches(*I, Finder, &Result)) {</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>       *Builder = Result;</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>     }</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>   }</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span> }</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="comment"></span></div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span> <span class="comment">/// \brief Finds the first node in a pointer range that matches the given</span></div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span> <span class="comment">/// matcher.</span></div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> MatcherT, <span class="keyword">typename</span> IteratorT></div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span> <span class="keywordtype">bool</span> matchesFirstInPointerRange(<span class="keyword">const</span> MatcherT &Matcher, IteratorT Start,</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>                                 IteratorT End, ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>                                 BoundNodesTreeBuilder *Builder) {</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>   <span class="keywordflow">for</span> (IteratorT I = Start; I != End; ++I) {</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>     BoundNodesTreeBuilder Result(*Builder);</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>     <span class="keywordflow">if</span> (Matcher.matches(**I, Finder, &Result)) {</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>       *Builder = Result;</div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>     }</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>   }</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span> }</div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span> <span class="comment"></span></div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="comment">/// \brief Metafunction to determine if type T has a member called getDecl.</span></div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">struct </span>has_getDecl {</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>   <span class="keyword">struct </span>Default { <span class="keywordtype">int</span> getDecl; };</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>   <span class="keyword">struct </span>Derived : T, Default { };</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span> </div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>   <span class="keyword">template</span><<span class="keyword">typename</span> C, C> <span class="keyword">struct </span>CheckT;</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span> </div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>   <span class="comment">// If T::getDecl exists, an ambiguity arises and CheckT will</span></div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span>   <span class="comment">// not be instantiable. This makes f(...) the only available</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>   <span class="comment">// overload.</span></div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>   <span class="keyword">template</span><<span class="keyword">typename</span> C></div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>   <span class="keyword">static</span> char (&f(CheckT<int Default::*, &C::getDecl>*))[1];</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>   <span class="keyword">template</span><<span class="keyword">typename</span> C> <span class="keyword">static</span> char (&f(...))[2];</div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span> </div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>   <span class="keyword">static</span> <span class="keywordtype">bool</span> <span class="keyword">const</span> value = <span class="keyword">sizeof</span>(f<Derived>(0)) == 2;</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span> };</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span> <span class="comment"></span></div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span> <span class="comment">/// \brief Matches overloaded operators with a specific name.</span></div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span> <span class="comment">/// The type argument ArgT is not used by this matcher but is used by</span></div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span> <span class="comment">/// PolymorphicMatcherWithParam1 and should be StringRef.</span></div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> ArgT></div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span> <span class="keyword">class </span>HasOverloadedOperatorNameMatcher : <span class="keyword">public</span> SingleNodeMatcherInterface<T> {</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>   <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((llvm::is_same<T, CXXOperatorCallExpr>::value ||</div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>                           llvm::is_same<T, CXXMethodDecl>::value),</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>                          unsupported_class_for_matcher);</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>   <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((llvm::is_same<ArgT, StringRef>::value),</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>                          argument_type_must_be_StringRef);</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>   <span class="keyword">explicit</span> HasOverloadedOperatorNameMatcher(<span class="keyword">const</span> StringRef Name)</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>       : SingleNodeMatcherInterface<T>(), Name(Name) {}</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span> </div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesNode(<span class="keyword">const</span> T &Node) <span class="keyword">const</span> LLVM_OVERRIDE {</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>     <span class="keywordflow">return</span> matchesSpecialized(Node);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>   }</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span> </div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment"></span></div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span> <span class="comment">  /// \brief CXXOperatorCallExpr exist only for calls to overloaded operators</span></div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment">  /// so this function returns true if the call is to an operator of the given</span></div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span> <span class="comment">  /// name.</span></div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> CXXOperatorCallExpr &Node)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#a2e8986b241d3e3c847eb199713e84d49" title="Retrieve the spelling of the given overloaded operator, without the preceding "operator" keyword...">getOperatorSpelling</a>(Node.getOperator()) == Name;</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>   }</div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span> <span class="comment"></span></div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span> <span class="comment">  /// \brief Returns true only if CXXMethodDecl represents an overloaded</span></div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span> <span class="comment">  /// operator and has the given operator name.</span></div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> CXXMethodDecl &Node)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>     <span class="keywordflow">return</span> Node.isOverloadedOperator() &&</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>            <a class="code" href="namespaceclang.html#a2e8986b241d3e3c847eb199713e84d49" title="Retrieve the spelling of the given overloaded operator, without the preceding "operator" keyword...">getOperatorSpelling</a>(Node.getOverloadedOperator()) == Name;</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>   }</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>   std::string Name;</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> <span class="comment"></span></div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span> <span class="comment">/// \brief Matches declarations for QualType and CallExpr.</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span> <span class="comment">/// Type argument DeclMatcherT is required by PolymorphicMatcherWithParam1 but</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span> <span class="comment">/// not actually used.</span></div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> DeclMatcherT></div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="keyword">class </span>HasDeclarationMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>   <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((llvm::is_same< DeclMatcherT,</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>                                          Matcher<Decl> >::value),</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>                           instantiated_with_wrong_types);</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>   <span class="keyword">explicit</span> HasDeclarationMatcher(<span class="keyword">const</span> Matcher<Decl> &InnerMatcher)</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>       : InnerMatcher(InnerMatcher) {}</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="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>                        ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>                        BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>     <span class="keywordflow">return</span> matchesSpecialized(Node, Finder, Builder);</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>   }</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span> </div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span> <span class="keyword">private</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span> <span class="comment">  /// \brief If getDecl exists as a member of U, returns whether the inner</span></div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span> <span class="comment">  /// matcher matches Node.getDecl().</span></div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span> <span class="comment"></span>  <span class="keyword">template</span> <<span class="keyword">typename</span> U></div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>   <span class="keywordtype">bool</span> matchesSpecialized(</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span>       <span class="keyword">const</span> U &Node, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>       <span class="keyword">typename</span> llvm::enable_if<has_getDecl<U>, <span class="keywordtype">int</span>>::<a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a> = 0)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>     <span class="keywordflow">return</span> matchesDecl(Node.getDecl(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>   }</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span> <span class="comment"></span></div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span> <span class="comment">  /// \brief Extracts the CXXRecordDecl or EnumDecl of a QualType and returns</span></div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span> <span class="comment">  /// whether the inner matcher matches on it.</span></div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> QualType &Node, ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>                           BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{<span class="comment"></span></div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span> <span class="comment">    /// FIXME: Add other ways to convert...</span></div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span> <span class="comment"></span>    <span class="keywordflow">if</span> (Node.isNull())</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>     <span class="keywordflow">if</span> (<span class="keyword">const</span> EnumType *AsEnum = dyn_cast<EnumType>(Node.getTypePtr()))</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>       <span class="keywordflow">return</span> matchesDecl(AsEnum->getDecl(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>     <span class="keywordflow">return</span> matchesDecl(Node->getAsCXXRecordDecl(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>   }</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span> <span class="comment"></span></div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span> <span class="comment">  /// \brief Gets the TemplateDecl from a TemplateSpecializationType</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span> <span class="comment">  /// and returns whether the inner matches on it.</span></div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> TemplateSpecializationType &Node,</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>                           ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>                           BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>     <span class="keywordflow">return</span> matchesDecl(Node.getTemplateName().getAsTemplateDecl(),</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>                        <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>   }</div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span> <span class="comment"></span></div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span> <span class="comment">  /// \brief Extracts the Decl of the callee of a CallExpr and returns whether</span></div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span> <span class="comment">  /// the inner matcher matches on it.</span></div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> CallExpr &Node, ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span>                           BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span>     <span class="keywordflow">return</span> matchesDecl(Node.getCalleeDecl(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>   }</div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="comment"></span></div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="comment">  /// \brief Extracts the Decl of the constructor call and returns whether the</span></div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span> <span class="comment">  /// inner matcher matches on it.</span></div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> CXXConstructExpr &Node,</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>                           ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>                           BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>     <span class="keywordflow">return</span> matchesDecl(Node.getConstructor(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>   }</div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span> <span class="comment"></span></div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span> <span class="comment">  /// \brief Extracts the \c ValueDecl a \c MemberExpr refers to and returns</span></div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span> <span class="comment">  /// whether the inner matcher matches on it.</span></div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesSpecialized(<span class="keyword">const</span> MemberExpr &Node,</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>                           ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>                           BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>     <span class="keywordflow">return</span> matchesDecl(Node.getMemberDecl(), <a class="code" href="ASTMatchFinder_8cpp.html#a6d0e2e8cc804ce67cb164bd1f635cfdc">Finder</a>, <a class="code" href="ASTMatchFinder_8cpp.html#a4cd8cc8f712cd1e4ebf8cb152b8a1531">Builder</a>);</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>   }</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span> <span class="comment"></span></div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span> <span class="comment">  /// \brief Returns whether the inner matcher \c Node. Returns false if \c Node</span></div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span> <span class="comment">  /// is \c NULL.</span></div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span> <span class="comment"></span>  <span class="keywordtype">bool</span> matchesDecl(<span class="keyword">const</span> Decl *Node,</div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span>                    ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>                    BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>     <span class="keywordflow">return</span> Node != <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a> && InnerMatcher.matches(*Node, Finder, Builder);</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="keyword">const</span> Matcher<Decl> InnerMatcher;</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> <span class="comment"></span></div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span> <span class="comment">/// \brief IsBaseType<T>::value is true if T is a "base" type in the AST</span></div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span> <span class="comment">/// node class hierarchies.</span></div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span> <span class="keyword">struct </span>IsBaseType {</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>   <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> value =</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>       (llvm::is_same<T, Decl>::value ||</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>        llvm::is_same<T, Stmt>::value ||</div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span>        llvm::is_same<T, QualType>::value ||</div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>        llvm::is_same<T, Type>::value ||</div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>        llvm::is_same<T, TypeLoc>::value ||</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>        llvm::is_same<T, NestedNameSpecifier>::value ||</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>        llvm::is_same<T, NestedNameSpecifierLoc>::value ||</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>        llvm::is_same<T, CXXCtorInitializer>::value);</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span> };</div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> IsBaseType<T>::value;</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span> <span class="comment"></span></div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span> <span class="comment">/// \brief Interface that allows matchers to traverse the AST.</span></div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span> <span class="comment">/// FIXME: Find a better name.</span></div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span> <span class="comment">/// This provides three entry methods for each base node type in the AST:</span></div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span> <span class="comment">/// - \c matchesChildOf:</span></div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span> <span class="comment">///   Matches a matcher on every child node of the given node. Returns true</span></div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span> <span class="comment">///   if at least one child node could be matched.</span></div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="comment">/// - \c matchesDescendantOf:</span></div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="comment">///   Matches a matcher on all descendant nodes of the given node. Returns true</span></div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span> <span class="comment">///   if at least one descendant matched.</span></div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span> <span class="comment">/// - \c matchesAncestorOf:</span></div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="comment">///   Matches a matcher on all ancestors of the given node. Returns true if</span></div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="comment">///   at least one ancestor matched.</span></div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span> <span class="comment">/// FIXME: Currently we only allow Stmt and Decl nodes to start a traversal.</span></div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span> <span class="comment">/// In the future, we wan to implement this for all nodes for which it makes</span></div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="comment">/// sense. In the case of matchesAncestorOf, we'll want to implement it for</span></div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span> <span class="comment">/// all nodes, as all nodes have ancestors.</span></div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span> <span class="comment"></span><span class="keyword">class </span>ASTMatchFinder {</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span> <span class="comment">  /// \brief Defines how we descend a level in the AST when we pass</span></div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span> <span class="comment">  /// through expressions.</span></div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span> <span class="comment"></span>  <span class="keyword">enum</span> TraversalKind {<span class="comment"></span></div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span> <span class="comment">    /// Will traverse any child nodes.</span></div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span> <span class="comment"></span>    TK_AsIs,<span class="comment"></span></div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span> <span class="comment">    /// Will not traverse implicit casts and parentheses.</span></div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span> <span class="comment"></span>    TK_IgnoreImplicitCastsAndParentheses</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>   };</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span> <span class="comment"></span></div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span> <span class="comment">  /// \brief Defines how bindings are processed on recursive matches.</span></div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span> <span class="comment"></span>  <span class="keyword">enum</span> BindKind {<span class="comment"></span></div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span> <span class="comment">    /// Stop at the first match and only bind the first match.</span></div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="comment"></span>    BK_First,<span class="comment"></span></div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span> <span class="comment">    /// Create results for all combinations of bindings that match.</span></div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span> <span class="comment"></span>    BK_All</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="comment"></span></div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span> <span class="comment">  /// \brief Defines which ancestors are considered for a match.</span></div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span> <span class="comment"></span>  <span class="keyword">enum</span> AncestorMatchMode {<span class="comment"></span></div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span> <span class="comment">    /// All ancestors.</span></div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span> <span class="comment"></span>    AMM_All,<span class="comment"></span></div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span> <span class="comment">    /// Direct parent only.</span></div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span> <span class="comment"></span>    AMM_ParentOnly</div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>   };</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>   <span class="keyword">virtual</span> ~ASTMatchFinder() {}</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span> <span class="comment"></span></div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span> <span class="comment">  /// \brief Returns true if the given class is directly or indirectly derived</span></div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="comment">  /// from a base type matching \c base.</span></div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span> <span class="comment">  /// A class is considered to be also derived from itself.</span></div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span> <span class="comment"></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> classIsDerivedFrom(<span class="keyword">const</span> CXXRecordDecl *Declaration,</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>                                   <span class="keyword">const</span> Matcher<NamedDecl> &<a class="code" href="classclang_1_1Base.html">Base</a>,</div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span>                                   BoundNodesTreeBuilder *Builder) = 0;</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span> </div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>   <span class="keywordtype">bool</span> matchesChildOf(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>                       <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>                       BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>                       TraversalKind Traverse,</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>                       BindKind <a class="code" href="ASTMatchFinder_8cpp.html#a0d6765c892b4337c112e848cdad07341">Bind</a>) {</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>(</div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>         (llvm::is_base_of<Decl, T>::value ||</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>          llvm::is_base_of<Stmt, T>::value ||</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span>          llvm::is_base_of<NestedNameSpecifier, T>::value ||</div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>          llvm::is_base_of<NestedNameSpecifierLoc, T>::value ||</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>          llvm::is_base_of<TypeLoc, T>::value ||</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>          llvm::is_base_of<QualType, T>::value),</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>         unsupported_type_for_recursive_matching);</div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span>    <span class="keywordflow">return</span> matchesChildOf(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node),</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>                           Matcher, Builder, Traverse, Bind);</div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>   }</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span> </div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>   <span class="keywordtype">bool</span> matchesDescendantOf(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span>                            <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span>                            BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>                            BindKind Bind) {</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>(</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span>         (llvm::is_base_of<Decl, T>::value ||</div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span>          llvm::is_base_of<Stmt, T>::value ||</div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span>          llvm::is_base_of<NestedNameSpecifier, T>::value ||</div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>          llvm::is_base_of<NestedNameSpecifierLoc, T>::value ||</div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>          llvm::is_base_of<TypeLoc, T>::value ||</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>          llvm::is_base_of<QualType, T>::value),</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>         unsupported_type_for_recursive_matching);</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>     <span class="keywordflow">return</span> matchesDescendantOf(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node),</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>                                Matcher, Builder, Bind);</div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span>   }</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span> </div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span>   <span class="comment">// FIXME: Implement support for BindKind.</span></div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>   <span class="keywordtype">bool</span> matchesAncestorOf(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span>                          <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span>                          BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span>                          AncestorMatchMode MatchMode) {</div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((llvm::is_base_of<Decl, T>::value ||</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>                             llvm::is_base_of<Stmt, T>::value),</div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>                            only_Decl_or_Stmt_allowed_for_recursive_matching);</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span>     <span class="keywordflow">return</span> matchesAncestorOf(<a class="code" href="classclang_1_1ast__type__traits_1_1DynTypedNode.html#a3b006fa34782d5fd20acb9432acf9318" title="Creates a DynTypedNode from Node.">ast_type_traits::DynTypedNode::create</a>(Node),</div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span>                              Matcher, Builder, MatchMode);</div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span>   }</div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> </div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>   <span class="keyword">virtual</span> ASTContext &getASTContext() <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span> </div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span> <span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesChildOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>                               <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>                               BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span>                               TraversalKind Traverse,</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span>                               BindKind Bind) = 0;</div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span> </div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesDescendantOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span>                                    <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span>                                    BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span>                                    BindKind Bind) = 0;</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>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesAncestorOf(<span class="keyword">const</span> ast_type_traits::DynTypedNode &Node,</div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span>                                  <span class="keyword">const</span> DynTypedMatcher &Matcher,</div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span>                                  BoundNodesTreeBuilder *Builder,</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span>                                  AncestorMatchMode MatchMode) = 0;</div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span> };</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span> <span class="comment"></span></div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span> <span class="comment">/// \brief A type-list implementation.</span></div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span> <span class="comment">/// A list is declared as a tree of type list nodes, where the leafs are the</span></div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span> <span class="comment">/// types.</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span> <span class="comment">/// However, it is used as a "linked list" of types, by using the ::head and</span></div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span> <span class="comment">/// ::tail typedefs.</span></div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span> <span class="comment">/// Each node supports up to 4 children (instead of just 2) to reduce the</span></div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span> <span class="comment">/// nesting required by large lists.</span></div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T1 = void, <span class="keyword">typename</span> T2 = void, <span class="keyword">typename</span> T3 = void,</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>           <span class="keyword">typename</span> T4 = <span class="keywordtype">void</span>></div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span> <span class="keyword">struct </span>TypeList {<span class="comment"></span></div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span> <span class="comment">  /// \brief Implementation detail. Combined with the specializations below,</span></div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span> <span class="comment">  ///   this typedef allows for flattening of nested structures.</span></div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span> <span class="comment"></span>  <span class="keyword">typedef</span> TypeList<T1, T2, T3, T4> <span class="keyword">self</span>;</div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span> <span class="comment"></span></div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span> <span class="comment">  /// \brief The first type on the list.</span></div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span> <span class="comment"></span>  <span class="keyword">typedef</span> T1 head;</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span> <span class="comment"></span></div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span> <span class="comment">  /// \brief A sub list with the tail. ie everything but the head.</span></div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span> <span class="comment">  /// This type is used to do recursion. TypeList<>/EmptyTypeList indicates the</span></div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span> <span class="comment">  /// end of the list.</span></div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span> <span class="comment"></span>  <span class="keyword">typedef</span> <span class="keyword">typename</span> TypeList<T2, T3, T4>::self tail;</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span> };</div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span> <span class="comment"></span></div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span> <span class="comment">/// \brief Template specialization to allow nested lists.</span></div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span> <span class="comment">/// First element is a typelist. Pop its first element.</span></div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> Sub1, <span class="keyword">typename</span> Sub2, <span class="keyword">typename</span> Sub3, <span class="keyword">typename</span> Sub4,</div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span>           <span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4></div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span> <span class="keyword">struct </span>TypeList<TypeList<Sub1, Sub2, Sub3, Sub4>, T2, T3,</div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span>                 T4> : <span class="keyword">public</span> TypeList<Sub1,</div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>                                       typename TypeList<Sub2, Sub3, Sub4>::self,</div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>                                       typename TypeList<T2, T3, T4>::self> {};</div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span> <span class="comment"></span></div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span> <span class="comment">/// \brief Template specialization to allow nested lists.</span></div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span> <span class="comment">/// First element is an empty typelist. Skip it.</span></div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T2, <span class="keyword">typename</span> T3, <span class="keyword">typename</span> T4></div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span> <span class="keyword">struct </span>TypeList<TypeList<>, T2, T3, T4> : <span class="keyword">public</span> TypeList<T2, T3, T4> {</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> <span class="comment"></span></div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span> <span class="comment">/// \brief The empty type list.</span></div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span> <span class="comment"></span><span class="keyword">typedef</span> TypeList<> EmptyTypeList;</div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span> <span class="comment"></span></div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span> <span class="comment">/// \brief Helper meta-function to determine if some type \c T is present or</span></div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span> <span class="comment">///   a parent type in the list.</span></div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> AnyTypeList, <span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span> <span class="keyword">struct </span>TypeListContainsSuperOf {</div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span>   <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> value =</div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span>       llvm::is_base_of<typename AnyTypeList::head, T>::value ||</div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span>       TypeListContainsSuperOf<typename AnyTypeList::tail, T>::value;</div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span> };</div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span> <span class="keyword">struct </span>TypeListContainsSuperOf<EmptyTypeList, T> {</div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span>   <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">bool</span> value = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span> };</div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span> <span class="comment"></span></div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span> <span class="comment">/// \brief A "type list" that contains all types.</span></div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span> <span class="comment">/// Useful for matchers like \c anything and \c unless.</span></div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span> <span class="comment"></span><span class="keyword">typedef</span> TypeList<</div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span>     TypeList<Decl, Stmt, NestedNameSpecifier, NestedNameSpecifierLoc>,</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>     TypeList<QualType, Type, TypeLoc, CXXCtorInitializer> > AllNodeBaseTypes;</div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span> <span class="comment"></span></div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span> <span class="comment">/// \brief Helper meta-function to extract the argument out of a function of</span></div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span> <span class="comment">///   type void(Arg).</span></div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span> <span class="comment">/// See AST_POLYMORPHIC_SUPPORTED_TYPES_* for details.</span></div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">class</span> T> <span class="keyword">struct </span>ExtractFunctionArgMeta;</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span> <span class="keyword">template</span> <<span class="keyword">class</span> T> <span class="keyword">struct </span>ExtractFunctionArgMeta<void(T)> {</div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>   <span class="keyword">typedef</span> T <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">type</a>;</div>
+<div class="line"><a name="l00877"></a><span class="lineno">  877</span> };</div>
+<div class="line"><a name="l00878"></a><span class="lineno">  878</span> <span class="comment"></span></div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span> <span class="comment">/// \brief Default type lists for ArgumentAdaptingMatcher matchers.</span></div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span> <span class="comment"></span><span class="keyword">typedef</span> AllNodeBaseTypes AdaptativeDefaultFromTypes;</div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span> <span class="keyword">typedef</span> TypeList<TypeList<Decl, Stmt, NestedNameSpecifier>,</div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span>                  TypeList<NestedNameSpecifierLoc, TypeLoc, QualType> ></div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span> AdaptativeDefaultToTypes;</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 All types that are supported by HasDeclarationMatcher above.</span></div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span> <span class="comment"></span><span class="keyword">typedef</span> TypeList<TypeList<CallExpr, CXXConstructExpr, DeclRefExpr, EnumType>,</div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span>                  TypeList<InjectedClassNameType, LabelStmt, MemberExpr>,</div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span>                  TypeList<QualType, RecordType, TagType>,</div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span>                  TypeList<TemplateSpecializationType, TemplateTypeParmType,</div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span>                           TypedefType, UnresolvedUsingType> ></div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span> HasDeclarationSupportedTypes;</div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span> <span class="comment"></span></div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span> <span class="comment">/// \brief Converts a \c Matcher<T> to a matcher of desired type \c To by</span></div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span> <span class="comment">/// "adapting" a \c To into a \c T.</span></div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span> <span class="comment">/// The \c ArgumentAdapterT argument specifies how the adaptation is done.</span></div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span> <span class="comment">/// For example:</span></div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span> <span class="comment">///   \c ArgumentAdaptingMatcher<HasMatcher, T>(InnerMatcher);</span></div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span> <span class="comment">/// Given that \c InnerMatcher is of type \c Matcher<T>, this returns a matcher</span></div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span> <span class="comment">/// that is convertible into any matcher of type \c To by constructing</span></div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span> <span class="comment">/// \c HasMatcher<To, T>(InnerMatcher).</span></div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span> <span class="comment">/// If a matcher does not need knowledge about the inner type, prefer to use</span></div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span> <span class="comment">/// PolymorphicMatcherWithParam1.</span></div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span> ToArg, <span class="keyword">typename</span> FromArg> <span class="keyword">class </span>ArgumentAdapterT,</div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span>           <span class="keyword">typename</span> FromTypes = AdaptativeDefaultFromTypes,</div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span>           <span class="keyword">typename</span> ToTypes = AdaptativeDefaultToTypes></div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span> <span class="keyword">struct </span>ArgumentAdaptingMatcherFunc {</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">class </span>Adaptor {</div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>   <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span>     <span class="keyword">explicit</span> Adaptor(<span class="keyword">const</span> Matcher<T> &InnerMatcher)</div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span>         : InnerMatcher(InnerMatcher) {}</div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span> </div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>     <span class="keyword">typedef</span> ToTypes ReturnTypes;</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>     <span class="keyword">template</span> <<span class="keyword">typename</span> To> <span class="keyword">operator</span> Matcher<To>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span>       <span class="keywordflow">return</span> Matcher<To>(<span class="keyword">new</span> ArgumentAdapterT<To, T>(InnerMatcher));</div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>     }</div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span> </div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span>   <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>     <span class="keyword">const</span> Matcher<T> InnerMatcher;</div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>   };</div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span> </div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span>   <span class="keyword">static</span> Adaptor<T> <a class="code" href="namespaceclang_1_1serialized__diags.html#a36bc44b1b04b3c0c421e02761c2d0282" title="Returns a DiagnosticConsumer that serializes diagnostics to a bitcode file.">create</a>(<span class="keyword">const</span> Matcher<T> &InnerMatcher) {</div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span>     <span class="keywordflow">return</span> Adaptor<T>(InnerMatcher);</div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>   }</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span> </div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span>   Adaptor<T> operator()(<span class="keyword">const</span> Matcher<T> &InnerMatcher)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span>     <span class="keywordflow">return</span> <a class="code" href="namespaceclang_1_1serialized__diags.html#a36bc44b1b04b3c0c421e02761c2d0282" title="Returns a DiagnosticConsumer that serializes diagnostics to a bitcode file.">create</a>(InnerMatcher);</div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>   }</div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span> };</div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span> <span class="comment"></span></div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span> <span class="comment">/// \brief A PolymorphicMatcherWithParamN<MatcherT, P1, ..., PN> object can be</span></div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span> <span class="comment">/// created from N parameters p1, ..., pN (of type P1, ..., PN) and</span></div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span> <span class="comment">/// used as a Matcher<T> where a MatcherT<T, P1, ..., PN>(p1, ..., pN)</span></div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span> <span class="comment">/// can be constructed.</span></div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span> <span class="comment">/// For example:</span></div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span> <span class="comment">/// - PolymorphicMatcherWithParam0<IsDefinitionMatcher>()</span></div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span> <span class="comment">///   creates an object that can be used as a Matcher<T> for any type T</span></div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span> <span class="comment">///   where an IsDefinitionMatcher<T>() can be constructed.</span></div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span> <span class="comment">/// - PolymorphicMatcherWithParam1<ValueEqualsMatcher, int>(42)</span></div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span> <span class="comment">///   creates an object that can be used as a Matcher<T> for any type T</span></div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span> <span class="comment">///   where a ValueEqualsMatcher<T, int>(42) can be constructed.</span></div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span> T> <span class="keyword">class </span>MatcherT,</div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span>           <span class="keyword">typename</span> ReturnTypesF = void(AllNodeBaseTypes)></div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span> <span class="keyword">class </span>PolymorphicMatcherWithParam0 {</div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">ExtractFunctionArgMeta<ReturnTypesF>::type</a> ReturnTypes;</div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>   <span class="keyword">operator</span> Matcher<T>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((TypeListContainsSuperOf<ReturnTypes, T>::value),</div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span>                            right_polymorphic_conversion);</div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>     <span class="keywordflow">return</span> Matcher<T>(<span class="keyword">new</span> MatcherT<T>());</div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</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> </div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span> <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> P1> <span class="keyword">class </span>MatcherT,</div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span>           <span class="keyword">typename</span> P1,</div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span>           <span class="keyword">typename</span> ReturnTypesF = void(AllNodeBaseTypes)></div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span> <span class="keyword">class </span>PolymorphicMatcherWithParam1 {</div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span>   <span class="keyword">explicit</span> PolymorphicMatcherWithParam1(<span class="keyword">const</span> P1 &Param1)</div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span>       : Param1(Param1) {}</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span> </div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">ExtractFunctionArgMeta<ReturnTypesF>::type</a> ReturnTypes;</div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span> </div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span>   <span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span>   <span class="keyword">operator</span> Matcher<T>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((TypeListContainsSuperOf<ReturnTypes, T>::value),</div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span>                            right_polymorphic_conversion);</div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span>     <span class="keywordflow">return</span> Matcher<T>(<span class="keyword">new</span> MatcherT<T, P1>(Param1));</div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span>   }</div>
+<div class="line"><a name="l00977"></a><span class="lineno">  977</span> </div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span>   <span class="keyword">const</span> P1 Param1;</div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span> };</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> <span class="keyword">template</span> <<span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2> <span class="keyword">class </span>MatcherT,</div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span>           <span class="keyword">typename</span> P1, <span class="keyword">typename</span> P2,</div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span>           <span class="keyword">typename</span> ReturnTypesF = void(AllNodeBaseTypes)></div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span> <span class="keyword">class </span>PolymorphicMatcherWithParam2 {</div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span>   PolymorphicMatcherWithParam2(<span class="keyword">const</span> P1 &Param1, <span class="keyword">const</span> P2 &Param2)</div>
+<div class="line"><a name="l00988"></a><span class="lineno">  988</span>       : Param1(Param1), Param2(Param2) {}</div>
+<div class="line"><a name="l00989"></a><span class="lineno">  989</span> </div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span>   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="namespaceclang_1_1ast__matchers.html#a82efb51f28681d561f9ce42fecf09d4b" title="Matches Types in the clang AST.">ExtractFunctionArgMeta<ReturnTypesF>::type</a> ReturnTypes;</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="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span>   <span class="keyword">operator</span> Matcher<T>() <span class="keyword">const</span> {</div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span>     <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>((TypeListContainsSuperOf<ReturnTypes, T>::value),</div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>                            right_polymorphic_conversion);</div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>     <span class="keywordflow">return</span> Matcher<T>(<span class="keyword">new</span> MatcherT<T, P1, P2>(Param1, Param2));</div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span>   }</div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span> </div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>   <span class="keyword">const</span> P1 Param1;</div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>   <span class="keyword">const</span> P2 Param2;</div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> };</div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> <span class="comment"></span></div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> <span class="comment">/// \brief Matches any instance of the given NodeType.</span></div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> <span class="comment">/// This is useful when a matcher syntactically requires a child matcher,</span></div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> <span class="comment">/// but the context doesn't care. See for example: anything().</span></div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <span class="comment">/// FIXME: Alternatively we could also create a IsAMatcher or something</span></div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="comment">/// that checks that a dyn_cast is possible. This is purely needed for the</span></div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span> <span class="comment">/// difference between calling for example:</span></div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span> <span class="comment">///   record()</span></div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> <span class="comment">/// and</span></div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> <span class="comment">///   record(SomeMatcher)</span></div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span> <span class="comment">/// In the second case we need the correct type we were dyn_cast'ed to in order</span></div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span> <span class="comment">/// to get the right type for the inner matcher. In the first case we don't need</span></div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span> <span class="comment">/// that, but we use the type conversion anyway and insert a TrueMatcher.</span></div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span> <span class="keyword">class </span>TrueMatcher : <span class="keyword">public</span> SingleNodeMatcherInterface<T>  {</div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matchesNode(<span class="keyword">const</span> T &Node)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>     <span class="keywordflow">return</span> <span class="keyword">true</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> };</div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> <span class="comment"></span></div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> <span class="comment">/// \brief Matcher<T> that wraps an inner Matcher<T> and binds the matched node</span></div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span> <span class="comment">/// to an ID if the inner matcher matches on the node.</span></div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> <span class="keyword">class </span>IdMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> <span class="comment">  /// \brief Creates an IdMatcher that binds to 'ID' if 'InnerMatcher' matches</span></div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> <span class="comment">  /// the node.</span></div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> <span class="comment"></span>  IdMatcher(StringRef ID, <span class="keyword">const</span> Matcher<T> &InnerMatcher)</div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>       : ID(ID), InnerMatcher(InnerMatcher) {}</div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span> </div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>                        ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>                        BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>     <span class="keywordtype">bool</span> Result = InnerMatcher.matches(Node, Finder, Builder);</div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>     <span class="keywordflow">if</span> (Result) {</div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>       Builder->setBinding(ID, &Node);</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> Result;</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"> 1046</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>   <span class="keyword">const</span> std::string <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="l01048"></a><span class="lineno"> 1048</span>   <span class="keyword">const</span> Matcher<T> InnerMatcher;</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="comment"></span></div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> <span class="comment">/// \brief A Matcher that allows binding the node it matches to an id.</span></div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span> <span class="comment">/// BindableMatcher provides a \a bind() method that allows binding the</span></div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span> <span class="comment">/// matched node to an id if the match was successful.</span></div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T></div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> <span class="keyword">class </span>BindableMatcher : <span class="keyword">public</span> Matcher<T> {</div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>   <span class="keyword">explicit</span> BindableMatcher(<span class="keyword">const</span> Matcher<T> &M) : Matcher<T>(M) {}</div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>   <span class="keyword">explicit</span> BindableMatcher(MatcherInterface<T> *Implementation)</div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>     : Matcher<T>(Implementation) {}</div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span> <span class="comment"></span></div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span> <span class="comment">  /// \brief Returns a matcher that will bind the matched node on a match.</span></div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> <span class="comment">  ///</span></div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="comment">  /// The returned matcher is equivalent to this matcher, but will</span></div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <span class="comment">  /// bind the matched node on a match.</span></div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> <span class="comment"></span>  Matcher<T> bind(StringRef ID)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>     <span class="keywordflow">return</span> Matcher<T>(<span class="keyword">new</span> IdMatcher<T>(<a class="code" href="namespaceclang_1_1LangAS.html#a78ee38b55acb7cc806cb61e6d2a9f960" title="Defines the set of possible language-specific address spaces.">ID</a>, *<span class="keyword">this</span>));</div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>   }</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"></span></div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> <span class="comment">/// \brief Matches nodes of type T that have child nodes of type ChildT for</span></div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <span class="comment">/// which a specified child matcher matches.</span></div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> <span class="comment">/// ChildT must be an AST base type.</span></div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> ChildT></div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> <span class="keyword">class </span>HasMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>   <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>(IsBaseType<ChildT>::value,</div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>                          has_only_accepts_base_type_matcher);</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>   <span class="keyword">explicit</span> HasMatcher(<span class="keyword">const</span> Matcher<ChildT> &ChildMatcher)</div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>       : ChildMatcher(ChildMatcher) {}</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="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>                        ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>                        BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>     <span class="keywordflow">return</span> Finder->matchesChildOf(</div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>         Node, ChildMatcher, Builder,</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>         ASTMatchFinder::TK_IgnoreImplicitCastsAndParentheses,</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>         ASTMatchFinder::BK_First);</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>   }</div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> </div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>  <span class="keyword">private</span>:</div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>   <span class="keyword">const</span> Matcher<ChildT> ChildMatcher;</div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> };</div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> <span class="comment"></span></div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> <span class="comment">/// \brief Matches nodes of type T that have child nodes of type ChildT for</span></div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="comment">/// which a specified child matcher matches. ChildT must be an AST base</span></div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span> <span class="comment">/// type.</span></div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span> <span class="comment">/// As opposed to the HasMatcher, the ForEachMatcher will produce a match</span></div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> <span class="comment">/// for each child that matches.</span></div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> ChildT></div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> <span class="keyword">class </span>ForEachMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>   <a class="code" href="ASTMatchersInternal_8h.html#a5b86b371f8ad54bc51e13f78daae7ec5">TOOLING_COMPILE_ASSERT</a>(IsBaseType<ChildT>::value,</div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>                          for_each_only_accepts_base_type_matcher);</div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>  <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>   <span class="keyword">explicit</span> ForEachMatcher(<span class="keyword">const</span> Matcher<ChildT> &ChildMatcher)</div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>       : ChildMatcher(ChildMatcher) {}</div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> </div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T& Node,</div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>                        ASTMatchFinder* Finder,</div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>                        BoundNodesTreeBuilder* Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>     <span class="keywordflow">return</span> Finder->matchesChildOf(</div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>       Node, ChildMatcher, Builder,</div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>       ASTMatchFinder::TK_IgnoreImplicitCastsAndParentheses,</div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>       ASTMatchFinder::BK_All);</div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>   }</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> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>   <span class="keyword">const</span> Matcher<ChildT> ChildMatcher;</div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> };</div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> <span class="comment"></span></div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> <span class="comment">/// \brief Matches nodes of type T if the given Matcher<T> does not match.</span></div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span> <span class="comment">/// Type argument MatcherT is required by PolymorphicMatcherWithParam1</span></div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> <span class="comment">/// but not actually used. It will always be instantiated with a type</span></div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> <span class="comment">/// convertible to Matcher<T>.</span></div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span> <span class="comment"></span><span class="keyword">template</span> <<span class="keyword">typename</span> T, <span class="keyword">typename</span> MatcherT></div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> <span class="keyword">class </span>NotMatcher : <span class="keyword">public</span> MatcherInterface<T> {</div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>   <span class="keyword">explicit</span> NotMatcher(<span class="keyword">const</span> Matcher<T> &InnerMatcher)</div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>       : InnerMatcher(InnerMatcher) {}</div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span> </div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> matches(<span class="keyword">const</span> T &Node,</div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>                        ASTMatchFinder *Finder,</div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>                        BoundNodesTreeBuilder *Builder)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>     <span class="comment">// The 'unless' matcher will always discard the result:</span></div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>     <span class="comment">// If the inner matcher doesn't match, unless returns true,</span></div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>     <span class="comment">// but the inner matcher cannot have bound anything.</span></div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>     <span class="comment">// If the inner matcher matches, the result is false, and</span></div>
+<div class="line"><a name="l01140"></a>&l