[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/ParseCXXInlineMethods_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,1180 @@
+<!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: ParseCXXInlineMethods.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_58f62bc003e869f0dc8400deafe0ffa1.html">Parse</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ParseCXXInlineMethods.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ParseCXXInlineMethods_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">//===--- ParseCXXInlineMethods.cpp - C++ class inline methods parsing------===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">//                     The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span> <span class="comment">//  This file implements parsing for C++ class inline methods.</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="Parse_2Parser_8h.html">clang/Parse/Parser.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor">#include "<a class="code" href="RAIIObjectsForParser_8h.html">RAIIObjectsForParser.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</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="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="ParseDiagnostic_8h.html">clang/Parse/ParseDiagnostic.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span> <span class="preprocessor">#include "<a class="code" href="DeclSpec_8h.html" title="This file defines the classes used to store parsed information about declaration-specifiers and decla...">clang/Sema/DeclSpec.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="Scope_8h.html">clang/Sema/Scope.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="comment"></span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment">/// Get the FunctionDecl for a function or function template decl.</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0">   23</a></span> <span class="comment"></span><span class="keyword">static</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *<a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(<a class="code" href="classclang_1_1Decl.html">Decl</a> *D) {</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *fn = dyn_cast<FunctionDecl>(D))</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>     <span class="keywordflow">return</span> fn;</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>   <span class="keywordflow">return</span> cast<FunctionTemplateDecl>(D)->getTemplatedDecl();</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> <span class="comment"></span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">/// ParseCXXInlineMethodDef - We parsed and verified that the specified</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">/// Declarator is a well formed C++ inline method definition. Now lex its body</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">/// and store its tokens for parsing after the C++ class is complete.</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="comment"></span><a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *Parser::ParseCXXInlineMethodDef(<a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> AS,</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>                                       <a class="code" href="classclang_1_1AttributeList.html">AttributeList</a> *AccessAttrs,</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>                                       <a class="code" href="classclang_1_1ParsingDeclarator.html" title="A class for parsing a declarator.">ParsingDeclarator</a> &D,</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>                                       <span class="keyword">const</span> ParsedTemplateInfo &TemplateInfo,</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>                                       <span class="keyword">const</span> <a class="code" href="classclang_1_1VirtSpecifiers.html" title="Represents a C++11 virt-specifier-seq.">VirtSpecifiers</a>& VS, </div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>                                       <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529" title="Described the kind of function definition (if any) provided for a function.">FunctionDefinitionKind</a> DefinitionKind,</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>                                       <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a>& Init) {</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>   assert(D.<a class="code" href="classclang_1_1Declarator.html#ac884bb945b77ea6b605e9c7c5fd66bad">isFunctionDeclarator</a>() && <span class="stringliteral">"This isn't a function declarator!"</span>);</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>   assert((Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_try) ||</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>           Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal)) &&</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>          <span class="stringliteral">"Current token not a '{', ':', '=', or 'try'!"</span>);</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> </div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>   <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a> TemplateParams(</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>           TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data() : 0,</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>           TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0);</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>   <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *FnD;</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>   D.<a class="code" href="classclang_1_1Declarator.html#aa9790f94a9fc864c2b290051e7b744f5">setFunctionDefinitionKind</a>(DefinitionKind);</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>   <span class="keywordflow">if</span> (D.<a class="code" href="classclang_1_1ParsingDeclarator.html#ae182978b90b1483b3aab0a8bc29abef9">getDeclSpec</a>().<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>())</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>     FnD = Actions.<a class="code" href="classclang_1_1Sema.html#a44057a31aa069f106a6f753a886f4827">ActOnFriendFunctionDecl</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), D,</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>                                           TemplateParams);</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>   <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>     FnD = Actions.<a class="code" href="classclang_1_1Sema.html#a2b1278f1ae5dcf301b484e4d449f5764">ActOnCXXMemberDeclarator</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), AS, D,</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>                                            TemplateParams, 0,</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>                                            VS, <a class="code" href="namespaceclang.html#a38631de947cb87dc51f30d539410a786aa7e7fcec7cfb08e0975e5fc01e88fb44" title="No in-class initializer.">ICIS_NoInit</a>);</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>     <span class="keywordflow">if</span> (FnD) {</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>       Actions.<a class="code" href="classclang_1_1Sema.html#a0137a778257770a25d9c89cadef1d4ec">ProcessDeclAttributeList</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), FnD, AccessAttrs);</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>       <span class="keywordtype">bool</span> TypeSpecContainsAuto = D.<a class="code" href="classclang_1_1ParsingDeclarator.html#ae182978b90b1483b3aab0a8bc29abef9">getDeclSpec</a>().<a class="code" href="classclang_1_1DeclSpec.html#aa2996643d905c762a7213b51e959053a">containsPlaceholderType</a>();</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>       <span class="keywordflow">if</span> (Init.<a class="code" href="classclang_1_1ActionResult.html#ae70d0a2fa83269f71f1634cb9e0dc3d6">isUsable</a>())</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>         Actions.<a class="code" href="classclang_1_1Sema.html#ac99888690fb1c9ed515c86f4ae7317ef">AddInitializerToDecl</a>(FnD, Init.<a class="code" href="classclang_1_1ActionResult.html#a75d6bbdafaa638e85809e113629401ca">get</a>(), <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>                                      TypeSpecContainsAuto);</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>         Actions.<a class="code" href="classclang_1_1Sema.html#add61cfea97e40eaf2605ed6e3caf253b">ActOnUninitializedDecl</a>(FnD, TypeSpecContainsAuto);</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>     }</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>   }</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> </div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>   HandleMemberFunctionDeclDelays(D, FnD);</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> </div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>   D.<a class="code" href="classclang_1_1ParsingDeclarator.html#afcce9326f656018b9420b2de274f4ea9">complete</a>(FnD);</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span> </div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal)) {</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</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="keywordflow">if</span> (!FnD) {</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>       <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>     }</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> </div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>     <span class="keywordtype">bool</span> Delete = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</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> KWLoc;</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_delete)) {</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a> ?</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>            diag::warn_cxx98_compat_deleted_function :</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>            diag::ext_deleted_function);</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>       KWLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>       Actions.<a class="code" href="classclang_1_1Sema.html#ae9d67e740b2b281413365a4f2c53a1a7">SetDeclDeleted</a>(FnD, KWLoc);</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>       Delete = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_default)) {</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a> ?</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>            diag::warn_cxx98_compat_defaulted_function :</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>            diag::ext_defaulted_function);</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>       KWLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>       Actions.<a class="code" href="classclang_1_1Sema.html#a5b651de6828d6ded991c1399dcba7967">SetDeclDefaulted</a>(FnD, KWLoc);</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>       llvm_unreachable(<span class="stringliteral">"function definition after = not 'delete' or 'default'"</span>);</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>     }</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> </div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::comma)) {</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(KWLoc, diag::err_default_delete_in_multiple_declaration)</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>         << Delete;</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>       ExpectAndConsume(tok::semi, diag::err_expected_semi_after,</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>                        Delete ? <span class="stringliteral">"delete"</span> : <span class="stringliteral">"default"</span>, tok::semi);</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> </div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>     <span class="keywordflow">return</span> FnD;</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>   </div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>   <span class="comment">// In delayed template parsing mode, if we are within a class template</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>   <span class="comment">// or if we are about to parse function member template then consume</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>   <span class="comment">// the tokens and store them for parsing at the end of the translation unit.</span></div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().DelayedTemplateParsing &&</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>       DefinitionKind == <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529a32b500e01ce6b89bd9c5da6362caa144">FDK_Definition</a> &&</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>       !D.<a class="code" href="classclang_1_1ParsingDeclarator.html#ae182978b90b1483b3aab0a8bc29abef9">getDeclSpec</a>().<a class="code" href="classclang_1_1DeclSpec.html#af31541afc7e8463cae0a1afe9946f1cf">isConstexprSpecified</a>() && </div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>       !(FnD && <a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(FnD) && </div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>           <a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(FnD)-><a class="code" href="classclang_1_1FunctionDecl.html#a2a4fd00240b9b7552c4d2fbc90c71528">getResultType</a>()-><a class="code" href="classclang_1_1Type.html#a1cb680b9778b1825cf585afaf82bc1b8" title="Get the AutoType whose type will be deduced for a variable with an initializer of this type...">getContainedAutoType</a>()) &&</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>       ((Actions.<a class="code" href="classclang_1_1Sema.html#a915a017e1ec7e24452d90bebe226c8cc" title="CurContext - This is the current declaration context of parsing.">CurContext</a>-><a class="code" href="classclang_1_1DeclContext.html#a0d06ccd1db1b1f60e91d95d50aeae75d" title="Determines whether this context is dependent on a template parameter.">isDependentContext</a>() ||</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>         (TemplateInfo.Kind != ParsedTemplateInfo::NonTemplate &&</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>          TemplateInfo.Kind != ParsedTemplateInfo::ExplicitSpecialization)) &&</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>        !Actions.<a class="code" href="classclang_1_1Sema.html#a33ee674e574c1a49262dbb334814e123">IsInsideALocalClassWithinATemplateFunction</a>())) {</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> </div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>     <a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> Toks;</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>     LexTemplateFunctionForLateParsing(Toks);</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>     <span class="keywordflow">if</span> (FnD) {</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>       <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = <a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(FnD);</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>       Actions.<a class="code" href="classclang_1_1Sema.html#af779ca9099e73d0b8f8ab8f22bf3bc25">CheckForFunctionRedefinition</a>(FD);</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>       Actions.<a class="code" href="classclang_1_1Sema.html#a4dc0d21e1d9800cd49b641ab8654edbc">MarkAsLateParsedTemplate</a>(FD, FnD, Toks);</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>     }</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> FnD;</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">// Consume the tokens and store them for later parsing.</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> </div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>   LexedMethod* LM = <span class="keyword">new</span> LexedMethod(<span class="keyword">this</span>, FnD);</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>   getCurrentClass().LateParsedDeclarations.push_back(LM);</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>   LM->TemplateScope = <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()-><a class="code" href="classclang_1_1Scope.html#addcf7c6c2b6b49e4c5d25fce5ca94643">isTemplateParamScope</a>();</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>   <a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks = LM->Toks;</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>   <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> <a class="code" href="namespaceclang_1_1diag.html#ab2f7277bc45b970f4b9631e0617ff02c" title="All of the diagnostics that can be emitted by the frontend.">kind</a> = Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>();</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>   <span class="comment">// Consume everything up to (and including) the left brace of the</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>   <span class="comment">// function body.</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>   <span class="keywordflow">if</span> (ConsumeAndStoreFunctionPrologue(Toks)) {</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>     <span class="comment">// We didn't find the left-brace we expected after the</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>     <span class="comment">// constructor initializer; we already printed an error, and it's likely</span></div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>     <span class="comment">// impossible to recover, so don't try to parse this method later.</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>     <span class="comment">// Skip over the rest of the decl and back to somewhere that looks</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>     <span class="comment">// reasonable.</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>     <a class="code" href="classclang_1_1Parser.html#a913cb672eb4fc888a372e25da65d4957">SkipMalformedDecl</a>();</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>     <span class="keyword">delete</span> getCurrentClass().LateParsedDeclarations.back();</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>     getCurrentClass().LateParsedDeclarations.pop_back();</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>     <span class="keywordflow">return</span> FnD;</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>     <span class="comment">// Consume everything up to (and including) the matching right brace.</span></div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>     ConsumeAndStoreUntil(tok::r_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</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> </div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>   <span class="comment">// If we're in a function-try-block, we need to store all the catch blocks.</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>   <span class="keywordflow">if</span> (kind == tok::kw_try) {</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>     <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_catch)) {</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>       ConsumeAndStoreUntil(tok::l_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>       ConsumeAndStoreUntil(tok::r_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>     }</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>   }</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>   <span class="keywordflow">if</span> (FnD) {</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>     <span class="comment">// If this is a friend function, mark that it's late-parsed so that</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>     <span class="comment">// it's still known to be a definition even before we attach the</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>     <span class="comment">// parsed body.  Sema needs to treat friend function definitions</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>     <span class="comment">// differently during template instantiation, and it's possible for</span></div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>     <span class="comment">// the containing class to be instantiated before all its member</span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>     <span class="comment">// function definitions are parsed.</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>     <span class="comment">// If you remove this, you can remove the code that clears the flag</span></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>     <span class="comment">// after parsing the member.</span></div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>     <span class="keywordflow">if</span> (D.<a class="code" href="classclang_1_1ParsingDeclarator.html#ae182978b90b1483b3aab0a8bc29abef9">getDeclSpec</a>().<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>()) {</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>       <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = <a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(FnD);</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>       Actions.<a class="code" href="classclang_1_1Sema.html#af779ca9099e73d0b8f8ab8f22bf3bc25">CheckForFunctionRedefinition</a>(FD);</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span>       FD-><a class="code" href="classclang_1_1FunctionDecl.html#a9e14c27ad62339efff542052c432f862">setLateTemplateParsed</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>     }</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>     <span class="comment">// If semantic analysis could not build a function declaration,</span></div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>     <span class="comment">// just throw away the late-parsed declaration.</span></div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>     <span class="keyword">delete</span> getCurrentClass().LateParsedDeclarations.back();</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span>     getCurrentClass().LateParsedDeclarations.pop_back();</div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span>   }</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> </div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>   <span class="keywordflow">return</span> FnD;</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> }</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment"></span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment">/// ParseCXXNonStaticMemberInitializer - We parsed and verified that the</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span> <span class="comment">/// specified Declarator is a well formed C++ non-static data member</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> <span class="comment">/// declaration. Now lex its initializer and store its tokens for parsing</span></div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> <span class="comment">/// after the class is complete.</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseCXXNonStaticMemberInitializer(<a class="code" href="classclang_1_1Decl.html">Decl</a> *VarD) {</div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>   assert((Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal)) &&</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>          <span class="stringliteral">"Current token not a '{' or '='!"</span>);</div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> </div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>   LateParsedMemberInitializer *MI =</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>     <span class="keyword">new</span> LateParsedMemberInitializer(<span class="keyword">this</span>, VarD);</div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>   getCurrentClass().LateParsedDeclarations.push_back(MI);</div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>   <a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks = MI->Toks;</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>   <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> kind = Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>();</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span>   <span class="keywordflow">if</span> (kind == tok::equal) {</div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span>     Toks.push_back(Tok);</div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>   }</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> </div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span>   <span class="keywordflow">if</span> (kind == tok::l_brace) {</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span>     <span class="comment">// Begin by storing the '{' token.</span></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span>     Toks.push_back(Tok);</div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span>     ConsumeBrace();</div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> </div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>     <span class="comment">// Consume everything up to (and including) the matching right brace.</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>     ConsumeAndStoreUntil(tok::r_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span>     <span class="comment">// Consume everything up to (but excluding) the comma or semicolon.</span></div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span>     ConsumeAndStoreInitializer(Toks, CIK_DefaultInitializer);</div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span>   }</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> </div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span>   <span class="comment">// Store an artificial EOF token to ensure that we don't run off the end of</span></div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span>   <span class="comment">// the initializer when we come to parse it.</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span>   <a class="code" href="classclang_1_1Token.html">Token</a> Eof;</div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span>   Eof.<a class="code" href="classclang_1_1Token.html#ae1e49685acde6208c1c83f38540832c1" title="Reset all flags to cleared.">startToken</a>();</div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span>   Eof.<a class="code" href="classclang_1_1Token.html#a44b757baba649ad00b79f78671a8a2aa">setKind</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>);</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span>   Eof.<a class="code" href="classclang_1_1Token.html#ab52b4059e1b2e648c78b7c326190d2ce">setLocation</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>());</div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>   Toks.push_back(Eof);</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> </div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> Parser::LateParsedDeclaration::~LateParsedDeclaration() {}</div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> <span class="keywordtype">void</span> Parser::LateParsedDeclaration::ParseLexedMethodDeclarations() {}</div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span> <span class="keywordtype">void</span> Parser::LateParsedDeclaration::ParseLexedMemberInitializers() {}</div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span> <span class="keywordtype">void</span> Parser::LateParsedDeclaration::ParseLexedMethodDefs() {}</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> Parser::LateParsedClass::LateParsedClass(<a class="code" href="classclang_1_1Parser.html">Parser</a> *<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>, ParsingClass *C)</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span>   : Self(P), Class(C) {}</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> </div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> Parser::LateParsedClass::~LateParsedClass() {</div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>   Self->DeallocateParsedClasses(Class);</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span> }</div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span> </div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> <span class="keywordtype">void</span> Parser::LateParsedClass::ParseLexedMethodDeclarations() {</div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span>   Self->ParseLexedMethodDeclarations(*Class);</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> </div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span> <span class="keywordtype">void</span> Parser::LateParsedClass::ParseLexedMemberInitializers() {</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>   Self->ParseLexedMemberInitializers(*Class);</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> </div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="keywordtype">void</span> Parser::LateParsedClass::ParseLexedMethodDefs() {</div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span>   Self->ParseLexedMethodDefs(*Class);</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> </div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> <span class="keywordtype">void</span> Parser::LateParsedMethodDeclaration::ParseLexedMethodDeclarations() {</div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span>   Self->ParseLexedMethodDeclaration(*<span class="keyword">this</span>);</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> </div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> <span class="keywordtype">void</span> Parser::LexedMethod::ParseLexedMethodDefs() {</div>
+<div class="line"><a name="l00265"></a><span class="lineno">  265</span>   Self->ParseLexedMethodDef(*<span class="keyword">this</span>);</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="keywordtype">void</span> Parser::LateParsedMemberInitializer::ParseLexedMemberInitializers() {</div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span>   Self->ParseLexedMemberInitializer(*<span class="keyword">this</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"></span></div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> <span class="comment">/// ParseLexedMethodDeclarations - We finished parsing the member</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> <span class="comment">/// specification of a top (non-nested) C++ class. Now go over the</span></div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> <span class="comment">/// stack of method declarations with some parts for which parsing was</span></div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> <span class="comment">/// delayed (such as default arguments) and parse them.</span></div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseLexedMethodDeclarations(ParsingClass &Class) {</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>   <span class="keywordtype">bool</span> HasTemplateScope = !Class.TopLevelClass && Class.TemplateScope;</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>   ParseScope ClassTemplateScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a40ab45d2b9c9fca9a32b710f457d449a" title="This is a scope that corresponds to the template parameters of a C++ template. Template parameter sco...">Scope::TemplateParamScope</a>, HasTemplateScope);</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>   TemplateParameterDepthRAII CurTemplateDepthTracker(TemplateParameterDepth);</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>   <span class="keywordflow">if</span> (HasTemplateScope) {</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a253ab69b7d64567065d754abe72dae9a">ActOnReenterTemplateScope</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), Class.TagOrTemplate);</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>     ++CurTemplateDepthTracker;</div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span>   }</div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> </div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span>   <span class="comment">// The current scope is still active if we're the top-level class.</span></div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>   <span class="comment">// Otherwise we'll need to push and enter a new scope.</span></div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>   <span class="keywordtype">bool</span> HasClassScope = !Class.TopLevelClass;</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span>   ParseScope ClassScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a9c46440a665ea4d88f8811bb705cbd4e" title="The scope of a struct/union/class definition.">Scope::ClassScope</a>|<a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>,</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span>                         HasClassScope);</div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span>   <span class="keywordflow">if</span> (HasClassScope)</div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span>     Actions.<a class="code" href="classclang_1_1Sema.html#af77e76dbbbb636dcc625a5b845f8d13d">ActOnStartDelayedMemberDeclarations</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), Class.TagOrTemplate);</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="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < Class.LateParsedDeclarations.size(); ++i) {</div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span>     Class.LateParsedDeclarations[i]->ParseLexedMethodDeclarations();</div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>   }</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span> </div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span>   <span class="keywordflow">if</span> (HasClassScope)</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a56cf979135d205e14fc4d781cc2ab567">ActOnFinishDelayedMemberDeclarations</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), Class.TagOrTemplate);</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="keywordtype">void</span> Parser::ParseLexedMethodDeclaration(LateParsedMethodDeclaration &LM) {</div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span>   <span class="comment">// If this is a member template, introduce the template parameter scope.</span></div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span>   ParseScope TemplateScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a40ab45d2b9c9fca9a32b710f457d449a" title="This is a scope that corresponds to the template parameters of a C++ template. Template parameter sco...">Scope::TemplateParamScope</a>, LM.TemplateScope);</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span>   TemplateParameterDepthRAII CurTemplateDepthTracker(TemplateParameterDepth);</div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>   <span class="keywordflow">if</span> (LM.TemplateScope) {</div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a253ab69b7d64567065d754abe72dae9a">ActOnReenterTemplateScope</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LM.Method);</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span>     ++CurTemplateDepthTracker;</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>   <span class="comment">// Start the delayed C++ method declaration</span></div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span>   Actions.<a class="code" href="classclang_1_1Sema.html#ace23c3d6803f6acad83812f0fd0e0bf6">ActOnStartDelayedCXXMethodDeclaration</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LM.Method);</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>   <span class="comment">// Introduce the parameters into scope and parse their default</span></div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span>   <span class="comment">// arguments.</span></div>
+<div class="line"><a name="l00314"></a><span class="lineno">  314</span>   ParseScope PrototypeScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a03e444466b6d5f544bd8fedbe94a7cdb" title="This is a scope that corresponds to the parameters within a function prototype.">Scope::FunctionPrototypeScope</a> |</div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span>                             <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7ad0c60d6cb6734034fb8ee9d694e2d854" title="This is a scope that corresponds to the parameters within a function prototype for a function declara...">Scope::FunctionDeclarationScope</a> | <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>);</div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0, N = LM.DefaultArgs.size(); I != N; ++I) {</div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span>     <span class="comment">// Introduce the parameter into scope.</span></div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span>     Actions.<a class="code" href="classclang_1_1Sema.html#afbef8ff3d50a80041afca5ff10aabd35">ActOnDelayedCXXMethodParameter</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), </div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span>                                            LM.DefaultArgs[I].Param);</div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span> </div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span>     <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> *Toks = LM.DefaultArgs[I].Toks) {</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span>       <span class="comment">// Save the current token position.</span></div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</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> origLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</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>       <span class="comment">// Parse the default argument from its saved token stream.</span></div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span>       Toks->push_back(Tok); <span class="comment">// So that the current token doesn't get lost</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span>       PP.<a class="code" href="classclang_1_1Preprocessor.html#a4869ffa7c1268e6e7cbd8fd5b7b0364d">EnterTokenStream</a>(&Toks->front(), Toks->size(), <span class="keyword">true</span>, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span> </div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span>       <span class="comment">// Consume the previously-pushed token.</span></div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span>       ConsumeAnyToken();</div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> </div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span>       <span class="comment">// Consume the '='.</span></div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span>       assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal) && <span class="stringliteral">"Default argument not starting with '='"</span>);</div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</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> EqualLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span> </div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>       <span class="comment">// The argument isn't actually potentially evaluated unless it is</span></div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span>       <span class="comment">// used.</span></div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span>       <a class="code" href="classclang_1_1EnterExpressionEvaluationContext.html" title="RAII object that enters a new expression evaluation context.">EnterExpressionEvaluationContext</a> Eval(Actions,</div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span>                                             <a class="code" href="classclang_1_1Sema.html#ac105cb9d8d4ad3e532351c498f6082b5aede34185e1eec969397a642e464daaea" title="The current expression is potentially evaluated, but any declarations referenced inside that expressi...">Sema::PotentiallyEvaluatedIfUsed</a>,</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span>                                             LM.DefaultArgs[I].Param);</div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span> </div>
+<div class="line"><a name="l00342"></a><span class="lineno">  342</span>       <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a> DefArgResult;</div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a> && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace)) {</div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::warn_cxx98_compat_generalized_initializer_lists);</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span>         DefArgResult = ParseBraceInitializer();</div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>       } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span>         DefArgResult = <a class="code" href="classclang_1_1Parser.html#aa1ddd7e29d6cee82c3df71c30c194891" title="Parse an expr that doesn't include (top-level) commas.">ParseAssignmentExpression</a>();</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>       <span class="keywordflow">if</span> (DefArgResult.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>())</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>         Actions.<a class="code" href="classclang_1_1Sema.html#ac836f721b3f4da1c025e907cb8d81186">ActOnParamDefaultArgumentError</a>(LM.DefaultArgs[I].Param);</div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span>       <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00351"></a><span class="lineno">  351</span>         <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::cxx_defaultarg_end))</div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>           <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span>         <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>           <span class="comment">// The last two tokens are the terminator and the saved value of</span></div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>           <span class="comment">// Tok; the last token in the default argument is the one before</span></div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>           <span class="comment">// those.</span></div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>           assert(Toks->size() >= 3 && <span class="stringliteral">"expected a token in default arg"</span>);</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>           <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_default_arg_unparsed)</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>             << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(),</div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span>                            (*Toks)[Toks->size() - 3].getLocation());</div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span>         }</div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span>         Actions.<a class="code" href="classclang_1_1Sema.html#a39e36868db9f70c451e3ff7551b32457">ActOnParamDefaultArgument</a>(LM.DefaultArgs[I].Param, EqualLoc,</div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span>                                           DefArgResult.<a class="code" href="classclang_1_1ActionResult.html#a938165c101b60e87ee1956ed4950fd9a">take</a>());</div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span>       }</div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span> </div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>       assert(!PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>().<a class="code" href="classclang_1_1SourceManager.html#a80e6af876450686c7811c34fc72fcbdc" title="Determines the order of 2 source locations in the translation unit.">isBeforeInTranslationUnit</a>(origLoc,</div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span>                                                          Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>()) &&</div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span>              <span class="stringliteral">"ParseAssignmentExpression went over the default arg tokens!"</span>);</div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span>       <span class="comment">// There could be leftover tokens (e.g. because of an error).</span></div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span>       <span class="comment">// Skip through until we reach the original token position.</span></div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span>       <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() != origLoc && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>))</div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span>         ConsumeAnyToken();</div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> </div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span>       <span class="keyword">delete</span> Toks;</div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span>       LM.DefaultArgs[I].Toks = 0;</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>   }</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>   PrototypeScope.Exit();</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>   <span class="comment">// Finish the delayed C++ method declaration.</span></div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span>   Actions.<a class="code" href="classclang_1_1Sema.html#a3e4cd2738a75d62c9bcd2a910db7fb85">ActOnFinishDelayedCXXMethodDeclaration</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LM.Method);</div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> }</div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</span> <span class="comment"></span></div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</span> <span class="comment">/// ParseLexedMethodDefs - We finished parsing the member specification of a top</span></div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span> <span class="comment">/// (non-nested) C++ class. Now go over the stack of lexed methods that were</span></div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">/// collected during its parsing and parse them all.</span></div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseLexedMethodDefs(ParsingClass &Class) {</div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span>   <span class="keywordtype">bool</span> HasTemplateScope = !Class.TopLevelClass && Class.TemplateScope;</div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span>   ParseScope ClassTemplateScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a40ab45d2b9c9fca9a32b710f457d449a" title="This is a scope that corresponds to the template parameters of a C++ template. Template parameter sco...">Scope::TemplateParamScope</a>, HasTemplateScope);</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span>   TemplateParameterDepthRAII CurTemplateDepthTracker(TemplateParameterDepth);</div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>   <span class="keywordflow">if</span> (HasTemplateScope) {</div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a253ab69b7d64567065d754abe72dae9a">ActOnReenterTemplateScope</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), Class.TagOrTemplate);</div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span>     ++CurTemplateDepthTracker;</div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span>   }</div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span>   <span class="keywordtype">bool</span> HasClassScope = !Class.TopLevelClass;</div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span>   ParseScope ClassScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a9c46440a665ea4d88f8811bb705cbd4e" title="The scope of a struct/union/class definition.">Scope::ClassScope</a>|<a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>,</div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span>                         HasClassScope);</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span> </div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>   <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < Class.LateParsedDeclarations.size(); ++i) {</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>     Class.LateParsedDeclarations[i]->ParseLexedMethodDefs();</div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span>   }</div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span> }</div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span> </div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span> <span class="keywordtype">void</span> Parser::ParseLexedMethodDef(LexedMethod &LM) {</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>   <span class="comment">// If this is a member template, introduce the template parameter scope.</span></div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>   ParseScope TemplateScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a40ab45d2b9c9fca9a32b710f457d449a" title="This is a scope that corresponds to the template parameters of a C++ template. Template parameter sco...">Scope::TemplateParamScope</a>, LM.TemplateScope);</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span>   TemplateParameterDepthRAII CurTemplateDepthTracker(TemplateParameterDepth);</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span>   <span class="keywordflow">if</span> (LM.TemplateScope) {</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a253ab69b7d64567065d754abe72dae9a">ActOnReenterTemplateScope</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LM.D);</div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span>     ++CurTemplateDepthTracker;</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="comment">// Save the current token position.</span></div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</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> origLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</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>   assert(!LM.Toks.empty() && <span class="stringliteral">"Empty body!"</span>);</div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span>   <span class="comment">// Append the current token at the end of the new token stream so that it</span></div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span>   <span class="comment">// doesn't get lost.</span></div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>   LM.Toks.push_back(Tok);</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>   PP.<a class="code" href="classclang_1_1Preprocessor.html#a4869ffa7c1268e6e7cbd8fd5b7b0364d">EnterTokenStream</a>(LM.Toks.data(), LM.Toks.size(), <span class="keyword">true</span>, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> </div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span>   <span class="comment">// Consume the previously pushed token.</span></div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>   ConsumeAnyToken(<span class="comment">/*ConsumeCodeCompletionTok=*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span>   assert((Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_try))</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>          && <span class="stringliteral">"Inline method not starting with '{', ':' or 'try'"</span>);</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="comment">// Parse the method body. Function body parsing code is similar enough</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>   <span class="comment">// to be re-used for method bodies as well.</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>   ParseScope FnScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7aec9cad8f5dd22da19c76343a52dd6a2d" title="This indicates that the scope corresponds to a function, which means that labels are set here...">Scope::FnScope</a>|<a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>);</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>   Actions.<a class="code" href="classclang_1_1Sema.html#a13da73606164b423765ccbf96fb6874e">ActOnStartOfFunctionDef</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LM.D);</div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span> </div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_try)) {</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>     ParseFunctionTryBlock(LM.D, FnScope);</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>     assert(!PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>().<a class="code" href="classclang_1_1SourceManager.html#a80e6af876450686c7811c34fc72fcbdc" title="Determines the order of 2 source locations in the translation unit.">isBeforeInTranslationUnit</a>(origLoc,</div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span>                                                          Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>()) &&</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>            <span class="stringliteral">"ParseFunctionTryBlock went over the cached tokens!"</span>);</div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>     <span class="comment">// There could be leftover tokens (e.g. because of an error).</span></div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>     <span class="comment">// Skip through until we reach the original token position.</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>     <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() != origLoc && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>))</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>       ConsumeAnyToken();</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>   }</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon)) {</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>     ParseConstructorInitializer(LM.D);</div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span> </div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>     <span class="comment">// Error recovery.</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>     <span class="keywordflow">if</span> (!Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace)) {</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>       FnScope.Exit();</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>       Actions.<a class="code" href="classclang_1_1Sema.html#aaaaf8e0b78e0549d6050d0fdbdc680a9">ActOnFinishFunctionBody</a>(LM.D, 0);</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>       <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() != origLoc && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>))</div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span>         ConsumeAnyToken();</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>     }</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>   } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>     Actions.<a class="code" href="classclang_1_1Sema.html#aac76f3a8eaa0bdc3bd49dba811c4bde2">ActOnDefaultCtorInitializers</a>(LM.D);</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> </div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>   assert((Actions.<a class="code" href="classclang_1_1Sema.html#aec26c08c220f07a7c24c8ad6fc476163">getDiagnostics</a>().<a class="code" href="classclang_1_1DiagnosticsEngine.html#a21110920a247c38d762a8de1b7e8e767">hasErrorOccurred</a>() ||</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>           !isa<FunctionTemplateDecl>(LM.D) ||</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>           cast<FunctionTemplateDecl>(LM.D)->getTemplateParameters()->getDepth()</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>             < TemplateParameterDepth) &&</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span>          <span class="stringliteral">"TemplateParameterDepth should be greater than the depth of "</span></div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>          <span class="stringliteral">"current template being instantiated!"</span>);</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>   ParseFunctionStatementBody(LM.D, FnScope);</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>   <span class="comment">// Clear the late-template-parsed bit if we set it before.</span></div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>   <span class="keywordflow">if</span> (LM.D) <a class="code" href="ParseCXXInlineMethods_8cpp.html#a74ae1521acfcdc4c4bc024b8fcb65fb0" title="Get the FunctionDecl for a function or function template decl.">getFunctionDecl</a>(LM.D)-><a class="code" href="classclang_1_1FunctionDecl.html#a9e14c27ad62339efff542052c432f862">setLateTemplateParsed</a>(<span class="keyword">false</span>);</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span> </div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() != origLoc) {</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>     <span class="comment">// Due to parsing error, we either went over the cached tokens or</span></div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>     <span class="comment">// there are still cached tokens left. If it's the latter case skip the</span></div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>     <span class="comment">// leftover tokens.</span></div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>     <span class="comment">// Since this is an uncommon situation that should be avoided, use the</span></div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span>     <span class="comment">// expensive isBeforeInTranslationUnit call.</span></div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>     <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#afca276c0a87d413e51e8848edf8f911b">getSourceManager</a>().<a class="code" href="classclang_1_1SourceManager.html#a80e6af876450686c7811c34fc72fcbdc" title="Determines the order of 2 source locations in the translation unit.">isBeforeInTranslationUnit</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(),</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>                                                         origLoc))</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>       <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() != origLoc && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>))</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>         ConsumeAnyToken();</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> }</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="comment"></span></div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span> <span class="comment">/// ParseLexedMemberInitializers - We finished parsing the member specification</span></div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="comment">/// of a top (non-nested) C++ class. Now go over the stack of lexed data member</span></div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="comment">/// initializers that were collected during its parsing and parse them all.</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseLexedMemberInitializers(ParsingClass &Class) {</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>   <span class="keywordtype">bool</span> HasTemplateScope = !Class.TopLevelClass && Class.TemplateScope;</div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>   ParseScope ClassTemplateScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a40ab45d2b9c9fca9a32b710f457d449a" title="This is a scope that corresponds to the template parameters of a C++ template. Template parameter sco...">Scope::TemplateParamScope</a>,</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>                                 HasTemplateScope);</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>   TemplateParameterDepthRAII CurTemplateDepthTracker(TemplateParameterDepth);</div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>   <span class="keywordflow">if</span> (HasTemplateScope) {</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a253ab69b7d64567065d754abe72dae9a">ActOnReenterTemplateScope</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), Class.TagOrTemplate);</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>     ++CurTemplateDepthTracker;</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">// Set or update the scope flags.</span></div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>   <span class="keywordtype">bool</span> AlreadyHasClassScope = Class.TopLevelClass;</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>   <span class="keywordtype">unsigned</span> ScopeFlags = <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7a9c46440a665ea4d88f8811bb705cbd4e" title="The scope of a struct/union/class definition.">Scope::ClassScope</a>|<a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>;</div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>   ParseScope ClassScope(<span class="keyword">this</span>, ScopeFlags, !AlreadyHasClassScope);</div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>   ParseScopeFlags ClassScopeFlags(<span class="keyword">this</span>, ScopeFlags, AlreadyHasClassScope);</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span> </div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>   <span class="keywordflow">if</span> (!AlreadyHasClassScope)</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>     Actions.<a class="code" href="classclang_1_1Sema.html#af77e76dbbbb636dcc625a5b845f8d13d">ActOnStartDelayedMemberDeclarations</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>                                                 Class.TagOrTemplate);</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span> </div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>   <span class="keywordflow">if</span> (!Class.LateParsedDeclarations.empty()) {</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>     <span class="comment">// C++11 [expr.prim.general]p4:</span></div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>     <span class="comment">//   Otherwise, if a member-declarator declares a non-static data member </span></div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>     <span class="comment">//  (9.2) of a class X, the expression this is a prvalue of type "pointer</span></div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span>     <span class="comment">//  to X" within the optional brace-or-equal-initializer. It shall not </span></div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span>     <span class="comment">//  appear elsewhere in the member-declarator.</span></div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>     <a class="code" href="classclang_1_1Sema_1_1CXXThisScopeRAII.html" title="RAII object used to temporarily allow the C++ 'this' expression to be used, with the given qualifiers...">Sema::CXXThisScopeRAII</a> ThisScope(Actions, Class.TagOrTemplate,</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>                                      <span class="comment">/*TypeQuals=*/</span>(<span class="keywordtype">unsigned</span>)0);</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="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < Class.LateParsedDeclarations.size(); ++i) {</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>       Class.LateParsedDeclarations[i]->ParseLexedMemberInitializers();</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>     }</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>   }</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>   </div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>   <span class="keywordflow">if</span> (!AlreadyHasClassScope)</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a56cf979135d205e14fc4d781cc2ab567">ActOnFinishDelayedMemberDeclarations</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>                                                  Class.TagOrTemplate);</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>   Actions.<a class="code" href="classclang_1_1Sema.html#a16c2ff1fa091587a334f061b0f27a5f0">ActOnFinishDelayedMemberInitializers</a>(Class.TagOrTemplate);</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</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="keywordtype">void</span> Parser::ParseLexedMemberInitializer(LateParsedMemberInitializer &MI) {</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>   <span class="keywordflow">if</span> (!MI.Field || MI.Field->isInvalidDecl())</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span> </div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>   <span class="comment">// Append the current token at the end of the new token stream so that it</span></div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>   <span class="comment">// doesn't get lost.</span></div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>   MI.Toks.push_back(Tok);</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>   PP.<a class="code" href="classclang_1_1Preprocessor.html#a4869ffa7c1268e6e7cbd8fd5b7b0364d">EnterTokenStream</a>(MI.Toks.data(), MI.Toks.size(), <span class="keyword">true</span>, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span> </div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span>   <span class="comment">// Consume the previously pushed token.</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>   ConsumeAnyToken(<span class="comment">/*ConsumeCodeCompletionTok=*/</span><span class="keyword">true</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>   <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> EqualLoc;</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span> </div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>   <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a> Init = ParseCXXMemberInitializer(MI.Field, <span class="comment">/*IsFunction=*/</span><span class="keyword">false</span>, </div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>                                               EqualLoc);</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>   Actions.<a class="code" href="classclang_1_1Sema.html#ab6d5cf536829c5e6df84e583ce2899c0">ActOnCXXInClassMemberInitializer</a>(MI.Field, EqualLoc, Init.<a class="code" href="classclang_1_1ActionResult.html#af3c660207dfebb140ea0832cd41dfeb1">release</a>());</div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span> </div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>   <span class="comment">// The next token should be our artificial terminating EOF token.</span></div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>)) {</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</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> EndLoc = PP.<a class="code" href="classclang_1_1Preprocessor.html#aef7193e9d262ea6852d666beb28dc1a0" title="Computes the source location just past the end of the token at this source location.">getLocForEndOfToken</a>(PrevTokLocation);</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>     <span class="keywordflow">if</span> (!EndLoc.<a class="code" href="classclang_1_1SourceLocation.html#ad504978d83973770506b6ddb1d7b48f9" title="Return true if this is a valid SourceLocation object.">isValid</a>())</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>       EndLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>     <span class="comment">// No fixit; we can't recover as if there were a semicolon here.</span></div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(EndLoc, diag::err_expected_semi_decl_list);</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span> </div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>     <span class="comment">// Consume tokens until we hit the artificial EOF.</span></div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>     <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>))</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>       ConsumeAnyToken();</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>   }</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>   ConsumeAnyToken();</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="comment"></span></div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span> <span class="comment">/// ConsumeAndStoreUntil - Consume and store the token at the passed token</span></div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span> <span class="comment">/// container until the token 'T' is reached (which gets</span></div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span> <span class="comment">/// consumed/stored too, if ConsumeFinalToken).</span></div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span> <span class="comment">/// If StopAtSemi is true, then we will stop early at a ';' character.</span></div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment">/// Returns true if token 'T1' or 'T2' was found.</span></div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span> <span class="comment">/// NOTE: This is a specialized version of Parser::SkipUntil.</span></div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::ConsumeAndStoreUntil(<a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> T1, <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> T2,</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>                                   <a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks,</div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>                                   <span class="keywordtype">bool</span> StopAtSemi, <span class="keywordtype">bool</span> ConsumeFinalToken) {</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>   <span class="comment">// We always want this function to consume at least one token if the first</span></div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>   <span class="comment">// token isn't T and if not at EOF.</span></div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>   <span class="keywordtype">bool</span> isFirstTokenConsumed = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>     <span class="comment">// If we found one of the tokens, stop and return true.</span></div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(T1) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(T2)) {</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>       <span class="keywordflow">if</span> (ConsumeFinalToken) {</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>         ConsumeAnyToken();</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>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>     }</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span> </div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>     <span class="keywordflow">switch</span> (Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>()) {</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>:</div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>       <span class="comment">// Ran out of tokens.</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span> </div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>     <span class="keywordflow">case</span> tok::l_paren:</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>       <span class="comment">// Recursively consume properly-nested parens.</span></div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>       ConsumeParen();</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>       ConsumeAndStoreUntil(tok::r_paren, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>     <span class="keywordflow">case</span> tok::l_square:</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span>       <span class="comment">// Recursively consume properly-nested square brackets.</span></div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>       ConsumeBracket();</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>       ConsumeAndStoreUntil(tok::r_square, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>     <span class="keywordflow">case</span> tok::l_brace:</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>       <span class="comment">// Recursively consume properly-nested braces.</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span>       ConsumeBrace();</div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span>       ConsumeAndStoreUntil(tok::r_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>       <span class="keywordflow">break</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="comment">// Okay, we found a ']' or '}' or ')', which we think should be balanced.</span></div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>     <span class="comment">// Since the user wasn't looking for this token (if they were, it would</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>     <span class="comment">// already be handled), this isn't balanced.  If there is a LHS token at a</span></div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>     <span class="comment">// higher level, we will assume that this matches the unbalanced token</span></div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>     <span class="comment">// and return it.  Otherwise, this is a spurious RHS token, which we skip.</span></div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>     <span class="keywordflow">case</span> tok::r_paren:</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>       <span class="keywordflow">if</span> (ParenCount && !isFirstTokenConsumed)</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span>       ConsumeParen();</div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>     <span class="keywordflow">case</span> tok::r_square:</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>       <span class="keywordflow">if</span> (BracketCount && !isFirstTokenConsumed)</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>       ConsumeBracket();</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>     <span class="keywordflow">case</span> tok::r_brace:</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>       <span class="keywordflow">if</span> (BraceCount && !isFirstTokenConsumed)</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>       ConsumeBrace();</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span> </div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>     <span class="keywordflow">case</span> tok::code_completion:</div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>       ConsumeCodeCompletionToken();</div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> </div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span>     <span class="keywordflow">case</span> tok::string_literal:</div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span>     <span class="keywordflow">case</span> tok::wide_string_literal:</div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>     <span class="keywordflow">case</span> tok::utf8_string_literal:</div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span>     <span class="keywordflow">case</span> tok::utf16_string_literal:</div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>     <span class="keywordflow">case</span> tok::utf32_string_literal:</div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span>       ConsumeStringToken();</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>     <span class="keywordflow">case</span> tok::semi:</div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>       <span class="keywordflow">if</span> (StopAtSemi)</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>       <span class="comment">// FALL THROUGH.</span></div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>     <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span>       <span class="comment">// consume this token.</span></div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>     }</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>     isFirstTokenConsumed = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span>   }</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span> }</div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span> <span class="comment"></span></div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span> <span class="comment">/// \brief Consume tokens and store them in the passed token container until</span></div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span> <span class="comment">/// we've passed the try keyword and constructor initializers and have consumed</span></div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span> <span class="comment">/// the opening brace of the function body. The opening brace will be consumed</span></div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span> <span class="comment">/// if and only if there was no error.</span></div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00661"></a><span class="lineno">  661</span> <span class="comment">/// \return True on error.</span></div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::ConsumeAndStoreFunctionPrologue(<a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks) {</div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_try)) {</div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span>     Toks.push_back(Tok);</div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span>   }</div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span> </div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::colon)) {</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>     <span class="comment">// Easy case, just a function body.</span></div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span> </div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>     <span class="comment">// Grab any remaining garbage to be diagnosed later. We stop when we reach a</span></div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span>     <span class="comment">// brace: an opening one is the function body, while a closing one probably</span></div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>     <span class="comment">// means we've reached the end of the class.</span></div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>     ConsumeAndStoreUntil(tok::l_brace, tok::r_brace, Toks,</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>                          <span class="comment">/*StopAtSemi=*/</span><span class="keyword">true</span>,</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>                          <span class="comment">/*ConsumeFinalToken=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::l_brace))</div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_expected_lbrace);</div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span> </div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span>     Toks.push_back(Tok);</div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>     ConsumeBrace();</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span>   }</div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span> </div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>   Toks.push_back(Tok);</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>   <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span> </div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span>   <span class="comment">// We can't reliably skip over a mem-initializer-id, because it could be</span></div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span>   <span class="comment">// a template-id involving not-yet-declared names. Given:</span></div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span>   <span class="comment">//   S ( ) : a < b < c > ( e )</span></div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span>   <span class="comment">// 'e' might be an initializer or part of a template argument, depending</span></div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span>   <span class="comment">// on whether 'b' is a template.</span></div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span> </div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span>   <span class="comment">// Track whether we might be inside a template argument. We can give</span></div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span>   <span class="comment">// significantly better diagnostics if we know that we're not.</span></div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span>   <span class="keywordtype">bool</span> MightBeTemplateArgument = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span> </div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span>     <span class="comment">// Skip over the mem-initializer-id, if possible.</span></div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_decltype)) {</div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</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> OpenLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::l_paren))</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span>         <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_expected_lparen_after)</div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span>                  << <span class="stringliteral">"decltype"</span>;</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>       ConsumeParen();</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span>       <span class="keywordflow">if</span> (!ConsumeAndStoreUntil(tok::r_paren, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">true</span>)) {</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_expected_rparen);</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(OpenLoc, diag::note_matching) << <span class="stringliteral">"("</span>;</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span>       }</div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>     }</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span>     <span class="keywordflow">do</span> {</div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span>       <span class="comment">// Walk over a component of a nested-name-specifier.</span></div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::coloncolon)) {</div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span> </div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>         <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_template)) {</div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>           Toks.push_back(Tok);</div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span>           <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</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> </div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_template)) {</div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span>         ConsumeCodeCompletionToken();</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>         <span class="comment">// Consume the rest of the initializers permissively.</span></div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span>         <span class="comment">// FIXME: We should be able to perform code-completion here even if</span></div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>         <span class="comment">//        there isn't a subsequent '{' token.</span></div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span>         MightBeTemplateArgument = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>       }</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>     } <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::coloncolon));</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span> </div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::less))</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>       MightBeTemplateArgument = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span> </div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>     <span class="keywordflow">if</span> (MightBeTemplateArgument) {</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>       <span class="comment">// We may be inside a template argument list. Grab up to the start of the</span></div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>       <span class="comment">// next parenthesized initializer or braced-init-list. This *might* be the</span></div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>       <span class="comment">// initializer, or it might be a subexpression in the template argument</span></div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span>       <span class="comment">// list.</span></div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>       <span class="comment">// FIXME: Count angle brackets, and clear MightBeTemplateArgument</span></div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>       <span class="comment">//        if all angles are closed.</span></div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>       <span class="keywordflow">if</span> (!ConsumeAndStoreUntil(tok::l_paren, tok::l_brace, Toks,</div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>                                 <span class="comment">/*StopAtSemi=*/</span><span class="keyword">true</span>,</div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>                                 <span class="comment">/*ConsumeFinalToken=*/</span><span class="keyword">false</span>)) {</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span>         <span class="comment">// We're not just missing the initializer, we're also missing the</span></div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span>         <span class="comment">// function body!</span></div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>         <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_expected_lbrace);</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span>       }</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::l_paren) && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::l_brace)) {</div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span>       <span class="comment">// We found something weird in a mem-initializer-id.</span></div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11</div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>                                          ? diag::err_expected_lparen_or_lbrace</div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>                                          : diag::err_expected_lparen);</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>     }</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span> </div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>     <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> kind = Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>();</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>     Toks.push_back(Tok);</div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span>     <span class="keywordtype">bool</span> IsLParen = (kind == tok::l_paren);</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</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> OpenLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span> </div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>     <span class="keywordflow">if</span> (IsLParen) {</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>       ConsumeParen();</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span>       assert(kind == tok::l_brace && <span class="stringliteral">"Must be left paren or brace here."</span>);</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span>       ConsumeBrace();</div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span>       <span class="comment">// In C++03, this has to be the start of the function body, which</span></div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>       <span class="comment">// means the initializer is malformed; we'll diagnose it later.</span></div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>       <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a>)</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span>         <span class="keywordflow">return</span> <span class="keyword">false</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">  783</span> </div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span>     <span class="comment">// Grab the initializer (or the subexpression of the template argument).</span></div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>     <span class="comment">// FIXME: If we support lambdas here, we'll need to set StopAtSemi to false</span></div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span>     <span class="comment">//        if we might be inside the braces of a lambda-expression.</span></div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span>     <span class="keywordflow">if</span> (!ConsumeAndStoreUntil(IsLParen ? tok::r_paren : tok::r_brace,</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span>                               Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">true</span>)) {</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, IsLParen ? diag::err_expected_rparen :</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>                            diag::err_expected_rbrace);</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(OpenLoc, diag::note_matching) << (IsLParen ? <span class="stringliteral">"("</span> : <span class="stringliteral">"{"</span>);</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</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> </div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span>     <span class="comment">// Grab pack ellipsis, if present.</span></div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::ellipsis)) {</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span>     }</div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span> </div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span>     <span class="comment">// If we know we just consumed a mem-initializer, we must have ',' or '{'</span></div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span>     <span class="comment">// next.</span></div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::comma)) {</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace)) {</div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span>       <span class="comment">// This is the function body if the ')' or '}' is immediately followed by</span></div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span>       <span class="comment">// a '{'. That cannot happen within a template argument, apart from the</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>       <span class="comment">// case where a template argument contains a compound literal:</span></div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>       <span class="comment">//</span></div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span>       <span class="comment">//   S ( ) : a < b < c > ( d ) { }</span></div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>       <span class="comment">//   // End of declaration, or still inside the template argument?</span></div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span>       <span class="comment">//</span></div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span>       <span class="comment">// ... and the case where the template argument contains a lambda:</span></div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span>       <span class="comment">//</span></div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span>       <span class="comment">//   S ( ) : a < 0 && b < c > ( d ) + [ ] ( ) { return 0; }</span></div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>       <span class="comment">//     ( ) > ( ) { }</span></div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span>       <span class="comment">//</span></div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</span>       <span class="comment">// FIXME: Disambiguate these cases. Note that the latter case is probably</span></div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span>       <span class="comment">//        going to be made ill-formed by core issue 1607.</span></div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span>       ConsumeBrace();</div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!MightBeTemplateArgument) {</div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_expected_lbrace_or_comma);</div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span>     }</div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span>   }</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span> }</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 Consume and store tokens from the '?' to the ':' in a conditional</span></div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span> <span class="comment">/// expression.</span></div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::ConsumeAndStoreConditional(<a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks) {</div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>   <span class="comment">// Consume '?'.</span></div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::question));</div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span>   Toks.push_back(Tok);</div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span>   <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span> </div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>   <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::colon)) {</div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>     <span class="keywordflow">if</span> (!ConsumeAndStoreUntil(tok::question, tok::colon, Toks, <span class="comment">/*StopAtSemi*/</span><span class="keyword">true</span>,</div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span>                               <span class="comment">/*ConsumeFinalToken*/</span><span class="keyword">false</span>))</div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span>       <span class="keywordflow">return</span> <span class="keyword">false</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">  843</span>     <span class="comment">// If we found a nested conditional, consume it.</span></div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::question) && !ConsumeAndStoreConditional(Toks))</div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span>   }</div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span> </div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span>   <span class="comment">// Consume ':'.</span></div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span>   Toks.push_back(Tok);</div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span>   <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span>   <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span> }</div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span> <span class="comment"></span></div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span> <span class="comment">/// \brief A tentative parsing action that can also revert token annotations.</span></div>
+<div class="line"><a name="l00855"></a><span class="lineno"><a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html">  855</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html" title="A tentative parsing action that can also revert token annotations.">Parser::UnannotatedTentativeParsingAction</a> : <span class="keyword">public</span> TentativeParsingAction {</div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00857"></a><span class="lineno"><a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html#ae4c7f308aa4e60328c0b1a9f8e13202d">  857</a></span>   <span class="keyword">explicit</span> <a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html#ae4c7f308aa4e60328c0b1a9f8e13202d">UnannotatedTentativeParsingAction</a>(<a class="code" href="classclang_1_1Parser.html">Parser</a> &Self,</div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span>                                              <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> EndKind)</div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span>       : TentativeParsingAction(Self), Self(Self), EndKind(EndKind) {</div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span>     <span class="comment">// Stash away the old token stream, so we can restore it once the</span></div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span>     <span class="comment">// tentative parse is complete.</span></div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span>     TentativeParsingAction Inner(Self);</div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span>     Self.ConsumeAndStoreUntil(EndKind, Toks, <span class="keyword">true</span>, <span class="comment">/*ConsumeFinalToken*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span>     Inner.Revert();</div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span>   }</div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span> </div>
+<div class="line"><a name="l00867"></a><span class="lineno"><a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html#ad9c33ab69f2f512fdfd3fd82064370c7">  867</a></span>   <span class="keywordtype">void</span> <a class="code" href="classParser_1_1UnannotatedTentativeParsingAction.html#ad9c33ab69f2f512fdfd3fd82064370c7">RevertAnnotations</a>() {</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>     Revert();</div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span> </div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span>     <span class="comment">// Put back the original tokens.</span></div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span>     Self.SkipUntil(EndKind, StopAtSemi | <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span>     <span class="keywordflow">if</span> (Toks.size()) {</div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span>       <a class="code" href="classclang_1_1Token.html">Token</a> *Buffer = <span class="keyword">new</span> <a class="code" href="classclang_1_1Token.html">Token</a>[Toks.size()];</div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span>       std::copy(Toks.begin() + 1, Toks.end(), Buffer);</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span>       Buffer[Toks.size() - 1] = Self.Tok;</div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>       Self.PP.EnterTokenStream(Buffer, Toks.size(), <span class="keyword">true</span>, <span class="comment">/*Owned*/</span><span class="keyword">true</span>);</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>       Self.Tok = Toks.front();</div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span>     }</div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span>   }</div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span> </div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span> <span class="keyword">private</span>:</div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span>   <a class="code" href="classclang_1_1Parser.html">Parser</a> &Self;</div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span>   <a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> Toks;</div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span>   <a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> EndKind;</div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span> };</div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span> <span class="comment"></span></div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span> <span class="comment">/// ConsumeAndStoreInitializer - Consume and store the token at the passed token</span></div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span> <span class="comment">/// container until the end of the current initializer expression (either a</span></div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span> <span class="comment">/// default argument or an in-class initializer for a non-static data member).</span></div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span> <span class="comment">/// The final token is not consumed.</span></div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::ConsumeAndStoreInitializer(<a class="code" href="classllvm_1_1SmallVector.html">CachedTokens</a> &Toks,</div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span>                                         CachedInitKind CIK) {</div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span>   <span class="comment">// We always want this function to consume at least one token if not at EOF.</span></div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span>   <span class="keywordtype">bool</span> IsFirstTokenConsumed = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span> </div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span>   <span class="comment">// Number of possible unclosed <s we've seen so far. These might be templates,</span></div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span>   <span class="comment">// and might not, but if there were none of them (or we know for sure that</span></div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span>   <span class="comment">// we're within a template), we can avoid a tentative parse.</span></div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span>   <span class="keywordtype">unsigned</span> AngleCount = 0;</div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span>   <span class="keywordtype">unsigned</span> KnownTemplateCount = 0;</div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span> </div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span>   <span class="keywordflow">while</span> (1) {</div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span>     <span class="keywordflow">switch</span> (Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>()) {</div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span>     <span class="keywordflow">case</span> tok::comma:</div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span>       <span class="comment">// If we might be in a template, perform a tentative parse to check.</span></div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span>       <span class="keywordflow">if</span> (!AngleCount)</div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span>         <span class="comment">// Not a template argument: this is the end of the initializer.</span></div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span>       <span class="keywordflow">if</span> (KnownTemplateCount)</div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>         <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span> </div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span>       <span class="comment">// We hit a comma inside angle brackets. This is the hard case. The</span></div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span>       <span class="comment">// rule we follow is:</span></div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>       <span class="comment">//  * For a default argument, if the tokens after the comma form a</span></div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span>       <span class="comment">//    syntactically-valid parameter-declaration-clause, in which each</span></div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span>       <span class="comment">//    parameter has an initializer, then this comma ends the default</span></div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span>       <span class="comment">//    argument.</span></div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>       <span class="comment">//  * For a default initializer, if the tokens after the comma form a</span></div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span>       <span class="comment">//    syntactically-valid init-declarator-list, then this comma ends</span></div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span>       <span class="comment">//    the default initializer.</span></div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>       {</div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>         UnannotatedTentativeParsingAction PA(*<span class="keyword">this</span>,</div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span>                                              CIK == CIK_DefaultInitializer</div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>                                                ? tok::semi : tok::r_paren);</div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span>         <a class="code" href="classclang_1_1Sema_1_1TentativeAnalysisScope.html" title="RAII class used to indicate that we are performing provisional semantic analysis to determine the val...">Sema::TentativeAnalysisScope</a> <a class="code" href="classclang_1_1Scope.html">Scope</a>(Actions);</div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span> </div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>         TPResult Result = TPResult::Error();</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>         <span class="keywordflow">switch</span> (CIK) {</div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span>         <span class="keywordflow">case</span> CIK_DefaultInitializer:</div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span>           Result = TryParseInitDeclaratorList();</div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>           <span class="comment">// If we parsed a complete, ambiguous init-declarator-list, this</span></div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span>           <span class="comment">// is only syntactically-valid if it's followed by a semicolon.</span></div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span>           <span class="keywordflow">if</span> (Result == TPResult::Ambiguous() && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::semi))</div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span>             Result = TPResult::False();</div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span> </div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span>         <span class="keywordflow">case</span> CIK_DefaultArgument:</div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span>           <span class="keywordtype">bool</span> InvalidAsDeclaration = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span>           Result = TryParseParameterDeclarationClause(</div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span>               &InvalidAsDeclaration, <span class="comment">/*VersusTemplateArgument*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span>           <span class="comment">// If this is an expression or a declaration with a missing</span></div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span>           <span class="comment">// 'typename', assume it's not a declaration.</span></div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span>           <span class="keywordflow">if</span> (Result == TPResult::Ambiguous() && InvalidAsDeclaration)</div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span>             Result = TPResult::False();</div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span>         }</div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span> </div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span>         <span class="comment">// If what follows could be a declaration, it is a declaration.</span></div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span>         <span class="keywordflow">if</span> (Result != TPResult::False() && Result != TPResult::Error()) {</div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>           PA.Revert();</div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span>           <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>         }</div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span> </div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span>         <span class="comment">// In the uncommon case that we decide the following tokens are part</span></div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>         <span class="comment">// of a template argument, revert any annotations we've performed in</span></div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span>         <span class="comment">// those tokens. We're not going to look them up until we've parsed</span></div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span>         <span class="comment">// the rest of the class, and that might add more declarations.</span></div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</span>         PA.RevertAnnotations();</div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span>       }</div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span> </div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span>       <span class="comment">// Keep going. We know we're inside a template argument list now.</span></div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span>       ++KnownTemplateCount;</div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span>       <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span> </div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span>     <span class="keywordflow">case</span> <a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>:</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span>       <span class="comment">// Ran out of tokens.</span></div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span>       <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span> </div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span>     <span class="keywordflow">case</span> tok::less:</div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span>       <span class="comment">// FIXME: A '<' can only start a template-id if it's preceded by an</span></div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span>       <span class="comment">// identifier, an operator-function-id, or a literal-operator-id.</span></div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span>       ++AngleCount;</div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span>       <span class="keywordflow">goto</span> consume_token;</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>     <span class="keywordflow">case</span> tok::question:</div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span>       <span class="comment">// In 'a ? b : c', 'b' can contain an unparenthesized comma. If it does,</span></div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span>       <span class="comment">// that is *never* the end of the initializer. Skip to the ':'.</span></div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span>       <span class="keywordflow">if</span> (!ConsumeAndStoreConditional(Toks))</div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span> </div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span>     <span class="keywordflow">case</span> tok::greatergreatergreater:</div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span>       <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a>)</div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span>         <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span>       <span class="keywordflow">if</span> (AngleCount) --AngleCount;</div>
+<div class="line"><a name="l00988"></a><span class="lineno">  988</span>       <span class="keywordflow">if</span> (KnownTemplateCount) --KnownTemplateCount;</div>
+<div class="line"><a name="l00989"></a><span class="lineno">  989</span>       <span class="comment">// Fall through.</span></div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span>     <span class="keywordflow">case</span> tok::greatergreater:</div>
+<div class="line"><a name="l00991"></a><span class="lineno">  991</span>       <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a>)</div>
+<div class="line"><a name="l00992"></a><span class="lineno">  992</span>         <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span>       <span class="keywordflow">if</span> (AngleCount) --AngleCount;</div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span>       <span class="keywordflow">if</span> (KnownTemplateCount) --KnownTemplateCount;</div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>       <span class="comment">// Fall through.</span></div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>     <span class="keywordflow">case</span> tok::greater:</div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span>       <span class="keywordflow">if</span> (AngleCount) --AngleCount;</div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span>       <span class="keywordflow">if</span> (KnownTemplateCount) --KnownTemplateCount;</div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span>       <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span> </div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>     <span class="keywordflow">case</span> tok::kw_template:</div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>       <span class="comment">// 'template' identifier '<' is known to start a template argument list,</span></div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>       <span class="comment">// and can be used to disambiguate the parse.</span></div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>       <span class="comment">// FIXME: Support all forms of 'template' unqualified-id '<'.</span></div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier)) {</div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>         <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::less)) {</div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>           ++KnownTemplateCount;</div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>           Toks.push_back(Tok);</div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>           <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>         }</div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>       }</div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span> </div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>     <span class="keywordflow">case</span> tok::kw_operator:</div>
+<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>       <span class="comment">// If 'operator' precedes other punctuation, that punctuation loses</span></div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>       <span class="comment">// its special behavior.</span></div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>       <span class="keywordflow">switch</span> (Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>()) {</div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>       <span class="keywordflow">case</span> tok::comma:</div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>       <span class="keywordflow">case</span> tok::greatergreatergreater:</div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>       <span class="keywordflow">case</span> tok::greatergreater:</div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>       <span class="keywordflow">case</span> tok::greater:</div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>       <span class="keywordflow">case</span> tok::less:</div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>         Toks.push_back(Tok);</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>       <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>       }</div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> </div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>     <span class="keywordflow">case</span> tok::l_paren:</div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>       <span class="comment">// Recursively consume properly-nested parens.</span></div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>       ConsumeParen();</div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>       ConsumeAndStoreUntil(tok::r_paren, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>     <span class="keywordflow">case</span> tok::l_square:</div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>       <span class="comment">// Recursively consume properly-nested square brackets.</span></div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>       ConsumeBracket();</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>       ConsumeAndStoreUntil(tok::r_square, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>     <span class="keywordflow">case</span> tok::l_brace:</div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>       <span class="comment">// Recursively consume properly-nested braces.</span></div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>       ConsumeBrace();</div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>       ConsumeAndStoreUntil(tok::r_brace, Toks, <span class="comment">/*StopAtSemi=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> </div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>     <span class="comment">// Okay, we found a ']' or '}' or ')', which we think should be balanced.</span></div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>     <span class="comment">// Since the user wasn't looking for this token (if they were, it would</span></div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>     <span class="comment">// already be handled), this isn't balanced.  If there is a LHS token at a</span></div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>     <span class="comment">// higher level, we will assume that this matches the unbalanced token</span></div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>     <span class="comment">// and return it.  Otherwise, this is a spurious RHS token, which we skip.</span></div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>     <span class="keywordflow">case</span> tok::r_paren:</div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>       <span class="keywordflow">if</span> (CIK == CIK_DefaultArgument)</div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>; <span class="comment">// End of the default argument.</span></div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>       <span class="keywordflow">if</span> (ParenCount && !IsFirstTokenConsumed)</div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>       <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>     <span class="keywordflow">case</span> tok::r_square:</div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>       <span class="keywordflow">if</span> (BracketCount && !IsFirstTokenConsumed)</div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>       <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>     <span class="keywordflow">case</span> tok::r_brace:</div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>       <span class="keywordflow">if</span> (BraceCount && !IsFirstTokenConsumed)</div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>         <span class="keywordflow">return</span> <span class="keyword">false</span>;  <span class="comment">// Matches something.</span></div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>       <span class="keywordflow">goto</span> consume_token;</div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> </div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>     <span class="keywordflow">case</span> tok::code_completion:</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>       ConsumeCodeCompletionToken();</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> </div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>     <span class="keywordflow">case</span> tok::string_literal:</div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>     <span class="keywordflow">case</span> tok::wide_string_literal:</div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>     <span class="keywordflow">case</span> tok::utf8_string_literal:</div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>     <span class="keywordflow">case</span> tok::utf16_string_literal:</div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>     <span class="keywordflow">case</span> tok::utf32_string_literal:</div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>       ConsumeStringToken();</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>     <span class="keywordflow">case</span> tok::semi:</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>       <span class="keywordflow">if</span> (CIK == CIK_DefaultInitializer)</div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>         <span class="keywordflow">return</span> <span class="keyword">true</span>; <span class="comment">// End of the default initializer.</span></div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>       <span class="comment">// FALL THROUGH.</span></div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>     <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>     consume_token:</div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>       Toks.push_back(Tok);</div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>       <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>     }</div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>     IsFirstTokenConsumed = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>   }</div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> }</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:48 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/ParseCXXInlineMethods_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseCXXInlineMethods_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,571 @@
+<!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: ParseCXXInlineMethods.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_58f62bc003e869f0dc8400deafe0ffa1.html">Parse</a></li><li class="navelem"><a class="el" href="dir_0aeab4227b111c06862263ff09b555c2.html">Release+Asserts</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ParseCXXInlineMethods.d</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ParseCXXInlineMethods_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/Parse/Release+Asserts/ParseCXXInlineMethods.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>  /home/tstellar/llvm/tools/clang/lib/Parse/Release+Asserts/ParseCXXInlineMethods.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>  ParseCXXInlineMethods.cpp \</div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Parse/Parser.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OpenMPKinds.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>  /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>  /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>  /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OpenMPKinds.def \</div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OperatorPrecedence.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/CodeCompletionHandler.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Preprocessor.h \</div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Builtins.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>  /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>  /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>  /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>  /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>  /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>  /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>  /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>  /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>  /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>  /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>  /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.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/tools/clang/lib/Parse/../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OperatorKinds.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/StringMap.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>  /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Lexer.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>  /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>  /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>  /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>  /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../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="l00054"></a><span class="lineno">   54</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../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="l00055"></a><span class="lineno">   55</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PreprocessorLexer.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/MultipleIncludeOpt.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/<a class="code" href="UnwrappedLineParser_8cpp.html#ac39165965ffcb0218343355d1f482d64">Token</a>.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/TemplateKinds.h \</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/MacroInfo.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/ModuleMap.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Module.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>  /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>  /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>  /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>  /home/tstellar/llvm/include/llvm/ADT/SetVector.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>  /home/tstellar/llvm/include/llvm/ADT/SmallSet.h \</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>  /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/FileSystemOptions.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/FileSystem.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/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>  /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>  /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PPCallbacks.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/DirectoryLookup.h \</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/ModuleLoader.h \</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Pragma.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PTHLexer.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PTHManager.h \</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/TokenLexer.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/DeclSpec.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>  /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../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="l00092"></a><span class="lineno">   92</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/AttributeList.h \</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Ownership.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/AttrParsedAttrList.inc \</div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Sema.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Attr.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>  /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>  /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>  /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>  /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>  /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>  /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/AttrKinds.h \</div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/AttrList.inc \</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>  /home/tstellar/llvm/include/llvm/ADT/StringSwitch.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Attrs.inc \</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ExprObjC.h \</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclObjC.h \</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../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="l00137"></a><span class="lineno">  137</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/MangleNumberingContext.h \</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/NSAPI.h \</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/AnalysisBasedWarnings.h \</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ExternalSemaSource.h \</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/TypoCorrection.h \</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclCXX.h \</div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ASTUnresolvedSet.h \</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Weak.h \</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>  /home/tstellar/llvm/include/llvm/ADT/MapVector.h \</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/IdentifierResolver.h \</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/LocInfoType.h \</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ObjCMethodList.h \</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ScopeInfo.h \</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>  /home/tstellar/llvm/include/llvm/MC/MCParser/MCAsmParser.h \</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>  /home/tstellar/llvm/include/llvm/MC/MCParser/AsmLexer.h \</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>  /home/tstellar/llvm/include/llvm/MC/MCParser/MCAsmLexer.h \</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>  /home/tstellar/llvm/include/llvm/Support/SMLoc.h \</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>  /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h \
+ RAIIObjectsForParser.h \</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Parse/ParseDiagnostic.h \</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticParseKinds.inc \</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/DelayedDiagnostic.h \</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclTemplate.h \</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>  /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Scope.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/Parse/../../include/clang/Parse/Parser.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/Parse/../../include/clang/Basic/OpenMPKinds.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/ADT/StringRef.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/type_traits.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/DataTypes.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/Parse/../../include/clang/Basic/OpenMPKinds.def:</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/Parse/../../include/clang/Basic/OperatorPrecedence.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/Parse/../../include/clang/Basic/TokenKinds.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/Parse/../../include/clang/Basic/TokenKinds.def:</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/Parse/../../include/clang/Basic/Specifiers.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/CodeCompletionHandler.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Preprocessor.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/Parse/../../include/clang/Basic/Builtins.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/Parse/../../include/clang/Basic/LLVM.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/Support/Casting.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/None.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/Parse/../../include/clang/Basic/Builtins.def:</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/Parse/../../include/clang/Basic/Diagnostic.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/Parse/../../include/clang/Basic/DiagnosticIDs.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/include/llvm/ADT/IntrusiveRefCntPtr.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/Compiler.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/Config/llvm-config.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/Parse/../../include/clang/Basic/DiagnosticCommonKinds.inc:</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/Parse/../../include/clang/Basic/DiagnosticOptions.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/Parse/../../include/clang/Basic/DiagnosticOptions.def:</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/Parse/../../include/clang/Basic/SourceLocation.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/include/llvm/Support/PointerLikeTypeTraits.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/ArrayRef.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/include/llvm/ADT/SmallVector.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/Support/AlignOf.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/Support/MathExtras.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/Support/SwapByteOrder.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/DenseMap.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/ADT/DenseMapInfo.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/Parse/../../include/clang/Basic/IdentifierTable.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/tools/clang/lib/Parse/../../include/clang/Basic/OperatorKinds.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/tools/clang/lib/Parse/../../include/clang/Basic/OperatorKinds.def:</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/ADT/SmallString.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/StringMap.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/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Lexer.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/Parse/../../include/clang/Basic/LangOptions.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/Parse/../../include/clang/Basic/CommentOptions.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/Parse/../../include/clang/Basic/ObjCRuntime.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/Parse/../../include/clang/Basic/VersionTuple.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/Optional.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/include/llvm/ADT/Triple.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/ADT/Twine.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/include/llvm/Support/ErrorHandling.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/Parse/../../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="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/Parse/../../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="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/Parse/../../include/clang/Basic/Sanitizers.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/Parse/../../include/clang/Basic/LangOptions.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/Parse/../../include/clang/Basic/OpenCLExtensions.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/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PreprocessorLexer.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/MultipleIncludeOpt.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/<a class="code" href="UnwrappedLineParser_8cpp.html#ac39165965ffcb0218343355d1f482d64">Token</a>.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/Parse/../../include/clang/Basic/TemplateKinds.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/MacroInfo.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/ModuleMap.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/Parse/../../include/clang/Basic/Module.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/include/llvm/ADT/DenseSet.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/include/llvm/ADT/PointerIntPair.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/PointerUnion.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/include/llvm/ADT/SetVector.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/ADT/SmallSet.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/include/llvm/ADT/SmallPtrSet.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/Parse/../../include/clang/Basic/SourceManager.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/Parse/../../include/clang/Basic/FileManager.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/Parse/../../include/clang/Basic/FileSystemOptions.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/include/llvm/ADT/OwningPtr.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/Support/FileSystem.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/include/llvm/Support/TimeValue.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/include/llvm/Support/system_error.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/include/llvm/Support/MemoryBuffer.h:</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/Support/CBindingWrapping.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/include/llvm-c/Core.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PPCallbacks.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/DirectoryLookup.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/ModuleLoader.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/Pragma.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/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PTHLexer.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/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/PTHManager.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/tools/clang/lib/Parse/../../include/clang/<a class="code" href="Format_8cpp.html#af225acf665df209626523284f00162d4">Lex</a>/TokenLexer.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/Parse/../../include/clang/Sema/DeclSpec.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/Parse/../../include/clang/AST/NestedNameSpecifier.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/include/llvm/ADT/FoldingSet.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/Parse/../../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="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/Parse/../../include/clang/Basic/Lambda.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/Parse/../../include/clang/Sema/AttributeList.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/Parse/../../include/clang/Sema/Ownership.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/Parse/../../include/clang/Sema/AttrParsedAttrList.inc:</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/Parse/../../include/clang/Sema/Sema.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/Parse/../../include/clang/AST/Attr.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/Parse/../../include/clang/AST/AttrIterator.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/Parse/../../include/clang/AST/Decl.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/Parse/../../include/clang/AST/APValue.h:</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/include/llvm/ADT/APFloat.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/include/llvm/ADT/APInt.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/include/llvm/ADT/APSInt.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/Parse/../../include/clang/AST/DeclBase.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/Parse/../../include/clang/AST/DeclarationName.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/Parse/../../include/clang/Basic/PartialDiagnostic.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/ADT/STLExtras.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/PrettyStackTrace.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/Parse/../../include/clang/AST/DeclNodes.inc:</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/Parse/../../include/clang/AST/ExternalASTSource.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/Parse/../../include/clang/AST/CharUnits.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/Parse/../../include/clang/AST/Redeclarable.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/Parse/../../include/clang/AST/Type.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/Parse/../../include/clang/AST/TemplateName.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/Parse/../../include/clang/AST/TypeNodes.def:</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/Parse/../../include/clang/AST/BuiltinTypes.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/include/llvm/Support/raw_ostream.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/Parse/../../include/clang/Basic/AttrKinds.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/Parse/../../include/clang/Basic/AttrList.inc:</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/include/llvm/ADT/StringSwitch.h:</div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span> </div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Attrs.inc:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Expr.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span> </div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclAccessPair.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span> </div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/Stmt.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span> </div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/StmtIterator.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/CapturedStmt.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span> </div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TemplateBase.h:</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span> </div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span> </div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/TypeTraits.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ExprObjC.h:</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span> </div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclObjC.h:</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span> </div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../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="l00432"></a><span class="lineno">  432</span> </div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/MangleNumberingContext.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/NSAPI.h:</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span> </div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/PrettyPrinter.h:</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span> </div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TypeLoc.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/TypeLocNodes.def:</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span> </div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span> </div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/AnalysisBasedWarnings.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ExternalSemaSource.h:</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span> </div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/TypoCorrection.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclCXX.h:</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span> </div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ASTUnresolvedSet.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> </div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/ExprCXX.h:</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span> </div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Weak.h:</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> /home/tstellar/llvm/include/llvm/ADT/MapVector.h:</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span> </div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/IdentifierResolver.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/LocInfoType.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ObjCMethodList.h:</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span> </div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/ScopeInfo.h:</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> /home/tstellar/llvm/include/llvm/MC/MCParser/MCAsmParser.h:</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span> </div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span> /home/tstellar/llvm/include/llvm/MC/MCParser/AsmLexer.h:</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span> </div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span> /home/tstellar/llvm/include/llvm/MC/MCParser/MCAsmLexer.h:</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span> </div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span> /home/tstellar/llvm/include/llvm/Support/SMLoc.h:</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span> </div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span> /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h:</div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> </div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> RAIIObjectsForParser.h:</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> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Parse/ParseDiagnostic.h:</div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> </div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Basic/DiagnosticParseKinds.inc:</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span> </div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/DelayedDiagnostic.h:</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span> </div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/AST/DeclTemplate.h:</div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span> </div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span> /home/tstellar/llvm/tools/clang/lib/Parse/../../include/clang/Sema/Scope.h:</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span> </div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:48 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/ParseDeclCXX_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseDeclCXX_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseDeclCXX_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/ParseDeclCXX_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,3538 @@
+<!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: ParseDeclCXX.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_58f62bc003e869f0dc8400deafe0ffa1.html">Parse</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">ParseDeclCXX.cpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="ParseDeclCXX_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">//===--- ParseDeclCXX.cpp - C++ Declaration Parsing -----------------------===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">//                     The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span> <span class="comment">//  This file implements the C++ Declaration portions of the Parser interfaces.</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="Parse_2Parser_8h.html">clang/Parse/Parser.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span> <span class="preprocessor">#include "<a class="code" href="RAIIObjectsForParser_8h.html">RAIIObjectsForParser.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span> <span class="preprocessor">#include "<a class="code" href="CharInfo_8h.html">clang/Basic/CharInfo.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span> <span class="preprocessor">#include "<a class="code" href="OperatorKinds_8h.html" title="Defines an enumeration for C++ overloaded operators.">clang/Basic/OperatorKinds.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</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="l00019"></a><span class="lineno">   19</span> <span class="preprocessor">#include "<a class="code" href="ParseDiagnostic_8h.html">clang/Parse/ParseDiagnostic.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span> <span class="preprocessor">#include "<a class="code" href="DeclSpec_8h.html" title="This file defines the classes used to store parsed information about declaration-specifiers and decla...">clang/Sema/DeclSpec.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span> <span class="preprocessor">#include "<a class="code" href="ParsedTemplate_8h.html">clang/Sema/ParsedTemplate.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="preprocessor">#include "<a class="code" href="PrettyDeclStackTrace_8h.html">clang/Sema/PrettyDeclStackTrace.h</a>"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="preprocessor">#include "<a class="code" href="Scope_8h.html">clang/Sema/Scope.h</a>"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="preprocessor">#include "<a class="code" href="SemaDiagnostic_8h.html">clang/Sema/SemaDiagnostic.h</a>"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="preprocessor">#include "llvm/ADT/SmallString.h"</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="keyword">using namespace </span>clang;</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">/// ParseNamespace - We know that the current token is a namespace keyword. This</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">/// may either be a top level namespace or a block-level namespace alias. If</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">/// there was an inline keyword, it has already been parsed.</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span> <span class="comment">///       namespace-definition: [C++ 7.3: basic.namespace]</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span> <span class="comment">///         named-namespace-definition</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span> <span class="comment">///         unnamed-namespace-definition</span></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">///       unnamed-namespace-definition:</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span> <span class="comment">///         'inline'[opt] 'namespace' attributes[opt] '{' namespace-body '}'</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">///       named-namespace-definition:</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span> <span class="comment">///         original-namespace-definition</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span> <span class="comment">///         extension-namespace-definition</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span> <span class="comment">///       original-namespace-definition:</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span> <span class="comment">///         'inline'[opt] 'namespace' identifier attributes[opt]</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span> <span class="comment">///             '{' namespace-body '}'</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span> <span class="comment">///       extension-namespace-definition:</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="comment">///         'inline'[opt] 'namespace' original-namespace-name</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="comment">///             '{' namespace-body '}'</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment">///       namespace-alias-definition:  [C++ 7.3.2: namespace.alias]</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">///         'namespace' identifier '=' qualified-namespace-specifier ';'</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseNamespace(<span class="keywordtype">unsigned</span> <a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>,</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</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> &DeclEnd,</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</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> InlineLoc) {</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_namespace) && <span class="stringliteral">"Not a namespace!"</span>);</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</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> NamespaceLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();  <span class="comment">// eat the 'namespace'.</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>   <a class="code" href="classclang_1_1Parser.html#a925bfddba9b0ac6fb0d3bdc6585ea7c8">ObjCDeclContextSwitch</a> ObjCDC(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>     </div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a7b1c16b8f4b7ed2adcfb062be0890425">CodeCompleteNamespaceDecl</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>());</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>     cutOffParsing();</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>   }</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> </div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>   <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> IdentLoc;</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Ident = 0;</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>   std::vector<SourceLocation> ExtraIdentLoc;</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>   std::vector<IdentifierInfo*> ExtraIdent;</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>   std::vector<SourceLocation> ExtraNamespaceLoc;</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span> </div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>   <a class="code" href="classclang_1_1Token.html">Token</a> attrTok;</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="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier)) {</div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>     Ident = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>     IdentLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();  <span class="comment">// eat the identifier.</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>     <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::coloncolon) && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier)) {</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>       ExtraNamespaceLoc.push_back(<a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>());</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>       ExtraIdent.push_back(Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>());</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>       ExtraIdentLoc.push_back(<a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>());</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>     }</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>   }</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> </div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>   <span class="comment">// Read label attributes, if present.</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>   <a class="code" href="classclang_1_1ParsedAttributes.html">ParsedAttributes</a> attrs(AttrFactory);</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___attribute)) {</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>     attrTok = Tok;</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>     ParseGNUAttributes(attrs);</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>   }</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span> </div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal)) {</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>     <span class="keywordflow">if</span> (Ident == 0) {</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_ident);</div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>       <span class="comment">// Skip to end of the definition and eat the ';'.</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>       <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>     }</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>     <span class="keywordflow">if</span> (!attrs.empty())</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(attrTok, diag::err_unexpected_namespace_attributes_alias);</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>     <span class="keywordflow">if</span> (InlineLoc.<a class="code" href="classclang_1_1SourceLocation.html#ad504978d83973770506b6ddb1d7b48f9" title="Return true if this is a valid SourceLocation object.">isValid</a>())</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(InlineLoc, diag::err_inline_namespace_alias)</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>           << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(InlineLoc);</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>     <span class="keywordflow">return</span> ParseNamespaceAlias(NamespaceLoc, IdentLoc, Ident, DeclEnd);</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> </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>   <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> T(*<span class="keyword">this</span>, tok::l_brace);</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>   <span class="keywordflow">if</span> (T.consumeOpen()) {</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>     <span class="keywordflow">if</span> (!ExtraIdent.empty()) {</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon)</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>           << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(ExtraNamespaceLoc.front(), ExtraIdentLoc.back());</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_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, Ident ? diag::err_expected_lbrace :</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>          diag::err_expected_ident_lbrace);</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>   }</div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span> </div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()->isClassScope() || <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()->isTemplateParamScope() || </div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>       <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()->isInObjcMethodScope() || <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()->getBlockParent() || </div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>       <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()->getFnParent()) {</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>     <span class="keywordflow">if</span> (!ExtraIdent.empty()) {</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon)</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>           << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(ExtraNamespaceLoc.front(), ExtraIdentLoc.back());</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>     }</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(T.getOpenLocation(), diag::err_namespace_nonnamespace_scope);</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_brace);</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>   <span class="keywordflow">if</span> (!ExtraIdent.empty()) {</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>     TentativeParsingAction TPA(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_brace, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>     <a class="code" href="classclang_1_1Token.html">Token</a> rBraceToken = Tok;</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>     TPA.Revert();</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>     <span class="keywordflow">if</span> (!rBraceToken.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::r_brace)) {</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon)</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>           << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(ExtraNamespaceLoc.front(), ExtraIdentLoc.back());</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>       std::string NamespaceFix;</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>       <span class="keywordflow">for</span> (std::vector<IdentifierInfo*>::iterator I = ExtraIdent.begin(),</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>            E = ExtraIdent.end(); I != E; ++I) {</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>         NamespaceFix += <span class="stringliteral">" { namespace "</span>;</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>         NamespaceFix += (*I)->getName();</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> </div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>       std::string RBraces;</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>       <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, e = ExtraIdent.size(); i != e; ++i)</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>         RBraces +=  <span class="stringliteral">"} "</span>;</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span> </div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(ExtraNamespaceLoc[0], diag::err_nested_namespaces_with_double_colon)</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>           << <a class="code" href="classclang_1_1FixItHint.html#a90e122cd34933ba821718385fddfae7a" title="Create a code modification hint that replaces the given source range with the given code string...">FixItHint::CreateReplacement</a>(<a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(ExtraNamespaceLoc.front(),</div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>                                                       ExtraIdentLoc.back()),</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>                                           NamespaceFix)</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>           << <a class="code" href="classclang_1_1FixItHint.html#afd481d826e9ddaa39fc82a698a810246" title="Create a code modification hint that inserts the given code string at a specific location.">FixItHint::CreateInsertion</a>(rBraceToken.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), RBraces);</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>     }</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> </div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>   <span class="comment">// If we're still good, complain about inline namespaces in non-C++0x now.</span></div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>   <span class="keywordflow">if</span> (InlineLoc.<a class="code" href="classclang_1_1SourceLocation.html#ad504978d83973770506b6ddb1d7b48f9" title="Return true if this is a valid SourceLocation object.">isValid</a>())</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(InlineLoc, <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11 ?</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>          diag::warn_cxx98_compat_inline_namespace : diag::ext_inline_namespace);</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span> </div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>   <span class="comment">// Enter a scope for the namespace.</span></div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>   ParseScope NamespaceScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>);</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> </div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>   <a class="code" href="classclang_1_1Decl.html">Decl</a> *NamespcDecl =</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>     Actions.<a class="code" href="classclang_1_1Sema.html#aed6e2fdb4e44ee5ae9708fa55f4f7ab5">ActOnStartNamespaceDef</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), InlineLoc, NamespaceLoc,</div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>                                    IdentLoc, Ident, T.getOpenLocation(), </div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>                                    attrs.getList());</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>   <a class="code" href="classclang_1_1PrettyDeclStackTraceEntry.html">PrettyDeclStackTraceEntry</a> CrashInfo(Actions, NamespcDecl, NamespaceLoc,</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>                                       <span class="stringliteral">"parsing namespace"</span>);</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="comment">// Parse the contents of the namespace.  This includes parsing recovery on </span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>   <span class="comment">// any improperly nested namespaces.</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>   ParseInnerNamespace(ExtraIdentLoc, ExtraIdent, ExtraNamespaceLoc, 0,</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>                       InlineLoc, attrs, T);</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>   <span class="comment">// Leave the namespace scope.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>   NamespaceScope.Exit();</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>   DeclEnd = T.getCloseLocation();</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>   Actions.<a class="code" href="classclang_1_1Sema.html#ac3670628f7e39b800da1a16261d3d941">ActOnFinishNamespaceDef</a>(NamespcDecl, DeclEnd);</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>   <span class="keywordflow">return</span> NamespcDecl;</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> <span class="comment"></span></div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">/// ParseInnerNamespace - Parse the contents of a namespace.</span></div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseInnerNamespace(std::vector<SourceLocation>& IdentLoc,</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>                                  std::vector<IdentifierInfo*>& Ident,</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>                                  std::vector<SourceLocation>& NamespaceLoc,</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span>                                  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> index, <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>& InlineLoc,</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>                                  <a class="code" href="classclang_1_1ParsedAttributes.html">ParsedAttributes</a>& attrs,</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span>                                  <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> &Tracker) {</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>   <span class="keywordflow">if</span> (index == Ident.size()) {</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span>     <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::r_brace) && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>)) {</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>       ParsedAttributesWithRange attrs(AttrFactory);</div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span>       MaybeParseCXX11Attributes(attrs);</div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>       MaybeParseMicrosoftAttributes(attrs);</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>       ParseExternalDeclaration(attrs);</div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>     }</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>     <span class="comment">// The caller is what called check -- we are simply calling</span></div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>     <span class="comment">// the close for it.</span></div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>     Tracker.<a class="code" href="classclang_1_1BalancedDelimiterTracker.html#a0604b944b45dc21a6f5ba3d60aea21aa">consumeClose</a>();</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="keywordflow">return</span>;</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> </div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span>   <span class="comment">// Parse improperly nested namespaces.</span></div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span>   ParseScope NamespaceScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>);</div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span>   <a class="code" href="classclang_1_1Decl.html">Decl</a> *NamespcDecl =</div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span>     Actions.<a class="code" href="classclang_1_1Sema.html#aed6e2fdb4e44ee5ae9708fa55f4f7ab5">ActOnStartNamespaceDef</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span>                                    NamespaceLoc[index], IdentLoc[index],</div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span>                                    Ident[index], Tracker.<a class="code" href="classclang_1_1BalancedDelimiterTracker.html#a5a460bd8c664becc038d4764072fdc58">getOpenLocation</a>(), </div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span>                                    attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>());</div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> </div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span>   ParseInnerNamespace(IdentLoc, Ident, NamespaceLoc, ++index, InlineLoc,</div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span>                       attrs, Tracker);</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>   NamespaceScope.Exit();</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>   Actions.<a class="code" href="classclang_1_1Sema.html#ac3670628f7e39b800da1a16261d3d941">ActOnFinishNamespaceDef</a>(NamespcDecl, Tracker.<a class="code" href="classclang_1_1BalancedDelimiterTracker.html#a7d323c7574221fb1f8f4bdab695e8d87">getCloseLocation</a>());</div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> }</div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> <span class="comment"></span></div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="comment">/// ParseNamespaceAlias - Parse the part after the '=' in a namespace</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> <span class="comment">/// alias definition.</span></div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseNamespaceAlias(<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> NamespaceLoc,</div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</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> AliasLoc,</div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span>                                   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Alias,</div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</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> &DeclEnd) {</div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal) && <span class="stringliteral">"Not equal token"</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>   <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>(); <span class="comment">// eat the '='.</span></div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span> </div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a881c475e7cb2dc7b8af6fceeedb67353">CodeCompleteNamespaceAliasDecl</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>());</div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span>     cutOffParsing();</div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span>   }</div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> </div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span>   <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> SS;</div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span>   <span class="comment">// Parse (optional) nested-name-specifier.</span></div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span>   ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), <span class="comment">/*EnteringContext=*/</span><span class="keyword">false</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="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a4470b2b22ffe903c05b83ba25d774652" title="An error occurred during parsing of the scope specifier.">isInvalid</a>() || Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::identifier)) {</div>
+<div class="line"><a name="l00250"></a><span class="lineno">  250</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_namespace_name);</div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span>     <span class="comment">// Skip to end of the definition and eat the ';'.</span></div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span>   <span class="comment">// Parse identifier.</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Ident = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</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> IdentLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> </div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span>   <span class="comment">// Eat the ';'.</span></div>
+<div class="line"><a name="l00261"></a><span class="lineno">  261</span>   DeclEnd = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span>   ExpectAndConsume(tok::semi, diag::err_expected_semi_after_namespace_name,</div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span>                    <span class="stringliteral">""</span>, tok::semi);</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>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a241762d07c75d81110bc29eb7f54e617">ActOnNamespaceAliasDef</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), NamespaceLoc, AliasLoc, Alias,</div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span>                                         SS, IdentLoc, Ident);</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="comment"></span></div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> <span class="comment">/// ParseLinkage - We know that the current token is a string_literal</span></div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> <span class="comment">/// and just before that, that extern was seen.</span></div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> <span class="comment">///       linkage-specification: [C++ 7.5p2: dcl.link]</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> <span class="comment">///         'extern' string-literal '{' declaration-seq[opt] '}'</span></div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> <span class="comment">///         'extern' string-literal declaration</span></div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseLinkage(<a class="code" href="classclang_1_1ParsingDeclSpec.html" title="A class for parsing a DeclSpec.">ParsingDeclSpec</a> &DS, <span class="keywordtype">unsigned</span> Context) {</div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::string_literal) && <span class="stringliteral">"Not a string literal!"</span>);</div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span>   <a class="code" href="classllvm_1_1SmallString.html">SmallString<8></a> LangBuffer;</div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span>   <span class="keywordtype">bool</span> Invalid = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span>   StringRef Lang = PP.<a class="code" href="classclang_1_1Preprocessor.html#a000147976c13c269dd82ef645fa3fe35">getSpelling</a>(Tok, LangBuffer, &Invalid);</div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span>   <span class="keywordflow">if</span> (Invalid)</div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> </div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span>   <span class="comment">// FIXME: This is incorrect: linkage-specifiers are parsed in translation</span></div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span>   <span class="comment">// phase 7, so string-literal concatenation is supposed to occur.</span></div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span>   <span class="comment">//   extern "" "C" "" "+" "+" { } is legal.</span></div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#a0a2223e4b9c06ce5b651ec8bd830dedd" title="Return true if this token is a string or character literal which has a ud-suffix.">hasUDSuffix</a>())</div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_invalid_string_udl);</div>
+<div class="line"><a name="l00289"></a><span class="lineno">  289</span>   <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> Loc = ConsumeStringToken();</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>   ParseScope LinkageScope(<span class="keyword">this</span>, <a class="code" href="classclang_1_1Scope.html#afa7e82b8e23f84d0d73e27953b9afab7af9dd922f0e23495a79fc93698d6775ff" title="This is a scope that can contain a declaration. Some scopes just contain loop constructs but don't co...">Scope::DeclScope</a>);</div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span>   <a class="code" href="classclang_1_1Decl.html">Decl</a> *LinkageSpec</div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span>     = Actions.<a class="code" href="classclang_1_1Sema.html#a1cf05790abbb02894a0588f4481611e7">ActOnStartLinkageSpecification</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span>                                              DS.<a class="code" href="classclang_1_1DeclSpec.html#a7b8a30b08c1fa1aac47e417167a8631f">getSourceRange</a>().<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>(),</div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span>                                              Loc, Lang,</div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span>                                       Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) ? Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>()</div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span>                                                            : <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span> </div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span>   ParsedAttributesWithRange attrs(AttrFactory);</div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span>   MaybeParseCXX11Attributes(attrs);</div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span>   MaybeParseMicrosoftAttributes(attrs);</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="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::l_brace)) {</div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span>     <span class="comment">// Reset the source range in DS, as the leading "extern"</span></div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span>     <span class="comment">// does not really belong to the inner declaration ...</span></div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#a38776fd8ea211cdd4b5bd48660659f4c">SetRangeStart</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#a3008264a9dc987fa770717c59c4f2e7d">SetRangeEnd</a>(<a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l00308"></a><span class="lineno">  308</span>     <span class="comment">// ... but anyway remember that such an "extern" was seen.</span></div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#ad92fdd66955170609f0a86c5b71241d1">setExternInLinkageSpec</a>(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span>     ParseExternalDeclaration(attrs, &DS);</div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span>     <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#abd7360b5af856e88299a395f0fec2998">ActOnFinishLinkageSpecification</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LinkageSpec,</div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span>                                                    <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="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>   DS.<a class="code" href="classclang_1_1ParsingDeclSpec.html#a8c879ac27c8f0b2c2a00cae90f3db267">abort</a>();</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>   ProhibitAttributes(attrs);</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>   <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> T(*<span class="keyword">this</span>, tok::l_brace);</div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span>   T.consumeOpen();</div>
+<div class="line"><a name="l00321"></a><span class="lineno">  321</span>   <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::r_brace) && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(<a class="code" href="namespaceclang_1_1comments_1_1tok.html#af269e1299a7e813dd4471ab24630e01aac4904dc9309fe9cf0fe76ff45d54f265">tok::eof</a>)) {</div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span>     ParsedAttributesWithRange attrs(AttrFactory);</div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span>     MaybeParseCXX11Attributes(attrs);</div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span>     MaybeParseMicrosoftAttributes(attrs);</div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span>     ParseExternalDeclaration(attrs);</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> </div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span>   T.consumeClose();</div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#abd7360b5af856e88299a395f0fec2998">ActOnFinishLinkageSpecification</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), LinkageSpec,</div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span>                                                  T.getCloseLocation());</div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> }</div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span> <span class="comment"></span></div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span> <span class="comment">/// ParseUsingDirectiveOrDeclaration - Parse C++ using using-declaration or</span></div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span> <span class="comment">/// using-directive. Assumes that current token is 'using'.</span></div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseUsingDirectiveOrDeclaration(<span class="keywordtype">unsigned</span> Context,</div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span>                                          <span class="keyword">const</span> ParsedTemplateInfo &TemplateInfo,</div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</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> &DeclEnd,</div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span>                                              ParsedAttributesWithRange &attrs,</div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span>                                                <a class="code" href="classclang_1_1Decl.html">Decl</a> **OwnedType) {</div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_using) && <span class="stringliteral">"Not using token"</span>);</div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span>   <a class="code" href="classclang_1_1Parser.html#a925bfddba9b0ac6fb0d3bdc6585ea7c8">ObjCDeclContextSwitch</a> ObjCDC(*<span class="keyword">this</span>);</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>   <span class="comment">// Eat 'using'.</span></div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</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> UsingLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span> </div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a0c8c145ebeabed6209b90c0ed15eac4f">CodeCompleteUsing</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>());</div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span>     cutOffParsing();</div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span>   <span class="comment">// 'using namespace' means this is a using-directive.</span></div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_namespace)) {</div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span>     <span class="comment">// Template parameters are always an error here.</span></div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span>     <span class="keywordflow">if</span> (TemplateInfo.Kind) {</div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span>       <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> R = TemplateInfo.getSourceRange();</div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(UsingLoc, diag::err_templated_using_directive)</div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span>         << R << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(R);</div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span>     }</div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span> </div>
+<div class="line"><a name="l00361"></a><span class="lineno">  361</span>     <span class="keywordflow">return</span> ParseUsingDirective(Context, UsingLoc, DeclEnd, attrs);</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> </div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span>   <span class="comment">// Otherwise, it must be a using-declaration or an alias-declaration.</span></div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span> </div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span>   <span class="comment">// Using declarations can't have attributes.</span></div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span>   ProhibitAttributes(attrs);</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>   <span class="keywordflow">return</span> ParseUsingDeclaration(Context, TemplateInfo, UsingLoc, DeclEnd,</div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span>                                     <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa24d2c10b569678923a7bff78b68cb02b">AS_none</a>, OwnedType);</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"></span></div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> <span class="comment">/// ParseUsingDirective - Parse C++ using-directive, assumes</span></div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span> <span class="comment">/// that current token is 'namespace' and 'using' was already parsed.</span></div>
+<div class="line"><a name="l00375"></a><span class="lineno">  375</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> <span class="comment">///       using-directive: [C++ 7.3.p4: namespace.udir]</span></div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment">///        'using' 'namespace' ::[opt] nested-name-specifier[opt]</span></div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">///                 namespace-name ;</span></div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">/// [GNU] using-directive:</span></div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">///        'using' 'namespace' ::[opt] nested-name-specifier[opt]</span></div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> <span class="comment">///                 namespace-name attributes[opt] ;</span></div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseUsingDirective(<span class="keywordtype">unsigned</span> Context,</div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</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> UsingLoc,</div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</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> &DeclEnd,</div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span>                                   <a class="code" href="classclang_1_1ParsedAttributes.html">ParsedAttributes</a> &attrs) {</div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_namespace) && <span class="stringliteral">"Not 'namespace' token"</span>);</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>   <span class="comment">// Eat 'namespace'.</span></div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</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> NamespcLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span> </div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a4e2a40d0a8acce2dc4d5698c31503e58">CodeCompleteUsingDirective</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>());</div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span>     cutOffParsing();</div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span>     <span class="keywordflow">return</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> </div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span>   <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> SS;</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>   <span class="comment">// Parse (optional) nested-name-specifier.</span></div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>   ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), <span class="comment">/*EnteringContext=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span> </div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *NamespcName = 0;</div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</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> IdentLoc = <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>();</div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span> </div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span>   <span class="comment">// Parse namespace-name.</span></div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>   <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a4470b2b22ffe903c05b83ba25d774652" title="An error occurred during parsing of the scope specifier.">isInvalid</a>() || Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::identifier)) {</div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_namespace_name);</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span>     <span class="comment">// If there was invalid namespace name, skip to end of decl, and eat ';'.</span></div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span>     <span class="comment">// FIXME: Are there cases, when we would like to call ActOnUsingDirective?</span></div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span>   <span class="comment">// Parse identifier.</span></div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span>   NamespcName = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span>   IdentLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span> </div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span>   <span class="comment">// Parse (optional) attributes (most likely GNU strong-using extension).</span></div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>   <span class="keywordtype">bool</span> GNUAttr = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___attribute)) {</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span>     GNUAttr = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span>     ParseGNUAttributes(attrs);</div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>   }</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span> </div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>   <span class="comment">// Eat ';'.</span></div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span>   DeclEnd = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>   ExpectAndConsume(tok::semi,</div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>                    GNUAttr ? diag::err_expected_semi_after_attribute_list</div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span>                            : diag::err_expected_semi_after_namespace_name, </div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>                    <span class="stringliteral">""</span>, tok::semi);</div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span> </div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#aba9602f7967ded85785965b81fd55b6d">ActOnUsingDirective</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), UsingLoc, NamespcLoc, SS,</div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>                                      IdentLoc, NamespcName, attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>());</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span> }</div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span> <span class="comment"></span></div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span> <span class="comment">/// ParseUsingDeclaration - Parse C++ using-declaration or alias-declaration.</span></div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="comment">/// Assumes that 'using' was already seen.</span></div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span> <span class="comment">///     using-declaration: [C++ 7.3.p3: namespace.udecl]</span></div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="comment">///       'using' 'typename'[opt] ::[opt] nested-name-specifier</span></div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span> <span class="comment">///               unqualified-id</span></div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="comment">///       'using' :: unqualified-id</span></div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span> <span class="comment">///     alias-declaration: C++11 [dcl.dcl]p1</span></div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span> <span class="comment">///       'using' identifier attribute-specifier-seq[opt] = type-id ;</span></div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseUsingDeclaration(<span class="keywordtype">unsigned</span> Context,</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>                                     <span class="keyword">const</span> ParsedTemplateInfo &TemplateInfo,</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</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> UsingLoc,</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</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> &DeclEnd,</div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span>                                     <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> AS,</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span>                                     <a class="code" href="classclang_1_1Decl.html">Decl</a> **OwnedType) {</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>   <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> SS;</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</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> TypenameLoc;</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>   <span class="keywordtype">bool</span> HasTypenameKeyword = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> </div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>   <span class="comment">// Check for misplaced attributes before the identifier in an</span></div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>   <span class="comment">// alias-declaration.</span></div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>   ParsedAttributesWithRange MisplacedAttrs(AttrFactory);</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>   MaybeParseCXX11Attributes(MisplacedAttrs);</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span> </div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>   <span class="comment">// Ignore optional 'typename'.</span></div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>   <span class="comment">// FIXME: This is wrong; we should parse this as a typename-specifier.</span></div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_typename)) {</div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span>     TypenameLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span>     HasTypenameKeyword = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>   }</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span> </div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>   <span class="comment">// Parse nested-name-specifier.</span></div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *LastII = 0;</div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>   ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), <span class="comment">/*EnteringContext=*/</span><span class="keyword">false</span>,</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>                                  <span class="comment">/*MayBePseudoDtor=*/</span>0, <span class="comment">/*IsTypename=*/</span><span class="keyword">false</span>,</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>                                  <span class="comment">/*LastII=*/</span>&LastII);</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span> </div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>   <span class="comment">// Check nested-name specifier.</span></div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>   <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a4470b2b22ffe903c05b83ba25d774652" title="An error occurred during parsing of the scope specifier.">isInvalid</a>()) {</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</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> TemplateKWLoc;</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>   <a class="code" href="classclang_1_1UnqualifiedId.html" title="Represents a C++ unqualified-id that has been parsed.">UnqualifiedId</a> Name;</div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> </div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span>   <span class="comment">// Parse the unqualified-id. We allow parsing of both constructor and</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>   <span class="comment">// destructor names and allow the action module to diagnose any semantic</span></div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>   <span class="comment">// errors.</span></div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>   <span class="comment">// C++11 [class.qual]p2:</span></div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>   <span class="comment">//   [...] in a using-declaration that is a member-declaration, if the name</span></div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>   <span class="comment">//   specified after the nested-name-specifier is the same as the identifier</span></div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>   <span class="comment">//   or the simple-template-id's template-name in the last component of the</span></div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>   <span class="comment">//   nested-name-specifier, the name is [...] considered to name the</span></div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>   <span class="comment">//   constructor.</span></div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bba306744f6eb6433073e27523a5ed63184">CPlusPlus11</a> && Context == <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156a1e14935ffa1250c82e451a548b7302f6">Declarator::MemberContext</a> &&</div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>       Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier) && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi) &&</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>       SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a22c85914d194b1a4dd94bd10da20023b" title="A scope specifier is present, but may be valid or invalid.">isNotEmpty</a>() && LastII == Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>() &&</div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>       !SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#ae880473296a083a62b508203cf9c3f24" title="Retrieve the representation of the nested-name-specifier.">getScopeRep</a>()-><a class="code" href="classclang_1_1NestedNameSpecifier.html#afa7f841b1591c0e8155abc2aa0971cd6" title="Retrieve the namespace stored in this nested name specifier.">getAsNamespace</a>() &&</div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>       !SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#ae880473296a083a62b508203cf9c3f24" title="Retrieve the representation of the nested-name-specifier.">getScopeRep</a>()-><a class="code" href="classclang_1_1NestedNameSpecifier.html#acd728b7a0e0cc5f8d68645a7a8d17169" title="Retrieve the namespace alias stored in this nested name specifier.">getAsNamespaceAlias</a>()) {</div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</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> IdLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>     <a class="code" href="classclang_1_1OpaquePtr.html">ParsedType</a> <a class="code" href="classclang_1_1Type.html">Type</a> = Actions.<a class="code" href="classclang_1_1Sema.html#a28c74385988883a48b12b8ba60cec154" title="Handle the result of the special case name lookup for inheriting constructor declarations. 'NS::X::X' and 'NS::X<...>::X' are treated as constructor names in member using declarations, even if 'X' is not the name of the corresponding type.">getInheritingConstructorName</a>(SS, IdLoc, *LastII);</div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>     Name.<a class="code" href="classclang_1_1UnqualifiedId.html#ad0c1719e1e48a16435582f0db114df87" title="Specify that this unqualified-id was parsed as a constructor name.">setConstructorName</a>(Type, IdLoc, IdLoc);</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a1825dac9fa2dbbc90288b97f2c14eba6" title="Parse a C++ unqualified-id (or a C identifier), which describes the name of an entity.">ParseUnqualifiedId</a>(SS, <span class="comment">/*EnteringContext=*/</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>                                 <span class="comment">/*AllowDestructorName=*/</span> <span class="keyword">true</span>,</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>                                 <span class="comment">/*AllowConstructorName=*/</span> <span class="keyword">true</span>, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(),</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>                                 TemplateKWLoc, Name)) {</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>   ParsedAttributesWithRange Attrs(AttrFactory);</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>   MaybeParseGNUAttributes(Attrs);</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span>   MaybeParseCXX11Attributes(Attrs);</div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span> </div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>   <span class="comment">// Maybe this is an alias-declaration.</span></div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>   <a class="code" href="classclang_1_1ActionResult.html">TypeResult</a> TypeAlias;</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>   <span class="keywordtype">bool</span> IsAliasDecl = Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal);</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>   <span class="keywordflow">if</span> (IsAliasDecl) {</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>     <span class="comment">// If we had any misplaced attributes from earlier, this is where they</span></div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>     <span class="comment">// should have been written.</span></div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>     <span class="keywordflow">if</span> (MisplacedAttrs.Range.isValid()) {</div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(MisplacedAttrs.Range.getBegin(), diag::err_attributes_not_allowed)</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>         << <a class="code" href="classclang_1_1FixItHint.html#a0d8406a70566d4b3937cd5b11a2c520f" title="Create a code modification hint that inserts the given code from FromRange at a specific location...">FixItHint::CreateInsertionFromRange</a>(</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>                Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(),</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>                <a class="code" href="classclang_1_1CharSourceRange.html#a5763cf308a9499dde63046fab463a61d">CharSourceRange::getTokenRange</a>(MisplacedAttrs.Range))</div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(MisplacedAttrs.Range);</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>       Attrs.takeAllFrom(MisplacedAttrs);</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>     }</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span> </div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</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>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11 ?</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>          diag::warn_cxx98_compat_alias_declaration :</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>          diag::ext_alias_declaration);</div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span> </div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>     <span class="comment">// Type alias templates cannot be specialized.</span></div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>     <span class="keywordtype">int</span> SpecKind = -1;</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>     <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::Template &&</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>         Name.<a class="code" href="classclang_1_1UnqualifiedId.html#afe84a760cca9962b8873d220aaa0a479" title="Determine what kind of name we have.">getKind</a>() == <a class="code" href="classclang_1_1UnqualifiedId.html#a13c965a3b07b46673fc277c3e0eaa11ba1fa17f9404850cf66dacb34bd91f9be4" title="A template-id, e.g., f<int>.">UnqualifiedId::IK_TemplateId</a>)</div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>       SpecKind = 0;</div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>     <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitSpecialization)</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>       SpecKind = 1;</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>     <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation)</div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span>       SpecKind = 2;</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>     <span class="keywordflow">if</span> (SpecKind != -1) {</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>       <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Range;</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span>       <span class="keywordflow">if</span> (SpecKind == 0)</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>         Range = <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(Name.<a class="code" href="classclang_1_1UnqualifiedId.html#afb6aa425ddb66533db9a8c6602ea8e32" title="When Kind == IK_TemplateId or IK_ConstructorTemplateId, the template-id annotation that contains the ...">TemplateId</a>-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a85b693f9db77c512d73f7609950ea5d6">LAngleLoc</a>,</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>                             Name.<a class="code" href="classclang_1_1UnqualifiedId.html#afb6aa425ddb66533db9a8c6602ea8e32" title="When Kind == IK_TemplateId or IK_ConstructorTemplateId, the template-id annotation that contains the ...">TemplateId</a>-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a7b7282dfba3c5a11304e3e96495f2300">RAngleLoc</a>);</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>         Range = TemplateInfo.getSourceRange();</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Range.<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>(), diag::err_alias_declaration_specialization)</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>         << SpecKind << Range;</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span>       <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>     }</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span> </div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>     <span class="comment">// Name must be an identifier.</span></div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>     <span class="keywordflow">if</span> (Name.<a class="code" href="classclang_1_1UnqualifiedId.html#afe84a760cca9962b8873d220aaa0a479" title="Determine what kind of name we have.">getKind</a>() != <a class="code" href="classclang_1_1UnqualifiedId.html#a13c965a3b07b46673fc277c3e0eaa11ba8b3e6f0586c6a0239f754a3ed7c699de" title="An identifier.">UnqualifiedId::IK_Identifier</a>) {</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Name.<a class="code" href="classclang_1_1UnqualifiedId.html#aba342f056ba11010ed6bca849f5cc812" title="The location of the first token that describes this unqualified-id, which will be the location of the...">StartLocation</a>, diag::err_alias_declaration_not_identifier);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>       <span class="comment">// No removal fixit: can't recover from this.</span></div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>       <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (HasTypenameKeyword)</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(TypenameLoc, diag::err_alias_declaration_not_identifier)</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(<a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(TypenameLoc,</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>                              SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a22c85914d194b1a4dd94bd10da20023b" title="A scope specifier is present, but may be valid or invalid.">isNotEmpty</a>() ? SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a8d97dfd4ab5e7e1ba5a966f645338f9f">getEndLoc</a>() : TypenameLoc));</div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a22c85914d194b1a4dd94bd10da20023b" title="A scope specifier is present, but may be valid or invalid.">isNotEmpty</a>())</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a7c9a0b3ec2f55652cd17b37b7008cceb">getBeginLoc</a>(), diag::err_alias_declaration_not_identifier)</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a4cd627def4f36f863b61b77477d137eb">getRange</a>());</div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span> </div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span>     TypeAlias = <a class="code" href="classclang_1_1Parser.html#aa7137dd627971c6ecad56fb67a1c1179">ParseTypeName</a>(0, TemplateInfo.Kind ?</div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>                               <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156a1cb68d53d8d76ffd6bc21da250d21066">Declarator::AliasTemplateContext</a> :</div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>                               <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156aba6faa10597fac5b7d0b6c73b4c79993">Declarator::AliasDeclContext</a>, AS, OwnedType,</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>                               &Attrs);</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>     <span class="comment">// C++11 attributes are not allowed on a using-declaration, but GNU ones</span></div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>     <span class="comment">// are.</span></div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span>     ProhibitAttributes(MisplacedAttrs);</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>     ProhibitAttributes(Attrs);</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span> </div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>     <span class="comment">// Parse (optional) attributes (most likely GNU strong-using extension).</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>     MaybeParseGNUAttributes(Attrs);</div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>   }</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span> </div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span>   <span class="comment">// Eat ';'.</span></div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>   DeclEnd = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>   ExpectAndConsume(tok::semi, diag::err_expected_semi_after,</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>                    !Attrs.empty() ? <span class="stringliteral">"attributes list"</span> :</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>                    IsAliasDecl ? <span class="stringliteral">"alias declaration"</span> : <span class="stringliteral">"using declaration"</span>,</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>                    tok::semi);</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span> </div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>   <span class="comment">// Diagnose an attempt to declare a templated using-declaration.</span></div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span>   <span class="comment">// In C++11, alias-declarations can be templates:</span></div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>   <span class="comment">//   template <...> using id = type;</span></div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>   <span class="keywordflow">if</span> (TemplateInfo.Kind && !IsAliasDecl) {</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>     <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> R = TemplateInfo.getSourceRange();</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(UsingLoc, diag::err_templated_using_declaration)</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>       << R << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(R);</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="comment">// Unfortunately, we have to bail out instead of recovering by</span></div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span>     <span class="comment">// ignoring the parameters, just in case the nested name specifier</span></div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span>     <span class="comment">// depends on the parameters.</span></div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>   }</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span> </div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>   <span class="comment">// "typename" keyword is allowed for identifiers only,</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>   <span class="comment">// because it may be a type definition.</span></div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>   <span class="keywordflow">if</span> (HasTypenameKeyword && Name.<a class="code" href="classclang_1_1UnqualifiedId.html#afe84a760cca9962b8873d220aaa0a479" title="Determine what kind of name we have.">getKind</a>() != <a class="code" href="classclang_1_1UnqualifiedId.html#a13c965a3b07b46673fc277c3e0eaa11ba8b3e6f0586c6a0239f754a3ed7c699de" title="An identifier.">UnqualifiedId::IK_Identifier</a>) {</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Name.<a class="code" href="classclang_1_1UnqualifiedId.html#a79268390f0aa348edea4ee6041aa256d" title="Return the source range that covers this unqualified-id.">getSourceRange</a>().<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>(), diag::err_typename_identifiers_only)</div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>       << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(<a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(TypenameLoc));</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>     <span class="comment">// Proceed parsing, but reset the HasTypenameKeyword flag.</span></div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>     HasTypenameKeyword = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>   }</div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span> </div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>   <span class="keywordflow">if</span> (IsAliasDecl) {</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>     <a class="code" href="classclang_1_1Parser.html#af56d5f355fdfa215fcd576434347a29b">TemplateParameterLists</a> *TemplateParams = TemplateInfo.TemplateParams;</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>     <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a> TemplateParamsArg(</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>       TemplateParams ? TemplateParams->data() : 0,</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>       TemplateParams ? TemplateParams->size() : 0);</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>     <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a1567721698335facea76fa041ce22f2b">ActOnAliasDeclaration</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), AS, TemplateParamsArg,</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>                                          UsingLoc, Name, Attrs.getList(),</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>                                          TypeAlias);</div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>   }</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span> </div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a0d09dd9531bccb9c4d6ec8297b67da00">ActOnUsingDeclaration</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), AS,</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>                                        <span class="comment">/* HasUsingKeyword */</span> <span class="keyword">true</span>, UsingLoc,</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>                                        SS, Name, Attrs.getList(),</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>                                        HasTypenameKeyword, TypenameLoc);</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">/// ParseStaticAssertDeclaration - Parse C++0x or C11 static_assert-declaration.</span></div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="comment">/// [C++0x] static_assert-declaration:</span></div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span> <span class="comment">///           static_assert ( constant-expression  ,  string-literal  ) ;</span></div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span> <span class="comment">/// [C11]   static_assert-declaration:</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="comment">///           _Static_assert ( constant-expression  ,  string-literal  ) ;</span></div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span> <span class="comment"></span><a class="code" href="classclang_1_1Decl.html">Decl</a> *Parser::ParseStaticAssertDeclaration(<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> &DeclEnd){</div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span>   assert((Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_static_assert) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw__Static_assert)) &&</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>          <span class="stringliteral">"Not a static_assert declaration"</span>);</div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span> </div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw__Static_assert) && !<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().C11)</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::ext_c11_static_assert);</div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_static_assert))</div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::warn_cxx98_compat_static_assert);</div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span> </div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span>   <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> StaticAssertLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span> </div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span>   <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> T(*<span class="keyword">this</span>, tok::l_paren);</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>   <span class="keywordflow">if</span> (T.consumeOpen()) {</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_lparen);</div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span>     <a class="code" href="classclang_1_1Parser.html#a913cb672eb4fc888a372e25da65d4957">SkipMalformedDecl</a>();</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span>   <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a> AssertExpr(<a class="code" href="classclang_1_1Parser.html#a6a9c7be0b89ac30ec2420874d4ff6e3f">ParseConstantExpression</a>());</div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span>   <span class="keywordflow">if</span> (AssertExpr.isInvalid()) {</div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span>     <a class="code" href="classclang_1_1Parser.html#a913cb672eb4fc888a372e25da65d4957">SkipMalformedDecl</a>();</div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span>     <span class="keywordflow">return</span> 0;</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> </div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span>   <span class="keywordflow">if</span> (ExpectAndConsume(tok::comma, diag::err_expected_comma, <span class="stringliteral">""</span>, tok::semi))</div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span> </div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span>   <span class="keywordflow">if</span> (!isTokenStringLiteral()) {</div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_string_literal)</div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>       << <span class="comment">/*Source='static_assert'*/</span>1;</div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span>     <a class="code" href="classclang_1_1Parser.html#a913cb672eb4fc888a372e25da65d4957">SkipMalformedDecl</a>();</div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span>   }</div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span> </div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span>   <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a> AssertMessage(ParseStringLiteralExpression());</div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span>   <span class="keywordflow">if</span> (AssertMessage.isInvalid()) {</div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span>     <a class="code" href="classclang_1_1Parser.html#a913cb672eb4fc888a372e25da65d4957">SkipMalformedDecl</a>();</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span>     <span class="keywordflow">return</span> 0;</div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</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>   T.consumeClose();</div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span> </div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span>   DeclEnd = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span>   ExpectAndConsumeSemi(diag::err_expected_semi_after_static_assert);</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span> </div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#ab002439c9713a24f81d9fa8d46768bd3">ActOnStaticAssertDeclaration</a>(StaticAssertLoc,</div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span>                                               AssertExpr.take(),</div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>                                               AssertMessage.take(),</div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span>                                               T.getCloseLocation());</div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span> }</div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="comment"></span></div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="comment">/// ParseDecltypeSpecifier - Parse a C++11 decltype specifier.</span></div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span> <span class="comment">/// 'decltype' ( expression )</span></div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="comment">/// 'decltype' ( 'auto' )      [C++1y]</span></div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</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> Parser::ParseDecltypeSpecifier(<a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a> &DS) {</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span>   assert((Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_decltype) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_decltype))</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span>            && <span class="stringliteral">"Not a decltype specifier"</span>);</div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span>   </div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span>   <a class="code" href="classclang_1_1ActionResult.html">ExprResult</a> Result;</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</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> StartLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</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> EndLoc;</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span> </div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_decltype)) {</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span>     Result = getExprAnnotation(Tok);</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span>     EndLoc = Tok.<a class="code" href="classclang_1_1Token.html#a924ea06e0e4510bc5f612d05ad53ffe3">getAnnotationEndLoc</a>();</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span>     <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span>       <span class="keywordflow">return</span> EndLoc;</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span>     }</div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>()-><a class="code" href="classclang_1_1IdentifierInfo.html#a6cc09d0b74aca49bbdb23bcc4c35cf82" title="Return true if this is the identifier for the specified string.">isStr</a>(<span class="stringliteral">"decltype"</span>))</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::warn_cxx98_compat_decltype);</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span> </div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span> </div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span>     <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> T(*<span class="keyword">this</span>, tok::l_paren);</div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span>     <span class="keywordflow">if</span> (T.expectAndConsume(diag::err_expected_lparen_after,</div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span>                            <span class="stringliteral">"decltype"</span>, tok::r_paren)) {</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span>       <span class="keywordflow">return</span> T.getOpenLocation() == Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>() ?</div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span>              StartLoc : T.getOpenLocation();</div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span>     }</div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span> </div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span>     <span class="comment">// Check for C++1y 'decltype(auto)'.</span></div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_auto)) {</div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span>       <span class="comment">// No need to disambiguate here: an expression can't start with 'auto',</span></div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span>       <span class="comment">// because the typename-specifier in a function-style cast operation can't</span></div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span>       <span class="comment">// be 'auto'.</span></div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(),</div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span>            <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus1y</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span>              ? diag::warn_cxx11_compat_decltype_auto_type_specifier</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span>              : diag::ext_decltype_auto_type_specifier);</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span>       <span class="comment">// Parse the expression</span></div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span> </div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span>       <span class="comment">// C++11 [dcl.type.simple]p4:</span></div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span>       <span class="comment">//   The operand of the decltype specifier is an unevaluated operand.</span></div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span>       <a class="code" href="classclang_1_1EnterExpressionEvaluationContext.html" title="RAII object that enters a new expression evaluation context.">EnterExpressionEvaluationContext</a> Unevaluated(Actions, <a class="code" href="classclang_1_1Sema.html#ac105cb9d8d4ad3e532351c498f6082b5ae4e2b142c5314222a59195d1612a1904" title="The current expression and its subexpressions occur within an unevaluated operand (C++11 [expr]p7)...">Sema::Unevaluated</a>,</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span>                                                    0, <span class="comment">/*IsDecltype=*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span>       Result = <a class="code" href="classclang_1_1Parser.html#aaf0c118ea2a9c93e210c3bf2b199a8d8" title="Simple precedence-based parser for binary/ternary operators.">ParseExpression</a>();</div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span>       <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span>         DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span>         <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_paren, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a> | <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>)) {</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span>           EndLoc = ConsumeParen();</div>
+<div class="line"><a name="l00747"></a><span class="lineno">  747</span>         } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span>           <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#a66603e86335b24a55a5e23494ce5d481">isBacktrackEnabled</a>() && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi)) {</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span>             <span class="comment">// Backtrack to get the location of the last token before the semi.</span></div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span>             PP.<a class="code" href="classclang_1_1Preprocessor.html#a8a6768548bf0b22e1de4a3b1af612a3b">RevertCachedTokens</a>(2);</div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span>             <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>(); <span class="comment">// the semi.</span></div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span>             EndLoc = ConsumeAnyToken();</div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span>             assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi));</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span>           } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span>             EndLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span>           }</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span>         }</div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span>         <span class="keywordflow">return</span> EndLoc;</div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span>       }</div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span> </div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span>       Result = Actions.<a class="code" href="classclang_1_1Sema.html#afd0f90c2919fd087ee14f89acc7070c4">ActOnDecltypeExpression</a>(Result.<a class="code" href="classclang_1_1ActionResult.html#a938165c101b60e87ee1956ed4950fd9a">take</a>());</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> </div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span>     <span class="comment">// Match the ')'</span></div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span>     T.consumeClose();</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span>     <span class="keywordflow">if</span> (T.getCloseLocation().isInvalid()) {</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span>       <span class="comment">// FIXME: this should return the location of the last token</span></div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span>       <span class="comment">//        that was consumed (by "consumeClose()")</span></div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span>       <span class="keywordflow">return</span> T.getCloseLocation();</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> </div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span>     <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span>       <span class="keywordflow">return</span> T.getCloseLocation();</div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span>     }</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span> </div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span>     EndLoc = T.getCloseLocation();</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span>   }</div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span>   assert(!Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>());</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> </div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span>   <span class="keyword">const</span> <span class="keywordtype">char</span> *PrevSpec = 0;</div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span>   <span class="keywordtype">unsigned</span> DiagID;</div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span>   <span class="comment">// Check for duplicate type specifiers (e.g. "int decltype(a)").</span></div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span>   <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#a75d6bbdafaa638e85809e113629401ca">get</a>()</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span>         ? DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(<a class="code" href="classclang_1_1DeclSpec.html#a8c54e41beb856810d43483851c0241a1">DeclSpec::TST_decltype</a>, StartLoc, PrevSpec,</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span>                              DiagID, Result.<a class="code" href="classclang_1_1ActionResult.html#af3c660207dfebb140ea0832cd41dfeb1">release</a>())</div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span>         : DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(<a class="code" href="classclang_1_1DeclSpec.html#ad767b928a17d93dbdd0e3132e220f527">DeclSpec::TST_decltype_auto</a>, StartLoc, PrevSpec,</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span>                              DiagID)) {</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(StartLoc, DiagID) << PrevSpec;</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span>   }</div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span>   <span class="keywordflow">return</span> EndLoc;</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span> }</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span> </div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span> <span class="keywordtype">void</span> Parser::AnnotateExistingDecltypeSpecifier(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a>& DS, </div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</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> StartLoc,</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</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> EndLoc) {</div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span>   <span class="comment">// make sure we have a token we can turn into an annotation token</span></div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span>   <span class="keywordflow">if</span> (PP.<a class="code" href="classclang_1_1Preprocessor.html#a66603e86335b24a55a5e23494ce5d481">isBacktrackEnabled</a>())</div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span>     PP.<a class="code" href="classclang_1_1Preprocessor.html#a8a6768548bf0b22e1de4a3b1af612a3b">RevertCachedTokens</a>(1);</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span>   <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span>     PP.<a class="code" href="classclang_1_1Preprocessor.html#a281f16dcb4fca3c52652dbc11ed53c1a">EnterToken</a>(Tok);</div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span> </div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span>   Tok.<a class="code" href="classclang_1_1Token.html#a44b757baba649ad00b79f78671a8a2aa">setKind</a>(tok::annot_decltype);</div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span>   setExprAnnotation(Tok,</div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span>                     DS.<a class="code" href="classclang_1_1DeclSpec.html#a8e80657590008634115a6fe1d31f7600">getTypeSpecType</a>() == <a class="code" href="namespaceclang.html#a033691a5f00979c1a22d8aa114d07e13a55670494dc6c74c7e5081f340c79beca">TST_decltype</a> ? DS.<a class="code" href="classclang_1_1DeclSpec.html#a5d02559e118b62e7a0199809f9471dae">getRepAsExpr</a>() :</div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span>                     DS.<a class="code" href="classclang_1_1DeclSpec.html#a8e80657590008634115a6fe1d31f7600">getTypeSpecType</a>() == <a class="code" href="namespaceclang.html#a033691a5f00979c1a22d8aa114d07e13af444f06365cf549c3e828c490ad8a40a">TST_decltype_auto</a> ? <a class="code" href="classclang_1_1Parser.html#a50edf8cb3a9e6deffa8abf8822bb5400">ExprResult</a>() :</div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span>                     <a class="code" href="classclang_1_1Parser.html#ad2e38ac7cd6e815b9b7c5708e05bafc1">ExprError</a>());</div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span>   Tok.<a class="code" href="classclang_1_1Token.html#a099e5c28a0dd559fc4483a30976b51af">setAnnotationEndLoc</a>(EndLoc);</div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span>   Tok.<a class="code" href="classclang_1_1Token.html#ab52b4059e1b2e648c78b7c326190d2ce">setLocation</a>(StartLoc);</div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span>   PP.<a class="code" href="classclang_1_1Preprocessor.html#a484556d87166b29949edef3935f9fa6b">AnnotateCachedTokens</a>(Tok);</div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span> }</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span> </div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span> <span class="keywordtype">void</span> Parser::ParseUnderlyingTypeSpecifier(<a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a> &DS) {</div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___underlying_type) &&</div>
+<div class="line"><a name="l00817"></a><span class="lineno">  817</span>          <span class="stringliteral">"Not an underlying type specifier"</span>);</div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span> </div>
+<div class="line"><a name="l00819"></a><span class="lineno">  819</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> StartLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span>   <a class="code" href="classclang_1_1BalancedDelimiterTracker.html" title="RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ...">BalancedDelimiterTracker</a> T(*<span class="keyword">this</span>, tok::l_paren);</div>
+<div class="line"><a name="l00821"></a><span class="lineno">  821</span>   <span class="keywordflow">if</span> (T.expectAndConsume(diag::err_expected_lparen_after,</div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span>                        <span class="stringliteral">"__underlying_type"</span>, tok::r_paren)) {</div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span>   }</div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span> </div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span>   <a class="code" href="classclang_1_1ActionResult.html">TypeResult</a> Result = <a class="code" href="classclang_1_1Parser.html#aa7137dd627971c6ecad56fb67a1c1179">ParseTypeName</a>();</div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span>   <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_paren, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a>);</div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span>     <span class="keywordflow">return</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">  832</span>   <span class="comment">// Match the ')'</span></div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span>   T.consumeClose();</div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span>   <span class="keywordflow">if</span> (T.getCloseLocation().isInvalid())</div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span> </div>
+<div class="line"><a name="l00837"></a><span class="lineno">  837</span>   <span class="keyword">const</span> <span class="keywordtype">char</span> *PrevSpec = 0;</div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span>   <span class="keywordtype">unsigned</span> DiagID;</div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span>   <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(<a class="code" href="classclang_1_1DeclSpec.html#a1a377d94e626678c842cef628f0de32b">DeclSpec::TST_underlyingType</a>, StartLoc, PrevSpec,</div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span>                          DiagID, Result.<a class="code" href="classclang_1_1ActionResult.html#af3c660207dfebb140ea0832cd41dfeb1">release</a>()))</div>
+<div class="line"><a name="l00841"></a><span class="lineno">  841</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(StartLoc, DiagID) << PrevSpec;</div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#ad0890caa6a34bcece3a8268e6566f607">setTypeofParensRange</a>(T.getRange());</div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span> }</div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span> <span class="comment"></span></div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span> <span class="comment">/// ParseBaseTypeSpecifier - Parse a C++ base-type-specifier which is either a</span></div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span> <span class="comment">/// class name or decltype-specifier. Note that we only check that the result </span></div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span> <span class="comment">/// names a type; semantic analysis will need to verify that the type names a </span></div>
+<div class="line"><a name="l00848"></a><span class="lineno">  848</span> <span class="comment">/// class. The result is either a type or null, depending on whether a type </span></div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span> <span class="comment">/// name was found.</span></div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span> <span class="comment">///       base-type-specifier: [C++11 class.derived]</span></div>
+<div class="line"><a name="l00852"></a><span class="lineno">  852</span> <span class="comment">///         class-or-decltype</span></div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span> <span class="comment">///       class-or-decltype: [C++11 class.derived]</span></div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span> <span class="comment">///         nested-name-specifier[opt] class-name</span></div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span> <span class="comment">///         decltype-specifier</span></div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span> <span class="comment">///       class-name: [C++ class.name]</span></div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span> <span class="comment">///         identifier</span></div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span> <span class="comment">///         simple-template-id</span></div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span> <span class="comment">/// In C++98, instead of base-type-specifier, we have:</span></div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00862"></a><span class="lineno">  862</span> <span class="comment">///         ::[opt] nested-name-specifier[opt] class-name</span></div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span> <span class="comment"></span><a class="code" href="classclang_1_1ActionResult.html">Parser::TypeResult</a> Parser::ParseBaseTypeSpecifier(<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> &BaseLoc,</div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</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> &EndLocation) {</div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span>   <span class="comment">// Ignore attempts to use typename</span></div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_typename)) {</div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_class_name_not_template)</div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span>       << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>());</div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span>   }</div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span> </div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span>   <span class="comment">// Parse optional nested-name-specifier</span></div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span>   <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> SS;</div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span>   ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), <span class="comment">/*EnteringContext=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span> </div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span>   BaseLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</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">// Parse decltype-specifier</span></div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span>   <span class="comment">// tok == kw_decltype is just error recovery, it can only happen when SS </span></div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span>   <span class="comment">// isn't empty</span></div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_decltype) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_decltype)) {</div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span>     <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a22c85914d194b1a4dd94bd10da20023b" title="A scope specifier is present, but may be valid or invalid.">isNotEmpty</a>())</div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a7c9a0b3ec2f55652cd17b37b7008cceb">getBeginLoc</a>(), diag::err_unexpected_scope_on_base_decltype)</div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a4cd627def4f36f863b61b77477d137eb">getRange</a>());</div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span>     <span class="comment">// Fake up a Declarator to use with ActOnTypeName.</span></div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span>     <a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a> DS(AttrFactory);</div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span> </div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span>     EndLocation = ParseDecltypeSpecifier(DS);</div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span> </div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span>     <a class="code" href="classclang_1_1Declarator.html" title="Information about one declarator, including the parsed type information and the identifier.">Declarator</a> DeclaratorInfo(DS, <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156af6a65b9722482d168d5cfadccf440059">Declarator::TypeNameContext</a>);</div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span>     <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a33d831649a84285baf9020d20bae3187">ActOnTypeName</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), DeclaratorInfo);</div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span>   }</div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span> </div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span>   <span class="comment">// Check whether we have a template-id that names a type.</span></div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_template_id)) {</div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span>     <a class="code" href="structclang_1_1TemplateIdAnnotation.html" title="Information about a template-id annotation token.">TemplateIdAnnotation</a> *TemplateId = takeTemplateIdAnnotation(Tok);</div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span>     <span class="keywordflow">if</span> (TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a3cc5d86a615ad829824dd35d8f3d7ee6" title="The kind of template that Template refers to.">Kind</a> == <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a0f3e8265c71aa000cff6863ee506b898">TNK_Type_template</a> ||</div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span>         TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a3cc5d86a615ad829824dd35d8f3d7ee6" title="The kind of template that Template refers to.">Kind</a> == <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a69ca3a798907e4f5f895338fb969b4df">TNK_Dependent_template_name</a>) {</div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span>       AnnotateTemplateIdTokenAsType();</div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span> </div>
+<div class="line"><a name="l00901"></a><span class="lineno">  901</span>       assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_typename) && <span class="stringliteral">"template-id -> type failed"</span>);</div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span>       <a class="code" href="classclang_1_1OpaquePtr.html">ParsedType</a> Type = <a class="code" href="classclang_1_1Parser.html#a6d0d9801cc98eea348a34eca70c45b69" title="getTypeAnnotation - Read a parsed type out of an annotation token.">getTypeAnnotation</a>(Tok);</div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span>       EndLocation = Tok.<a class="code" href="classclang_1_1Token.html#a924ea06e0e4510bc5f612d05ad53ffe3">getAnnotationEndLoc</a>();</div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span>       <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span> </div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span>       <span class="keywordflow">if</span> (Type)</div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span>         <span class="keywordflow">return</span> Type;</div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span>     }</div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span> </div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span>     <span class="comment">// Fall through to produce an error below.</span></div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span>   }</div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span> </div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::identifier)) {</div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_class_name);</div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span>   }</div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span> </div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Id = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</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> IdLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span> </div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::less)) {</div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span>     <span class="comment">// It looks the user intended to write a template-id here, but the</span></div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span>     <span class="comment">// template-name was wrong. Try to fix that.</span></div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span>     <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8" title="Specifies the kind of template name that an identifier refers to.">TemplateNameKind</a> TNK = <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a0f3e8265c71aa000cff6863ee506b898">TNK_Type_template</a>;</div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span>     <a class="code" href="classclang_1_1Parser.html#a8fd4070661cf9fa95cb641e6c421b2cc">TemplateTy</a> Template;</div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span>     <span class="keywordflow">if</span> (!Actions.<a class="code" href="classclang_1_1Sema.html#a3cb94a9ec074c1825c691ffa2007e036">DiagnoseUnknownTemplateName</a>(*Id, IdLoc, <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span>                                              &SS, Template, TNK)) {</div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(IdLoc, diag::err_unknown_template_name)</div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span>         << Id;</div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span>     }</div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span> </div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span>     <span class="keywordflow">if</span> (!Template) {</div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span>       TemplateArgList TemplateArgs;</div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</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> LAngleLoc, RAngleLoc;</div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span>       ParseTemplateIdAfterTemplateName(<a class="code" href="classclang_1_1Parser.html#a8fd4070661cf9fa95cb641e6c421b2cc">TemplateTy</a>(), IdLoc, SS,</div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span>           <span class="keyword">true</span>, LAngleLoc, TemplateArgs, RAngleLoc);</div>
+<div class="line"><a name="l00938"></a><span class="lineno">  938</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span>     }</div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span> </div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span>     <span class="comment">// Form the template name</span></div>
+<div class="line"><a name="l00942"></a><span class="lineno">  942</span>     <a class="code" href="classclang_1_1UnqualifiedId.html" title="Represents a C++ unqualified-id that has been parsed.">UnqualifiedId</a> <a class="code" href="classclang_1_1TemplateName.html" title="Represents a C++ template name within the type system.">TemplateName</a>;</div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span>     TemplateName.<a class="code" href="classclang_1_1UnqualifiedId.html#a20feecdc75f0d057e2b280446a03988e" title="Specify that this unqualified-id was parsed as an identifier.">setIdentifier</a>(Id, IdLoc);</div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span> </div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span>     <span class="comment">// Parse the full template-id, then turn it into a type.</span></div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span>     <span class="keywordflow">if</span> (AnnotateTemplateIdToken(Template, TNK, SS, <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span>                                 TemplateName, <span class="keyword">true</span>))</div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span>     <span class="keywordflow">if</span> (TNK == <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a69ca3a798907e4f5f895338fb969b4df">TNK_Dependent_template_name</a>)</div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span>       AnnotateTemplateIdTokenAsType();</div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span> </div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span>     <span class="comment">// If we didn't end up with a typename token, there's nothing more we</span></div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span>     <span class="comment">// can do.</span></div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::annot_typename))</div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span> </div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span>     <span class="comment">// Retrieve the type from the annotation token, consume that token, and</span></div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span>     <span class="comment">// return.</span></div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span>     EndLocation = Tok.<a class="code" href="classclang_1_1Token.html#a924ea06e0e4510bc5f612d05ad53ffe3">getAnnotationEndLoc</a>();</div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</span>     <a class="code" href="classclang_1_1OpaquePtr.html">ParsedType</a> Type = <a class="code" href="classclang_1_1Parser.html#a6d0d9801cc98eea348a34eca70c45b69" title="getTypeAnnotation - Read a parsed type out of an annotation token.">getTypeAnnotation</a>(Tok);</div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span>     <span class="keywordflow">return</span> Type;</div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span>   }</div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span> </div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span>   <span class="comment">// We have an identifier; check whether it is actually a type.</span></div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *CorrectedII = 0;</div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span>   <a class="code" href="classclang_1_1OpaquePtr.html">ParsedType</a> Type = Actions.<a class="code" href="classclang_1_1Sema.html#a3bdae6d7d92cb79777f2bcaea9b1c4b0" title="If the identifier refers to a type name within this scope, return the declaration of that type...">getTypeName</a>(*Id, IdLoc, <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), &SS, <span class="keyword">true</span>,</div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span>                                         <span class="keyword">false</span>, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(),</div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span>                                         <span class="comment">/*IsCtorOrDtorName=*/</span><span class="keyword">false</span>,</div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span>                                         <span class="comment">/*NonTrivialTypeSourceInfo=*/</span><span class="keyword">true</span>,</div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span>                                         &CorrectedII);</div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span>   <span class="keywordflow">if</span> (!Type) {</div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(IdLoc, diag::err_expected_class_name);</div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00975"></a><span class="lineno">  975</span>   }</div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span> </div>
+<div class="line"><a name="l00977"></a><span class="lineno">  977</span>   <span class="comment">// Consume the identifier.</span></div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span>   EndLocation = IdLoc;</div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span> </div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span>   <span class="comment">// Fake up a Declarator to use with ActOnTypeName.</span></div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span>   <a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a> DS(AttrFactory);</div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#a38776fd8ea211cdd4b5bd48660659f4c">SetRangeStart</a>(IdLoc);</div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#a3008264a9dc987fa770717c59c4f2e7d">SetRangeEnd</a>(EndLocation);</div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#aac9396ae32bf1c5824bcd55335f70e32">getTypeSpecScope</a>() = SS;</div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span> </div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span>   <span class="keyword">const</span> <span class="keywordtype">char</span> *PrevSpec = 0;</div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span>   <span class="keywordtype">unsigned</span> DiagID;</div>
+<div class="line"><a name="l00988"></a><span class="lineno">  988</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(<a class="code" href="namespaceclang.html#a033691a5f00979c1a22d8aa114d07e13adf7b6a7abd1467d5eca4163fa2d04ca4">TST_typename</a>, IdLoc, PrevSpec, DiagID, Type);</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>   <a class="code" href="classclang_1_1Declarator.html" title="Information about one declarator, including the parsed type information and the identifier.">Declarator</a> DeclaratorInfo(DS, <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156af6a65b9722482d168d5cfadccf440059">Declarator::TypeNameContext</a>);</div>
+<div class="line"><a name="l00991"></a><span class="lineno">  991</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a33d831649a84285baf9020d20bae3187">ActOnTypeName</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), DeclaratorInfo);</div>
+<div class="line"><a name="l00992"></a><span class="lineno">  992</span> }</div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span> </div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span> <span class="keywordtype">void</span> Parser::ParseMicrosoftInheritanceClassAttributes(<a class="code" href="classclang_1_1ParsedAttributes.html">ParsedAttributes</a> &attrs) {</div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span>   <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___single_inheritance) ||</div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span>          Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___multiple_inheritance) ||</div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span>          Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___virtual_inheritance)) {</div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span>     <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *AttrName = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</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> AttrNameLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>     attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#aa46509e0ecf15308c427adf0c2814c23" title="Add attribute with expression arguments.">addNew</a>(AttrName, AttrNameLoc, 0, AttrNameLoc, 0, 0,</div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>                  <a class="code" href="classclang_1_1AttributeList.html#a7e6e722d96e46b102c1de17fea3a6374a0bf6a4c4b559fe779e07ad7dfe51621b" title="attribute((...))">AttributeList::AS_GNU</a>);</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> }</div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> <span class="comment"></span></div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> <span class="comment">/// Determine whether the following tokens are valid after a type-specifier</span></div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> <span class="comment">/// which could be a standalone declaration. This will conservatively return</span></div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> <span class="comment">/// true if there's any doubt, and is appropriate for insert-';' fixits.</span></div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::isValidAfterTypeSpecifier(<span class="keywordtype">bool</span> CouldBeBitfield) {</div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>   <span class="comment">// This switch enumerates the valid "follow" set for type-specifiers.</span></div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>   <span class="keywordflow">switch</span> (Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>()) {</div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>   <span class="keywordflow">default</span>: <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>   <span class="keywordflow">case</span> tok::semi:               <span class="comment">// struct foo {...} ;</span></div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>   <span class="keywordflow">case</span> tok::star:               <span class="comment">// struct foo {...} *         P;</span></div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>   <span class="keywordflow">case</span> tok::amp:                <span class="comment">// struct foo {...} &         R = ...</span></div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>   <span class="keywordflow">case</span> tok::ampamp:             <span class="comment">// struct foo {...} &&        R = ...</span></div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>   <span class="keywordflow">case</span> tok::identifier:         <span class="comment">// struct foo {...} V         ;</span></div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>   <span class="keywordflow">case</span> tok::r_paren:            <span class="comment">//(struct foo {...} )         {4}</span></div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>   <span class="keywordflow">case</span> tok::annot_cxxscope:     <span class="comment">// struct foo {...} a::       b;</span></div>
+<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>   <span class="keywordflow">case</span> tok::annot_typename:     <span class="comment">// struct foo {...} a         ::b;</span></div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>   <span class="keywordflow">case</span> tok::annot_template_id:  <span class="comment">// struct foo {...} a<int>    ::b;</span></div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>   <span class="keywordflow">case</span> tok::l_paren:            <span class="comment">// struct foo {...} (         x);</span></div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>   <span class="keywordflow">case</span> tok::comma:              <span class="comment">// __builtin_offsetof(struct foo{...} ,</span></div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>   <span class="keywordflow">case</span> tok::kw_operator:        <span class="comment">// struct foo       operator  ++() {...}</span></div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>   <span class="keywordflow">case</span> tok::colon:</div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>     <span class="keywordflow">return</span> CouldBeBitfield;     <span class="comment">// enum E { ... }   :         2;</span></div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span>   <span class="comment">// Type qualifiers</span></div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>   <span class="keywordflow">case</span> tok::kw_const:           <span class="comment">// struct foo {...} const     x;</span></div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>   <span class="keywordflow">case</span> tok::kw_volatile:        <span class="comment">// struct foo {...} volatile  x;</span></div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>   <span class="keywordflow">case</span> tok::kw_restrict:        <span class="comment">// struct foo {...} restrict  x;</span></div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span>   <span class="comment">// Function specifiers</span></div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span>   <span class="comment">// Note, no 'explicit'. An explicit function must be either a conversion</span></div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>   <span class="comment">// operator or a constructor. Either way, it can't have a return type.</span></div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>   <span class="keywordflow">case</span> tok::kw_inline:          <span class="comment">// struct foo       inline    f();</span></div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>   <span class="keywordflow">case</span> tok::kw_virtual:         <span class="comment">// struct foo       virtual   f();</span></div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>   <span class="keywordflow">case</span> tok::kw_friend:          <span class="comment">// struct foo       friend    f();</span></div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>   <span class="comment">// Storage-class specifiers</span></div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>   <span class="keywordflow">case</span> tok::kw_static:          <span class="comment">// struct foo {...} static    x;</span></div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>   <span class="keywordflow">case</span> tok::kw_extern:          <span class="comment">// struct foo {...} extern    x;</span></div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>   <span class="keywordflow">case</span> tok::kw_typedef:         <span class="comment">// struct foo {...} typedef   x;</span></div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>   <span class="keywordflow">case</span> tok::kw_register:        <span class="comment">// struct foo {...} register  x;</span></div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>   <span class="keywordflow">case</span> tok::kw_auto:            <span class="comment">// struct foo {...} auto      x;</span></div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>   <span class="keywordflow">case</span> tok::kw_mutable:         <span class="comment">// struct foo {...} mutable   x;</span></div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>   <span class="keywordflow">case</span> tok::kw_thread_local:    <span class="comment">// struct foo {...} thread_local x;</span></div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>   <span class="keywordflow">case</span> tok::kw_constexpr:       <span class="comment">// struct foo {...} constexpr x;</span></div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>     <span class="comment">// As shown above, type qualifiers and storage class specifiers absolutely</span></div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>     <span class="comment">// can occur after class specifiers according to the grammar.  However,</span></div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>     <span class="comment">// almost no one actually writes code like this.  If we see one of these,</span></div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>     <span class="comment">// it is much more likely that someone missed a semi colon and the</span></div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>     <span class="comment">// type/storage class specifier we're seeing is part of the *next*</span></div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>     <span class="comment">// intended declaration, as in:</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">//   struct foo { ... }</span></div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>     <span class="comment">//   typedef int X;</span></div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>     <span class="comment">// We'd really like to emit a missing semicolon error instead of emitting</span></div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>     <span class="comment">// an error on the 'int' saying that you can't have two type specifiers in</span></div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>     <span class="comment">// the same declaration of X.  Because of this, we look ahead past this</span></div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>     <span class="comment">// token to see if it's a type specifier.  If so, we know the code is</span></div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>     <span class="comment">// otherwise invalid, so we can produce the expected semi error.</span></div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>     <span class="keywordflow">if</span> (!isKnownToBeTypeSpecifier(<a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>()))</div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>   <span class="keywordflow">case</span> tok::r_brace:  <span class="comment">// struct bar { struct foo {...} }</span></div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>     <span class="comment">// Missing ';' at end of struct is accepted as an extension in C mode.</span></div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>     <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus)</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>       <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>     <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>     <span class="comment">// C++11 attributes</span></div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>   <span class="keywordflow">case</span> tok::l_square: <span class="comment">// enum E [[]] x</span></div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>     <span class="comment">// Note, no tok::kw_alignas here; alignas cannot appertain to a type.</span></div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11 && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_square);</div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>   <span class="keywordflow">case</span> tok::greater:</div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>     <span class="comment">// template<class T = class X></span></div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus;</div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>   }</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>   <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> }</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> <span class="comment"></span></div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> <span class="comment">/// ParseClassSpecifier - Parse a C++ class-specifier [C++ class] or</span></div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> <span class="comment">/// elaborated-type-specifier [C++ dcl.type.elab]; we can't tell which</span></div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> <span class="comment">/// until we reach the start of a definition or see a token that</span></div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> <span class="comment">/// cannot start a definition.</span></div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="comment">///       class-specifier: [C++ class]</span></div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <span class="comment">///         class-head '{' member-specification[opt] '}'</span></div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <span class="comment">///         class-head '{' member-specification[opt] '}' attributes[opt]</span></div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> <span class="comment">///       class-head:</span></div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> <span class="comment">///         class-key identifier[opt] base-clause[opt]</span></div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> <span class="comment">///         class-key nested-name-specifier identifier base-clause[opt]</span></div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> <span class="comment">///         class-key nested-name-specifier[opt] simple-template-id</span></div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> <span class="comment">///                          base-clause[opt]</span></div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> <span class="comment">/// [GNU]   class-key attributes[opt] identifier[opt] base-clause[opt]</span></div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> <span class="comment">/// [GNU]   class-key attributes[opt] nested-name-specifier</span></div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> <span class="comment">///                          identifier base-clause[opt]</span></div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> <span class="comment">/// [GNU]   class-key attributes[opt] nested-name-specifier[opt]</span></div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="comment">///                          simple-template-id base-clause[opt]</span></div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span> <span class="comment">///       class-key:</span></div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span> <span class="comment">///         'class'</span></div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> <span class="comment">///         'struct'</span></div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> <span class="comment">///         'union'</span></div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> <span class="comment">///       elaborated-type-specifier: [C++ dcl.type.elab]</span></div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> <span class="comment">///         class-key ::[opt] nested-name-specifier[opt] identifier</span></div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> <span class="comment">///         class-key ::[opt] nested-name-specifier[opt] 'template'[opt]</span></div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> <span class="comment">///                          simple-template-id</span></div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> <span class="comment">///  Note that the C++ class-specifier and elaborated-type-specifier,</span></div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span> <span class="comment">///  together, subsume the C99 struct-or-union-specifier:</span></div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> <span class="comment">///       struct-or-union-specifier: [C99 6.7.2.1]</span></div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> <span class="comment">///         struct-or-union identifier[opt] '{' struct-contents '}'</span></div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> <span class="comment">///         struct-or-union identifier</span></div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> <span class="comment">/// [GNU]   struct-or-union attributes[opt] identifier[opt] '{' struct-contents</span></div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span> <span class="comment">///                                                         '}' attributes[opt]</span></div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <span class="comment">/// [GNU]   struct-or-union attributes[opt] identifier</span></div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> <span class="comment">///       struct-or-union:</span></div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> <span class="comment">///         'struct'</span></div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> <span class="comment">///         'union'</span></div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseClassSpecifier(<a class="code" href="namespaceclang_1_1tok.html#aca39774690bea476816dc56565cb7cd5" title="Provides a simple uniform namespace for tokens from all C languages.">tok::TokenKind</a> TagTokKind,</div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</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> StartLoc, <a class="code" href="classclang_1_1DeclSpec.html" title="Captures information about "declaration specifiers".">DeclSpec</a> &DS,</div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>                                  <span class="keyword">const</span> ParsedTemplateInfo &TemplateInfo,</div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>                                  <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> AS, </div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>                                  <span class="keywordtype">bool</span> EnteringContext, DeclSpecContext DSC, </div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>                                  ParsedAttributesWithRange &<a class="code" href="structclang_1_1Attributes.html" title="The set of attributes that can be attached to a module.">Attributes</a>) {</div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>   <a class="code" href="namespaceclang.html#a033691a5f00979c1a22d8aa114d07e13" title="Specifies the kind of type.">DeclSpec::TST</a> <a class="code" href="classclang_1_1TagType.html">TagType</a>;</div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>   <span class="keywordflow">if</span> (TagTokKind == tok::kw_struct)</div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>     TagType = <a class="code" href="classclang_1_1DeclSpec.html#aff3e0027194ff7af24e01d0afc7799e9">DeclSpec::TST_struct</a>;</div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TagTokKind == tok::kw___interface)</div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>     TagType = <a class="code" href="classclang_1_1DeclSpec.html#a339c8cd10bf61c221305337b77e26ba0">DeclSpec::TST_interface</a>;</div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TagTokKind == tok::kw_class)</div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>     TagType = <a class="code" href="classclang_1_1DeclSpec.html#a9d7b4da81280d6f33a81c41e6acd35c7">DeclSpec::TST_class</a>;</div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>   <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>     assert(TagTokKind == tok::kw_union && <span class="stringliteral">"Not a class specifier"</span>);</div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>     TagType = <a class="code" href="classclang_1_1DeclSpec.html#a42d34eb086f3d38dd0c0229bee195f69">DeclSpec::TST_union</a>;</div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>   }</div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span> </div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::code_completion)) {</div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>     <span class="comment">// Code completion for a struct, class, or union name.</span></div>
+<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>     Actions.<a class="code" href="classclang_1_1Sema.html#a06d42683de13b2b23cb4dba54e2cf83b">CodeCompleteTag</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), TagType);</div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>     <span class="keywordflow">return</span> cutOffParsing();</div>
+<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>   }</div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> </div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>   <span class="comment">// C++03 [temp.explicit] 14.7.2/8:</span></div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>   <span class="comment">//   The usual access checking rules do not apply to names used to specify</span></div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>   <span class="comment">//   explicit instantiations.</span></div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>   <span class="comment">// As an extension we do not perform access checking on the names used to</span></div>
+<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>   <span class="comment">// specify explicit specializations either. This is important to allow</span></div>
+<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>   <span class="comment">// specializing traits classes for private types.</span></div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>   <span class="comment">// Note that we don't suppress if this turns out to be an elaborated</span></div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>   <span class="comment">// type specifier.</span></div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>   <span class="keywordtype">bool</span> shouldDelayDiagsInTag =</div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>     (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation ||</div>
+<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>      TemplateInfo.Kind == ParsedTemplateInfo::ExplicitSpecialization);</div>
+<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>   <a class="code" href="classclang_1_1SuppressAccessChecks.html" title="A RAII object used to temporarily suppress access-like checking. Access-like checks are those associa...">SuppressAccessChecks</a> diagsFromTag(*<span class="keyword">this</span>, shouldDelayDiagsInTag);</div>
+<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span> </div>
+<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span>   ParsedAttributesWithRange attrs(AttrFactory);</div>
+<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>   <span class="comment">// If attributes exist after tag, parse them.</span></div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>   MaybeParseGNUAttributes(attrs);</div>
+<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span> </div>
+<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>   <span class="comment">// If declspecs exist after tag, parse them.</span></div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>   <span class="keywordflow">while</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___declspec))</div>
+<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>     ParseMicrosoftDeclSpec(attrs);</div>
+<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> </div>
+<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>   <span class="comment">// Parse inheritance specifiers.</span></div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___single_inheritance) ||</div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>       Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___multiple_inheritance) ||</div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>       Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___virtual_inheritance))</div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>     ParseMicrosoftInheritanceClassAttributes(attrs);</div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span> </div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>   <span class="comment">// If C++0x attributes exist here, parse them.</span></div>
+<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>   <span class="comment">// FIXME: Are we consistent with the ordering of parsing of different</span></div>
+<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>   <span class="comment">// styles of attributes?</span></div>
+<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>   MaybeParseCXX11Attributes(attrs);</div>
+<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span> </div>
+<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>   <span class="comment">// Source location used by FIXIT to insert misplaced</span></div>
+<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>   <span class="comment">// C++11 attributes</span></div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</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> AttrFixitLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> </div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>   <span class="keywordflow">if</span> (TagType == <a class="code" href="classclang_1_1DeclSpec.html#aff3e0027194ff7af24e01d0afc7799e9">DeclSpec::TST_struct</a> &&</div>
+<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>       !Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier) &&</div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>       Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>() &&</div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>       (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_arithmetic) ||</div>
+<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_convertible) ||</div>
+<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_empty) ||</div>
+<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_floating_point) ||</div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_function) ||</div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_fundamental) ||</div>
+<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_integral) ||</div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_member_function_pointer) ||</div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_member_pointer) ||</div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_pod) ||</div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_pointer) ||</div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_same) ||</div>
+<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_scalar) ||</div>
+<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_signed) ||</div>
+<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_unsigned) ||</div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>        Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___is_void)))</div>
+<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>     <span class="comment">// GNU libstdc++ 4.2 and libc++ use certain intrinsic names as the</span></div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>     <span class="comment">// name of struct templates, but some are keywords in GCC >= 4.3</span></div>
+<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>     <span class="comment">// and Clang. Therefore, when we see the token sequence "struct</span></div>
+<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>     <span class="comment">// X", make X into a normal identifier rather than a keyword, to</span></div>
+<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>     <span class="comment">// allow libstdc++ 4.2 and libc++ to work properly.</span></div>
+<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>     TryKeywordIdentFallback(<span class="keyword">true</span>);</div>
+<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> </div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>   <span class="comment">// Parse the (optional) nested-name-specifier.</span></div>
+<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>   <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> &SS = DS.<a class="code" href="classclang_1_1DeclSpec.html#aac9396ae32bf1c5824bcd55335f70e32">getTypeSpecScope</a>();</div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>   <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>) {</div>
+<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>     <span class="comment">// "FOO : BAR" is not a potential typo for "FOO::BAR".</span></div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>     <a class="code" href="classclang_1_1ColonProtectionRAIIObject.html">ColonProtectionRAIIObject</a> <a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span> </div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>     <span class="keywordflow">if</span> (ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), EnteringContext))</div>
+<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>     <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#ae27d587ba7dae0cfdcdfa2f7f5472c3c">isSet</a>())</div>
+<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::identifier) && Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::annot_template_id))</div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_expected_ident);</div>
+<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>   }</div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span> </div>
+<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span>   <a class="code" href="classclang_1_1Parser.html#af56d5f355fdfa215fcd576434347a29b">TemplateParameterLists</a> *TemplateParams = TemplateInfo.TemplateParams;</div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> </div>
+<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span>   <span class="comment">// Parse the (optional) class name or simple-template-id.</span></div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span>   <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *Name = 0;</div>
+<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span>   <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a> NameLoc;</div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>   <a class="code" href="structclang_1_1TemplateIdAnnotation.html" title="Information about a template-id annotation token.">TemplateIdAnnotation</a> *TemplateId = 0;</div>
+<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier)) {</div>
+<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>     Name = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>     NameLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> </div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::less) && <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus) {</div>
+<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>       <span class="comment">// The name was supposed to refer to a template, but didn't.</span></div>
+<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>       <span class="comment">// Eat the template argument list and try to continue parsing this as</span></div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>       <span class="comment">// a class (or template thereof).</span></div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>       TemplateArgList TemplateArgs;</div>
+<div class="line"><a name="l01236"></a><span class="lineno"> 1236</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> LAngleLoc, RAngleLoc;</div>
+<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>       <span class="keywordflow">if</span> (ParseTemplateIdAfterTemplateName(<a class="code" href="classclang_1_1Parser.html#a8fd4070661cf9fa95cb641e6c421b2cc">TemplateTy</a>(), NameLoc, SS,</div>
+<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span>                                            <span class="keyword">true</span>, LAngleLoc,</div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>                                            TemplateArgs, RAngleLoc)) {</div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>         <span class="comment">// We couldn't parse the template argument list at all, so don't</span></div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>         <span class="comment">// try to give any location information for the list.</span></div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>         LAngleLoc = RAngleLoc = <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>();</div>
+<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>       }</div>
+<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> </div>
+<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(NameLoc, diag::err_explicit_spec_non_template)</div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>         << (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation)</div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>         << (TagType == <a class="code" href="classclang_1_1DeclSpec.html#a9d7b4da81280d6f33a81c41e6acd35c7">DeclSpec::TST_class</a>? 0</div>
+<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>             : TagType == <a class="code" href="classclang_1_1DeclSpec.html#aff3e0027194ff7af24e01d0afc7799e9">DeclSpec::TST_struct</a>? 1</div>
+<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>             : TagType == <a class="code" href="classclang_1_1DeclSpec.html#a42d34eb086f3d38dd0c0229bee195f69">DeclSpec::TST_union</a>? 2</div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>             : 3)</div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>         << Name</div>
+<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>         << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(LAngleLoc, RAngleLoc);</div>
+<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> </div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>       <span class="comment">// Strip off the last template parameter list if it was empty, since</span></div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span>       <span class="comment">// we've removed its template argument list.</span></div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span>       <span class="keywordflow">if</span> (TemplateParams && TemplateInfo.LastParameterListWasEmpty) {</div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span>         <span class="keywordflow">if</span> (TemplateParams && TemplateParams->size() > 1) {</div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span>           TemplateParams->pop_back();</div>
+<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span>         } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span>           TemplateParams = 0;</div>
+<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span>           <span class="keyword">const_cast<</span>ParsedTemplateInfo&<span class="keyword">></span>(TemplateInfo).<a class="code" href="ChrootChecker_8cpp.html#aa10c9e8951b8ccf714a59ec321bdac5b">Kind</a></div>
+<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span>             = ParsedTemplateInfo::NonTemplate;</div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span>         }</div>
+<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TemplateInfo.Kind</div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>                                 == ParsedTemplateInfo::ExplicitInstantiation) {</div>
+<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>         <span class="comment">// Pretend this is just a forward declaration.</span></div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>         TemplateParams = 0;</div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>         <span class="keyword">const_cast<</span>ParsedTemplateInfo&<span class="keyword">></span>(TemplateInfo).<a class="code" href="ChrootChecker_8cpp.html#aa10c9e8951b8ccf714a59ec321bdac5b">Kind</a></div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>           = ParsedTemplateInfo::NonTemplate;</div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>         <span class="keyword">const_cast<</span>ParsedTemplateInfo&<span class="keyword">></span>(TemplateInfo).TemplateLoc</div>
+<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>           = <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>();</div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>         <span class="keyword">const_cast<</span>ParsedTemplateInfo&<span class="keyword">></span>(TemplateInfo).ExternLoc</div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>           = <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>();</div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>       }</div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>     }</div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::annot_template_id)) {</div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>     TemplateId = takeTemplateIdAnnotation(Tok);</div>
+<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>     NameLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> </div>
+<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>     <span class="keywordflow">if</span> (TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a3cc5d86a615ad829824dd35d8f3d7ee6" title="The kind of template that Template refers to.">Kind</a> != <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a0f3e8265c71aa000cff6863ee506b898">TNK_Type_template</a> &&</div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>         TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a3cc5d86a615ad829824dd35d8f3d7ee6" title="The kind of template that Template refers to.">Kind</a> != <a class="code" href="namespaceclang.html#aba1f53f66be2f1991ebd6cda5d781ae8a69ca3a798907e4f5f895338fb969b4df">TNK_Dependent_template_name</a>) {</div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>       <span class="comment">// The template-name in the simple-template-id refers to</span></div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>       <span class="comment">// something other than a class template. Give an appropriate</span></div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>       <span class="comment">// error message and skip to the ';'.</span></div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>       <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Range(NameLoc);</div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>       <span class="keywordflow">if</span> (SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a22c85914d194b1a4dd94bd10da20023b" title="A scope specifier is present, but may be valid or invalid.">isNotEmpty</a>())</div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>         Range.<a class="code" href="classclang_1_1SourceRange.html#a11fd265391224233491b6a0d351b8acd">setBegin</a>(SS.<a class="code" href="classclang_1_1CXXScopeSpec.html#a7c9a0b3ec2f55652cd17b37b7008cceb">getBeginLoc</a>());</div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> </div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a85b693f9db77c512d73f7609950ea5d6">LAngleLoc</a>, diag::err_template_spec_syntax_non_template)</div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>         << TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#af1ea275591138b179ed87a01207967fb" title="FIXME: Temporarily stores the name of a specialization.">Name</a> << <span class="keyword">static_cast<</span><span class="keywordtype">int</span><span class="keyword">></span>(TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a3cc5d86a615ad829824dd35d8f3d7ee6" title="The kind of template that Template refers to.">Kind</a>) << Range;</div>
+<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> </div>
+<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>       DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>     }</div>
+<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>   }</div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span> </div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>   <span class="comment">// There are four options here.</span></div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>   <span class="comment">//  - If we are in a trailing return type, this is always just a reference,</span></div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>   <span class="comment">//    and we must not try to parse a definition. For instance,</span></div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>   <span class="comment">//      [] () -> struct S { };</span></div>
+<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>   <span class="comment">//    does not define a type.</span></div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>   <span class="comment">//  - If we have 'struct foo {...', 'struct foo :...',</span></div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>   <span class="comment">//    'struct foo final :' or 'struct foo final {', then this is a definition.</span></div>
+<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>   <span class="comment">//  - If we have 'struct foo;', then this is either a forward declaration</span></div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>   <span class="comment">//    or a friend declaration, which have to be treated differently.</span></div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>   <span class="comment">//  - Otherwise we have something like 'struct foo xyz', a reference.</span></div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>   <span class="comment">//  We also detect these erroneous cases to provide better diagnostic for</span></div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>   <span class="comment">//  C++11 attributes parsing.</span></div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>   <span class="comment">//  - attributes follow class name:</span></div>
+<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>   <span class="comment">//    struct foo [[]] {};</span></div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>   <span class="comment">//  - attributes appear before or after 'final':</span></div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>   <span class="comment">//    struct foo [[]] final [[]] {};</span></div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>   <span class="comment">// However, in type-specifier-seq's, things look like declarations but are</span></div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span>   <span class="comment">// just references, e.g.</span></div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span>   <span class="comment">//   new struct s;</span></div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span>   <span class="comment">// or</span></div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span>   <span class="comment">//   &T::operator struct s;</span></div>
+<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span>   <span class="comment">// For these, DSC is DSC_type_specifier.</span></div>
+<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span> </div>
+<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>   <span class="comment">// If there are attributes after class name, parse them.</span></div>
+<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>   MaybeParseCXX11Attributes(Attributes);</div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> </div>
+<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>   <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ce">Sema::TagUseKind</a> TUK;</div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>   <span class="keywordflow">if</span> (DSC == DSC_trailing)</div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>     TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a>;</div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>   <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) ||</div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>            (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon)) ||</div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>            (isCXX11FinalKeyword() &&</div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>             (<a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon)))) {</div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>     <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>()) {</div>
+<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>       <span class="comment">// C++ [class.friend]p2:</span></div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>       <span class="comment">//   A class shall not be defined in a friend declaration.</span></div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_friend_decl_defines_type)</div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>         << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(DS.<a class="code" href="classclang_1_1DeclSpec.html#a214bf5e44370942a2640bf4a45c972cd">getFriendSpecLoc</a>());</div>
+<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> </div>
+<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>       <span class="comment">// Skip everything up to the semicolon, so that this looks like a proper</span></div>
+<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>       <span class="comment">// friend class (or template thereof) declaration.</span></div>
+<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>       TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a>;</div>
+<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>       <span class="comment">// Okay, this is a class definition.</span></div>
+<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>       TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a>;</div>
+<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>     }</div>
+<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (isCXX11FinalKeyword() && (<a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().is(tok::l_square) ||</div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>                                        <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().is(tok::kw_alignas))) {</div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>     <span class="comment">// We can't tell if this is a definition or reference</span></div>
+<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>     <span class="comment">// until we skipped the 'final' and C++11 attribute specifiers.</span></div>
+<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>     TentativeParsingAction PA(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> </div>
+<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>     <span class="comment">// Skip the 'final' keyword.</span></div>
+<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span> </div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>     <span class="comment">// Skip C++11 attribute specifiers.</span></div>
+<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>     <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_square) && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_square)) {</div>
+<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>         ConsumeBracket();</div>
+<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>         <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_square, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a>))</div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_alignas) && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_paren)) {</div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>         ConsumeParen();</div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>         <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_paren, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a>))</div>
+<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>           <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>       } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>         <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>       }</div>
+<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>     }</div>
+<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span> </div>
+<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon))</div>
+<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>       TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a>;</div>
+<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>       TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a>;</div>
+<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> </div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>     PA.Revert();</div>
+<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (DSC != DSC_type_specifier &&</div>
+<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>              (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi) ||</div>
+<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>               (Tok.<a class="code" href="classclang_1_1Token.html#a895009ede74790b61cf636fd7e498d44">isAtStartOfLine</a>() && !isValidAfterTypeSpecifier(<span class="keyword">false</span>)))) {</div>
+<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>     TUK = DS.<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>() ? <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a> : <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceadb20f669c5ae1c5150a7a0fcb3f97614">Sema::TUK_Declaration</a>;</div>
+<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::semi)) {</div>
+<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>       <span class="comment">// A semicolon was missing after this declaration. Diagnose and recover.</span></div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>       ExpectAndConsume(tok::semi, diag::err_expected_semi_after_tagdecl,</div>
+<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>         <a class="code" href="classclang_1_1DeclSpec.html#aab0f17bd394c2bd409a510ef6c57b965" title="Turn a type-specifier-type into a string like "_Bool" or "union".">DeclSpec::getSpecifierName</a>(TagType));</div>
+<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>       PP.<a class="code" href="classclang_1_1Preprocessor.html#a281f16dcb4fca3c52652dbc11ed53c1a">EnterToken</a>(Tok);</div>
+<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>       Tok.<a class="code" href="classclang_1_1Token.html#a44b757baba649ad00b79f78671a8a2aa">setKind</a>(tok::semi);</div>
+<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>     }</div>
+<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>   } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>     TUK = <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a>;</div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> </div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>   <span class="comment">// Forbid misplaced attributes. In cases of a reference, we pass attributes</span></div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>   <span class="comment">// to caller to handle.</span></div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>   <span class="keywordflow">if</span> (TUK != <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a>) {</div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>     <span class="comment">// If this is not a reference, then the only possible</span></div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>     <span class="comment">// valid place for C++11 attributes to appear here</span></div>
+<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>     <span class="comment">// is between class-key and class-name. If there are</span></div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>     <span class="comment">// any attributes after class-name, we try a fixit to move</span></div>
+<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>     <span class="comment">// them to the right place.</span></div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>     <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> AttrRange = Attributes.Range;</div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>     <span class="keywordflow">if</span> (AttrRange.<a class="code" href="classclang_1_1SourceRange.html#acdaac0809b0eec9ce9ec88e1a9da7fb6">isValid</a>()) {</div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(AttrRange.<a class="code" href="classclang_1_1SourceRange.html#a890dff14560eb9aceb08be18dfe74208">getBegin</a>(), diag::err_attributes_not_allowed)</div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>         << AttrRange</div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>         << <a class="code" href="classclang_1_1FixItHint.html#a0d8406a70566d4b3937cd5b11a2c520f" title="Create a code modification hint that inserts the given code from FromRange at a specific location...">FixItHint::CreateInsertionFromRange</a>(AttrFixitLoc,</div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>                                                <a class="code" href="classclang_1_1CharSourceRange.html" title="Represents a character-granular source range.">CharSourceRange</a>(AttrRange, <span class="keyword">true</span>))</div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(AttrRange);</div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span> </div>
+<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>       <span class="comment">// Recover by adding misplaced attributes to the attribute list</span></div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>       <span class="comment">// of the class so they can be applied on the class later.</span></div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>       attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a349d4d89c35d9792ef5695d9ae2d2f20">takeAllFrom</a>(Attributes);</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>     }</div>
+<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>   }</div>
+<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span> </div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>   <span class="comment">// If this is an elaborated type specifier, and we delayed</span></div>
+<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>   <span class="comment">// diagnostics before, just merge them into the current pool.</span></div>
+<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>   <span class="keywordflow">if</span> (shouldDelayDiagsInTag) {</div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>     diagsFromTag.done();</div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>     <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a>)</div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>       diagsFromTag.redelay();</div>
+<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>   }</div>
+<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> </div>
+<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>   <span class="keywordflow">if</span> (!Name && !TemplateId && (DS.<a class="code" href="classclang_1_1DeclSpec.html#a8e80657590008634115a6fe1d31f7600">getTypeSpecType</a>() == <a class="code" href="classclang_1_1DeclSpec.html#ad986a396df298706c209747e9e939f9d">DeclSpec::TST_error</a> ||</div>
+<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>                                TUK != <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a>)) {</div>
+<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>     <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#a8e80657590008634115a6fe1d31f7600">getTypeSpecType</a>() != <a class="code" href="classclang_1_1DeclSpec.html#ad986a396df298706c209747e9e939f9d">DeclSpec::TST_error</a>) {</div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>       <span class="comment">// We have a declaration or reference to an anonymous class.</span></div>
+<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(StartLoc, diag::err_anon_type_definition)</div>
+<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>         << <a class="code" href="classclang_1_1DeclSpec.html#aab0f17bd394c2bd409a510ef6c57b965" title="Turn a type-specifier-type into a string like "_Bool" or "union".">DeclSpec::getSpecifierName</a>(TagType);</div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>     }</div>
+<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span> </div>
+<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>     <span class="comment">// If we are parsing a definition and stop at a base-clause, continue on</span></div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>     <span class="comment">// until the semicolon.  Continuing from the comma will just trick us into</span></div>
+<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>     <span class="comment">// thinking we are seeing a variable declaration.</span></div>
+<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>     <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a> && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon))</div>
+<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::comma, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a>);</div>
+<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>   }</div>
+<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span> </div>
+<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>   <span class="comment">// Create the tag portion of the class or class template.</span></div>
+<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>   <a class="code" href="classclang_1_1ActionResult.html">DeclResult</a> TagOrTempResult = <span class="keyword">true</span>; <span class="comment">// invalid</span></div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>   <a class="code" href="classclang_1_1ActionResult.html">TypeResult</a> <a class="code" href="classclang_1_1ActionResult.html">TypeResult</a> = <span class="keyword">true</span>; <span class="comment">// invalid</span></div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> </div>
+<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>   <span class="keywordtype">bool</span> Owned = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>   <span class="keywordflow">if</span> (TemplateId) {</div>
+<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>     <span class="comment">// Explicit specialization, class template partial specialization,</span></div>
+<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>     <span class="comment">// or explicit instantiation.</span></div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>     <a class="code" href="namespaceclang.html#a63c1f5ef934d389064c7460dfec0bc8f">ASTTemplateArgsPtr</a> TemplateArgsPtr(TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a048f5ec7266f29a9fcc2f7c71dee1ada" title="Retrieves a pointer to the template arguments.">getTemplateArgs</a>(),</div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>                                        TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a4ff217ef52bf7be39966e73e62c03a16" title="NumArgs - The number of template arguments.">NumArgs</a>);</div>
+<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>     <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation &&</div>
+<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>         TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceadb20f669c5ae1c5150a7a0fcb3f97614">Sema::TUK_Declaration</a>) {</div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>       <span class="comment">// This is an explicit instantiation of a class template.</span></div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>       ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span> </div>
+<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>       TagOrTempResult</div>
+<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>         = Actions.<a class="code" href="classclang_1_1Sema.html#a419d9f253c5e6230a8ac9c331b1ee6fd">ActOnExplicitInstantiation</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>                                              TemplateInfo.ExternLoc,</div>
+<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>                                              TemplateInfo.TemplateLoc,</div>
+<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>                                              TagType,</div>
+<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>                                              StartLoc,</div>
+<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>                                              SS,</div>
+<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>                                              TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#ade8e150daa0537209d2d6934b2a52ec2">Template</a>,</div>
+<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>                                              TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a6e495b35c0172af7838719f98b6296d9">TemplateNameLoc</a>,</div>
+<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>                                              TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a85b693f9db77c512d73f7609950ea5d6">LAngleLoc</a>,</div>
+<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>                                              TemplateArgsPtr,</div>
+<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>                                              TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a7b7282dfba3c5a11304e3e96495f2300">RAngleLoc</a>,</div>
+<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>                                              attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>());</div>
+<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span> </div>
+<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>     <span class="comment">// Friend template-ids are treated as references unless</span></div>
+<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>     <span class="comment">// they have template headers, in which case they're ill-formed</span></div>
+<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>     <span class="comment">// (FIXME: "template <class T> friend class A<T>::B<int>;").</span></div>
+<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>     <span class="comment">// We diagnose this error in ActOnClassTemplateSpecialization.</span></div>
+<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a> ||</div>
+<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>                (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a> &&</div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>                 TemplateInfo.Kind == ParsedTemplateInfo::NonTemplate)) {</div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>       ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>       TypeResult = Actions.<a class="code" href="classclang_1_1Sema.html#af7d305a3ea4eac0af98d9a4e69b11f0c" title="Parsed an elaborated-type-specifier that refers to a template-id, such as class T::template apply<U>...">ActOnTagTemplateIdType</a>(TUK, TagType, StartLoc,</div>
+<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a39046534566cbe4ce83c14b1cc72db48" title="The nested-name-specifier that precedes the template name.">SS</a>,</div>
+<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#ac74fea6c9b7998623c82823553662e4e">TemplateKWLoc</a>,</div>
+<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#ade8e150daa0537209d2d6934b2a52ec2">Template</a>,</div>
+<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a6e495b35c0172af7838719f98b6296d9">TemplateNameLoc</a>,</div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a85b693f9db77c512d73f7609950ea5d6">LAngleLoc</a>,</div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>                                                   TemplateArgsPtr,</div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>                                                   TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a7b7282dfba3c5a11304e3e96495f2300">RAngleLoc</a>);</div>
+<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>       <span class="comment">// This is an explicit specialization or a class template</span></div>
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>       <span class="comment">// partial specialization.</span></div>
+<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>       <a class="code" href="classclang_1_1Parser.html#af56d5f355fdfa215fcd576434347a29b">TemplateParameterLists</a> FakedParamLists;</div>
+<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>       <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation) {</div>
+<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>         <span class="comment">// This looks like an explicit instantiation, because we have</span></div>
+<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>         <span class="comment">// something like</span></div>
+<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>         <span class="comment">//</span></div>
+<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>         <span class="comment">//   template class Foo<X></span></div>
+<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>         <span class="comment">//</span></div>
+<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span>         <span class="comment">// but it actually has a definition. Most likely, this was</span></div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>         <span class="comment">// meant to be an explicit specialization, but the user forgot</span></div>
+<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>         <span class="comment">// the '<>' after 'template'.</span></div>
+<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>         <span class="comment">// It this is friend declaration however, since it cannot have a</span></div>
+<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>         <span class="comment">// template header, it is most likely that the user meant to</span></div>
+<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>         <span class="comment">// remove the 'template' keyword.</span></div>
+<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>         assert((TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a> || TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a>) &&</div>
+<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>                <span class="stringliteral">"Expected a definition here"</span>);</div>
+<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span> </div>
+<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>         <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a>) {</div>
+<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>           <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(DS.<a class="code" href="classclang_1_1DeclSpec.html#a214bf5e44370942a2640bf4a45c972cd">getFriendSpecLoc</a>(), diag::err_friend_explicit_instantiation);</div>
+<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>           TemplateParams = 0;</div>
+<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>         } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01508"></a><span class="lineno"> 1508</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> LAngleLoc =</div>
+<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>               PP.<a class="code" href="classclang_1_1Preprocessor.html#aef7193e9d262ea6852d666beb28dc1a0" title="Computes the source location just past the end of the token at this source location.">getLocForEndOfToken</a>(TemplateInfo.TemplateLoc);</div>
+<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>           <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a6e495b35c0172af7838719f98b6296d9">TemplateNameLoc</a>,</div>
+<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>                diag::err_explicit_instantiation_with_definition)</div>
+<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>               << <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a>(TemplateInfo.TemplateLoc)</div>
+<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>               << <a class="code" href="classclang_1_1FixItHint.html#afd481d826e9ddaa39fc82a698a810246" title="Create a code modification hint that inserts the given code string at a specific location.">FixItHint::CreateInsertion</a>(LAngleLoc, <span class="stringliteral">"<>"</span>);</div>
+<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span> </div>
+<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>           <span class="comment">// Create a fake template parameter list that contains only</span></div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>           <span class="comment">// "template<>", so that we treat this construct as a class</span></div>
+<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>           <span class="comment">// template specialization.</span></div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>           FakedParamLists.push_back(Actions.<a class="code" href="classclang_1_1Sema.html#a7d116a88ced7d83165bc68cc7fbf9e93">ActOnTemplateParameterList</a>(</div>
+<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>               0, <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>(), TemplateInfo.TemplateLoc, LAngleLoc, 0, 0,</div>
+<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>               LAngleLoc));</div>
+<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>           TemplateParams = &FakedParamLists;</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>         }</div>
+<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>       }</div>
+<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span> </div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>       <span class="comment">// Build the class template specialization.</span></div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>       TagOrTempResult</div>
+<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>         = Actions.<a class="code" href="classclang_1_1Sema.html#abd2e94dba56c52a101b7ddfaa020b793">ActOnClassTemplateSpecialization</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), TagType, TUK,</div>
+<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>                        StartLoc, DS.<a class="code" href="classclang_1_1DeclSpec.html#ac6b5b7285dfb47318fb071351e8b910e">getModulePrivateSpecLoc</a>(), SS,</div>
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>                        TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#ade8e150daa0537209d2d6934b2a52ec2">Template</a>,</div>
+<div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>                        TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a6e495b35c0172af7838719f98b6296d9">TemplateNameLoc</a>,</div>
+<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>                        TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a85b693f9db77c512d73f7609950ea5d6">LAngleLoc</a>,</div>
+<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>                        TemplateArgsPtr,</div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>                        TemplateId-><a class="code" href="structclang_1_1TemplateIdAnnotation.html#a7b7282dfba3c5a11304e3e96495f2300">RAngleLoc</a>,</div>
+<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>                        attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>(),</div>
+<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>                        <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a>(</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>                                     TemplateParams? &(*TemplateParams)[0] : 0,</div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>                                  TemplateParams? TemplateParams->size() : 0));</div>
+<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>     }</div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation &&</div>
+<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>              TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceadb20f669c5ae1c5150a7a0fcb3f97614">Sema::TUK_Declaration</a>) {</div>
+<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>     <span class="comment">// Explicit instantiation of a member of a class template</span></div>
+<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>     <span class="comment">// specialization, e.g.,</span></div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>     <span class="comment">//   template struct Outer<int>::Inner;</span></div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>     ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span> </div>
+<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>     TagOrTempResult</div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>       = Actions.<a class="code" href="classclang_1_1Sema.html#a419d9f253c5e6230a8ac9c331b1ee6fd">ActOnExplicitInstantiation</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(),</div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span>                                            TemplateInfo.ExternLoc,</div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span>                                            TemplateInfo.TemplateLoc,</div>
+<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span>                                            TagType, StartLoc, SS, Name,</div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span>                                            NameLoc, attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>());</div>
+<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a> &&</div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span>              TemplateInfo.Kind != ParsedTemplateInfo::NonTemplate) {</div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span>     ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span> </div>
+<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>     TagOrTempResult =</div>
+<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>       Actions.<a class="code" href="classclang_1_1Sema.html#a545910c46306b3c179a750d4edc60139">ActOnTemplatedFriendTag</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), DS.<a class="code" href="classclang_1_1DeclSpec.html#a214bf5e44370942a2640bf4a45c972cd">getFriendSpecLoc</a>(),</div>
+<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>                                       TagType, StartLoc, SS,</div>
+<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>                                       Name, NameLoc, attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>(),</div>
+<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>                                       <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a>(</div>
+<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>                                     TemplateParams? &(*TemplateParams)[0] : 0,</div>
+<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>                                  TemplateParams? TemplateParams->size() : 0));</div>
+<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>     <span class="keywordflow">if</span> (TUK != <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceadb20f669c5ae1c5150a7a0fcb3f97614">Sema::TUK_Declaration</a> && TUK != <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a>)</div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>       ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> </div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>     <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a> &&</div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>         TemplateInfo.Kind == ParsedTemplateInfo::ExplicitInstantiation) {</div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>       <span class="comment">// If the declarator-id is not a template-id, issue a diagnostic and</span></div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>       <span class="comment">// recover by ignoring the 'template' keyword.</span></div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_template_defn_explicit_instantiation)</div>
+<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>         << 1 << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(TemplateInfo.TemplateLoc);</div>
+<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>       TemplateParams = 0;</div>
+<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>     }</div>
+<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span> </div>
+<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>     <span class="keywordtype">bool</span> IsDependent = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span> </div>
+<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>     <span class="comment">// Don't pass down template parameter lists if this is just a tag</span></div>
+<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>     <span class="comment">// reference.  For example, we don't need the template parameters here:</span></div>
+<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>     <span class="comment">//   template <class T> class A *makeA(T t);</span></div>
+<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>     <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a> TParams;</div>
+<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>     <span class="keywordflow">if</span> (TUK != <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a> && TemplateParams)</div>
+<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>       TParams =</div>
+<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>         <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a>(&(*TemplateParams)[0], TemplateParams->size());</div>
+<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span> </div>
+<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>     <span class="comment">// Declaration or definition of a class type</span></div>
+<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>     TagOrTempResult = Actions.<a class="code" href="classclang_1_1Sema.html#a76cd1219b205d486ed76b0cefe0d87af">ActOnTag</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), TagType, TUK, StartLoc,</div>
+<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>                                        SS, Name, NameLoc, attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>(), AS,</div>
+<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>                                        DS.<a class="code" href="classclang_1_1DeclSpec.html#ac6b5b7285dfb47318fb071351e8b910e">getModulePrivateSpecLoc</a>(),</div>
+<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>                                        TParams, Owned, IsDependent,</div>
+<div class="line"><a name="l01593"></a><span class="lineno"> 1593</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>(), <span class="keyword">false</span>,</div>
+<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>                                        <a class="code" href="namespaceclang.html#ac1557d1cfd27718557cd4f53c8bbc9db">clang::TypeResult</a>());</div>
+<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span> </div>
+<div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>     <span class="comment">// If ActOnTag said the type was dependent, try again with the</span></div>
+<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>     <span class="comment">// less common call.</span></div>
+<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>     <span class="keywordflow">if</span> (IsDependent) {</div>
+<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>       assert(TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaeef3ad804d0e0e4db2096e5ab49f8006">Sema::TUK_Reference</a> || TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceae1c31c45e0b72b882d1c8931ed3c4063">Sema::TUK_Friend</a>);</div>
+<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>       TypeResult = Actions.<a class="code" href="classclang_1_1Sema.html#a46ddbe7c6e743b818863648a5bafe427">ActOnDependentTag</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), TagType, TUK,</div>
+<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>                                              SS, Name, StartLoc, NameLoc);</div>
+<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>     }</div>
+<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>   }</div>
+<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span> </div>
+<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>   <span class="comment">// If there is a body, parse it and inform the actions module.</span></div>
+<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>   <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a>) {</div>
+<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>     assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) ||</div>
+<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>            (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon)) ||</div>
+<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>            isCXX11FinalKeyword());</div>
+<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus)</div>
+<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>       ParseCXXMemberSpecification(StartLoc, AttrFixitLoc, attrs, TagType,</div>
+<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>                                   TagOrTempResult.get());</div>
+<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>       ParseStructUnionBody(StartLoc, TagType, TagOrTempResult.get());</div>
+<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>   }</div>
+<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span> </div>
+<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>   <span class="keyword">const</span> <span class="keywordtype">char</span> *PrevSpec = 0;</div>
+<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>   <span class="keywordtype">unsigned</span> DiagID;</div>
+<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span>   <span class="keywordtype">bool</span> Result;</div>
+<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span>   <span class="keywordflow">if</span> (!TypeResult.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>     Result = DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(<a class="code" href="classclang_1_1DeclSpec.html#a0ed31e8e239ed3e00e5181ca7bacf5aa">DeclSpec::TST_typename</a>, StartLoc,</div>
+<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>                                 NameLoc.isValid() ? NameLoc : StartLoc,</div>
+<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>                                 PrevSpec, DiagID, TypeResult.<a class="code" href="classclang_1_1ActionResult.html#a75d6bbdafaa638e85809e113629401ca">get</a>());</div>
+<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>   } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!TagOrTempResult.isInvalid()) {</div>
+<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>     Result = DS.<a class="code" href="classclang_1_1DeclSpec.html#af184ab7eeb4737c8f52ebdd72e49c70c">SetTypeSpecType</a>(TagType, StartLoc,</div>
+<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>                                 NameLoc.isValid() ? NameLoc : StartLoc,</div>
+<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>                                 PrevSpec, DiagID, TagOrTempResult.get(), Owned);</div>
+<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>   } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>   }</div>
+<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span> </div>
+<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>   <span class="keywordflow">if</span> (Result)</div>
+<div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>     <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(StartLoc, DiagID) << PrevSpec;</div>
+<div class="line"><a name="l01635"></a><span class="lineno"> 1635</span> </div>
+<div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>   <span class="comment">// At this point, we've successfully parsed a class-specifier in 'definition'</span></div>
+<div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>   <span class="comment">// form (e.g. "struct foo { int x; }".  While we could just return here, we're</span></div>
+<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>   <span class="comment">// going to look at what comes after it to improve error recovery.  If an</span></div>
+<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>   <span class="comment">// impossible token occurs next, we assume that the programmer forgot a ; at</span></div>
+<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>   <span class="comment">// the end of the declaration and recover that way.</span></div>
+<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>   <span class="comment">//</span></div>
+<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>   <span class="comment">// Also enforce C++ [temp]p3:</span></div>
+<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>   <span class="comment">//   In a template-declaration which defines a class, no declarator</span></div>
+<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>   <span class="comment">//   is permitted.</span></div>
+<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>   <span class="keywordflow">if</span> (TUK == <a class="code" href="classclang_1_1Sema.html#ad366dd74e09ab3fe2eaf83e2d3cda7ceaae212d7e64dd7747a69487e73d7eb004">Sema::TUK_Definition</a> &&</div>
+<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>       (TemplateInfo.Kind || !isValidAfterTypeSpecifier(<span class="keyword">false</span>))) {</div>
+<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::semi)) {</div>
+<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>       ExpectAndConsume(tok::semi, diag::err_expected_semi_after_tagdecl,</div>
+<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>         <a class="code" href="classclang_1_1DeclSpec.html#aab0f17bd394c2bd409a510ef6c57b965" title="Turn a type-specifier-type into a string like "_Bool" or "union".">DeclSpec::getSpecifierName</a>(TagType));</div>
+<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>       <span class="comment">// Push this token back into the preprocessor and change our current token</span></div>
+<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>       <span class="comment">// to ';' so that the rest of the code recovers as though there were an</span></div>
+<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>       <span class="comment">// ';' after the definition.</span></div>
+<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>       PP.<a class="code" href="classclang_1_1Preprocessor.html#a281f16dcb4fca3c52652dbc11ed53c1a">EnterToken</a>(Tok);</div>
+<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>       Tok.<a class="code" href="classclang_1_1Token.html#a44b757baba649ad00b79f78671a8a2aa">setKind</a>(tok::semi);</div>
+<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>     }</div>
+<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>   }</div>
+<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span> }</div>
+<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span> <span class="comment"></span></div>
+<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span> <span class="comment">/// ParseBaseClause - Parse the base-clause of a C++ class [C++ class.derived].</span></div>
+<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span> <span class="comment">///       base-clause : [C++ class.derived]</span></div>
+<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span> <span class="comment">///         ':' base-specifier-list</span></div>
+<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span> <span class="comment">///       base-specifier-list:</span></div>
+<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span> <span class="comment">///         base-specifier '...'[opt]</span></div>
+<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span> <span class="comment">///         base-specifier-list ',' base-specifier '...'[opt]</span></div>
+<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseBaseClause(<a class="code" href="classclang_1_1Decl.html">Decl</a> *ClassDecl) {</div>
+<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>   assert(Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon) && <span class="stringliteral">"Not a base clause"</span>);</div>
+<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>   <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span> </div>
+<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>   <span class="comment">// Build up an array of parsed base specifiers.</span></div>
+<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>   <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<CXXBaseSpecifier *, 8></a> BaseInfo;</div>
+<div class="line"><a name="l01672"></a><span class="lineno"> 1672</span> </div>
+<div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>     <span class="comment">// Parse a base-specifier.</span></div>
+<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>     <a class="code" href="classclang_1_1ActionResult.html">BaseResult</a> Result = ParseBaseSpecifier(ClassDecl);</div>
+<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>     <span class="keywordflow">if</span> (Result.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>()) {</div>
+<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>       <span class="comment">// Skip the rest of this base specifier, up until the comma or</span></div>
+<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>       <span class="comment">// opening brace.</span></div>
+<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::comma, tok::l_brace, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a> | <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>       <span class="comment">// Add this to our array of base specifiers.</span></div>
+<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>       BaseInfo.push_back(Result.<a class="code" href="classclang_1_1ActionResult.html#a75d6bbdafaa638e85809e113629401ca">get</a>());</div>
+<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>     }</div>
+<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span> </div>
+<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>     <span class="comment">// If the next token is a comma, consume it and keep reading</span></div>
+<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>     <span class="comment">// base-specifiers.</span></div>
+<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::comma)) <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span> </div>
+<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span>     <span class="comment">// Consume the comma.</span></div>
+<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span>   }</div>
+<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span> </div>
+<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>   <span class="comment">// Attach the base specifiers</span></div>
+<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>   Actions.<a class="code" href="classclang_1_1Sema.html#a13bd0dc14425a5713740a7c38a9aaeca">ActOnBaseSpecifiers</a>(ClassDecl, BaseInfo.data(), BaseInfo.size());</div>
+<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span> }</div>
+<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span> <span class="comment"></span></div>
+<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span> <span class="comment">/// ParseBaseSpecifier - Parse a C++ base-specifier. A base-specifier is</span></div>
+<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span> <span class="comment">/// one entry in the base class list of a class specifier, for example:</span></div>
+<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span> <span class="comment">///    class foo : public bar, virtual private baz {</span></div>
+<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span> <span class="comment">/// 'public bar' and 'virtual private baz' are each base-specifiers.</span></div>
+<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span> <span class="comment">///       base-specifier: [C++ class.derived]</span></div>
+<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span> <span class="comment">///         attribute-specifier-seq[opt] base-type-specifier</span></div>
+<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span> <span class="comment">///         attribute-specifier-seq[opt] 'virtual' access-specifier[opt]</span></div>
+<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span> <span class="comment">///                 base-type-specifier</span></div>
+<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span> <span class="comment">///         attribute-specifier-seq[opt] access-specifier 'virtual'[opt]</span></div>
+<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span> <span class="comment">///                 base-type-specifier</span></div>
+<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span> <span class="comment"></span><a class="code" href="classclang_1_1ActionResult.html">Parser::BaseResult</a> Parser::ParseBaseSpecifier(<a class="code" href="classclang_1_1Decl.html">Decl</a> *ClassDecl) {</div>
+<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>   <span class="keywordtype">bool</span> IsVirtual = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01710"></a><span class="lineno"> 1710</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> StartLoc = Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>();</div>
+<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span> </div>
+<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>   ParsedAttributesWithRange Attributes(AttrFactory);</div>
+<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>   MaybeParseCXX11Attributes(Attributes);</div>
+<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span> </div>
+<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>   <span class="comment">// Parse the 'virtual' keyword.</span></div>
+<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_virtual))  {</div>
+<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>     IsVirtual = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>   }</div>
+<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span> </div>
+<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>   CheckMisplacedCXX11Attribute(Attributes, StartLoc);</div>
+<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span> </div>
+<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>   <span class="comment">// Parse an (optional) access specifier.</span></div>
+<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>   <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> Access = getAccessSpecifierIfPresent();</div>
+<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>   <span class="keywordflow">if</span> (Access != <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa24d2c10b569678923a7bff78b68cb02b">AS_none</a>)</div>
+<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span> </div>
+<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>   CheckMisplacedCXX11Attribute(Attributes, StartLoc);</div>
+<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span> </div>
+<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>   <span class="comment">// Parse the 'virtual' keyword (again!), in case it came after the</span></div>
+<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>   <span class="comment">// access specifier.</span></div>
+<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_virtual))  {</div>
+<div class="line"><a name="l01733"></a><span class="lineno"> 1733</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> VirtualLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>     <span class="keywordflow">if</span> (IsVirtual) {</div>
+<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>       <span class="comment">// Complain about duplicate 'virtual'</span></div>
+<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(VirtualLoc, diag::err_dup_virtual)</div>
+<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(VirtualLoc);</div>
+<div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>     }</div>
+<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span> </div>
+<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>     IsVirtual = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>   }</div>
+<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span> </div>
+<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>   CheckMisplacedCXX11Attribute(Attributes, StartLoc);</div>
+<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span> </div>
+<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>   <span class="comment">// Parse the class-name.</span></div>
+<div class="line"><a name="l01746"></a><span class="lineno"> 1746</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> EndLocation;</div>
+<div class="line"><a name="l01747"></a><span class="lineno"> 1747</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> BaseLoc;</div>
+<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>   TypeResult BaseType = ParseBaseTypeSpecifier(BaseLoc, EndLocation);</div>
+<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>   <span class="keywordflow">if</span> (BaseType.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>())</div>
+<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>     <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span> </div>
+<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>   <span class="comment">// Parse the optional ellipsis (for a pack expansion). The ellipsis is </span></div>
+<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>   <span class="comment">// actually part of the base-specifier-list grammar productions, but we</span></div>
+<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>   <span class="comment">// parse it here for convenience.</span></div>
+<div class="line"><a name="l01755"></a><span class="lineno"> 1755</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> EllipsisLoc;</div>
+<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::ellipsis))</div>
+<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>     EllipsisLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>   </div>
+<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>   <span class="comment">// Find the complete source range for the base-specifier.</span></div>
+<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>   <a class="code" href="classclang_1_1SourceRange.html" title="A trival tuple used to represent a source range.">SourceRange</a> Range(StartLoc, EndLocation);</div>
+<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span> </div>
+<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>   <span class="comment">// Notify semantic analysis that we have parsed a complete</span></div>
+<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>   <span class="comment">// base-specifier.</span></div>
+<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>   <span class="keywordflow">return</span> Actions.<a class="code" href="classclang_1_1Sema.html#a467e6c5d1cdc7fc107c9aa9bee9256c7">ActOnBaseSpecifier</a>(ClassDecl, Range, Attributes, IsVirtual,</div>
+<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>                                     Access, BaseType.<a class="code" href="classclang_1_1ActionResult.html#a75d6bbdafaa638e85809e113629401ca">get</a>(), BaseLoc,</div>
+<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>                                     EllipsisLoc);</div>
+<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span> }</div>
+<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span> <span class="comment"></span></div>
+<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span> <span class="comment">/// getAccessSpecifierIfPresent - Determine whether the next token is</span></div>
+<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span> <span class="comment">/// a C++ access-specifier.</span></div>
+<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span> <span class="comment">///       access-specifier: [C++ class.derived]</span></div>
+<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span> <span class="comment">///         'private'</span></div>
+<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span> <span class="comment">///         'protected'</span></div>
+<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span> <span class="comment">///         'public'</span></div>
+<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span> <span class="comment"></span><a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> Parser::getAccessSpecifierIfPresent()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>   <span class="keywordflow">switch</span> (Tok.<a class="code" href="classclang_1_1Token.html#a84a069f6887b650763e640eeabfeebe4">getKind</a>()) {</div>
+<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>   <span class="keywordflow">default</span>: <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa24d2c10b569678923a7bff78b68cb02b">AS_none</a>;</div>
+<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>   <span class="keywordflow">case</span> tok::kw_private: <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa7be90b0dcbe2c1b4391457330f68aafa">AS_private</a>;</div>
+<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>   <span class="keywordflow">case</span> tok::kw_protected: <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa2228b99b74e17dd9730ec288f10842e8">AS_protected</a>;</div>
+<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>   <span class="keywordflow">case</span> tok::kw_public: <span class="keywordflow">return</span> <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa163ae3a419460301961bc458f8f01fd3">AS_public</a>;</div>
+<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>   }</div>
+<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span> }</div>
+<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span> <span class="comment"></span></div>
+<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span> <span class="comment">/// \brief If the given declarator has any parts for which parsing has to be</span></div>
+<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span> <span class="comment">/// delayed, e.g., default arguments, create a late-parsed method declaration</span></div>
+<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span> <span class="comment">/// record to handle the parsing at the end of the class definition.</span></div>
+<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::HandleMemberFunctionDeclDelays(<a class="code" href="classclang_1_1Declarator.html" title="Information about one declarator, including the parsed type information and the identifier.">Declarator</a>& DeclaratorInfo,</div>
+<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>                                             <a class="code" href="classclang_1_1Decl.html">Decl</a> *ThisDecl) {</div>
+<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>   <span class="comment">// We just declared a member function. If this member function</span></div>
+<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>   <span class="comment">// has any default arguments, we'll need to parse them later.</span></div>
+<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>   LateParsedMethodDeclaration *LateMethod = 0;</div>
+<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>   <a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html">DeclaratorChunk::FunctionTypeInfo</a> &FTI</div>
+<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>     = DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#aab829e1627079197e630182d9d56a9c6">getFunctionTypeInfo</a>();</div>
+<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span> </div>
+<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>   <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> ParamIdx = 0; ParamIdx < FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#a278210bb7c3115347babdc92db45de1b">NumArgs</a>; ++ParamIdx) {</div>
+<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>     <span class="keywordflow">if</span> (LateMethod || FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#ade47c9f29fe85cb39cc089e8e16fee75">ArgInfo</a>[ParamIdx].<a class="code" href="structclang_1_1DeclaratorChunk_1_1ParamInfo.html#a8e2dc5531577664f16606c9fe0e0e5fb">DefaultArgTokens</a>) {</div>
+<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>       <span class="keywordflow">if</span> (!LateMethod) {</div>
+<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>         <span class="comment">// Push this method onto the stack of late-parsed method</span></div>
+<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>         <span class="comment">// declarations.</span></div>
+<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>         LateMethod = <span class="keyword">new</span> LateParsedMethodDeclaration(<span class="keyword">this</span>, ThisDecl);</div>
+<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>         getCurrentClass().LateParsedDeclarations.push_back(LateMethod);</div>
+<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>         LateMethod->TemplateScope = <a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>()-><a class="code" href="classclang_1_1Scope.html#addcf7c6c2b6b49e4c5d25fce5ca94643">isTemplateParamScope</a>();</div>
+<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span> </div>
+<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>         <span class="comment">// Add all of the parameters prior to this one (they don't</span></div>
+<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>         <span class="comment">// have default arguments).</span></div>
+<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>         LateMethod->DefaultArgs.reserve(FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#a278210bb7c3115347babdc92db45de1b">NumArgs</a>);</div>
+<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> I = 0; I < ParamIdx; ++I)</div>
+<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>           LateMethod->DefaultArgs.push_back(</div>
+<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>                              LateParsedDefaultArgument(FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#ade47c9f29fe85cb39cc089e8e16fee75">ArgInfo</a>[I].<a class="code" href="structclang_1_1DeclaratorChunk_1_1ParamInfo.html#af9e6c8977877abbb0ad24e595be63dc0">Param</a>));</div>
+<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>       }</div>
+<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span> </div>
+<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>       <span class="comment">// Add this parameter to the list of parameters (it may or may</span></div>
+<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>       <span class="comment">// not have a default argument).</span></div>
+<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>       LateMethod->DefaultArgs.push_back(</div>
+<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>         LateParsedDefaultArgument(FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#ade47c9f29fe85cb39cc089e8e16fee75">ArgInfo</a>[ParamIdx].<a class="code" href="structclang_1_1DeclaratorChunk_1_1ParamInfo.html#af9e6c8977877abbb0ad24e595be63dc0">Param</a>,</div>
+<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>                                   FTI.<a class="code" href="structclang_1_1DeclaratorChunk_1_1FunctionTypeInfo.html#ade47c9f29fe85cb39cc089e8e16fee75">ArgInfo</a>[ParamIdx].<a class="code" href="structclang_1_1DeclaratorChunk_1_1ParamInfo.html#a8e2dc5531577664f16606c9fe0e0e5fb">DefaultArgTokens</a>));</div>
+<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>     }</div>
+<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>   }</div>
+<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span> }</div>
+<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span> <span class="comment"></span></div>
+<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span> <span class="comment">/// isCXX11VirtSpecifier - Determine whether the given token is a C++11</span></div>
+<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span> <span class="comment">/// virt-specifier.</span></div>
+<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span> <span class="comment">///       virt-specifier:</span></div>
+<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span> <span class="comment">///         override</span></div>
+<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span> <span class="comment">///         final</span></div>
+<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span> <span class="comment"></span><a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1">VirtSpecifiers::Specifier</a> Parser::isCXX11VirtSpecifier(<span class="keyword">const</span> <a class="code" href="classclang_1_1Token.html">Token</a> &Tok)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>   <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>)</div>
+<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>     <span class="keywordflow">return</span> <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1ab584abf7f6ea5b77473e481f61a5ae15">VirtSpecifiers::VS_None</a>;</div>
+<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span> </div>
+<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier)) {</div>
+<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>     <a class="code" href="classclang_1_1IdentifierInfo.html">IdentifierInfo</a> *II = Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>();</div>
+<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span> </div>
+<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>     <span class="comment">// Initialize the contextual keywords.</span></div>
+<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>     <span class="keywordflow">if</span> (!Ident_final) {</div>
+<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>       Ident_final = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"final"</span>);</div>
+<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().MicrosoftExt)</div>
+<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>         Ident_sealed = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"sealed"</span>);</div>
+<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>       Ident_override = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"override"</span>);</div>
+<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>     }</div>
+<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span> </div>
+<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>     <span class="keywordflow">if</span> (II == Ident_override)</div>
+<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1a4c3ca5f414c60021152e440f7e8a6a50">VirtSpecifiers::VS_Override</a>;</div>
+<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span> </div>
+<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>     <span class="keywordflow">if</span> (II == Ident_sealed)</div>
+<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1adc724271c479af3b8cdbf46321b9a55c">VirtSpecifiers::VS_Sealed</a>;</div>
+<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span> </div>
+<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>     <span class="keywordflow">if</span> (II == Ident_final)</div>
+<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>       <span class="keywordflow">return</span> <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1a8892bfedc18df7a5ebd8c9d277f39815">VirtSpecifiers::VS_Final</a>;</div>
+<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>   }</div>
+<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span> </div>
+<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>   <span class="keywordflow">return</span> <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1ab584abf7f6ea5b77473e481f61a5ae15">VirtSpecifiers::VS_None</a>;</div>
+<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span> }</div>
+<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span> <span class="comment"></span></div>
+<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span> <span class="comment">/// ParseOptionalCXX11VirtSpecifierSeq - Parse a virt-specifier-seq.</span></div>
+<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span> <span class="comment">///       virt-specifier-seq:</span></div>
+<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span> <span class="comment">///         virt-specifier</span></div>
+<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span> <span class="comment">///         virt-specifier-seq virt-specifier</span></div>
+<div class="line"><a name="l01861"></a><span class="lineno"> 1861</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseOptionalCXX11VirtSpecifierSeq(<a class="code" href="classclang_1_1VirtSpecifiers.html" title="Represents a C++11 virt-specifier-seq.">VirtSpecifiers</a> &VS,</div>
+<div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>                                                 <span class="keywordtype">bool</span> IsInterface) {</div>
+<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>   <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>     <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1">VirtSpecifiers::Specifier</a> Specifier = isCXX11VirtSpecifier();</div>
+<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>     <span class="keywordflow">if</span> (Specifier == <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1ab584abf7f6ea5b77473e481f61a5ae15">VirtSpecifiers::VS_None</a>)</div>
+<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span> </div>
+<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>     <span class="comment">// C++ [class.mem]p8:</span></div>
+<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>     <span class="comment">//   A virt-specifier-seq shall contain at most one of each virt-specifier.</span></div>
+<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>     <span class="keyword">const</span> <span class="keywordtype">char</span> *PrevSpec = 0;</div>
+<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>     <span class="keywordflow">if</span> (VS.<a class="code" href="classclang_1_1VirtSpecifiers.html#afd3fde9131ff9c31c99f4cdf8c38e73d">SetSpecifier</a>(Specifier, Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), PrevSpec))</div>
+<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_duplicate_virt_specifier)</div>
+<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>         << PrevSpec</div>
+<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>         << <a class="code" href="classclang_1_1FixItHint.html#a9e11ae1e22983fd4abea805755ecddbe" title="Create a code modification hint that removes the given source range.">FixItHint::CreateRemoval</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>());</div>
+<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span> </div>
+<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>     <span class="keywordflow">if</span> (IsInterface && (Specifier == <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1a8892bfedc18df7a5ebd8c9d277f39815">VirtSpecifiers::VS_Final</a> ||</div>
+<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>                         Specifier == <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1adc724271c479af3b8cdbf46321b9a55c">VirtSpecifiers::VS_Sealed</a>)) {</div>
+<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::err_override_control_interface)</div>
+<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>         << <a class="code" href="classclang_1_1VirtSpecifiers.html#af79d35f542ae2fcf0618594c416625f7">VirtSpecifiers::getSpecifierName</a>(Specifier);</div>
+<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Specifier == <a class="code" href="classclang_1_1VirtSpecifiers.html#aef153c2e2a994aed00a49cb1035616a1adc724271c479af3b8cdbf46321b9a55c">VirtSpecifiers::VS_Sealed</a>) {</div>
+<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(), diag::ext_ms_sealed_keyword);</div>
+<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok.<a class="code" href="classclang_1_1Token.html#a6f28cdecdecc3f19f8e7c976a044ebf8" title="Return a source location identifier for the specified offset in the current file.">getLocation</a>(),</div>
+<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>            <a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11</div>
+<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>                ? diag::warn_cxx98_compat_override_control_keyword</div>
+<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>                : diag::ext_override_control_keyword)</div>
+<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>           << <a class="code" href="classclang_1_1VirtSpecifiers.html#af79d35f542ae2fcf0618594c416625f7">VirtSpecifiers::getSpecifierName</a>(Specifier);</div>
+<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>     }</div>
+<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>   }</div>
+<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span> }</div>
+<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span> <span class="comment"></span></div>
+<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span> <span class="comment">/// isCXX11FinalKeyword - Determine whether the next token is a C++11</span></div>
+<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span> <span class="comment">/// contextual 'final' keyword.</span></div>
+<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span> <span class="comment"></span><span class="keywordtype">bool</span> Parser::isCXX11FinalKeyword()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>   <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().<a class="code" href="namespaceclang_1_1frontend.html#a09dfa01c4e997a3794d80922c5e853bbaf89a7ac6211aecefb5f7ecc17d3ebed4">CPlusPlus</a>)</div>
+<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span> </div>
+<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>   <span class="keywordflow">if</span> (!Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier))</div>
+<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>     <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span> </div>
+<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>   <span class="comment">// Initialize the contextual keywords.</span></div>
+<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>   <span class="keywordflow">if</span> (!Ident_final) {</div>
+<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>     Ident_final = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"final"</span>);</div>
+<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().MicrosoftExt)</div>
+<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>       Ident_sealed = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"sealed"</span>);</div>
+<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>     Ident_override = &PP.<a class="code" href="classclang_1_1Preprocessor.html#a7770871c2bdcd43cfa195d5936c8e268">getIdentifierTable</a>().<a class="code" href="classclang_1_1IdentifierTable.html#aea14376d325400caa8a8183d14a02f39" title="Return the identifier token info for the specified named identifier.">get</a>(<span class="stringliteral">"override"</span>);</div>
+<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>   }</div>
+<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span> </div>
+<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>   <span class="keywordflow">return</span> Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>() == Ident_final ||</div>
+<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>          Tok.<a class="code" href="classclang_1_1Token.html#a0f86a35069d2f1917402adba7f4f6a7b">getIdentifierInfo</a>() == Ident_sealed;</div>
+<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span> }</div>
+<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span> <span class="comment"></span></div>
+<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span> <span class="comment">/// ParseCXXClassMemberDeclaration - Parse a C++ class member declaration.</span></div>
+<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span> <span class="comment">///       member-declaration:</span></div>
+<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span> <span class="comment">///         decl-specifier-seq[opt] member-declarator-list[opt] ';'</span></div>
+<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span> <span class="comment">///         function-definition ';'[opt]</span></div>
+<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span> <span class="comment">///         ::[opt] nested-name-specifier template[opt] unqualified-id ';'[TODO]</span></div>
+<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span> <span class="comment">///         using-declaration                                            [TODO]</span></div>
+<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span> <span class="comment">/// [C++0x] static_assert-declaration</span></div>
+<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span> <span class="comment">///         template-declaration</span></div>
+<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span> <span class="comment">/// [GNU]   '__extension__' member-declaration</span></div>
+<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span> <span class="comment">///       member-declarator-list:</span></div>
+<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span> <span class="comment">///         member-declarator</span></div>
+<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span> <span class="comment">///         member-declarator-list ',' member-declarator</span></div>
+<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span> <span class="comment">///       member-declarator:</span></div>
+<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span> <span class="comment">///         declarator virt-specifier-seq[opt] pure-specifier[opt]</span></div>
+<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span> <span class="comment">///         declarator constant-initializer[opt]</span></div>
+<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span> <span class="comment">/// [C++11] declarator brace-or-equal-initializer[opt]</span></div>
+<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span> <span class="comment">///         identifier[opt] ':' constant-expression</span></div>
+<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span> <span class="comment">///       virt-specifier-seq:</span></div>
+<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span> <span class="comment">///         virt-specifier</span></div>
+<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span> <span class="comment">///         virt-specifier-seq virt-specifier</span></div>
+<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01939"></a><span class="lineno"> 1939</span> <span class="comment">///       virt-specifier:</span></div>
+<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span> <span class="comment">///         override</span></div>
+<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span> <span class="comment">///         final</span></div>
+<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span> <span class="comment">/// [MS]    sealed</span></div>
+<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span> <span class="comment">/// </span></div>
+<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span> <span class="comment">///       pure-specifier:</span></div>
+<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span> <span class="comment">///         '= 0'</span></div>
+<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span> <span class="comment">///       constant-initializer:</span></div>
+<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span> <span class="comment">///         '=' constant-expression</span></div>
+<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span> <span class="comment">///</span></div>
+<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span> <span class="comment"></span><span class="keywordtype">void</span> Parser::ParseCXXClassMemberDeclaration(<a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988f" title="A C++ access specifier (public, private, protected), plus the special value "none" which means differ...">AccessSpecifier</a> AS,</div>
+<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>                                             <a class="code" href="classclang_1_1AttributeList.html">AttributeList</a> *AccessAttrs,</div>
+<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>                                        <span class="keyword">const</span> ParsedTemplateInfo &TemplateInfo,</div>
+<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>                                        <a class="code" href="classclang_1_1ParsingDeclRAIIObject.html" title="RAII object used to inform the actions that we're currently parsing a declaration. This is active when parsing a variable's initializer, but not when parsing the body of a class or function definition.">ParsingDeclRAIIObject</a> *TemplateDiags) {</div>
+<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::at)) {</div>
+<div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().ObjC1 && <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#a5761d2afabf61a167722a8d2ac7a9f51" title="Return true if we have an ObjC keyword identifier.">isObjCAtKeyword</a>(tok::objc_defs))</div>
+<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_at_defs_cxx);</div>
+<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(Tok, diag::err_at_in_class);</div>
+<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span> </div>
+<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>     <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_brace, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a>);</div>
+<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>   }</div>
+<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span> </div>
+<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>   <span class="comment">// Access declarations.</span></div>
+<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>   <span class="keywordtype">bool</span> MalformedTypeSpec = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>   <span class="keywordflow">if</span> (!TemplateInfo.Kind &&</div>
+<div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>       (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::coloncolon))) {</div>
+<div class="line"><a name="l01969"></a><span class="lineno"> 1969</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#af6d88d3c2f1c4b03b72d93bde3f719b0">TryAnnotateCXXScopeToken</a>())</div>
+<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>       MalformedTypeSpec = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span> </div>
+<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>     <span class="keywordtype">bool</span> isAccessDecl;</div>
+<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::annot_cxxscope))</div>
+<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>       isAccessDecl = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>     <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::identifier))</div>
+<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>       isAccessDecl = GetLookAheadToken(2).<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi);</div>
+<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>     <span class="keywordflow">else</span></div>
+<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>       isAccessDecl = <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_operator);</div>
+<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span> </div>
+<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>     <span class="keywordflow">if</span> (isAccessDecl) {</div>
+<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>       <span class="comment">// Collect the scope specifier token we annotated earlier.</span></div>
+<div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>       <a class="code" href="classclang_1_1CXXScopeSpec.html" title="Represents a C++ nested-name-specifier or a global scope specifier.">CXXScopeSpec</a> SS;</div>
+<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>       ParseOptionalCXXScopeSpecifier(SS, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(), </div>
+<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>                                      <span class="comment">/*EnteringContext=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span> </div>
+<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span>       <span class="comment">// Try to parse an unqualified-id.</span></div>
+<div class="line"><a name="l01987"></a><span class="lineno"> 1987</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> TemplateKWLoc;</div>
+<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>       <a class="code" href="classclang_1_1UnqualifiedId.html" title="Represents a C++ unqualified-id that has been parsed.">UnqualifiedId</a> Name;</div>
+<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>       <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a1825dac9fa2dbbc90288b97f2c14eba6" title="Parse a C++ unqualified-id (or a C identifier), which describes the name of an entity.">ParseUnqualifiedId</a>(SS, <span class="keyword">false</span>, <span class="keyword">true</span>, <span class="keyword">true</span>, <a class="code" href="namespaceclang.html#aeb304ed08ffec14495690938d6bd95e2">ParsedType</a>(),</div>
+<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>                              TemplateKWLoc, Name)) {</div>
+<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>         <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi);</div>
+<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>       }</div>
+<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span> </div>
+<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>       <span class="comment">// TODO: recover from mistakenly-qualified operator declarations.</span></div>
+<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>       <span class="keywordflow">if</span> (ExpectAndConsume(tok::semi,</div>
+<div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>                            diag::err_expected_semi_after,</div>
+<div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>                            <span class="stringliteral">"access declaration"</span>,</div>
+<div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>                            tok::semi))</div>
+<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span> </div>
+<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>       Actions.<a class="code" href="classclang_1_1Sema.html#a0d09dd9531bccb9c4d6ec8297b67da00">ActOnUsingDeclaration</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), AS,</div>
+<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>                                     <span class="comment">/* HasUsingKeyword */</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>                                     <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>(),</div>
+<div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>                                     SS, Name,</div>
+<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>                                     <span class="comment">/* AttrList */</span> 0,</div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>                                     <span class="comment">/* HasTypenameKeyword */</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>                                     <a class="code" href="classclang_1_1SourceLocation.html" title="Encodes a location in the source. The SourceManager can decode this to get at the full include stack...">SourceLocation</a>());</div>
+<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>     }</div>
+<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>   }</div>
+<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span> </div>
+<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>   <span class="comment">// static_assert-declaration</span></div>
+<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_static_assert) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw__Static_assert)) {</div>
+<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>     <span class="comment">// FIXME: Check for templates</span></div>
+<div class="line"><a name="l02016"></a><span class="lineno"> 2016</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> DeclEnd;</div>
+<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>     ParseStaticAssertDeclaration(DeclEnd);</div>
+<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>   }</div>
+<div class="line"><a name="l02020"></a><span class="lineno"> 2020</span> </div>
+<div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_template)) {</div>
+<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>     assert(!TemplateInfo.TemplateParams &&</div>
+<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>            <span class="stringliteral">"Nested template improperly parsed?"</span>);</div>
+<div class="line"><a name="l02024"></a><span class="lineno"> 2024</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> DeclEnd;</div>
+<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>     ParseDeclarationStartingWithTemplate(<a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156a1e14935ffa1250c82e451a548b7302f6">Declarator::MemberContext</a>, DeclEnd,</div>
+<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>                                          AS, AccessAttrs);</div>
+<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>   }</div>
+<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span> </div>
+<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>   <span class="comment">// Handle:  member-declaration ::= '__extension__' member-declaration</span></div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw___extension__)) {</div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>     <span class="comment">// __extension__ silences extension warnings in the subexpression.</span></div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>     <a class="code" href="classclang_1_1ExtensionRAIIObject.html">ExtensionRAIIObject</a> O(Diags);  <span class="comment">// Use RAII to do this.</span></div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>     <span class="keywordflow">return</span> ParseCXXClassMemberDeclaration(AS, AccessAttrs,</div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>                                           TemplateInfo, TemplateDiags);</div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>   }</div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span> </div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>   <span class="comment">// Don't parse FOO:BAR as if it were a typo for FOO::BAR, in this context it</span></div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>   <span class="comment">// is a bitfield.</span></div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>   <a class="code" href="classclang_1_1ColonProtectionRAIIObject.html">ColonProtectionRAIIObject</a> <a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span> </div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>   ParsedAttributesWithRange attrs(AttrFactory);</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>   ParsedAttributesWithRange FnAttrs(AttrFactory);</div>
+<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>   <span class="comment">// Optional C++11 attribute-specifier</span></div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>   MaybeParseCXX11Attributes(attrs);</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>   <span class="comment">// We need to keep these attributes for future diagnostic</span></div>
+<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>   <span class="comment">// before they are taken over by declaration specifier.</span></div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>   FnAttrs.addAll(attrs.<a class="code" href="classclang_1_1ParsedAttributes.html#a6a91d21507f031359225804d26671da5">getList</a>());</div>
+<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>   FnAttrs.Range = attrs.Range;</div>
+<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span> </div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>   MaybeParseMicrosoftAttributes(attrs);</div>
+<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span> </div>
+<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_using)) {</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>     ProhibitAttributes(attrs);</div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span> </div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>     <span class="comment">// Eat 'using'.</span></div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 2058</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> UsingLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span> </div>
+<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_namespace)) {</div>
+<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>       <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(UsingLoc, diag::err_using_namespace_in_class);</div>
+<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::semi, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>     } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</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> DeclEnd;</div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>       <span class="comment">// Otherwise, it must be a using-declaration or an alias-declaration.</span></div>
+<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>       ParseUsingDeclaration(<a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156a1e14935ffa1250c82e451a548b7302f6">Declarator::MemberContext</a>, TemplateInfo,</div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>                             UsingLoc, DeclEnd, AS);</div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>     }</div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>   }</div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span> </div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>   <span class="comment">// Hold late-parsed attributes so we can attach a Decl to them later.</span></div>
+<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>   LateParsedAttrList CommonLateParsedAttrs;</div>
+<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span> </div>
+<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>   <span class="comment">// decl-specifier-seq:</span></div>
+<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>   <span class="comment">// Parse the common declaration-specifiers piece.</span></div>
+<div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>   <a class="code" href="classclang_1_1ParsingDeclSpec.html" title="A class for parsing a DeclSpec.">ParsingDeclSpec</a> DS(*<span class="keyword">this</span>, TemplateDiags);</div>
+<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>   DS.<a class="code" href="classclang_1_1DeclSpec.html#af2c90bf49db094ba955821df324218c9">takeAttributesFrom</a>(attrs);</div>
+<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>   <span class="keywordflow">if</span> (MalformedTypeSpec)</div>
+<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>     DS.<a class="code" href="classclang_1_1DeclSpec.html#ac13a78f5d707018b2d5ef035c782dbaa">SetTypeSpecError</a>();</div>
+<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>   ParseDeclarationSpecifiers(DS, TemplateInfo, AS, DSC_class,</div>
+<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>                              &CommonLateParsedAttrs);</div>
+<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span> </div>
+<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>   <span class="comment">// If we had a free-standing type definition with a missing semicolon, we</span></div>
+<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>   <span class="comment">// may get this far before the problem becomes obvious.</span></div>
+<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>   <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#ae312c0a325b2ca5857b65f9ac8003dfb">hasTagDefinition</a>() &&</div>
+<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>       TemplateInfo.Kind == ParsedTemplateInfo::NonTemplate &&</div>
+<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>       DiagnoseMissingSemiAfterTagDefinition(DS, AS, DSC_class,</div>
+<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>                                             &CommonLateParsedAttrs))</div>
+<div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span> </div>
+<div class="line"><a name="l02092"></a><span class="lineno"> 2092</span>   <a class="code" href="namespaceclang.html#a390b7b33929bebeea635fd6654cc4760">MultiTemplateParamsArg</a> TemplateParams(</div>
+<div class="line"><a name="l02093"></a><span class="lineno"> 2093</span>       TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->data() : 0,</div>
+<div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>       TemplateInfo.TemplateParams? TemplateInfo.TemplateParams->size() : 0);</div>
+<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span> </div>
+<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi)) {</div>
+<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>     <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span> </div>
+<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>     <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>())</div>
+<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>       ProhibitAttributes(FnAttrs);</div>
+<div class="line"><a name="l02101"></a><span class="lineno"> 2101</span> </div>
+<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>     <a class="code" href="classclang_1_1Decl.html">Decl</a> *TheDecl =</div>
+<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>       Actions.<a class="code" href="classclang_1_1Sema.html#acfe6c814a028e46343b0bc069e88c4cf">ParsedFreeStandingDeclSpec</a>(<a class="code" href="classclang_1_1Parser.html#a1b5ad7abd6599942dc36a0abf8cd0fb3">getCurScope</a>(), AS, DS, TemplateParams);</div>
+<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>     DS.complete(TheDecl);</div>
+<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>   }</div>
+<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span> </div>
+<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>   <a class="code" href="classclang_1_1ParsingDeclarator.html" title="A class for parsing a declarator.">ParsingDeclarator</a> DeclaratorInfo(*<span class="keyword">this</span>, DS, <a class="code" href="classclang_1_1Declarator.html#a1e882aec89a926d4a64b0ac2d6a40156a1e14935ffa1250c82e451a548b7302f6">Declarator::MemberContext</a>);</div>
+<div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>   <a class="code" href="classclang_1_1VirtSpecifiers.html" title="Represents a C++11 virt-specifier-seq.">VirtSpecifiers</a> VS;</div>
+<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span> </div>
+<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>   <span class="comment">// Hold late-parsed attributes so we can attach a Decl to them later.</span></div>
+<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>   LateParsedAttrList LateParsedAttrs;</div>
+<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span> </div>
+<div class="line"><a name="l02114"></a><span class="lineno"> 2114</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> EqualLoc;</div>
+<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>   <span class="keywordtype">bool</span> HasInitializer = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>   ExprResult Init;</div>
+<div class="line"><a name="l02117"></a><span class="lineno"> 2117</span>   <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#add9ef521a5de741af9c573525b71cb73">isNot</a>(tok::colon)) {</div>
+<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>     <span class="comment">// Don't parse FOO:BAR as if it were a typo for FOO::BAR.</span></div>
+<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>     <a class="code" href="classclang_1_1ColonProtectionRAIIObject.html">ColonProtectionRAIIObject</a> <a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>(*<span class="keyword">this</span>);</div>
+<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span> </div>
+<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>     <span class="comment">// Parse the first declarator.</span></div>
+<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>     ParseDeclarator(DeclaratorInfo);</div>
+<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>     <span class="comment">// Error parsing the declarator?</span></div>
+<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>     <span class="keywordflow">if</span> (!DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#a6723ac717345ada576f8d19775b5623b">hasName</a>()) {</div>
+<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>       <span class="comment">// If so, skip until the semi-colon or a }.</span></div>
+<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>       <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_brace, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a> | <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi))</div>
+<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>         <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>       <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>     }</div>
+<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span> </div>
+<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>     ParseOptionalCXX11VirtSpecifierSeq(VS, getCurrentClass().IsInterface);</div>
+<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span> </div>
+<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>     <span class="comment">// If attributes exist after the declarator, but before an '{', parse them.</span></div>
+<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>     MaybeParseGNUAttributes(DeclaratorInfo, &LateParsedAttrs);</div>
+<div class="line"><a name="l02136"></a><span class="lineno"> 2136</span> </div>
+<div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>     <span class="comment">// MSVC permits pure specifier on inline functions declared at class scope.</span></div>
+<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>     <span class="comment">// Hence check for =0 before checking for function definition.</span></div>
+<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>     <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().MicrosoftExt && Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal) &&</div>
+<div class="line"><a name="l02140"></a><span class="lineno"> 2140</span>         DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#ac884bb945b77ea6b605e9c7c5fd66bad">isFunctionDeclarator</a>() && </div>
+<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>         <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>().<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::numeric_constant)) {</div>
+<div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>       EqualLoc = <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>       Init = ParseInitializer();</div>
+<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>       <span class="keywordflow">if</span> (Init.<a class="code" href="classclang_1_1ActionResult.html#ac9ac9ca2df07fbb1931300e2a926351a">isInvalid</a>())</div>
+<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>         <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::comma, <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdceabec820d0f0c6bfe0100d9f343adbd1c6">StopAtSemi</a> | <a class="code" href="classclang_1_1Parser.html#ad15719a223127a6626e0b1107c99fdcea7eadfbdad0b0f32d010aa026f79f44d9" title="Stop skipping at specified token, but don't skip the token itself.">StopBeforeMatch</a>);</div>
+<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>       <span class="keywordflow">else</span></div>
+<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>         HasInitializer = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>     }</div>
+<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span> </div>
+<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>     <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529" title="Described the kind of function definition (if any) provided for a function.">FunctionDefinitionKind</a> DefinitionKind = <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529ad5998437efe34ac6bc995c6b55b726c1">FDK_Declaration</a>;</div>
+<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>     <span class="comment">// function-definition:</span></div>
+<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>     <span class="comment">//</span></div>
+<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>     <span class="comment">// In C++11, a non-function declarator followed by an open brace is a</span></div>
+<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>     <span class="comment">// braced-init-list for an in-class member initialization, not an</span></div>
+<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>     <span class="comment">// erroneous function definition.</span></div>
+<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>     <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) && !<a class="code" href="classclang_1_1Parser.html#a01a6e30bd84c4846bcb0dc9c0bd86023">getLangOpts</a>().CPlusPlus11) {</div>
+<div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>       DefinitionKind = <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529a32b500e01ce6b89bd9c5da6362caa144">FDK_Definition</a>;</div>
+<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>     } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#ac884bb945b77ea6b605e9c7c5fd66bad">isFunctionDeclarator</a>()) {</div>
+<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>       <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::l_brace) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::colon) || Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_try)) {</div>
+<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>         DefinitionKind = <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529a32b500e01ce6b89bd9c5da6362caa144">FDK_Definition</a>;</div>
+<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>       } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::equal)) {</div>
+<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>         <span class="keyword">const</span> <a class="code" href="classclang_1_1Token.html">Token</a> &KW = <a class="code" href="classclang_1_1Parser.html#a2807f5c9175ce6f3e43fa9cca9690020">NextToken</a>();</div>
+<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>         <span class="keywordflow">if</span> (KW.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_default))</div>
+<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>           DefinitionKind = <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529ae9a2562a020890ec70f29d6ee3ab4e66">FDK_Defaulted</a>;</div>
+<div class="line"><a name="l02165"></a><span class="lineno"> 2165</span>         <span class="keywordflow">else</span> <span class="keywordflow">if</span> (KW.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::kw_delete))</div>
+<div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>           DefinitionKind = <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529a801d5b1940eb642d3ccc293ebf16eb42">FDK_Deleted</a>;</div>
+<div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>       }</div>
+<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>     }</div>
+<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span> </div>
+<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>     <span class="comment">// C++11 [dcl.attr.grammar] p4: If an attribute-specifier-seq appertains </span></div>
+<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span>     <span class="comment">// to a friend declaration, that declaration shall be a definition.</span></div>
+<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>     <span class="keywordflow">if</span> (DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#ac884bb945b77ea6b605e9c7c5fd66bad">isFunctionDeclarator</a>() && </div>
+<div class="line"><a name="l02173"></a><span class="lineno"> 2173</span>         DefinitionKind != <a class="code" href="namespaceclang.html#a1ffc7a7adb0d5acc8fcc45f18dd5b529a32b500e01ce6b89bd9c5da6362caa144">FDK_Definition</a> && DS.<a class="code" href="classclang_1_1DeclSpec.html#a102837205c9d404fc55dec8bcf7435e3">isFriendSpecified</a>()) {</div>
+<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>       <span class="comment">// Diagnose attributes that appear before decl specifier:</span></div>
+<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>       <span class="comment">// [[]] friend int foo();</span></div>
+<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>       ProhibitAttributes(FnAttrs);</div>
+<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>     }</div>
+<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span> </div>
+<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>     <span class="keywordflow">if</span> (DefinitionKind) {</div>
+<div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>       <span class="keywordflow">if</span> (!DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#ac884bb945b77ea6b605e9c7c5fd66bad">isFunctionDeclarator</a>()) {</div>
+<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#a9399027da6026803450f7ffb7957adac">getIdentifierLoc</a>(), diag::err_func_def_no_params);</div>
+<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>         ConsumeBrace();</div>
+<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>         <a class="code" href="classclang_1_1Parser.html#a8ff77be4f8f67a884036ea2dc5e2d468">SkipUntil</a>(tok::r_brace);</div>
+<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span> </div>
+<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>         <span class="comment">// Consume the optional ';'</span></div>
+<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>         <span class="keywordflow">if</span> (Tok.<a class="code" href="classclang_1_1Token.html#abc7c8cc4d8598e2c07148189157cf066">is</a>(tok::semi))</div>
+<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>           <a class="code" href="classclang_1_1Parser.html#a6d0070b6cec04f092e97eb7009a0dfb2">ConsumeToken</a>();</div>
+<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>         <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>       }</div>
+<div class="line"><a name="l02190"></a><span class="lineno"> 2190</span> </div>
+<div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>       <span class="keywordflow">if</span> (DS.<a class="code" href="classclang_1_1DeclSpec.html#a21616b8df7b2fd0305197604ab31ca71">getStorageClassSpec</a>() == <a class="code" href="classclang_1_1DeclSpec.html#a4b96d236218cac3d52edb71876f64da4a011d480a161c7912d7e7bce118fbeda0">DeclSpec::SCS_typedef</a>) {</div>
+<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>         <a class="code" href="classclang_1_1Parser.html#a17667802b65fe77c3199b8c7ce96d86c">Diag</a>(DeclaratorInfo.<a class="code" href="classclang_1_1Declarator.html#a9399027da6026803450f7ffb7957adac">getIdentifierLoc</a>(),</div>
+<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>              diag::err_function_declared_typedef);</div>
+<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span> </div>
+<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>         <span class="comment">// Recover by treating the 'typedef' as spurious.</span></div>
+<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>         DS.<a class="code" href="classclang_1_1DeclSpec.html#a19f2c782115fef841ead93d82bcfffa3">ClearStorageClassSpecs</a>();</div>
+<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>       }</div>
+<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span> </div>
+<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>       <a class="code" href="classclang_1_1Decl.html">Decl</a> *FunDecl =</div>
+<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>         ParseCXXInlineMethodDef(AS, AccessAttrs, DeclaratorInfo, TemplateInfo,</div>
+<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>                                 VS, DefinitionKind, Init);</div>
+<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span> </div>
+<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>       <span class="keywordflow">if</span> (FunDecl) {</div>
+<div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, ni = CommonLateParsedAttrs.size(); i < ni; ++i) {</div>
+<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>           CommonLateParsedAttrs[i]->addDecl(FunDecl);</div>
+<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>         }</div>
+<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>         <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0, ni = LateParsedAttrs.size(); i < ni; ++i) {</div>
+<div class="line"><a name="l02208"></a><span class="lineno"> 2208&l