[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/CStringChecker_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,2151 @@
+<!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: CStringChecker.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_fd0691f76a19cc33074025cb3a574e66.html">StaticAnalyzer</a></li><li class="navelem"><a class="el" href="dir_5fa4c591fb04e7ea3227105bf6cc3359.html">Checkers</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CStringChecker.cpp</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CStringChecker_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">//= CStringChecker.cpp - Checks calls to C string functions --------*- C++ -*-//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></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 defines CStringChecker, which is an assortment of checks on calls</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// to functions in <string.h>.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="ClangSACheckers_8h.html">ClangSACheckers.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="InterCheckerAPI_8h.html">InterCheckerAPI.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="CharInfo_8h.html">clang/Basic/CharInfo.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="BugType_8h.html">clang/StaticAnalyzer/Core/BugReporter/BugType.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="Checker_8h.html">clang/StaticAnalyzer/Core/Checker.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="CheckerManager_8h.html">clang/StaticAnalyzer/Core/CheckerManager.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="CheckerContext_8h.html">clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="ProgramStateTrait_8h.html">clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h</a>"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "llvm/ADT/STLExtras.h"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "llvm/ADT/SmallString.h"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "llvm/ADT/StringSwitch.h"</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "llvm/Support/raw_ostream.h"</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">using namespace </span>ento;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">class </span>CStringChecker : <span class="keyword">public</span> <a class="code" href="classclang_1_1ento_1_1Checker.html">Checker</a>< eval::Call,</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> check::PreStmt<DeclStmt>,</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> check::LiveSymbols,</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> check::DeadSymbols,</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> check::RegionChanges</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> > {</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">mutable</span> <a class="code" href="classllvm_1_1OwningPtr.html">OwningPtr<BugType></a> BT_Null,</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> BT_Bounds,</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> BT_Overlap,</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> BT_NotCString,</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> BT_AdditionOverflow;</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> <span class="keyword">mutable</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *CurrentFunctionDescription;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> /// The filter is used to filter out the diagnostics which are not enabled by</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> /// the user.</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"></span> <span class="keyword">struct </span>CStringChecksFilter {</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <a class="code" href="structclang_1_1ento_1_1DefaultBool.html" title="A helper class which wraps a boolean value set to false by default.">DefaultBool</a> CheckCStringNullArg;</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <a class="code" href="structclang_1_1ento_1_1DefaultBool.html" title="A helper class which wraps a boolean value set to false by default.">DefaultBool</a> CheckCStringOutOfBounds;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <a class="code" href="structclang_1_1ento_1_1DefaultBool.html" title="A helper class which wraps a boolean value set to false by default.">DefaultBool</a> CheckCStringBufferOverlap;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <a class="code" href="structclang_1_1ento_1_1DefaultBool.html" title="A helper class which wraps a boolean value set to false by default.">DefaultBool</a> CheckCStringNotNullTerm;</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> };</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> CStringChecksFilter Filter;</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">static</span> <span class="keywordtype">void</span> *getTag() { <span class="keyword">static</span> <span class="keywordtype">int</span> tag; <span class="keywordflow">return</span> &tag; }</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keywordtype">bool</span> evalCall(<span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE, <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span> checkPreStmt(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclStmt.html">DeclStmt</a> *DS, <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span> checkLiveSymbols(<a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state, <a class="code" href="classclang_1_1ento_1_1SymbolReaper.html" title="A class responsible for cleaning up unused symbols.">SymbolReaper</a> &SR) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">void</span> checkDeadSymbols(<a class="code" href="classclang_1_1ento_1_1SymbolReaper.html" title="A class responsible for cleaning up unused symbols.">SymbolReaper</a> &SR, <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keywordtype">bool</span> wantsRegionChangeUpdate(<a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> </div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> checkRegionChanges(<a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">const</span> <a class="code" href="classllvm_1_1DenseSet.html">InvalidatedSymbols</a> *,</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const MemRegion *></a> ExplicitRegions,</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const MemRegion *></a> Regions,</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1CallEvent.html" title="Represents an abstract call to a function or method along a particular path.">CallEvent</a> *Call) <span class="keyword">const</span>;</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> <span class="keyword">typedef</span> void (CStringChecker::*FnCheck)(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &,</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keywordtype">void</span> evalMemcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keywordtype">void</span> evalMempcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keywordtype">void</span> evalMemmove(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keywordtype">void</span> evalBcopy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> evalCopyCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Source,</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dest,</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keywordtype">bool</span> Restricted = <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keywordtype">bool</span> IsMempcpy = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keywordtype">void</span> evalMemcmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">void</span> evalstrLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">void</span> evalstrnLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span> evalstrLengthCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE, </div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keywordtype">bool</span> IsStrnlen = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> evalStrcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keywordtype">void</span> evalStrncpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">void</span> evalStpcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keywordtype">void</span> evalStrcpyCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keywordtype">bool</span> returnEnd,</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keywordtype">bool</span> isBounded,</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">bool</span> isAppending) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keywordtype">void</span> evalStrcat(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keywordtype">void</span> evalStrncat(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</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> <span class="keywordtype">void</span> evalStrcmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="keywordtype">void</span> evalStrncmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span> evalStrcasecmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keywordtype">void</span> evalStrncasecmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">void</span> evalStrcmpCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keywordtype">bool</span> isBounded = <span class="keyword">false</span>,</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keywordtype">bool</span> ignoreCase = <span class="keyword">false</span>) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordtype">void</span> evalStrsep(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) <span class="keyword">const</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="comment">// Utility methods</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> std::pair<ProgramStateRef , ProgramStateRef ></div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">static</span> assumeZero(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> V, <a class="code" href="classclang_1_1QualType.html">QualType</a> Ty);</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="keyword">static</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> setCStringLength(<a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR,</div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> strLength);</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keyword">static</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> getCStringLengthForRegion(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> &state,</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Ex,</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR,</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="keywordtype">bool</span> hypothetical);</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> getCStringLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> &state,</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Ex,</div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Buf,</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="keywordtype">bool</span> hypothetical = <span class="keyword">false</span>) <span class="keyword">const</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="keyword">const</span> <a class="code" href="classclang_1_1StringLiteral.html">StringLiteral</a> *getCStringLiteral(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, </div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> &state,</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="namespaceclang_1_1ast__matchers.html#a62d0b4c2a483d355a4d740ded606188f" title="Matches expressions.">expr</a>, </div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> val) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">static</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> InvalidateBuffer(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Ex, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> V,</div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keywordtype">bool</span> IsSourceBuffer);</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> <span class="keyword">static</span> <span class="keywordtype">bool</span> SummarizeRegion(raw_ostream &os, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx,</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR);</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment">// Re-usable checks</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> checkNonNull(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>,</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> l) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> CheckLocation(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>,</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> l,</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *message = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> CheckBufferAccess(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *FirstBuf,</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *SecondBuf,</div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *firstMessage = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>,</div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *secondMessage = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>,</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="keywordtype">bool</span> WarnAboutSize = <span class="keyword">false</span>) <span class="keyword">const</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> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> CheckBufferAccess(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Buf,</div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *message = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>,</div>
+<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="keywordtype">bool</span> WarnAboutSize = <span class="keyword">false</span>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment">// This is a convenience override.</span></div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="keywordflow">return</span> CheckBufferAccess(C, state, Size, Buf, <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, message, <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>,</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> WarnAboutSize);</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> }</div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> CheckOverlap(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *First,</div>
+<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Second) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">void</span> emitOverlapBug(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Stmt.html">Stmt</a> *First,</div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Stmt.html">Stmt</a> *Second) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> checkAdditionOverflow(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> state,</div>
+<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> left,</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> right) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> };</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> } <span class="comment">//end anonymous namespace</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <a class="code" href="MacOSKeychainAPIChecker_8cpp.html#a7e7410348933f0f1e06f82deb494dd48">REGISTER_MAP_WITH_PROGRAMSTATE</a>(CStringLength, <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a>)</div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment">// Individual checks and utility methods.</span></div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div>
+<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> std::pair<<a class="code" href="classllvm_1_1IntrusiveRefCntPtr.html">ProgramStateRef</a> , ProgramStateRef ></div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> CStringChecker::assumeZero(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, ProgramStateRef state, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> V,</div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> Ty) {</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <a class="code" href="classllvm_1_1Optional.html">Optional<DefinedSVal></a> val = V.getAs<<a class="code" href="classclang_1_1ento_1_1DefinedSVal.html">DefinedSVal</a>>();</div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> <span class="keywordflow">if</span> (!val)</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="keywordflow">return</span> std::pair<ProgramStateRef , ProgramStateRef >(state, state);</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> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.getSValBuilder();</div>
+<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> zero = svalBuilder.makeZeroVal(Ty);</div>
+<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keywordflow">return</span> state->assume(svalBuilder.evalEQ(state, *val, zero));</div>
+<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> }</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> ProgramStateRef CStringChecker::checkNonNull(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> l)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment">// If a previous check has failed, propagate the failure.</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> ProgramStateRef stateNull, stateNonNull;</div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> llvm::tie(stateNull, stateNonNull) = assumeZero(C, state, l, S-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</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> <span class="keywordflow">if</span> (stateNull && !stateNonNull) {</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keywordflow">if</span> (!Filter.CheckCStringNullArg)</div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#adeea33a5a2bed190210c4a2bb807a6f0" title="Generate a sink node. Generating a sink stops exploration of the given path.">generateSink</a>(stateNull);</div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="keywordflow">if</span> (!N)</div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="keywordflow">if</span> (!BT_Null)</div>
+<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> BT_Null.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>(<a class="code" href="namespaceclang_1_1ento_1_1categories.html#a54df5af5f5165c3ce2daf6c8ebdfc64d">categories::UnixAPI</a>,</div>
+<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="stringliteral">"Null pointer argument in call to byte string function"</span>));</div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <a class="code" href="classllvm_1_1SmallString.html">SmallString<80></a> buf;</div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> llvm::raw_svector_ostream os(buf);</div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> assert(CurrentFunctionDescription);</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> os << <span class="stringliteral">"Null pointer argument in call to "</span> << CurrentFunctionDescription;</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> <span class="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a> *BT = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>*<span class="keyword">></span>(BT_Null.get());</div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT, os.str(), N);</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> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(S-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <a class="code" href="namespaceclang_1_1ento_1_1bugreporter.html#a532da89ff4c3d8214a04da342a553dc5">bugreporter::trackNullOrUndefValue</a>(N, S, *report);</div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report);</div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> }</div>
+<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> </div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <span class="comment">// From here on, assume that the value is non-null.</span></div>
+<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> assert(stateNonNull);</div>
+<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="keywordflow">return</span> stateNonNull;</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> </div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment">// FIXME: This was originally copied from ArrayBoundChecker.cpp. Refactor?</span></div>
+<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> ProgramStateRef CStringChecker::CheckLocation(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *S, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> l,</div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *warningMsg)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// If a previous check has failed, propagate the failure.</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> <span class="comment">// Check for out of bound array element access.</span></div>
+<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *R = l.<a class="code" href="classclang_1_1ento_1_1SVal.html#a314f514171211c8a941cac378ac55677">getAsRegion</a>();</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="keywordflow">if</span> (!R)</div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1ElementRegion.html" title="ElementRegin is used to represent both array elements and casts.">ElementRegion</a> *ER = dyn_cast<<a class="code" href="classclang_1_1ento_1_1ElementRegion.html" title="ElementRegin is used to represent both array elements and casts.">ElementRegion</a>>(R);</div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keywordflow">if</span> (!ER)</div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> assert(ER-><a class="code" href="classclang_1_1ento_1_1ElementRegion.html#a250e28bb6ec58edce5262146d24031a4">getValueType</a>() == C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae6c98ff68628991ee1d07ad7d848b41f">getASTContext</a>().<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a> &&</div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="stringliteral">"CheckLocation should only be called with char* ElementRegions"</span>);</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> <span class="comment">// Get the size of the array.</span></div>
+<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1SubRegion.html">SubRegion</a> *superReg = cast<SubRegion>(ER-><a class="code" href="classclang_1_1ento_1_1SubRegion.html#ada0aa8debb5fb41ca2c50ee2eb6c3ac1">getSuperRegion</a>());</div>
+<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Extent = </div>
+<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> svalBuilder.convertToArrayIndex(superReg->getExtent(svalBuilder));</div>
+<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> Size = Extent.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
+<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment">// Get the index of the accessed element.</span></div>
+<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> Idx = ER-><a class="code" href="classclang_1_1ento_1_1ElementRegion.html#a0c86b2841f74e7a10e1c0f8183c04683">getIndex</a>().<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</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> ProgramStateRef StInBound = state->assumeInBound(Idx, Size, <span class="keyword">true</span>);</div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> ProgramStateRef StOutBound = state->assumeInBound(Idx, Size, <span class="keyword">false</span>);</div>
+<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keywordflow">if</span> (StOutBound && !StInBound) {</div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#adeea33a5a2bed190210c4a2bb807a6f0" title="Generate a sink node. Generating a sink stops exploration of the given path.">generateSink</a>(StOutBound);</div>
+<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="keywordflow">if</span> (!N)</div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> <span class="keywordflow">if</span> (!BT_Bounds) {</div>
+<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> BT_Bounds.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>(<span class="stringliteral">"Out-of-bound array access"</span>,</div>
+<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="stringliteral">"Byte string function accesses out-of-bound array element"</span>));</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> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a> *BT = <span class="keyword">static_cast<</span><a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>*<span class="keyword">></span>(BT_Bounds.get());</div>
+<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div>
+<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report;</div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keywordflow">if</span> (warningMsg) {</div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT, warningMsg, N);</div>
+<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> assert(CurrentFunctionDescription);</div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> assert(CurrentFunctionDescription[0] != <span class="charliteral">'\0'</span>);</div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <a class="code" href="classllvm_1_1SmallString.html">SmallString<80></a> buf;</div>
+<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> llvm::raw_svector_ostream os(buf);</div>
+<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> os << <a class="code" href="namespaceclang.html#a7a2104a6662f79c727af0e1cbbd9b110">toUppercase</a>(CurrentFunctionDescription[0])</div>
+<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> << &CurrentFunctionDescription[1]</div>
+<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> << <span class="stringliteral">" accesses out-of-bound array element"</span>;</div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT, os.str(), N); </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> </div>
+<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="comment">// FIXME: It would be nice to eventually make this diagnostic more clear,</span></div>
+<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment">// e.g., by referencing the original declaration or by saying *why* this</span></div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// reference is outside the range.</span></div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(S-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report);</div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> }</div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div>
+<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">// Array bound check succeeded. From this point forward the array bound</span></div>
+<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">// should always succeed.</span></div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="keywordflow">return</span> StInBound;</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> </div>
+<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> ProgramStateRef CStringChecker::CheckBufferAccess(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *FirstBuf,</div>
+<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *SecondBuf,</div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *firstMessage,</div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *secondMessage,</div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="keywordtype">bool</span> WarnAboutSize)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment">// If a previous check has failed, propagate the failure.</span></div>
+<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>();</div>
+<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = Size-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>();</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> PtrTy = Ctx.<a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(Ctx.<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a>);</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> <span class="comment">// Check that the first buffer is non-null.</span></div>
+<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> BufVal = state->getSVal(FirstBuf, LCtx);</div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> state = checkNonNull(C, state, FirstBuf, BufVal);</div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> </div>
+<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="comment">// If out-of-bounds checking is turned off, skip the rest.</span></div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="keywordflow">if</span> (!Filter.CheckCStringOutOfBounds)</div>
+<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="keywordflow">return</span> state;</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="comment">// Get the access length and make sure it is known.</span></div>
+<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="comment">// FIXME: This assumes the caller has already checked that the access length</span></div>
+<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment">// is positive. And that it's unsigned.</span></div>
+<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> LengthVal = state->getSVal(Size, LCtx);</div>
+<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> Length = LengthVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="keywordflow">if</span> (!Length)</div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="keywordflow">return</span> state;</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="comment">// Compute the offset of the last element to be accessed: size-1.</span></div>
+<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> One = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a64d6f6dbe80edaf522a08d9e29ed49ff">makeIntVal</a>(1, sizeTy).<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l00371"></a><span class="lineno"> 371</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> LastOffset = svalBuilder</div>
+<div class="line"><a name="l00372"></a><span class="lineno"> 372</span> .<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1af84c54a9c8a061371180b3e8b25d4c3f">BO_Sub</a>, *Length, One, sizeTy).<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</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="comment">// Check that the first buffer is sufficiently long.</span></div>
+<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> BufStart = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#aac1b0835b003247371196257b6aa04e3">evalCast</a>(BufVal, PtrTy, FirstBuf-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> BufLoc = BufStart.getAs<<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>()) {</div>
+<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *warningExpr = (WarnAboutSize ? Size : FirstBuf);</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> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> BufEnd = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, *BufLoc,</div>
+<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> LastOffset, PtrTy);</div>
+<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> state = CheckLocation(C, state, warningExpr, BufEnd, firstMessage);</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> <span class="comment">// If the buffer isn't large enough, abort.</span></div>
+<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> </div>
+<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="comment">// If there's a second buffer, check it as well.</span></div>
+<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="keywordflow">if</span> (SecondBuf) {</div>
+<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> BufVal = state->getSVal(SecondBuf, LCtx);</div>
+<div class="line"><a name="l00391"></a><span class="lineno"> 391</span> state = checkNonNull(C, state, SecondBuf, BufVal);</div>
+<div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> BufStart = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#aac1b0835b003247371196257b6aa04e3">evalCast</a>(BufVal, PtrTy, SecondBuf-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> BufLoc = BufStart.getAs<<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>()) {</div>
+<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *warningExpr = (WarnAboutSize ? Size : SecondBuf);</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> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> BufEnd = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, *BufLoc,</div>
+<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> LastOffset, PtrTy);</div>
+<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> state = CheckLocation(C, state, warningExpr, BufEnd, secondMessage);</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="comment">// Large enough or not, return this state!</span></div>
+<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> }</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> ProgramStateRef CStringChecker::CheckOverlap(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size,</div>
+<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *First,</div>
+<div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Second)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="keywordflow">if</span> (!Filter.CheckCStringBufferOverlap)</div>
+<div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div>
+<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <span class="comment">// Do a simple check for overlap: if the two arguments are from the same</span></div>
+<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="comment">// buffer, see if the end of the first is greater than the start of the second</span></div>
+<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> <span class="comment">// or vice versa.</span></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> <span class="comment">// If a previous check has failed, propagate the failure.</span></div>
+<div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00423"></a><span class="lineno"> 423</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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> ProgramStateRef stateTrue, stateFalse;</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">// Get the buffer values and make sure they're known locations.</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> firstVal = state->getSVal(First, LCtx);</div>
+<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> secondVal = state->getSVal(Second, LCtx);</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> <a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> firstLoc = firstVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>();</div>
+<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> <span class="keywordflow">if</span> (!firstLoc)</div>
+<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div>
+<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> <a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> secondLoc = secondVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>();</div>
+<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> <span class="keywordflow">if</span> (!secondLoc)</div>
+<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div>
+<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="comment">// Are the two values the same?</span></div>
+<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>(); </div>
+<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> llvm::tie(stateTrue, stateFalse) =</div>
+<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> state->assume(svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a0fe15b1c761ef0d65eef77566f31901a">evalEQ</a>(state, *firstLoc, *secondLoc));</div>
+<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div>
+<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> <span class="keywordflow">if</span> (stateTrue && !stateFalse) {</div>
+<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> <span class="comment">// If the values are known to be equal, that's automatically an overlap.</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> emitOverlapBug(C, stateTrue, First, Second);</div>
+<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> }</div>
+<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div>
+<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> <span class="comment">// assume the two expressions are not equal.</span></div>
+<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> assert(stateFalse);</div>
+<div class="line"><a name="l00453"></a><span class="lineno"> 453</span> state = stateFalse;</div>
+<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div>
+<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> <span class="comment">// Which value comes first?</span></div>
+<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> cmpTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a281bfc8da76dfb6404917e2c554ec4d6">getConditionType</a>();</div>
+<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> reverse = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a4efb1b91088486c1e4373055ed42eff0">evalBinOpLL</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a9ff57a80bfff7f4a29cfc5ea9525ed6f">BO_GT</a>,</div>
+<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> *firstLoc, *secondLoc, cmpTy);</div>
+<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <a class="code" href="classllvm_1_1Optional.html">Optional<DefinedOrUnknownSVal></a> reverseTest =</div>
+<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> reverse.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> <span class="keywordflow">if</span> (!reverseTest)</div>
+<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <span class="keywordflow">return</span> state;</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> llvm::tie(stateTrue, stateFalse) = state->assume(*reverseTest);</div>
+<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <span class="keywordflow">if</span> (stateTrue) {</div>
+<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> <span class="keywordflow">if</span> (stateFalse) {</div>
+<div class="line"><a name="l00467"></a><span class="lineno"> 467</span> <span class="comment">// If we don't know which one comes first, we can't perform this test.</span></div>
+<div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> <span class="comment">// Switch the values so that firstVal is before secondVal.</span></div>
+<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> std::swap(firstLoc, secondLoc);</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> <span class="comment">// Switch the Exprs as well, so that they still correspond.</span></div>
+<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> std::swap(First, Second);</div>
+<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> }</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> </div>
+<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="comment">// Get the length, and make sure it too is known.</span></div>
+<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> LengthVal = state->getSVal(Size, LCtx);</div>
+<div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> Length = LengthVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="keywordflow">if</span> (!Length)</div>
+<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <span class="keywordflow">return</span> state;</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">// Convert the first buffer's start address to char*.</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> <span class="comment">// Bail out if the cast fails.</span></div>
+<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>();</div>
+<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> CharPtrTy = Ctx.<a class="code" href="classclang_1_1ASTContext.html#a3574cad49cba0fc48ab7b4c953e7e31e" title="Return the uniqued reference to the type for a pointer to the specified type.">getPointerType</a>(Ctx.<a class="code" href="classclang_1_1ASTContext.html#a80ed5a736a74c76bbbd66b90821d1689">CharTy</a>);</div>
+<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> FirstStart = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#aac1b0835b003247371196257b6aa04e3">evalCast</a>(*firstLoc, CharPtrTy, </div>
+<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> First-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> <a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> FirstStartLoc = FirstStart.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>();</div>
+<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> <span class="keywordflow">if</span> (!FirstStartLoc)</div>
+<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> <span class="keywordflow">return</span> state;</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">// Compute the end of the first buffer. Bail out if THAT fails.</span></div>
+<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> FirstEnd = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>,</div>
+<div class="line"><a name="l00496"></a><span class="lineno"> 496</span> *FirstStartLoc, *Length, CharPtrTy);</div>
+<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> FirstEndLoc = FirstEnd.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>();</div>
+<div class="line"><a name="l00498"></a><span class="lineno"> 498</span> <span class="keywordflow">if</span> (!FirstEndLoc)</div>
+<div class="line"><a name="l00499"></a><span class="lineno"> 499</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div>
+<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> <span class="comment">// Is the end of the first buffer past the start of the second buffer?</span></div>
+<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Overlap = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a4efb1b91088486c1e4373055ed42eff0">evalBinOpLL</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a9ff57a80bfff7f4a29cfc5ea9525ed6f">BO_GT</a>,</div>
+<div class="line"><a name="l00503"></a><span class="lineno"> 503</span> *FirstEndLoc, *secondLoc, cmpTy);</div>
+<div class="line"><a name="l00504"></a><span class="lineno"> 504</span> <a class="code" href="classllvm_1_1Optional.html">Optional<DefinedOrUnknownSVal></a> OverlapTest =</div>
+<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> Overlap.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="keywordflow">if</span> (!OverlapTest)</div>
+<div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="keywordflow">return</span> state;</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> llvm::tie(stateTrue, stateFalse) = state->assume(*OverlapTest);</div>
+<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div>
+<div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="keywordflow">if</span> (stateTrue && !stateFalse) {</div>
+<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="comment">// Overlap!</span></div>
+<div class="line"><a name="l00513"></a><span class="lineno"> 513</span> emitOverlapBug(C, stateTrue, First, Second);</div>
+<div class="line"><a name="l00514"></a><span class="lineno"> 514</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00515"></a><span class="lineno"> 515</span> }</div>
+<div class="line"><a name="l00516"></a><span class="lineno"> 516</span> </div>
+<div class="line"><a name="l00517"></a><span class="lineno"> 517</span> <span class="comment">// assume the two expressions don't overlap.</span></div>
+<div class="line"><a name="l00518"></a><span class="lineno"> 518</span> assert(stateFalse);</div>
+<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <span class="keywordflow">return</span> stateFalse;</div>
+<div class="line"><a name="l00520"></a><span class="lineno"> 520</span> }</div>
+<div class="line"><a name="l00521"></a><span class="lineno"> 521</span> </div>
+<div class="line"><a name="l00522"></a><span class="lineno"> 522</span> <span class="keywordtype">void</span> CStringChecker::emitOverlapBug(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, ProgramStateRef state,</div>
+<div class="line"><a name="l00523"></a><span class="lineno"> 523</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Stmt.html">Stmt</a> *First, <span class="keyword">const</span> <a class="code" href="classclang_1_1Stmt.html">Stmt</a> *Second)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> <a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#adeea33a5a2bed190210c4a2bb807a6f0" title="Generate a sink node. Generating a sink stops exploration of the given path.">generateSink</a>(state);</div>
+<div class="line"><a name="l00525"></a><span class="lineno"> 525</span> <span class="keywordflow">if</span> (!N)</div>
+<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <span class="keywordflow">return</span>;</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> <span class="keywordflow">if</span> (!BT_Overlap)</div>
+<div class="line"><a name="l00529"></a><span class="lineno"> 529</span> BT_Overlap.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugType.html">BugType</a>(<a class="code" href="namespaceclang_1_1ento_1_1categories.html#a54df5af5f5165c3ce2daf6c8ebdfc64d">categories::UnixAPI</a>, <span class="stringliteral">"Improper arguments"</span>));</div>
+<div class="line"><a name="l00530"></a><span class="lineno"> 530</span> </div>
+<div class="line"><a name="l00531"></a><span class="lineno"> 531</span> <span class="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00532"></a><span class="lineno"> 532</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report = </div>
+<div class="line"><a name="l00533"></a><span class="lineno"> 533</span> <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT_Overlap,</div>
+<div class="line"><a name="l00534"></a><span class="lineno"> 534</span> <span class="stringliteral">"Arguments must not be overlapping buffers"</span>, N);</div>
+<div class="line"><a name="l00535"></a><span class="lineno"> 535</span> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(First-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00536"></a><span class="lineno"> 536</span> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(Second-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00537"></a><span class="lineno"> 537</span> </div>
+<div class="line"><a name="l00538"></a><span class="lineno"> 538</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report);</div>
+<div class="line"><a name="l00539"></a><span class="lineno"> 539</span> }</div>
+<div class="line"><a name="l00540"></a><span class="lineno"> 540</span> </div>
+<div class="line"><a name="l00541"></a><span class="lineno"> 541</span> ProgramStateRef CStringChecker::checkAdditionOverflow(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00542"></a><span class="lineno"> 542</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> left,</div>
+<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> right)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00545"></a><span class="lineno"> 545</span> <span class="comment">// If out-of-bounds checking is turned off, skip the rest.</span></div>
+<div class="line"><a name="l00546"></a><span class="lineno"> 546</span> <span class="keywordflow">if</span> (!Filter.CheckCStringOutOfBounds)</div>
+<div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00548"></a><span class="lineno"> 548</span> </div>
+<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> <span class="comment">// If a previous check has failed, propagate the failure.</span></div>
+<div class="line"><a name="l00550"></a><span class="lineno"> 550</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00551"></a><span class="lineno"> 551</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00552"></a><span class="lineno"> 552</span> </div>
+<div class="line"><a name="l00553"></a><span class="lineno"> 553</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> <a class="code" href="classclang_1_1ento_1_1BasicValueFactory.html">BasicValueFactory</a> &BVF = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a697d1ac4d12b23dacbf8c836564a2b06">getBasicValueFactory</a>();</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> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>().<a class="code" href="classclang_1_1ASTContext.html#ae3093bf57c46337c9a3f2f42ad8764ee" title="Return the unique type for "size_t" (C99 7.17), defined in <stddef.h>.">getSizeType</a>();</div>
+<div class="line"><a name="l00557"></a><span class="lineno"> 557</span> <span class="keyword">const</span> llvm::APSInt &maxValInt = BVF.<a class="code" href="classclang_1_1ento_1_1BasicValueFactory.html#a84a117a0e78799b61c2141468aab54e5">getMaxValue</a>(sizeTy);</div>
+<div class="line"><a name="l00558"></a><span class="lineno"> 558</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> maxVal = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a64d6f6dbe80edaf522a08d9e29ed49ff">makeIntVal</a>(maxValInt);</div>
+<div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div>
+<div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> maxMinusRight;</div>
+<div class="line"><a name="l00561"></a><span class="lineno"> 561</span> <span class="keywordflow">if</span> (right.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1nonloc_1_1ConcreteInt.html" title="Value representing integer constant.">nonloc::ConcreteInt</a>>()) {</div>
+<div class="line"><a name="l00562"></a><span class="lineno"> 562</span> maxMinusRight = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1af84c54a9c8a061371180b3e8b25d4c3f">BO_Sub</a>, maxVal, right,</div>
+<div class="line"><a name="l00563"></a><span class="lineno"> 563</span> sizeTy);</div>
+<div class="line"><a name="l00564"></a><span class="lineno"> 564</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00565"></a><span class="lineno"> 565</span> <span class="comment">// Try switching the operands. (The order of these two assignments is</span></div>
+<div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <span class="comment">// important!)</span></div>
+<div class="line"><a name="l00567"></a><span class="lineno"> 567</span> maxMinusRight = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1af84c54a9c8a061371180b3e8b25d4c3f">BO_Sub</a>, maxVal, left, </div>
+<div class="line"><a name="l00568"></a><span class="lineno"> 568</span> sizeTy);</div>
+<div class="line"><a name="l00569"></a><span class="lineno"> 569</span> left = right;</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> </div>
+<div class="line"><a name="l00572"></a><span class="lineno"> 572</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> maxMinusRightNL = maxMinusRight.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l00573"></a><span class="lineno"> 573</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> cmpTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a281bfc8da76dfb6404917e2c554ec4d6">getConditionType</a>();</div>
+<div class="line"><a name="l00574"></a><span class="lineno"> 574</span> <span class="comment">// If left > max - right, we have an overflow.</span></div>
+<div class="line"><a name="l00575"></a><span class="lineno"> 575</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> willOverflow = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a9ff57a80bfff7f4a29cfc5ea9525ed6f">BO_GT</a>, left,</div>
+<div class="line"><a name="l00576"></a><span class="lineno"> 576</span> *maxMinusRightNL, cmpTy);</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> ProgramStateRef stateOverflow, stateOkay;</div>
+<div class="line"><a name="l00579"></a><span class="lineno"> 579</span> llvm::tie(stateOverflow, stateOkay) =</div>
+<div class="line"><a name="l00580"></a><span class="lineno"> 580</span> state->assume(willOverflow.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>());</div>
+<div class="line"><a name="l00581"></a><span class="lineno"> 581</span> </div>
+<div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="keywordflow">if</span> (stateOverflow && !stateOkay) {</div>
+<div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <span class="comment">// We have an overflow. Emit a bug report.</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno"> 584</span> <a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#adeea33a5a2bed190210c4a2bb807a6f0" title="Generate a sink node. Generating a sink stops exploration of the given path.">generateSink</a>(stateOverflow);</div>
+<div class="line"><a name="l00585"></a><span class="lineno"> 585</span> <span class="keywordflow">if</span> (!N)</div>
+<div class="line"><a name="l00586"></a><span class="lineno"> 586</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l00587"></a><span class="lineno"> 587</span> </div>
+<div class="line"><a name="l00588"></a><span class="lineno"> 588</span> <span class="keywordflow">if</span> (!BT_AdditionOverflow)</div>
+<div class="line"><a name="l00589"></a><span class="lineno"> 589</span> BT_AdditionOverflow.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>(<span class="stringliteral">"API"</span>,</div>
+<div class="line"><a name="l00590"></a><span class="lineno"> 590</span> <span class="stringliteral">"Sum of expressions causes overflow"</span>));</div>
+<div class="line"><a name="l00591"></a><span class="lineno"> 591</span> </div>
+<div class="line"><a name="l00592"></a><span class="lineno"> 592</span> <span class="comment">// This isn't a great error message, but this should never occur in real</span></div>
+<div class="line"><a name="l00593"></a><span class="lineno"> 593</span> <span class="comment">// code anyway -- you'd have to create a buffer longer than a size_t can</span></div>
+<div class="line"><a name="l00594"></a><span class="lineno"> 594</span> <span class="comment">// represent, which is sort of a contradiction.</span></div>
+<div class="line"><a name="l00595"></a><span class="lineno"> 595</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *warning =</div>
+<div class="line"><a name="l00596"></a><span class="lineno"> 596</span> <span class="stringliteral">"This expression will create a string whose length is too big to "</span></div>
+<div class="line"><a name="l00597"></a><span class="lineno"> 597</span> <span class="stringliteral">"be represented as a size_t"</span>;</div>
+<div class="line"><a name="l00598"></a><span class="lineno"> 598</span> </div>
+<div class="line"><a name="l00599"></a><span class="lineno"> 599</span> <span class="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno"> 600</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT_AdditionOverflow, warning, N);</div>
+<div class="line"><a name="l00601"></a><span class="lineno"> 601</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report); </div>
+<div class="line"><a name="l00602"></a><span class="lineno"> 602</span> </div>
+<div class="line"><a name="l00603"></a><span class="lineno"> 603</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</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">// From now on, assume an overflow didn't occur.</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno"> 607</span> assert(stateOkay);</div>
+<div class="line"><a name="l00608"></a><span class="lineno"> 608</span> state = stateOkay;</div>
+<div class="line"><a name="l00609"></a><span class="lineno"> 609</span> }</div>
+<div class="line"><a name="l00610"></a><span class="lineno"> 610</span> </div>
+<div class="line"><a name="l00611"></a><span class="lineno"> 611</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00612"></a><span class="lineno"> 612</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> ProgramStateRef CStringChecker::setCStringLength(ProgramStateRef state,</div>
+<div class="line"><a name="l00615"></a><span class="lineno"> 615</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR,</div>
+<div class="line"><a name="l00616"></a><span class="lineno"> 616</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> strLength) {</div>
+<div class="line"><a name="l00617"></a><span class="lineno"> 617</span> assert(!strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>() && <span class="stringliteral">"Attempt to set an undefined string length"</span>);</div>
+<div class="line"><a name="l00618"></a><span class="lineno"> 618</span> </div>
+<div class="line"><a name="l00619"></a><span class="lineno"> 619</span> MR = MR-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a8c3ae0ca072089a3b008adc86a9b8efe">StripCasts</a>();</div>
+<div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div>
+<div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <span class="keywordflow">switch</span> (MR->getKind()) {</div>
+<div class="line"><a name="l00622"></a><span class="lineno"> 622</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa18995bef846f10bc3162f67e954f723a">MemRegion::StringRegionKind</a>:</div>
+<div class="line"><a name="l00623"></a><span class="lineno"> 623</span> <span class="comment">// FIXME: This can happen if we strcpy() into a string region. This is</span></div>
+<div class="line"><a name="l00624"></a><span class="lineno"> 624</span> <span class="comment">// undefined [C99 6.4.5p6], but we should still warn about it.</span></div>
+<div class="line"><a name="l00625"></a><span class="lineno"> 625</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00626"></a><span class="lineno"> 626</span> </div>
+<div class="line"><a name="l00627"></a><span class="lineno"> 627</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa4b704a264a5d520093583ff34f8886ca">MemRegion::SymbolicRegionKind</a>:</div>
+<div class="line"><a name="l00628"></a><span class="lineno"> 628</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aaf60d996de54e21c78cfcff99fffdf5d8">MemRegion::AllocaRegionKind</a>:</div>
+<div class="line"><a name="l00629"></a><span class="lineno"> 629</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa9a38b47b1e384056d015fe98063d5203">MemRegion::VarRegionKind</a>:</div>
+<div class="line"><a name="l00630"></a><span class="lineno"> 630</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa0dac4037e8370a9a55f2f8b2cab6ba6f">MemRegion::FieldRegionKind</a>:</div>
+<div class="line"><a name="l00631"></a><span class="lineno"> 631</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa3b9557ecfdd2831b60d00843ffc704bc">MemRegion::ObjCIvarRegionKind</a>:</div>
+<div class="line"><a name="l00632"></a><span class="lineno"> 632</span> <span class="comment">// These are the types we can currently track string lengths for.</span></div>
+<div class="line"><a name="l00633"></a><span class="lineno"> 633</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> </div>
+<div class="line"><a name="l00635"></a><span class="lineno"> 635</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa84bf11c70c2e09bf52c0cde4a517fd49">MemRegion::ElementRegionKind</a>:</div>
+<div class="line"><a name="l00636"></a><span class="lineno"> 636</span> <span class="comment">// FIXME: Handle element regions by upper-bounding the parent region's</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno"> 637</span> <span class="comment">// string length.</span></div>
+<div class="line"><a name="l00638"></a><span class="lineno"> 638</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00639"></a><span class="lineno"> 639</span> </div>
+<div class="line"><a name="l00640"></a><span class="lineno"> 640</span> <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l00641"></a><span class="lineno"> 641</span> <span class="comment">// Other regions (mostly non-data) can't have a reliable C string length.</span></div>
+<div class="line"><a name="l00642"></a><span class="lineno"> 642</span> <span class="comment">// For now, just ignore the change.</span></div>
+<div class="line"><a name="l00643"></a><span class="lineno"> 643</span> <span class="comment">// FIXME: These are rare but not impossible. We should output some kind of</span></div>
+<div class="line"><a name="l00644"></a><span class="lineno"> 644</span> <span class="comment">// warning for things like strcpy((char[]){'a', 0}, "b");</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno"> 645</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00646"></a><span class="lineno"> 646</span> }</div>
+<div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div>
+<div class="line"><a name="l00648"></a><span class="lineno"> 648</span> <span class="keywordflow">if</span> (strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>())</div>
+<div class="line"><a name="l00649"></a><span class="lineno"> 649</span> <span class="keywordflow">return</span> state->remove<CStringLength>(MR);</div>
+<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> </div>
+<div class="line"><a name="l00651"></a><span class="lineno"> 651</span> <span class="keywordflow">return</span> state->set<CStringLength>(MR, strLength);</div>
+<div class="line"><a name="l00652"></a><span class="lineno"> 652</span> }</div>
+<div class="line"><a name="l00653"></a><span class="lineno"> 653</span> </div>
+<div class="line"><a name="l00654"></a><span class="lineno"> 654</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> CStringChecker::getCStringLengthForRegion(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00655"></a><span class="lineno"> 655</span> ProgramStateRef &state,</div>
+<div class="line"><a name="l00656"></a><span class="lineno"> 656</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Ex,</div>
+<div class="line"><a name="l00657"></a><span class="lineno"> 657</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR,</div>
+<div class="line"><a name="l00658"></a><span class="lineno"> 658</span> <span class="keywordtype">bool</span> hypothetical) {</div>
+<div class="line"><a name="l00659"></a><span class="lineno"> 659</span> <span class="keywordflow">if</span> (!hypothetical) {</div>
+<div class="line"><a name="l00660"></a><span class="lineno"> 660</span> <span class="comment">// If there's a recorded length, go ahead and return it.</span></div>
+<div class="line"><a name="l00661"></a><span class="lineno"> 661</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> *Recorded = state->get<CStringLength>(MR);</div>
+<div class="line"><a name="l00662"></a><span class="lineno"> 662</span> <span class="keywordflow">if</span> (Recorded)</div>
+<div class="line"><a name="l00663"></a><span class="lineno"> 663</span> <span class="keywordflow">return</span> *Recorded;</div>
+<div class="line"><a name="l00664"></a><span class="lineno"> 664</span> }</div>
+<div class="line"><a name="l00665"></a><span class="lineno"> 665</span> </div>
+<div class="line"><a name="l00666"></a><span class="lineno"> 666</span> <span class="comment">// Otherwise, get a new symbol and update the state.</span></div>
+<div class="line"><a name="l00667"></a><span class="lineno"> 667</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>().<a class="code" href="classclang_1_1ASTContext.html#ae3093bf57c46337c9a3f2f42ad8764ee" title="Return the unique type for "size_t" (C99 7.17), defined in <stddef.h>.">getSizeType</a>();</div>
+<div class="line"><a name="l00669"></a><span class="lineno"> 669</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> strLength = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a561a1969669ea5ff1f910f3202a2366d">getMetadataSymbolVal</a>(CStringChecker::getTag(),</div>
+<div class="line"><a name="l00670"></a><span class="lineno"> 670</span> MR, Ex, sizeTy,</div>
+<div class="line"><a name="l00671"></a><span class="lineno"> 671</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</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> <span class="keywordflow">if</span> (!hypothetical) {</div>
+<div class="line"><a name="l00674"></a><span class="lineno"> 674</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> strLn = strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l00675"></a><span class="lineno"> 675</span> <span class="comment">// In case of unbounded calls strlen etc bound the range to SIZE_MAX/4</span></div>
+<div class="line"><a name="l00676"></a><span class="lineno"> 676</span> <a class="code" href="classclang_1_1ento_1_1BasicValueFactory.html">BasicValueFactory</a> &BVF = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a697d1ac4d12b23dacbf8c836564a2b06">getBasicValueFactory</a>();</div>
+<div class="line"><a name="l00677"></a><span class="lineno"> 677</span> <span class="keyword">const</span> llvm::APSInt &maxValInt = BVF.<a class="code" href="classclang_1_1ento_1_1BasicValueFactory.html#a84a117a0e78799b61c2141468aab54e5">getMaxValue</a>(sizeTy);</div>
+<div class="line"><a name="l00678"></a><span class="lineno"> 678</span> llvm::APSInt fourInt = <a class="code" href="classclang_1_1ento_1_1APSIntType.html" title="A record of the "type" of an APSInt, used for conversions.">APSIntType</a>(maxValInt).<a class="code" href="classclang_1_1ento_1_1APSIntType.html#add3875675479b8c3966ae456118506fc">getValue</a>(4);</div>
+<div class="line"><a name="l00679"></a><span class="lineno"> 679</span> <span class="keyword">const</span> llvm::APSInt *maxLengthInt = BVF.<a class="code" href="classclang_1_1ento_1_1BasicValueFactory.html#a7b7eedd59c63719c45e00ae475309fb9">evalAPSInt</a>(<a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a58e04dd371aa4ff24af1f1ebc04739a5">BO_Div</a>, maxValInt,</div>
+<div class="line"><a name="l00680"></a><span class="lineno"> 680</span> fourInt);</div>
+<div class="line"><a name="l00681"></a><span class="lineno"> 681</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> maxLength = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a64d6f6dbe80edaf522a08d9e29ed49ff">makeIntVal</a>(*maxLengthInt);</div>
+<div class="line"><a name="l00682"></a><span class="lineno"> 682</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> evalLength = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1ab1b013f11421020dffa959a6c1ed45af">BO_LE</a>, *strLn,</div>
+<div class="line"><a name="l00683"></a><span class="lineno"> 683</span> maxLength, sizeTy);</div>
+<div class="line"><a name="l00684"></a><span class="lineno"> 684</span> state = state->assume(evalLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l00685"></a><span class="lineno"> 685</span> }</div>
+<div class="line"><a name="l00686"></a><span class="lineno"> 686</span> state = state->set<CStringLength>(MR, strLength);</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> </div>
+<div class="line"><a name="l00689"></a><span class="lineno"> 689</span> <span class="keywordflow">return</span> strLength;</div>
+<div class="line"><a name="l00690"></a><span class="lineno"> 690</span> }</div>
+<div class="line"><a name="l00691"></a><span class="lineno"> 691</span> </div>
+<div class="line"><a name="l00692"></a><span class="lineno"> 692</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> CStringChecker::getCStringLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, ProgramStateRef &state,</div>
+<div class="line"><a name="l00693"></a><span class="lineno"> 693</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Ex, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Buf,</div>
+<div class="line"><a name="l00694"></a><span class="lineno"> 694</span> <span class="keywordtype">bool</span> hypothetical)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00695"></a><span class="lineno"> 695</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR = Buf.<a class="code" href="classclang_1_1ento_1_1SVal.html#a314f514171211c8a941cac378ac55677">getAsRegion</a>();</div>
+<div class="line"><a name="l00696"></a><span class="lineno"> 696</span> <span class="keywordflow">if</span> (!MR) {</div>
+<div class="line"><a name="l00697"></a><span class="lineno"> 697</span> <span class="comment">// If we can't get a region, see if it's something we /know/ isn't a</span></div>
+<div class="line"><a name="l00698"></a><span class="lineno"> 698</span> <span class="comment">// C string. In the context of locations, the only time we can issue such</span></div>
+<div class="line"><a name="l00699"></a><span class="lineno"> 699</span> <span class="comment">// a warning is for labels.</span></div>
+<div class="line"><a name="l00700"></a><span class="lineno"> 700</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<loc::GotoLabel></a> Label = Buf.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1loc_1_1GotoLabel.html">loc::GotoLabel</a>>()) {</div>
+<div class="line"><a name="l00701"></a><span class="lineno"> 701</span> <span class="keywordflow">if</span> (!Filter.CheckCStringNotNullTerm)</div>
+<div class="line"><a name="l00702"></a><span class="lineno"> 702</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UndefinedVal.html">UndefinedVal</a>();</div>
+<div class="line"><a name="l00703"></a><span class="lineno"> 703</span> </div>
+<div class="line"><a name="l00704"></a><span class="lineno"> 704</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state)) {</div>
+<div class="line"><a name="l00705"></a><span class="lineno"> 705</span> <span class="keywordflow">if</span> (!BT_NotCString)</div>
+<div class="line"><a name="l00706"></a><span class="lineno"> 706</span> BT_NotCString.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>(<a class="code" href="namespaceclang_1_1ento_1_1categories.html#a54df5af5f5165c3ce2daf6c8ebdfc64d">categories::UnixAPI</a>,</div>
+<div class="line"><a name="l00707"></a><span class="lineno"> 707</span> <span class="stringliteral">"Argument is not a null-terminated string."</span>));</div>
+<div class="line"><a name="l00708"></a><span class="lineno"> 708</span> </div>
+<div class="line"><a name="l00709"></a><span class="lineno"> 709</span> <a class="code" href="classllvm_1_1SmallString.html">SmallString<120></a> buf;</div>
+<div class="line"><a name="l00710"></a><span class="lineno"> 710</span> llvm::raw_svector_ostream os(buf);</div>
+<div class="line"><a name="l00711"></a><span class="lineno"> 711</span> assert(CurrentFunctionDescription);</div>
+<div class="line"><a name="l00712"></a><span class="lineno"> 712</span> os << <span class="stringliteral">"Argument to "</span> << CurrentFunctionDescription</div>
+<div class="line"><a name="l00713"></a><span class="lineno"> 713</span> << <span class="stringliteral">" is the address of the label '"</span> << Label->getLabel()->getName()</div>
+<div class="line"><a name="l00714"></a><span class="lineno"> 714</span> << <span class="stringliteral">"', which is not a null-terminated string"</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="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00717"></a><span class="lineno"> 717</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT_NotCString,</div>
+<div class="line"><a name="l00718"></a><span class="lineno"> 718</span> os.str(), N);</div>
+<div class="line"><a name="l00719"></a><span class="lineno"> 719</span> </div>
+<div class="line"><a name="l00720"></a><span class="lineno"> 720</span> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(Ex-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00721"></a><span class="lineno"> 721</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report); </div>
+<div class="line"><a name="l00722"></a><span class="lineno"> 722</span> }</div>
+<div class="line"><a name="l00723"></a><span class="lineno"> 723</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UndefinedVal.html">UndefinedVal</a>();</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> }</div>
+<div class="line"><a name="l00726"></a><span class="lineno"> 726</span> </div>
+<div class="line"><a name="l00727"></a><span class="lineno"> 727</span> <span class="comment">// If it's not a region and not a label, give up.</span></div>
+<div class="line"><a name="l00728"></a><span class="lineno"> 728</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l00729"></a><span class="lineno"> 729</span> }</div>
+<div class="line"><a name="l00730"></a><span class="lineno"> 730</span> </div>
+<div class="line"><a name="l00731"></a><span class="lineno"> 731</span> <span class="comment">// If we have a region, strip casts from it and see if we can figure out</span></div>
+<div class="line"><a name="l00732"></a><span class="lineno"> 732</span> <span class="comment">// its length. For anything we can't figure out, just return UnknownVal.</span></div>
+<div class="line"><a name="l00733"></a><span class="lineno"> 733</span> MR = MR-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a8c3ae0ca072089a3b008adc86a9b8efe">StripCasts</a>();</div>
+<div class="line"><a name="l00734"></a><span class="lineno"> 734</span> </div>
+<div class="line"><a name="l00735"></a><span class="lineno"> 735</span> <span class="keywordflow">switch</span> (MR-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a28206b01079f4c177bdd23518f471039">getKind</a>()) {</div>
+<div class="line"><a name="l00736"></a><span class="lineno"> 736</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa18995bef846f10bc3162f67e954f723a">MemRegion::StringRegionKind</a>: {</div>
+<div class="line"><a name="l00737"></a><span class="lineno"> 737</span> <span class="comment">// Modifying the contents of string regions is undefined [C99 6.4.5p6],</span></div>
+<div class="line"><a name="l00738"></a><span class="lineno"> 738</span> <span class="comment">// so we can assume that the byte length is the correct C string length.</span></div>
+<div class="line"><a name="l00739"></a><span class="lineno"> 739</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l00740"></a><span class="lineno"> 740</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>().<a class="code" href="classclang_1_1ASTContext.html#ae3093bf57c46337c9a3f2f42ad8764ee" title="Return the unique type for "size_t" (C99 7.17), defined in <stddef.h>.">getSizeType</a>();</div>
+<div class="line"><a name="l00741"></a><span class="lineno"> 741</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1StringLiteral.html">StringLiteral</a> *strLit = cast<StringRegion>(MR)->getStringLiteral();</div>
+<div class="line"><a name="l00742"></a><span class="lineno"> 742</span> <span class="keywordflow">return</span> svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a64d6f6dbe80edaf522a08d9e29ed49ff">makeIntVal</a>(strLit-><a class="code" href="classclang_1_1StringLiteral.html#a1509ebfcf424c3234a084282f445c3e6">getByteLength</a>(), sizeTy);</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">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa4b704a264a5d520093583ff34f8886ca">MemRegion::SymbolicRegionKind</a>:</div>
+<div class="line"><a name="l00745"></a><span class="lineno"> 745</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aaf60d996de54e21c78cfcff99fffdf5d8">MemRegion::AllocaRegionKind</a>:</div>
+<div class="line"><a name="l00746"></a><span class="lineno"> 746</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa9a38b47b1e384056d015fe98063d5203">MemRegion::VarRegionKind</a>:</div>
+<div class="line"><a name="l00747"></a><span class="lineno"> 747</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa0dac4037e8370a9a55f2f8b2cab6ba6f">MemRegion::FieldRegionKind</a>:</div>
+<div class="line"><a name="l00748"></a><span class="lineno"> 748</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa3b9557ecfdd2831b60d00843ffc704bc">MemRegion::ObjCIvarRegionKind</a>:</div>
+<div class="line"><a name="l00749"></a><span class="lineno"> 749</span> <span class="keywordflow">return</span> getCStringLengthForRegion(C, state, Ex, MR, hypothetical);</div>
+<div class="line"><a name="l00750"></a><span class="lineno"> 750</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aaeb78544f4eef4272d2fdaab921829b17">MemRegion::CompoundLiteralRegionKind</a>:</div>
+<div class="line"><a name="l00751"></a><span class="lineno"> 751</span> <span class="comment">// FIXME: Can we track this? Is it necessary?</span></div>
+<div class="line"><a name="l00752"></a><span class="lineno"> 752</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l00753"></a><span class="lineno"> 753</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa84bf11c70c2e09bf52c0cde4a517fd49">MemRegion::ElementRegionKind</a>:</div>
+<div class="line"><a name="l00754"></a><span class="lineno"> 754</span> <span class="comment">// FIXME: How can we handle this? It's not good enough to subtract the</span></div>
+<div class="line"><a name="l00755"></a><span class="lineno"> 755</span> <span class="comment">// offset from the base string length; consider "123\x00567" and &a[5].</span></div>
+<div class="line"><a name="l00756"></a><span class="lineno"> 756</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l00757"></a><span class="lineno"> 757</span> <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l00758"></a><span class="lineno"> 758</span> <span class="comment">// Other regions (mostly non-data) can't have a reliable C string length.</span></div>
+<div class="line"><a name="l00759"></a><span class="lineno"> 759</span> <span class="comment">// In this case, an error is emitted and UndefinedVal is returned.</span></div>
+<div class="line"><a name="l00760"></a><span class="lineno"> 760</span> <span class="comment">// The caller should always be prepared to handle this case.</span></div>
+<div class="line"><a name="l00761"></a><span class="lineno"> 761</span> <span class="keywordflow">if</span> (!Filter.CheckCStringNotNullTerm)</div>
+<div class="line"><a name="l00762"></a><span class="lineno"> 762</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UndefinedVal.html">UndefinedVal</a>();</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="keywordflow">if</span> (<a class="code" href="classclang_1_1ento_1_1ExplodedNode.html">ExplodedNode</a> *N = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state)) {</div>
+<div class="line"><a name="l00765"></a><span class="lineno"> 765</span> <span class="keywordflow">if</span> (!BT_NotCString)</div>
+<div class="line"><a name="l00766"></a><span class="lineno"> 766</span> BT_NotCString.reset(<span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BuiltinBug.html">BuiltinBug</a>(<a class="code" href="namespaceclang_1_1ento_1_1categories.html#a54df5af5f5165c3ce2daf6c8ebdfc64d">categories::UnixAPI</a>,</div>
+<div class="line"><a name="l00767"></a><span class="lineno"> 767</span> <span class="stringliteral">"Argument is not a null-terminated string."</span>));</div>
+<div class="line"><a name="l00768"></a><span class="lineno"> 768</span> </div>
+<div class="line"><a name="l00769"></a><span class="lineno"> 769</span> <a class="code" href="classllvm_1_1SmallString.html">SmallString<120></a> buf;</div>
+<div class="line"><a name="l00770"></a><span class="lineno"> 770</span> llvm::raw_svector_ostream os(buf);</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> assert(CurrentFunctionDescription);</div>
+<div class="line"><a name="l00773"></a><span class="lineno"> 773</span> os << <span class="stringliteral">"Argument to "</span> << CurrentFunctionDescription << <span class="stringliteral">" is "</span>;</div>
+<div class="line"><a name="l00774"></a><span class="lineno"> 774</span> </div>
+<div class="line"><a name="l00775"></a><span class="lineno"> 775</span> <span class="keywordflow">if</span> (SummarizeRegion(os, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae6c98ff68628991ee1d07ad7d848b41f">getASTContext</a>(), MR))</div>
+<div class="line"><a name="l00776"></a><span class="lineno"> 776</span> os << <span class="stringliteral">", which is not a null-terminated string"</span>;</div>
+<div class="line"><a name="l00777"></a><span class="lineno"> 777</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00778"></a><span class="lineno"> 778</span> os << <span class="stringliteral">"not a null-terminated string"</span>;</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> <span class="comment">// Generate a report for this bug.</span></div>
+<div class="line"><a name="l00781"></a><span class="lineno"> 781</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a> *report = <span class="keyword">new</span> <a class="code" href="classclang_1_1ento_1_1BugReport.html">BugReport</a>(*BT_NotCString,</div>
+<div class="line"><a name="l00782"></a><span class="lineno"> 782</span> os.str(), N);</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> report-><a class="code" href="classclang_1_1ento_1_1BugReport.html#a31f1757d10fc4f936ea143a894e51f39" title="Add a range to a bug report.">addRange</a>(Ex-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</div>
+<div class="line"><a name="l00785"></a><span class="lineno"> 785</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#ae7738af2cbfd1d713edec33d3203dff5" title="Emit the diagnostics report.">emitReport</a>(report); </div>
+<div class="line"><a name="l00786"></a><span class="lineno"> 786</span> }</div>
+<div class="line"><a name="l00787"></a><span class="lineno"> 787</span> </div>
+<div class="line"><a name="l00788"></a><span class="lineno"> 788</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1ento_1_1UndefinedVal.html">UndefinedVal</a>();</div>
+<div class="line"><a name="l00789"></a><span class="lineno"> 789</span> }</div>
+<div class="line"><a name="l00790"></a><span class="lineno"> 790</span> }</div>
+<div class="line"><a name="l00791"></a><span class="lineno"> 791</span> </div>
+<div class="line"><a name="l00792"></a><span class="lineno"> 792</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1StringLiteral.html">StringLiteral</a> *CStringChecker::getCStringLiteral(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00793"></a><span class="lineno"> 793</span> ProgramStateRef &state, <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *<a class="code" href="namespaceclang_1_1ast__matchers.html#a62d0b4c2a483d355a4d740ded606188f" title="Matches expressions.">expr</a>, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> val)<span class="keyword"> const </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">// Get the memory region pointed to by the val.</span></div>
+<div class="line"><a name="l00796"></a><span class="lineno"> 796</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *bufRegion = val.<a class="code" href="classclang_1_1ento_1_1SVal.html#a314f514171211c8a941cac378ac55677">getAsRegion</a>();</div>
+<div class="line"><a name="l00797"></a><span class="lineno"> 797</span> <span class="keywordflow">if</span> (!bufRegion)</div>
+<div class="line"><a name="l00798"></a><span class="lineno"> 798</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</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> <span class="comment">// Strip casts off the memory region.</span></div>
+<div class="line"><a name="l00801"></a><span class="lineno"> 801</span> bufRegion = bufRegion-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a8c3ae0ca072089a3b008adc86a9b8efe">StripCasts</a>();</div>
+<div class="line"><a name="l00802"></a><span class="lineno"> 802</span> </div>
+<div class="line"><a name="l00803"></a><span class="lineno"> 803</span> <span class="comment">// Cast the memory region to a string region.</span></div>
+<div class="line"><a name="l00804"></a><span class="lineno"> 804</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1StringRegion.html" title="StringRegion - Region associated with a StringLiteral.">StringRegion</a> *strRegion= dyn_cast<<a class="code" href="classclang_1_1ento_1_1StringRegion.html" title="StringRegion - Region associated with a StringLiteral.">StringRegion</a>>(bufRegion);</div>
+<div class="line"><a name="l00805"></a><span class="lineno"> 805</span> <span class="keywordflow">if</span> (!strRegion)</div>
+<div class="line"><a name="l00806"></a><span class="lineno"> 806</span> <span class="keywordflow">return</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>; </div>
+<div class="line"><a name="l00807"></a><span class="lineno"> 807</span> </div>
+<div class="line"><a name="l00808"></a><span class="lineno"> 808</span> <span class="comment">// Return the actual string in the string region.</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno"> 809</span> <span class="keywordflow">return</span> strRegion-><a class="code" href="classclang_1_1ento_1_1StringRegion.html#a487671ace4db363223ed6af1e4f3f251">getStringLiteral</a>();</div>
+<div class="line"><a name="l00810"></a><span class="lineno"> 810</span> }</div>
+<div class="line"><a name="l00811"></a><span class="lineno"> 811</span> </div>
+<div class="line"><a name="l00812"></a><span class="lineno"> 812</span> ProgramStateRef CStringChecker::InvalidateBuffer(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l00813"></a><span class="lineno"> 813</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00814"></a><span class="lineno"> 814</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E, <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> V,</div>
+<div class="line"><a name="l00815"></a><span class="lineno"> 815</span> <span class="keywordtype">bool</span> IsSourceBuffer) {</div>
+<div class="line"><a name="l00816"></a><span class="lineno"> 816</span> <a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> L = V.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>();</div>
+<div class="line"><a name="l00817"></a><span class="lineno"> 817</span> <span class="keywordflow">if</span> (!L)</div>
+<div class="line"><a name="l00818"></a><span class="lineno"> 818</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l00819"></a><span class="lineno"> 819</span> </div>
+<div class="line"><a name="l00820"></a><span class="lineno"> 820</span> <span class="comment">// FIXME: This is a simplified version of what's in CFRefCount.cpp -- it makes</span></div>
+<div class="line"><a name="l00821"></a><span class="lineno"> 821</span> <span class="comment">// some assumptions about the value that CFRefCount can't. Even so, it should</span></div>
+<div class="line"><a name="l00822"></a><span class="lineno"> 822</span> <span class="comment">// probably be refactored.</span></div>
+<div class="line"><a name="l00823"></a><span class="lineno"> 823</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<loc::MemRegionVal></a> MR = L->getAs<<a class="code" href="classclang_1_1ento_1_1loc_1_1MemRegionVal.html">loc::MemRegionVal</a>>()) {</div>
+<div class="line"><a name="l00824"></a><span class="lineno"> 824</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *R = MR->getRegion()-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a8c3ae0ca072089a3b008adc86a9b8efe">StripCasts</a>();</div>
+<div class="line"><a name="l00825"></a><span class="lineno"> 825</span> </div>
+<div class="line"><a name="l00826"></a><span class="lineno"> 826</span> <span class="comment">// Are we dealing with an ElementRegion? If so, we should be invalidating</span></div>
+<div class="line"><a name="l00827"></a><span class="lineno"> 827</span> <span class="comment">// the super-region.</span></div>
+<div class="line"><a name="l00828"></a><span class="lineno"> 828</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1ElementRegion.html" title="ElementRegin is used to represent both array elements and casts.">ElementRegion</a> *ER = dyn_cast<ElementRegion>(R)) {</div>
+<div class="line"><a name="l00829"></a><span class="lineno"> 829</span> R = ER-><a class="code" href="classclang_1_1ento_1_1SubRegion.html#ada0aa8debb5fb41ca2c50ee2eb6c3ac1">getSuperRegion</a>();</div>
+<div class="line"><a name="l00830"></a><span class="lineno"> 830</span> <span class="comment">// FIXME: What about layers of ElementRegions?</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> </div>
+<div class="line"><a name="l00833"></a><span class="lineno"> 833</span> <span class="comment">// Invalidate this region.</span></div>
+<div class="line"><a name="l00834"></a><span class="lineno"> 834</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a930928b571decc73554143360f348384" title="Returns the previous node in the exploded graph, which includes the state of the program before the c...">getPredecessor</a>()-><a class="code" href="classclang_1_1ento_1_1ExplodedNode.html#a21d55212657ccb3db229735ca93cb3e4">getLocationContext</a>();</div>
+<div class="line"><a name="l00835"></a><span class="lineno"> 835</span> </div>
+<div class="line"><a name="l00836"></a><span class="lineno"> 836</span> <span class="keywordtype">bool</span> CausesPointerEscape = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00837"></a><span class="lineno"> 837</span> <a class="code" href="classclang_1_1ento_1_1RegionAndSymbolInvalidationTraits.html" title="Information about invalidation for a particular region/symbol.">RegionAndSymbolInvalidationTraits</a> ITraits;</div>
+<div class="line"><a name="l00838"></a><span class="lineno"> 838</span> <span class="comment">// Invalidate and escape only indirect regions accessible through the source</span></div>
+<div class="line"><a name="l00839"></a><span class="lineno"> 839</span> <span class="comment">// buffer.</span></div>
+<div class="line"><a name="l00840"></a><span class="lineno"> 840</span> <span class="keywordflow">if</span> (IsSourceBuffer) {</div>
+<div class="line"><a name="l00841"></a><span class="lineno"> 841</span> ITraits.<a class="code" href="classclang_1_1ento_1_1RegionAndSymbolInvalidationTraits.html#acb459994eca782926d09722ad0626b39">setTrait</a>(R, </div>
+<div class="line"><a name="l00842"></a><span class="lineno"> 842</span> <a class="code" href="classclang_1_1ento_1_1RegionAndSymbolInvalidationTraits.html#a2a15c0ea94987dd8c6a63b6b51db5756a0a10f8f685131c75e067b51ad679201e" title="Tells that a region's contents is not changed.">RegionAndSymbolInvalidationTraits::TK_PreserveContents</a>);</div>
+<div class="line"><a name="l00843"></a><span class="lineno"> 843</span> ITraits.<a class="code" href="classclang_1_1ento_1_1RegionAndSymbolInvalidationTraits.html#acb459994eca782926d09722ad0626b39">setTrait</a>(R, <a class="code" href="classclang_1_1ento_1_1RegionAndSymbolInvalidationTraits.html#a2a15c0ea94987dd8c6a63b6b51db5756afbfc482825cf2a04f609358704268104" title="Suppress pointer-escaping of a region.">RegionAndSymbolInvalidationTraits::TK_SuppressEscape</a>);</div>
+<div class="line"><a name="l00844"></a><span class="lineno"> 844</span> CausesPointerEscape = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00845"></a><span class="lineno"> 845</span> }</div>
+<div class="line"><a name="l00846"></a><span class="lineno"> 846</span> </div>
+<div class="line"><a name="l00847"></a><span class="lineno"> 847</span> <span class="keywordflow">return</span> state->invalidateRegions(R, E, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>(), LCtx, </div>
+<div class="line"><a name="l00848"></a><span class="lineno"> 848</span> CausesPointerEscape, 0, 0, &ITraits);</div>
+<div class="line"><a name="l00849"></a><span class="lineno"> 849</span> }</div>
+<div class="line"><a name="l00850"></a><span class="lineno"> 850</span> </div>
+<div class="line"><a name="l00851"></a><span class="lineno"> 851</span> <span class="comment">// If we have a non-region value by chance, just remove the binding.</span></div>
+<div class="line"><a name="l00852"></a><span class="lineno"> 852</span> <span class="comment">// FIXME: is this necessary or correct? This handles the non-Region</span></div>
+<div class="line"><a name="l00853"></a><span class="lineno"> 853</span> <span class="comment">// cases. Is it ever valid to store to these?</span></div>
+<div class="line"><a name="l00854"></a><span class="lineno"> 854</span> <span class="keywordflow">return</span> state->killBinding(*L);</div>
+<div class="line"><a name="l00855"></a><span class="lineno"> 855</span> }</div>
+<div class="line"><a name="l00856"></a><span class="lineno"> 856</span> </div>
+<div class="line"><a name="l00857"></a><span class="lineno"> 857</span> <span class="keywordtype">bool</span> CStringChecker::SummarizeRegion(raw_ostream &os, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx,</div>
+<div class="line"><a name="l00858"></a><span class="lineno"> 858</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR) {</div>
+<div class="line"><a name="l00859"></a><span class="lineno"> 859</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html" title="TypedValueRegion - An abstract class representing regions having a typed value.">TypedValueRegion</a> *TVR = dyn_cast<<a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html" title="TypedValueRegion - An abstract class representing regions having a typed value.">TypedValueRegion</a>>(MR);</div>
+<div class="line"><a name="l00860"></a><span class="lineno"> 860</span> </div>
+<div class="line"><a name="l00861"></a><span class="lineno"> 861</span> <span class="keywordflow">switch</span> (MR-><a class="code" href="classclang_1_1ento_1_1MemRegion.html#a28206b01079f4c177bdd23518f471039">getKind</a>()) {</div>
+<div class="line"><a name="l00862"></a><span class="lineno"> 862</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa51a2be0ecafb27db458751dee72d882a">MemRegion::FunctionTextRegionKind</a>: {</div>
+<div class="line"><a name="l00863"></a><span class="lineno"> 863</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> *FD = cast<FunctionTextRegion>(MR)->getDecl();</div>
+<div class="line"><a name="l00864"></a><span class="lineno"> 864</span> <span class="keywordflow">if</span> (FD)</div>
+<div class="line"><a name="l00865"></a><span class="lineno"> 865</span> os << <span class="stringliteral">"the address of the function '"</span> << *FD << <span class="charliteral">'\''</span>;</div>
+<div class="line"><a name="l00866"></a><span class="lineno"> 866</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00867"></a><span class="lineno"> 867</span> os << <span class="stringliteral">"the address of a function"</span>;</div>
+<div class="line"><a name="l00868"></a><span class="lineno"> 868</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aadcb3ecd9d548b71103a6a25ee4250450">MemRegion::BlockTextRegionKind</a>:</div>
+<div class="line"><a name="l00871"></a><span class="lineno"> 871</span> os << <span class="stringliteral">"block text"</span>;</div>
+<div class="line"><a name="l00872"></a><span class="lineno"> 872</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00873"></a><span class="lineno"> 873</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aae6d4c8bdcf7387ec5b5171b5108950d6">MemRegion::BlockDataRegionKind</a>:</div>
+<div class="line"><a name="l00874"></a><span class="lineno"> 874</span> os << <span class="stringliteral">"a block"</span>;</div>
+<div class="line"><a name="l00875"></a><span class="lineno"> 875</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00876"></a><span class="lineno"> 876</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aacf1e8afce13a7b94403f16fc5707811f">MemRegion::CXXThisRegionKind</a>:</div>
+<div class="line"><a name="l00877"></a><span class="lineno"> 877</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa5d81d3102e743aa7a55b487f66d89674">MemRegion::CXXTempObjectRegionKind</a>:</div>
+<div class="line"><a name="l00878"></a><span class="lineno"> 878</span> os << <span class="stringliteral">"a C++ temp object of type "</span> << TVR-><a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html#a527b908a410f8b916205d6db9420969e">getValueType</a>().<a class="code" href="classclang_1_1QualType.html#af755c58826e02f164c9b1d442762457d">getAsString</a>();</div>
+<div class="line"><a name="l00879"></a><span class="lineno"> 879</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00880"></a><span class="lineno"> 880</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa9a38b47b1e384056d015fe98063d5203">MemRegion::VarRegionKind</a>:</div>
+<div class="line"><a name="l00881"></a><span class="lineno"> 881</span> os << <span class="stringliteral">"a variable of type"</span> << TVR-><a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html#a527b908a410f8b916205d6db9420969e">getValueType</a>().<a class="code" href="classclang_1_1QualType.html#af755c58826e02f164c9b1d442762457d">getAsString</a>();</div>
+<div class="line"><a name="l00882"></a><span class="lineno"> 882</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00883"></a><span class="lineno"> 883</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa0dac4037e8370a9a55f2f8b2cab6ba6f">MemRegion::FieldRegionKind</a>:</div>
+<div class="line"><a name="l00884"></a><span class="lineno"> 884</span> os << <span class="stringliteral">"a field of type "</span> << TVR-><a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html#a527b908a410f8b916205d6db9420969e">getValueType</a>().<a class="code" href="classclang_1_1QualType.html#af755c58826e02f164c9b1d442762457d">getAsString</a>();</div>
+<div class="line"><a name="l00885"></a><span class="lineno"> 885</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00886"></a><span class="lineno"> 886</span> <span class="keywordflow">case</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html#a989ad91da2dcfef9e3d177fcc8c8eb7aa3b9557ecfdd2831b60d00843ffc704bc">MemRegion::ObjCIvarRegionKind</a>:</div>
+<div class="line"><a name="l00887"></a><span class="lineno"> 887</span> os << <span class="stringliteral">"an instance variable of type "</span> << TVR-><a class="code" href="classclang_1_1ento_1_1TypedValueRegion.html#a527b908a410f8b916205d6db9420969e">getValueType</a>().<a class="code" href="classclang_1_1QualType.html#af755c58826e02f164c9b1d442762457d">getAsString</a>();</div>
+<div class="line"><a name="l00888"></a><span class="lineno"> 888</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00889"></a><span class="lineno"> 889</span> <span class="keywordflow">default</span>:</div>
+<div class="line"><a name="l00890"></a><span class="lineno"> 890</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00891"></a><span class="lineno"> 891</span> }</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">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00895"></a><span class="lineno"> 895</span> <span class="comment">// evaluation of individual function calls.</span></div>
+<div class="line"><a name="l00896"></a><span class="lineno"> 896</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00897"></a><span class="lineno"> 897</span> </div>
+<div class="line"><a name="l00898"></a><span class="lineno"> 898</span> <span class="keywordtype">void</span> CStringChecker::evalCopyCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, </div>
+<div class="line"><a name="l00899"></a><span class="lineno"> 899</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l00900"></a><span class="lineno"> 900</span> ProgramStateRef state,</div>
+<div class="line"><a name="l00901"></a><span class="lineno"> 901</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size, <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dest,</div>
+<div class="line"><a name="l00902"></a><span class="lineno"> 902</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Source, <span class="keywordtype">bool</span> Restricted,</div>
+<div class="line"><a name="l00903"></a><span class="lineno"> 903</span> <span class="keywordtype">bool</span> IsMempcpy)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00904"></a><span class="lineno"> 904</span> CurrentFunctionDescription = <span class="stringliteral">"memory copy function"</span>;</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="comment">// See if the size argument is zero.</span></div>
+<div class="line"><a name="l00907"></a><span class="lineno"> 907</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l00908"></a><span class="lineno"> 908</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> sizeVal = state->getSVal(Size, LCtx);</div>
+<div class="line"><a name="l00909"></a><span class="lineno"> 909</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = Size-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>();</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> ProgramStateRef stateZeroSize, stateNonZeroSize;</div>
+<div class="line"><a name="l00912"></a><span class="lineno"> 912</span> llvm::tie(stateZeroSize, stateNonZeroSize) =</div>
+<div class="line"><a name="l00913"></a><span class="lineno"> 913</span> assumeZero(C, state, sizeVal, sizeTy);</div>
+<div class="line"><a name="l00914"></a><span class="lineno"> 914</span> </div>
+<div class="line"><a name="l00915"></a><span class="lineno"> 915</span> <span class="comment">// Get the value of the Dest.</span></div>
+<div class="line"><a name="l00916"></a><span class="lineno"> 916</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> destVal = state->getSVal(Dest, LCtx);</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> <span class="comment">// If the size is zero, there won't be any actual memory access, so</span></div>
+<div class="line"><a name="l00919"></a><span class="lineno"> 919</span> <span class="comment">// just bind the return value to the destination buffer and return.</span></div>
+<div class="line"><a name="l00920"></a><span class="lineno"> 920</span> <span class="keywordflow">if</span> (stateZeroSize && !stateNonZeroSize) {</div>
+<div class="line"><a name="l00921"></a><span class="lineno"> 921</span> stateZeroSize = stateZeroSize->BindExpr(CE, LCtx, destVal);</div>
+<div class="line"><a name="l00922"></a><span class="lineno"> 922</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(stateZeroSize);</div>
+<div class="line"><a name="l00923"></a><span class="lineno"> 923</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00924"></a><span class="lineno"> 924</span> }</div>
+<div class="line"><a name="l00925"></a><span class="lineno"> 925</span> </div>
+<div class="line"><a name="l00926"></a><span class="lineno"> 926</span> <span class="comment">// If the size can be nonzero, we have to check the other arguments.</span></div>
+<div class="line"><a name="l00927"></a><span class="lineno"> 927</span> <span class="keywordflow">if</span> (stateNonZeroSize) {</div>
+<div class="line"><a name="l00928"></a><span class="lineno"> 928</span> state = stateNonZeroSize;</div>
+<div class="line"><a name="l00929"></a><span class="lineno"> 929</span> </div>
+<div class="line"><a name="l00930"></a><span class="lineno"> 930</span> <span class="comment">// Ensure the destination is not null. If it is NULL there will be a</span></div>
+<div class="line"><a name="l00931"></a><span class="lineno"> 931</span> <span class="comment">// NULL pointer dereference.</span></div>
+<div class="line"><a name="l00932"></a><span class="lineno"> 932</span> state = checkNonNull(C, state, Dest, destVal);</div>
+<div class="line"><a name="l00933"></a><span class="lineno"> 933</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00934"></a><span class="lineno"> 934</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00935"></a><span class="lineno"> 935</span> </div>
+<div class="line"><a name="l00936"></a><span class="lineno"> 936</span> <span class="comment">// Get the value of the Src.</span></div>
+<div class="line"><a name="l00937"></a><span class="lineno"> 937</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> srcVal = state->getSVal(Source, LCtx);</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="comment">// Ensure the source is not null. If it is NULL there will be a</span></div>
+<div class="line"><a name="l00940"></a><span class="lineno"> 940</span> <span class="comment">// NULL pointer dereference.</span></div>
+<div class="line"><a name="l00941"></a><span class="lineno"> 941</span> state = checkNonNull(C, state, Source, srcVal);</div>
+<div class="line"><a name="l00942"></a><span class="lineno"> 942</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00943"></a><span class="lineno"> 943</span> <span class="keywordflow">return</span>;</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">// Ensure the accesses are valid and that the buffers do not overlap.</span></div>
+<div class="line"><a name="l00946"></a><span class="lineno"> 946</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> writeWarning =</div>
+<div class="line"><a name="l00947"></a><span class="lineno"> 947</span> <span class="stringliteral">"Memory copy function overflows destination buffer"</span>;</div>
+<div class="line"><a name="l00948"></a><span class="lineno"> 948</span> state = CheckBufferAccess(C, state, Size, Dest, Source,</div>
+<div class="line"><a name="l00949"></a><span class="lineno"> 949</span> writeWarning, <span class="comment">/* sourceWarning = */</span> <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>);</div>
+<div class="line"><a name="l00950"></a><span class="lineno"> 950</span> <span class="keywordflow">if</span> (Restricted)</div>
+<div class="line"><a name="l00951"></a><span class="lineno"> 951</span> state = CheckOverlap(C, state, Size, Dest, Source);</div>
+<div class="line"><a name="l00952"></a><span class="lineno"> 952</span> </div>
+<div class="line"><a name="l00953"></a><span class="lineno"> 953</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l00954"></a><span class="lineno"> 954</span> <span class="keywordflow">return</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">// If this is mempcpy, get the byte after the last byte copied and </span></div>
+<div class="line"><a name="l00957"></a><span class="lineno"> 957</span> <span class="comment">// bind the expr.</span></div>
+<div class="line"><a name="l00958"></a><span class="lineno"> 958</span> <span class="keywordflow">if</span> (IsMempcpy) {</div>
+<div class="line"><a name="l00959"></a><span class="lineno"> 959</span> <a class="code" href="classclang_1_1ento_1_1loc_1_1MemRegionVal.html">loc::MemRegionVal</a> destRegVal = destVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1loc_1_1MemRegionVal.html">loc::MemRegionVal</a>>();</div>
+<div class="line"><a name="l00960"></a><span class="lineno"> 960</span> </div>
+<div class="line"><a name="l00961"></a><span class="lineno"> 961</span> <span class="comment">// Get the length to copy.</span></div>
+<div class="line"><a name="l00962"></a><span class="lineno"> 962</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> lenValNonLoc = sizeVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l00963"></a><span class="lineno"> 963</span> <span class="comment">// Get the byte after the last byte copied.</span></div>
+<div class="line"><a name="l00964"></a><span class="lineno"> 964</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> lastElement = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, </div>
+<div class="line"><a name="l00965"></a><span class="lineno"> 965</span> destRegVal,</div>
+<div class="line"><a name="l00966"></a><span class="lineno"> 966</span> *lenValNonLoc, </div>
+<div class="line"><a name="l00967"></a><span class="lineno"> 967</span> Dest-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l00968"></a><span class="lineno"> 968</span> </div>
+<div class="line"><a name="l00969"></a><span class="lineno"> 969</span> <span class="comment">// The byte after the last byte copied is the return value.</span></div>
+<div class="line"><a name="l00970"></a><span class="lineno"> 970</span> state = state->BindExpr(CE, LCtx, lastElement);</div>
+<div class="line"><a name="l00971"></a><span class="lineno"> 971</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00972"></a><span class="lineno"> 972</span> <span class="comment">// If we don't know how much we copied, we can at least</span></div>
+<div class="line"><a name="l00973"></a><span class="lineno"> 973</span> <span class="comment">// conjure a return value for later.</span></div>
+<div class="line"><a name="l00974"></a><span class="lineno"> 974</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> result = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx,</div>
+<div class="line"><a name="l00975"></a><span class="lineno"> 975</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l00976"></a><span class="lineno"> 976</span> state = state->BindExpr(CE, LCtx, result);</div>
+<div class="line"><a name="l00977"></a><span class="lineno"> 977</span> }</div>
+<div class="line"><a name="l00978"></a><span class="lineno"> 978</span> </div>
+<div class="line"><a name="l00979"></a><span class="lineno"> 979</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00980"></a><span class="lineno"> 980</span> <span class="comment">// All other copies return the destination buffer.</span></div>
+<div class="line"><a name="l00981"></a><span class="lineno"> 981</span> <span class="comment">// (Well, bcopy() has a void return type, but this won't hurt.)</span></div>
+<div class="line"><a name="l00982"></a><span class="lineno"> 982</span> state = state->BindExpr(CE, LCtx, destVal);</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> </div>
+<div class="line"><a name="l00985"></a><span class="lineno"> 985</span> <span class="comment">// Invalidate the destination (regular invalidation without pointer-escaping</span></div>
+<div class="line"><a name="l00986"></a><span class="lineno"> 986</span> <span class="comment">// the address of the top-level region).</span></div>
+<div class="line"><a name="l00987"></a><span class="lineno"> 987</span> <span class="comment">// FIXME: Even if we can't perfectly model the copy, we should see if we</span></div>
+<div class="line"><a name="l00988"></a><span class="lineno"> 988</span> <span class="comment">// can use LazyCompoundVals to copy the source values into the destination.</span></div>
+<div class="line"><a name="l00989"></a><span class="lineno"> 989</span> <span class="comment">// This would probably remove any existing bindings past the end of the</span></div>
+<div class="line"><a name="l00990"></a><span class="lineno"> 990</span> <span class="comment">// copied region, but that's still an improvement over blank invalidation.</span></div>
+<div class="line"><a name="l00991"></a><span class="lineno"> 991</span> state = InvalidateBuffer(C, state, Dest, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0d759e052a03b3b956294899dc2ccd0d" title="Get the value of arbitrary expressions at this point in the path.">getSVal</a>(Dest), </div>
+<div class="line"><a name="l00992"></a><span class="lineno"> 992</span> <span class="comment">/*IsSourceBuffer*/</span><span class="keyword">false</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="comment">// Invalidate the source (const-invalidation without const-pointer-escaping</span></div>
+<div class="line"><a name="l00995"></a><span class="lineno"> 995</span> <span class="comment">// the address of the top-level region).</span></div>
+<div class="line"><a name="l00996"></a><span class="lineno"> 996</span> state = InvalidateBuffer(C, state, Source, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0d759e052a03b3b956294899dc2ccd0d" title="Get the value of arbitrary expressions at this point in the path.">getSVal</a>(Source), </div>
+<div class="line"><a name="l00997"></a><span class="lineno"> 997</span> <span class="comment">/*IsSourceBuffer*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l00998"></a><span class="lineno"> 998</span> </div>
+<div class="line"><a name="l00999"></a><span class="lineno"> 999</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span> }</div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span> }</div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> </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="keywordtype">void</span> CStringChecker::evalMemcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> </div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> <span class="comment">// void *memcpy(void *restrict dst, const void *restrict src, size_t n);</span></div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <span class="comment">// The return value is the address of the destination buffer.</span></div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dest = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span> </div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> evalCopyCommon(C, CE, state, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2), Dest, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1), <span class="keyword">true</span>);</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="keywordtype">void</span> CStringChecker::evalMempcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span> </div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span> <span class="comment">// void *mempcpy(void *restrict dst, const void *restrict src, size_t n);</span></div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> <span class="comment">// The return value is a pointer to the byte following the last written byte.</span></div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dest = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> </div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> evalCopyCommon(C, CE, state, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2), Dest, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1), <span class="keyword">true</span>, <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> }</div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span> </div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> <span class="keywordtype">void</span> CStringChecker::evalMemmove(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> </div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> <span class="comment">// void *memmove(void *dst, const void *src, size_t n);</span></div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> <span class="comment">// The return value is the address of the destination buffer.</span></div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dest = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</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> evalCopyCommon(C, CE, state, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2), Dest, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1));</div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span> }</div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span> </div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span> <span class="keywordtype">void</span> CStringChecker::evalBcopy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span> </div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span> <span class="comment">// void bcopy(const void *src, void *dst, size_t n);</span></div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> evalCopyCommon(C, CE, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>(), </div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span> CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2), CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1), CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0));</div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> }</div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span> </div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> <span class="keywordtype">void</span> CStringChecker::evalMemcmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span> </div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span> <span class="comment">// int memcmp(const void *s1, const void *s2, size_t n);</span></div>
+<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span> CurrentFunctionDescription = <span class="stringliteral">"memory comparison function"</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="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Left = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Right = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Size = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2);</div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> </div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span> </div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> <span class="comment">// See if the size argument is zero.</span></div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> sizeVal = state->getSVal(Size, LCtx);</div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = Size-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>();</div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> </div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> ProgramStateRef stateZeroSize, stateNonZeroSize;</div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span> llvm::tie(stateZeroSize, stateNonZeroSize) =</div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> assumeZero(C, state, sizeVal, sizeTy);</div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> </div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <span class="comment">// If the size can be zero, the result will be 0 in that case, and we don't</span></div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="comment">// have to check either of the buffers.</span></div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> <span class="keywordflow">if</span> (stateZeroSize) {</div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> state = stateZeroSize;</div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> state = state->BindExpr(CE, LCtx,</div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span> svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a0ef9c6ec4c6b97119ca815ca2893329f" title="Construct an SVal representing '0' for the specified type.">makeZeroVal</a>(CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()));</div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> }</div>
+<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> </div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> <span class="comment">// If the size can be nonzero, we have to check the other arguments.</span></div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> <span class="keywordflow">if</span> (stateNonZeroSize) {</div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> state = stateNonZeroSize;</div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="comment">// If we know the two buffers are the same, we know the result is 0.</span></div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="comment">// First, get the two buffers' addresses. Another checker will have already</span></div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <span class="comment">// made sure they're not undefined.</span></div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> LV =</div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> state->getSVal(Left, LCtx).castAs<<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> RV =</div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> state->getSVal(Right, LCtx).castAs<<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> </div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> <span class="comment">// See if they are the same.</span></div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> SameBuf = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a0fe15b1c761ef0d65eef77566f31901a">evalEQ</a>(state, LV, RV);</div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> ProgramStateRef StSameBuf, StNotSameBuf;</div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> llvm::tie(StSameBuf, StNotSameBuf) = state->assume(SameBuf);</div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> </div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="comment">// If the two arguments might be the same buffer, we know the result is 0,</span></div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span> <span class="comment">// and we only need to check one size.</span></div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span> <span class="keywordflow">if</span> (StSameBuf) {</div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> state = StSameBuf;</div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> state = CheckBufferAccess(C, state, Size, Left);</div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> <span class="keywordflow">if</span> (state) {</div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> state = StSameBuf->BindExpr(CE, LCtx,</div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a0ef9c6ec4c6b97119ca815ca2893329f" title="Construct an SVal representing '0' for the specified type.">makeZeroVal</a>(CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()));</div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> }</div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span> }</div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> </div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span> <span class="comment">// If the two arguments might be different buffers, we have to check the</span></div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> <span class="comment">// size of both of them.</span></div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> <span class="keywordflow">if</span> (StNotSameBuf) {</div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> state = StNotSameBuf;</div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> state = CheckBufferAccess(C, state, Size, Left, Right);</div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> <span class="keywordflow">if</span> (state) {</div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span> <span class="comment">// The return value is the comparison result, which we don't know.</span></div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> CmpV = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> state = state->BindExpr(CE, LCtx, CmpV);</div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> }</div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> }</div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> }</div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> }</div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> </div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span> <span class="keywordtype">void</span> CStringChecker::evalstrLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 1)</div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> </div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="comment">// size_t strlen(const char *s);</span></div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> evalstrLengthCommon(C, CE, <span class="comment">/* IsStrnlen = */</span> <span class="keyword">false</span>);</div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> }</div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span> </div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> <span class="keywordtype">void</span> CStringChecker::evalstrnLength(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C,</div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span> <span class="keywordflow">return</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="comment">// size_t strnlen(const char *s, size_t maxlen);</span></div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> evalstrLengthCommon(C, CE, <span class="comment">/* IsStrnlen = */</span> <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span> }</div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span> </div>
+<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span> <span class="keywordtype">void</span> CStringChecker::evalstrLengthCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> <span class="keywordtype">bool</span> IsStrnlen)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> CurrentFunctionDescription = <span class="stringliteral">"string length function"</span>;</div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span> </div>
+<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span> <span class="keywordflow">if</span> (IsStrnlen) {</div>
+<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *maxlenExpr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> maxlenVal = state->getSVal(maxlenExpr, LCtx);</div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> </div>
+<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span> ProgramStateRef stateZeroSize, stateNonZeroSize;</div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span> llvm::tie(stateZeroSize, stateNonZeroSize) =</div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> assumeZero(C, state, maxlenVal, maxlenExpr-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> </div>
+<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> <span class="comment">// If the size can be zero, the result will be 0 in that case, and we don't</span></div>
+<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> <span class="comment">// have to check the string itself.</span></div>
+<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span> <span class="keywordflow">if</span> (stateZeroSize) {</div>
+<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> zero = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a0ef9c6ec4c6b97119ca815ca2893329f" title="Construct an SVal representing '0' for the specified type.">makeZeroVal</a>(CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l01160"></a><span class="lineno"> 1160</span> stateZeroSize = stateZeroSize->BindExpr(CE, LCtx, zero);</div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(stateZeroSize);</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> </div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span> <span class="comment">// If the size is GUARANTEED to be zero, we're done!</span></div>
+<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span> <span class="keywordflow">if</span> (!stateNonZeroSize)</div>
+<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span> </div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span> <span class="comment">// Otherwise, record the assumption that the size is nonzero.</span></div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> state = stateNonZeroSize;</div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span> }</div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> </div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span> <span class="comment">// Check that the string argument is non-null.</span></div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Arg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> ArgVal = state->getSVal(Arg, LCtx);</div>
+<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span> </div>
+<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span> state = checkNonNull(C, state, Arg, ArgVal);</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="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span> </div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> strLength = getCStringLength(C, state, Arg, ArgVal);</div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> </div>
+<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> <span class="comment">// If the argument isn't a valid C string, there's no valid state to</span></div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span> <span class="comment">// transition to.</span></div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> <span class="keywordflow">if</span> (strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span> </div>
+<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> result = <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> </div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="comment">// If the check is for strnlen() then bind the return value to no more than</span></div>
+<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> <span class="comment">// the maxlen value.</span></div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span> <span class="keywordflow">if</span> (IsStrnlen) {</div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> cmpTy = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a281bfc8da76dfb6404917e2c554ec4d6">getConditionType</a>();</div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span> </div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> <span class="comment">// It's a little unfortunate to be getting this again,</span></div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> <span class="comment">// but it's not that expensive...</span></div>
+<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *maxlenExpr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> maxlenVal = state->getSVal(maxlenExpr, LCtx);</div>
+<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> </div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> strLengthNL = strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> maxlenValNL = maxlenVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span> </div>
+<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span> <span class="keywordflow">if</span> (strLengthNL && maxlenValNL) {</div>
+<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span> ProgramStateRef stateStringTooLong, stateStringNotTooLong;</div>
+<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> </div>
+<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> <span class="comment">// Check if the strLength is greater than the maxlen.</span></div>
+<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> llvm::tie(stateStringTooLong, stateStringNotTooLong) =</div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span> state->assume(C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(</div>
+<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a9ff57a80bfff7f4a29cfc5ea9525ed6f">BO_GT</a>, *strLengthNL, *maxlenValNL, cmpTy)</div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> .<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>());</div>
+<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span> </div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> <span class="keywordflow">if</span> (stateStringTooLong && !stateStringNotTooLong) {</div>
+<div class="line"><a name="l01213"></a><span class="lineno"> 1213</span> <span class="comment">// If the string is longer than maxlen, return maxlen.</span></div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span> result = *maxlenValNL;</div>
+<div class="line"><a name="l01215"></a><span class="lineno"> 1215</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (stateStringNotTooLong && !stateStringTooLong) {</div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span> <span class="comment">// If the string is shorter than maxlen, return its length.</span></div>
+<div class="line"><a name="l01217"></a><span class="lineno"> 1217</span> result = *strLengthNL;</div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span> }</div>
+<div class="line"><a name="l01219"></a><span class="lineno"> 1219</span> }</div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span> </div>
+<div class="line"><a name="l01221"></a><span class="lineno"> 1221</span> <span class="keywordflow">if</span> (result.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>()) {</div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> <span class="comment">// If we don't have enough information for a comparison, there's</span></div>
+<div class="line"><a name="l01223"></a><span class="lineno"> 1223</span> <span class="comment">// no guarantee the full string length will actually be returned.</span></div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> <span class="comment">// All we know is the return value is the min of the string length</span></div>
+<div class="line"><a name="l01225"></a><span class="lineno"> 1225</span> <span class="comment">// and the limit. This is better than nothing.</span></div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span> result = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> resultNL = result.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> </div>
+<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span> <span class="keywordflow">if</span> (strLengthNL) {</div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> state = state->assume(C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(</div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span> state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1ab1b013f11421020dffa959a6c1ed45af">BO_LE</a>, resultNL, *strLengthNL, cmpTy)</div>
+<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> .<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span> }</div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> </div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> <span class="keywordflow">if</span> (maxlenValNL) {</div>
+<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span> state = state->assume(C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(</div>
+<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1ab1b013f11421020dffa959a6c1ed45af">BO_LE</a>, resultNL, *maxlenValNL, cmpTy)</div>
+<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span> .<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span> }</div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> }</div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span> </div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> <span class="comment">// This is a plain strlen(), not strnlen().</span></div>
+<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> result = strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> </div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <span class="comment">// If we don't know the length of the string, conjure a return</span></div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> <span class="comment">// value, so it can be used in constraints, at least.</span></div>
+<div class="line"><a name="l01248"></a><span class="lineno"> 1248</span> <span class="keywordflow">if</span> (result.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>()) {</div>
+<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span> result = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>().<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> }</div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> }</div>
+<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span> </div>
+<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> <span class="comment">// Bind the return value.</span></div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span> assert(!result.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>() && <span class="stringliteral">"Should have conjured a value by now"</span>);</div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> state = state->BindExpr(CE, LCtx, result);</div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span> }</div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span> </div>
+<div class="line"><a name="l01259"></a><span class="lineno"> 1259</span> <span class="keywordtype">void</span> CStringChecker::evalStrcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> </div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> <span class="comment">// char *strcpy(char *restrict dst, const char *restrict src);</span></div>
+<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span> evalStrcpyCommon(C, CE, </div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> <span class="comment">/* returnEnd = */</span> <span class="keyword">false</span>, </div>
+<div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> <span class="comment">/* isBounded = */</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> <span class="comment">/* isAppending = */</span> <span class="keyword">false</span>);</div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> }</div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> </div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> <span class="keywordtype">void</span> CStringChecker::evalStrncpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> </div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span> <span class="comment">// char *strncpy(char *restrict dst, const char *restrict src, size_t n);</span></div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span> evalStrcpyCommon(C, CE, </div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span> <span class="comment">/* returnEnd = */</span> <span class="keyword">false</span>, </div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span> <span class="comment">/* isBounded = */</span> <span class="keyword">true</span>,</div>
+<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span> <span class="comment">/* isAppending = */</span> <span class="keyword">false</span>);</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> </div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span> <span class="keywordtype">void</span> CStringChecker::evalStpcpy(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> </div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span> <span class="comment">// char *stpcpy(char *restrict dst, const char *restrict src);</span></div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span> evalStrcpyCommon(C, CE, </div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span> <span class="comment">/* returnEnd = */</span> <span class="keyword">true</span>, </div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> <span class="comment">/* isBounded = */</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span> <span class="comment">/* isAppending = */</span> <span class="keyword">false</span>);</div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> }</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> <span class="keywordtype">void</span> CStringChecker::evalStrcat(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</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> <span class="comment">//char *strcat(char *restrict s1, const char *restrict s2);</span></div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span> evalStrcpyCommon(C, CE, </div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span> <span class="comment">/* returnEnd = */</span> <span class="keyword">false</span>, </div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> <span class="comment">/* isBounded = */</span> <span class="keyword">false</span>,</div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> <span class="comment">/* isAppending = */</span> <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> }</div>
+<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span> </div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> <span class="keywordtype">void</span> CStringChecker::evalStrncat(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span> </div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span> <span class="comment">//char *strncat(char *restrict s1, const char *restrict s2, size_t n);</span></div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span> evalStrcpyCommon(C, CE, </div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> <span class="comment">/* returnEnd = */</span> <span class="keyword">false</span>, </div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> <span class="comment">/* isBounded = */</span> <span class="keyword">true</span>,</div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> <span class="comment">/* isAppending = */</span> <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span> }</div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span> </div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span> <span class="keywordtype">void</span> CStringChecker::evalStrcpyCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span> <span class="keywordtype">bool</span> returnEnd, <span class="keywordtype">bool</span> isBounded,</div>
+<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span> <span class="keywordtype">bool</span> isAppending)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span> CurrentFunctionDescription = <span class="stringliteral">"string copy function"</span>;</div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> </div>
+<div class="line"><a name="l01321"></a><span class="lineno"> 1321</span> <span class="comment">// Check that the destination is non-null.</span></div>
+<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Dst = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> DstVal = state->getSVal(Dst, LCtx);</div>
+<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> </div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> state = checkNonNull(C, state, Dst, DstVal);</div>
+<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span> </div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span> <span class="comment">// Check that the source is non-null.</span></div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *srcExpr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> srcVal = state->getSVal(srcExpr, LCtx);</div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span> state = checkNonNull(C, state, srcExpr, srcVal);</div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span> </div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span> <span class="comment">// Get the string length of the source.</span></div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> strLength = getCStringLength(C, state, srcExpr, srcVal);</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">// If the source isn't a valid C string, give up.</span></div>
+<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span> <span class="keywordflow">if</span> (strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span> </div>
+<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> cmpTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a281bfc8da76dfb6404917e2c554ec4d6">getConditionType</a>();</div>
+<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> sizeTy = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a34dd76f677ea014481a45f7ebeff6c04">getContext</a>().<a class="code" href="classclang_1_1ASTContext.html#ae3093bf57c46337c9a3f2f42ad8764ee" title="Return the unique type for "size_t" (C99 7.17), defined in <stddef.h>.">getSizeType</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="comment">// These two values allow checking two kinds of errors:</span></div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span> <span class="comment">// - actual overflows caused by a source that doesn't fit in the destination</span></div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span> <span class="comment">// - potential overflows caused by a bound that could exceed the destination</span></div>
+<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> amountCopied = <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l01351"></a><span class="lineno"> 1351</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> maxLastElementIndex = <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *boundWarning = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>;</div>
+<div class="line"><a name="l01353"></a><span class="lineno"> 1353</span> </div>
+<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span> <span class="comment">// If the function is strncpy, strncat, etc... it is bounded.</span></div>
+<div class="line"><a name="l01355"></a><span class="lineno"> 1355</span> <span class="keywordflow">if</span> (isBounded) {</div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span> <span class="comment">// Get the max number of characters to copy.</span></div>
+<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *lenExpr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2);</div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> lenVal = state->getSVal(lenExpr, LCtx);</div>
+<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> </div>
+<div class="line"><a name="l01360"></a><span class="lineno"> 1360</span> <span class="comment">// Protect against misdeclared strncpy().</span></div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span> lenVal = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#aac1b0835b003247371196257b6aa04e3">evalCast</a>(lenVal, sizeTy, lenExpr-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span> </div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> strLengthNL = strLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> lenValNL = lenVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span> </div>
+<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span> <span class="comment">// If we know both values, we might be able to figure out how much</span></div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span> <span class="comment">// we're copying.</span></div>
+<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span> <span class="keywordflow">if</span> (strLengthNL && lenValNL) {</div>
+<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span> ProgramStateRef stateSourceTooLong, stateSourceNotTooLong;</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> <span class="comment">// Check if the max number to copy is less than the length of the src.</span></div>
+<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span> <span class="comment">// If the bound is equal to the source length, strncpy won't null-</span></div>
+<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span> <span class="comment">// terminate the result!</span></div>
+<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span> llvm::tie(stateSourceTooLong, stateSourceNotTooLong) = state->assume(</div>
+<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span> svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a49c5777674892e127aeeb0746b18a1e2">BO_GE</a>, *strLengthNL, *lenValNL, cmpTy)</div>
+<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> .<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>());</div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span> </div>
+<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span> <span class="keywordflow">if</span> (stateSourceTooLong && !stateSourceNotTooLong) {</div>
+<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span> <span class="comment">// Max number to copy is less than the length of the src, so the actual</span></div>
+<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span> <span class="comment">// strLength copied is the max number arg.</span></div>
+<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span> state = stateSourceTooLong;</div>
+<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span> amountCopied = lenVal;</div>
+<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span> </div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!stateSourceTooLong && stateSourceNotTooLong) {</div>
+<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span> <span class="comment">// The source buffer entirely fits in the bound.</span></div>
+<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span> state = stateSourceNotTooLong;</div>
+<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span> amountCopied = strLength;</div>
+<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span> }</div>
+<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span> }</div>
+<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> </div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> <span class="comment">// We still want to know if the bound is known to be too large.</span></div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> <span class="keywordflow">if</span> (lenValNL) {</div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span> <span class="keywordflow">if</span> (isAppending) {</div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span> <span class="comment">// For strncat, the check is strlen(dst) + lenVal < sizeof(dst)</span></div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span> </div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span> <span class="comment">// Get the string length of the destination. If the destination is</span></div>
+<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span> <span class="comment">// memory that can't have a string length, we shouldn't be copying</span></div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span> <span class="comment">// into it anyway.</span></div>
+<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> dstStrLength = getCStringLength(C, state, Dst, DstVal);</div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span> <span class="keywordflow">if</span> (dstStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span> </div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> dstStrLengthNL = dstStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span> maxLastElementIndex = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>,</div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span> *lenValNL,</div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span> *dstStrLengthNL,</div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span> sizeTy);</div>
+<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span> boundWarning = <span class="stringliteral">"Size argument is greater than the free space in the "</span></div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span> <span class="stringliteral">"destination buffer"</span>;</div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span> }</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> </div>
+<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span> <span class="comment">// For strncpy, this is just checking that lenVal <= sizeof(dst)</span></div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span> <span class="comment">// (Yes, strncpy and strncat differ in how they treat termination.</span></div>
+<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span> <span class="comment">// strncat ALWAYS terminates, but strncpy doesn't.)</span></div>
+<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span> </div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span> <span class="comment">// We need a special case for when the copy size is zero, in which</span></div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span> <span class="comment">// case strncpy will do no work at all. Our bounds check uses n-1</span></div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span> <span class="comment">// as the last element accessed, so n == 0 is problematic.</span></div>
+<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span> ProgramStateRef StateZeroSize, StateNonZeroSize;</div>
+<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> llvm::tie(StateZeroSize, StateNonZeroSize) =</div>
+<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span> assumeZero(C, state, *lenValNL, sizeTy);</div>
+<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span> </div>
+<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span> <span class="comment">// If the size is known to be zero, we're done.</span></div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> <span class="keywordflow">if</span> (StateZeroSize && !StateNonZeroSize) {</div>
+<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span> StateZeroSize = StateZeroSize->BindExpr(CE, LCtx, DstVal);</div>
+<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(StateZeroSize);</div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> <span class="keywordflow">return</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> </div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span> <span class="comment">// Otherwise, go ahead and figure out the last element we'll touch.</span></div>
+<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span> <span class="comment">// We don't record the non-zero assumption here because we can't</span></div>
+<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span> <span class="comment">// be sure. We won't warn on a possible zero.</span></div>
+<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span> <a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a> one = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a64d6f6dbe80edaf522a08d9e29ed49ff">makeIntVal</a>(1, sizeTy).<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span> maxLastElementIndex = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1af84c54a9c8a061371180b3e8b25d4c3f">BO_Sub</a>, *lenValNL,</div>
+<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span> one, sizeTy);</div>
+<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span> boundWarning = <span class="stringliteral">"Size argument is greater than the length of the "</span></div>
+<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span> <span class="stringliteral">"destination buffer"</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> }</div>
+<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span> </div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span> <span class="comment">// If we couldn't pin down the copy length, at least bound it.</span></div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span> <span class="comment">// FIXME: We should actually run this code path for append as well, but</span></div>
+<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span> <span class="comment">// right now it creates problems with constraints (since we can end up</span></div>
+<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span> <span class="comment">// trying to pass constraints from symbol to symbol).</span></div>
+<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span> <span class="keywordflow">if</span> (amountCopied.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>() && !isAppending) {</div>
+<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span> <span class="comment">// Try to get a "hypothetical" string length symbol, which we can later</span></div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span> <span class="comment">// set as a real value if that turns out to be the case.</span></div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span> amountCopied = getCStringLength(C, state, lenExpr, srcVal, <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span> assert(!amountCopied.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>());</div>
+<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span> </div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> amountCopiedNL = amountCopied.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span> <span class="keywordflow">if</span> (lenValNL) {</div>
+<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span> <span class="comment">// amountCopied <= lenVal</span></div>
+<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> copiedLessThanBound = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1ab1b013f11421020dffa959a6c1ed45af">BO_LE</a>,</div>
+<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span> *amountCopiedNL,</div>
+<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span> *lenValNL,</div>
+<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span> cmpTy);</div>
+<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span> state = state->assume(</div>
+<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span> copiedLessThanBound.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span> }</div>
+<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span> </div>
+<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span> <span class="keywordflow">if</span> (strLengthNL) {</div>
+<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span> <span class="comment">// amountCopied <= strlen(source)</span></div>
+<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> copiedLessThanSrc = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1ab1b013f11421020dffa959a6c1ed45af">BO_LE</a>,</div>
+<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span> *amountCopiedNL,</div>
+<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span> *strLengthNL,</div>
+<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span> cmpTy);</div>
+<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span> state = state->assume(</div>
+<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span> copiedLessThanSrc.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span> }</div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span> }</div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span> }</div>
+<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span> </div>
+<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span> <span class="comment">// The function isn't bounded. The amount copied should match the length</span></div>
+<div class="line"><a name="l01481"></a><span class="lineno"> 1481</span> <span class="comment">// of the source buffer.</span></div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span> amountCopied = strLength;</div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span> }</div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span> </div>
+<div class="line"><a name="l01485"></a><span class="lineno"> 1485</span> assert(state);</div>
+<div class="line"><a name="l01486"></a><span class="lineno"> 1486</span> </div>
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span> <span class="comment">// This represents the number of characters copied into the destination</span></div>
+<div class="line"><a name="l01488"></a><span class="lineno"> 1488</span> <span class="comment">// buffer. (It may not actually be the strlen if the destination buffer</span></div>
+<div class="line"><a name="l01489"></a><span class="lineno"> 1489</span> <span class="comment">// is not terminated.)</span></div>
+<div class="line"><a name="l01490"></a><span class="lineno"> 1490</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> finalStrLength = <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>();</div>
+<div class="line"><a name="l01491"></a><span class="lineno"> 1491</span> </div>
+<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span> <span class="comment">// If this is an appending function (strcat, strncat...) then set the</span></div>
+<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span> <span class="comment">// string length to strlen(src) + strlen(dst) since the buffer will</span></div>
+<div class="line"><a name="l01494"></a><span class="lineno"> 1494</span> <span class="comment">// ultimately contain both.</span></div>
+<div class="line"><a name="l01495"></a><span class="lineno"> 1495</span> <span class="keywordflow">if</span> (isAppending) {</div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span> <span class="comment">// Get the string length of the destination. If the destination is memory</span></div>
+<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span> <span class="comment">// that can't have a string length, we shouldn't be copying into it anyway.</span></div>
+<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> dstStrLength = getCStringLength(C, state, Dst, DstVal);</div>
+<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span> <span class="keywordflow">if</span> (dstStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span> </div>
+<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> srcStrLengthNL = amountCopied.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span> <a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> dstStrLengthNL = dstStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>();</div>
+<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span> </div>
+<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span> <span class="comment">// If we know both string lengths, we might know the final string length.</span></div>
+<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span> <span class="keywordflow">if</span> (srcStrLengthNL && dstStrLengthNL) {</div>
+<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span> <span class="comment">// Make sure the two lengths together don't overflow a size_t.</span></div>
+<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span> state = checkAdditionOverflow(C, state, *srcStrLengthNL, *dstStrLengthNL);</div>
+<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span> </div>
+<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span> finalStrLength = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, *srcStrLengthNL, </div>
+<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span> *dstStrLengthNL, sizeTy);</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> </div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span> <span class="comment">// If we couldn't get a single value for the final string length,</span></div>
+<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span> <span class="comment">// we can at least bound it by the individual lengths.</span></div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span> <span class="keywordflow">if</span> (finalStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>()) {</div>
+<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span> <span class="comment">// Try to get a "hypothetical" string length symbol, which we can later</span></div>
+<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span> <span class="comment">// set as a real value if that turns out to be the case.</span></div>
+<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span> finalStrLength = getCStringLength(C, state, CE, DstVal, <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span> assert(!finalStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>());</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> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> finalStrLengthNL = finalStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> <span class="keywordflow">if</span> (srcStrLengthNL) {</div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span> <span class="comment">// finalStrLength >= srcStrLength</span></div>
+<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> sourceInResult = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a49c5777674892e127aeeb0746b18a1e2">BO_GE</a>,</div>
+<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span> *finalStrLengthNL,</div>
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span> *srcStrLengthNL,</div>
+<div class="line"><a name="l01530"></a><span class="lineno"> 1530</span> cmpTy);</div>
+<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span> state = state->assume(sourceInResult.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(),</div>
+<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span> <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span> }</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span> </div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span> <span class="keywordflow">if</span> (dstStrLengthNL) {</div>
+<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span> <span class="comment">// finalStrLength >= dstStrLength</span></div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> destInResult = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a80593ee81368f3b4a734d9dec03ac2c4">evalBinOpNN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1a49c5777674892e127aeeb0746b18a1e2">BO_GE</a>,</div>
+<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span> *finalStrLengthNL,</div>
+<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span> *dstStrLengthNL,</div>
+<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span> cmpTy);</div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span> state =</div>
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span> state->assume(destInResult.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>(), <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span> <span class="keywordflow">return</span>;</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> }</div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span> }</div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span> </div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01552"></a><span class="lineno"> 1552</span> <span class="comment">// Otherwise, this is a copy-over function (strcpy, strncpy, ...), and</span></div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span> <span class="comment">// the final string length will match the input string length.</span></div>
+<div class="line"><a name="l01554"></a><span class="lineno"> 1554</span> finalStrLength = amountCopied;</div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span> }</div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span> </div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span> <span class="comment">// The final result of the function will either be a pointer past the last</span></div>
+<div class="line"><a name="l01558"></a><span class="lineno"> 1558</span> <span class="comment">// copied element, or a pointer to the start of the destination buffer.</span></div>
+<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Result = (returnEnd ? <a class="code" href="classclang_1_1ento_1_1UnknownVal.html">UnknownVal</a>() : DstVal);</div>
+<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span> </div>
+<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span> assert(state);</div>
+<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span> </div>
+<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span> <span class="comment">// If the destination is a MemRegion, try to check for a buffer overflow and</span></div>
+<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span> <span class="comment">// record the new string length.</span></div>
+<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<loc::MemRegionVal></a> dstRegVal =</div>
+<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span> DstVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1loc_1_1MemRegionVal.html">loc::MemRegionVal</a>>()) {</div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> ptrTy = Dst-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>();</div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> </div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span> <span class="comment">// If we have an exact value on a bounded copy, use that to check for</span></div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span> <span class="comment">// overflows, rather than our estimate about how much is actually copied.</span></div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span> <span class="keywordflow">if</span> (boundWarning) {</div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> maxLastNL = maxLastElementIndex.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> maxLastElement = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, *dstRegVal,</div>
+<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span> *maxLastNL, ptrTy);</div>
+<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span> state = CheckLocation(C, state, CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2), maxLastElement, </div>
+<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span> boundWarning);</div>
+<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span> <span class="keywordflow">return</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> }</div>
+<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span> </div>
+<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span> <span class="comment">// Then, if the final length is known...</span></div>
+<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<NonLoc></a> knownStrLength = finalStrLength.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1NonLoc.html">NonLoc</a>>()) {</div>
+<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> lastElement = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a408ca4e0d4be17c99c6c688bf9dbe8e4">evalBinOpLN</a>(state, <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1abe63fd1a02a7d1191c3b2fd102b983bd">BO_Add</a>, *dstRegVal,</div>
+<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span> *knownStrLength, ptrTy);</div>
+<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span> </div>
+<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span> <span class="comment">// ...and we haven't checked the bound, we'll check the actual copy.</span></div>
+<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span> <span class="keywordflow">if</span> (!boundWarning) {</div>
+<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <span class="keyword">const</span> warningMsg =</div>
+<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span> <span class="stringliteral">"String copy function overflows destination buffer"</span>;</div>
+<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span> state = CheckLocation(C, state, Dst, lastElement, warningMsg);</div>
+<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01593"></a><span class="lineno"> 1593</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span> }</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 this is a stpcpy-style copy, the last element is the return value.</span></div>
+<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span> <span class="keywordflow">if</span> (returnEnd)</div>
+<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span> Result = lastElement;</div>
+<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span> }</div>
+<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span> </div>
+<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span> <span class="comment">// Invalidate the destination (regular invalidation without pointer-escaping</span></div>
+<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span> <span class="comment">// the address of the top-level region). This must happen before we set the</span></div>
+<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span> <span class="comment">// C string length because invalidation will clear the length.</span></div>
+<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span> <span class="comment">// FIXME: Even if we can't perfectly model the copy, we should see if we</span></div>
+<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span> <span class="comment">// can use LazyCompoundVals to copy the source values into the destination.</span></div>
+<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span> <span class="comment">// This would probably remove any existing bindings past the end of the</span></div>
+<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span> <span class="comment">// string, but that's still an improvement over blank invalidation.</span></div>
+<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span> state = InvalidateBuffer(C, state, Dst, *dstRegVal,</div>
+<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span> <span class="comment">/*IsSourceBuffer*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span> </div>
+<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span> <span class="comment">// Invalidate the source (const-invalidation without const-pointer-escaping</span></div>
+<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span> <span class="comment">// the address of the top-level region).</span></div>
+<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span> state = InvalidateBuffer(C, state, srcExpr, srcVal, <span class="comment">/*IsSourceBuffer*/</span><span class="keyword">true</span>);</div>
+<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span> </div>
+<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span> <span class="comment">// Set the C string length of the destination, if we know it.</span></div>
+<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span> <span class="keywordflow">if</span> (isBounded && !isAppending) {</div>
+<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span> <span class="comment">// strncpy is annoying in that it doesn't guarantee to null-terminate</span></div>
+<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span> <span class="comment">// the result string. If the original string didn't fit entirely inside</span></div>
+<div class="line"><a name="l01619"></a><span class="lineno"> 1619</span> <span class="comment">// the bound (including the null-terminator), we don't know how long the</span></div>
+<div class="line"><a name="l01620"></a><span class="lineno"> 1620</span> <span class="comment">// result is.</span></div>
+<div class="line"><a name="l01621"></a><span class="lineno"> 1621</span> <span class="keywordflow">if</span> (amountCopied != strLength)</div>
+<div class="line"><a name="l01622"></a><span class="lineno"> 1622</span> finalStrLength = UnknownVal();</div>
+<div class="line"><a name="l01623"></a><span class="lineno"> 1623</span> }</div>
+<div class="line"><a name="l01624"></a><span class="lineno"> 1624</span> state = setCStringLength(state, dstRegVal->getRegion(), finalStrLength);</div>
+<div class="line"><a name="l01625"></a><span class="lineno"> 1625</span> }</div>
+<div class="line"><a name="l01626"></a><span class="lineno"> 1626</span> </div>
+<div class="line"><a name="l01627"></a><span class="lineno"> 1627</span> assert(state);</div>
+<div class="line"><a name="l01628"></a><span class="lineno"> 1628</span> </div>
+<div class="line"><a name="l01629"></a><span class="lineno"> 1629</span> <span class="comment">// If this is a stpcpy-style copy, but we were unable to check for a buffer</span></div>
+<div class="line"><a name="l01630"></a><span class="lineno"> 1630</span> <span class="comment">// overflow, we still need a result. Conjure a return value.</span></div>
+<div class="line"><a name="l01631"></a><span class="lineno"> 1631</span> <span class="keywordflow">if</span> (returnEnd && Result.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>()) {</div>
+<div class="line"><a name="l01632"></a><span class="lineno"> 1632</span> Result = svalBuilder.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01633"></a><span class="lineno"> 1633</span> }</div>
+<div class="line"><a name="l01634"></a><span class="lineno"> 1634</span> </div>
+<div class="line"><a name="l01635"></a><span class="lineno"> 1635</span> <span class="comment">// Set the return value.</span></div>
+<div class="line"><a name="l01636"></a><span class="lineno"> 1636</span> state = state->BindExpr(CE, LCtx, Result);</div>
+<div class="line"><a name="l01637"></a><span class="lineno"> 1637</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span> }</div>
+<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span> </div>
+<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span> <span class="keywordtype">void</span> CStringChecker::evalStrcmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span> </div>
+<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span> <span class="comment">//int strcmp(const char *s1, const char *s2);</span></div>
+<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span> evalStrcmpCommon(C, CE, <span class="comment">/* isBounded = */</span> <span class="keyword">false</span>, <span class="comment">/* ignoreCase = */</span> <span class="keyword">false</span>);</div>
+<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span> }</div>
+<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span> </div>
+<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span> <span class="keywordtype">void</span> CStringChecker::evalStrncmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span> </div>
+<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span> <span class="comment">//int strncmp(const char *s1, const char *s2, size_t n);</span></div>
+<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span> evalStrcmpCommon(C, CE, <span class="comment">/* isBounded = */</span> <span class="keyword">true</span>, <span class="comment">/* ignoreCase = */</span> <span class="keyword">false</span>);</div>
+<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span> }</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> <span class="keywordtype">void</span> CStringChecker::evalStrcasecmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, </div>
+<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span> </div>
+<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span> <span class="comment">//int strcasecmp(const char *s1, const char *s2);</span></div>
+<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span> evalStrcmpCommon(C, CE, <span class="comment">/* isBounded = */</span> <span class="keyword">false</span>, <span class="comment">/* ignoreCase = */</span> <span class="keyword">true</span>);</div>
+<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span> }</div>
+<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span> </div>
+<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span> <span class="keywordtype">void</span> CStringChecker::evalStrncasecmp(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, </div>
+<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 3)</div>
+<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span> <span class="keywordflow">return</span>;</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">//int strncasecmp(const char *s1, const char *s2, size_t n);</span></div>
+<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span> evalStrcmpCommon(C, CE, <span class="comment">/* isBounded = */</span> <span class="keyword">true</span>, <span class="comment">/* ignoreCase = */</span> <span class="keyword">true</span>);</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> </div>
+<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span> <span class="keywordtype">void</span> CStringChecker::evalStrcmpCommon(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE,</div>
+<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span> <span class="keywordtype">bool</span> isBounded, <span class="keywordtype">bool</span> ignoreCase)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span> CurrentFunctionDescription = <span class="stringliteral">"string comparison function"</span>;</div>
+<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</div>
+<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span> </div>
+<div class="line"><a name="l01680"></a><span class="lineno"> 1680</span> <span class="comment">// Check that the first string is non-null</span></div>
+<div class="line"><a name="l01681"></a><span class="lineno"> 1681</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *s1 = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01682"></a><span class="lineno"> 1682</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> s1Val = state->getSVal(s1, LCtx);</div>
+<div class="line"><a name="l01683"></a><span class="lineno"> 1683</span> state = checkNonNull(C, state, s1, s1Val);</div>
+<div class="line"><a name="l01684"></a><span class="lineno"> 1684</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01685"></a><span class="lineno"> 1685</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01686"></a><span class="lineno"> 1686</span> </div>
+<div class="line"><a name="l01687"></a><span class="lineno"> 1687</span> <span class="comment">// Check that the second string is non-null.</span></div>
+<div class="line"><a name="l01688"></a><span class="lineno"> 1688</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *s2 = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01689"></a><span class="lineno"> 1689</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> s2Val = state->getSVal(s2, LCtx);</div>
+<div class="line"><a name="l01690"></a><span class="lineno"> 1690</span> state = checkNonNull(C, state, s2, s2Val);</div>
+<div class="line"><a name="l01691"></a><span class="lineno"> 1691</span> <span class="keywordflow">if</span> (!state)</div>
+<div class="line"><a name="l01692"></a><span class="lineno"> 1692</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span> </div>
+<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span> <span class="comment">// Get the string length of the first string or give up.</span></div>
+<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> s1Length = getCStringLength(C, state, s1, s1Val);</div>
+<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span> <span class="keywordflow">if</span> (s1Length.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span> </div>
+<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span> <span class="comment">// Get the string length of the second string or give up.</span></div>
+<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> s2Length = getCStringLength(C, state, s2, s2Val);</div>
+<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span> <span class="keywordflow">if</span> (s2Length.<a class="code" href="classclang_1_1ento_1_1SVal.html#a422e54c255e385e98842222ca50f2982">isUndef</a>())</div>
+<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span> </div>
+<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span> <span class="comment">// If we know the two buffers are the same, we know the result is 0.</span></div>
+<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span> <span class="comment">// First, get the two buffers' addresses. Another checker will have already</span></div>
+<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span> <span class="comment">// made sure they're not undefined.</span></div>
+<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> LV = s1Val.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> RV = s2Val.<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span> </div>
+<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span> <span class="comment">// See if they are the same.</span></div>
+<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &svalBuilder = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> SameBuf = svalBuilder.evalEQ(state, LV, RV);</div>
+<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span> ProgramStateRef StSameBuf, StNotSameBuf;</div>
+<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span> llvm::tie(StSameBuf, StNotSameBuf) = state->assume(SameBuf);</div>
+<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span> </div>
+<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span> <span class="comment">// If the two arguments might be the same buffer, we know the result is 0,</span></div>
+<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span> <span class="comment">// and we only need to check one size.</span></div>
+<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span> <span class="keywordflow">if</span> (StSameBuf) {</div>
+<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span> StSameBuf = StSameBuf->BindExpr(CE, LCtx,</div>
+<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span> svalBuilder.makeZeroVal(CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()));</div>
+<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(StSameBuf);</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">// If the two arguments are GUARANTEED to be the same, we're done!</span></div>
+<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span> <span class="keywordflow">if</span> (!StNotSameBuf)</div>
+<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span> }</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> assert(StNotSameBuf);</div>
+<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span> state = StNotSameBuf;</div>
+<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span> </div>
+<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span> <span class="comment">// At this point we can go about comparing the two buffers.</span></div>
+<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span> <span class="comment">// For now, we only do this if they're both known string literals.</span></div>
+<div class="line"><a name="l01733"></a><span class="lineno"> 1733</span> </div>
+<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span> <span class="comment">// Attempt to extract string literals from both expressions.</span></div>
+<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1StringLiteral.html">StringLiteral</a> *s1StrLiteral = getCStringLiteral(C, state, s1, s1Val);</div>
+<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1StringLiteral.html">StringLiteral</a> *s2StrLiteral = getCStringLiteral(C, state, s2, s2Val);</div>
+<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span> <span class="keywordtype">bool</span> canComputeResult = <span class="keyword">false</span>;</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> <span class="keywordflow">if</span> (s1StrLiteral && s2StrLiteral) {</div>
+<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span> StringRef s1StrRef = s1StrLiteral-><a class="code" href="classclang_1_1StringLiteral.html#a5ac45571169396e74d296c733811a243">getString</a>();</div>
+<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span> StringRef s2StrRef = s2StrLiteral-><a class="code" href="classclang_1_1StringLiteral.html#a5ac45571169396e74d296c733811a243">getString</a>();</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> <span class="keywordflow">if</span> (isBounded) {</div>
+<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span> <span class="comment">// Get the max number of characters to compare.</span></div>
+<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *lenExpr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2);</div>
+<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> lenVal = state->getSVal(lenExpr, LCtx);</div>
+<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span> </div>
+<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span> <span class="comment">// If the length is known, we can get the right substrings.</span></div>
+<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> llvm::APSInt *len = svalBuilder.getKnownValue(state, lenVal)) {</div>
+<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span> <span class="comment">// Create substrings of each to compare the prefix.</span></div>
+<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span> s1StrRef = s1StrRef.substr(0, (<span class="keywordtype">size_t</span>)len->getZExtValue());</div>
+<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span> s2StrRef = s2StrRef.substr(0, (<span class="keywordtype">size_t</span>)len->getZExtValue());</div>
+<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span> canComputeResult = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span> }</div>
+<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span> <span class="comment">// This is a normal, unbounded strcmp.</span></div>
+<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span> canComputeResult = <span class="keyword">true</span>;</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> </div>
+<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span> <span class="keywordflow">if</span> (canComputeResult) {</div>
+<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span> <span class="comment">// Real strcmp stops at null characters.</span></div>
+<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span> <span class="keywordtype">size_t</span> s1Term = s1StrRef.find(<span class="charliteral">'\0'</span>);</div>
+<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span> <span class="keywordflow">if</span> (s1Term != StringRef::npos)</div>
+<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span> s1StrRef = s1StrRef.substr(0, s1Term);</div>
+<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span> </div>
+<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span> <span class="keywordtype">size_t</span> s2Term = s2StrRef.find(<span class="charliteral">'\0'</span>);</div>
+<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span> <span class="keywordflow">if</span> (s2Term != StringRef::npos)</div>
+<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span> s2StrRef = s2StrRef.substr(0, s2Term);</div>
+<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span> </div>
+<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span> <span class="comment">// Use StringRef's comparison methods to compute the actual result.</span></div>
+<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span> <span class="keywordtype">int</span> result;</div>
+<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span> </div>
+<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span> <span class="keywordflow">if</span> (ignoreCase) {</div>
+<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span> <span class="comment">// Compare string 1 to string 2 the same way strcasecmp() does.</span></div>
+<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span> result = s1StrRef.compare_lower(s2StrRef);</div>
+<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span> <span class="comment">// Compare string 1 to string 2 the same way strcmp() does.</span></div>
+<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span> result = s1StrRef.compare(s2StrRef);</div>
+<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span> }</div>
+<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span> </div>
+<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span> <span class="comment">// Build the SVal of the comparison and bind the return value.</span></div>
+<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> resultVal = svalBuilder.makeIntVal(result, CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>());</div>
+<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span> state = state->BindExpr(CE, LCtx, resultVal);</div>
+<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span> }</div>
+<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span> }</div>
+<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span> </div>
+<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span> <span class="keywordflow">if</span> (!canComputeResult) {</div>
+<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span> <span class="comment">// Conjure a symbolic value. It's the best we can do.</span></div>
+<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> resultVal = svalBuilder.conjureSymbolVal(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span> state = state->BindExpr(CE, LCtx, resultVal);</div>
+<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span> }</div>
+<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span> </div>
+<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span> <span class="comment">// Record this as a possible path.</span></div>
+<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</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> </div>
+<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span> <span class="keywordtype">void</span> CStringChecker::evalStrsep(<a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C, <span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span> <span class="comment">//char *strsep(char **stringp, const char *delim);</span></div>
+<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() < 2)</div>
+<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span> </div>
+<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span> <span class="comment">// Sanity: does the search string parameter match the return type?</span></div>
+<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *SearchStrPtr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> CharPtrTy = SearchStrPtr-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>()-><a class="code" href="classclang_1_1Type.html#a3a0edf987679f04072a1243b6118add1">getPointeeType</a>();</div>
+<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span> <span class="keywordflow">if</span> (CharPtrTy.<a class="code" href="classclang_1_1QualType.html#a8f87f58000490ad01cd09add1f27d7ac" title="isNull - Return true if this QualType doesn't point to a type yet.">isNull</a>() ||</div>
+<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span> CE-><a class="code" href="classclang_1_1Expr.html#a3dd8850a4ad8a5b5f595dd9e9446187b">getType</a>().<a class="code" href="classclang_1_1QualType.html#a5ddbce9d32b4f8043b641584599fe7e5" title="Retrieve the unqualified variant of the given type, removing as little sugar as possible.">getUnqualifiedType</a>() != CharPtrTy.<a class="code" href="classclang_1_1QualType.html#a5ddbce9d32b4f8043b641584599fe7e5" title="Retrieve the unqualified variant of the given type, removing as little sugar as possible.">getUnqualifiedType</a>())</div>
+<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span> </div>
+<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span> CurrentFunctionDescription = <span class="stringliteral">"strsep()"</span>;</div>
+<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span> ProgramStateRef <a class="code" href="Format_8cpp.html#a83e9e4ff6cb05dbdf72ab2a01aa289c0">State</a> = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1LocationContext.html">LocationContext</a> *LCtx = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>();</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">// Check that the search string pointer is non-null (though it may point to</span></div>
+<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span> <span class="comment">// a null string).</span></div>
+<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> SearchStrVal = State->getSVal(SearchStrPtr, LCtx);</div>
+<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span> State = checkNonNull(C, State, SearchStrPtr, SearchStrVal);</div>
+<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span> <span class="keywordflow">if</span> (!State)</div>
+<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span> <span class="keywordflow">return</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> <span class="comment">// Check that the delimiter string is non-null.</span></div>
+<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *DelimStr = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> DelimStrVal = State->getSVal(DelimStr, LCtx);</div>
+<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span> State = checkNonNull(C, State, DelimStr, DelimStrVal);</div>
+<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span> <span class="keywordflow">if</span> (!State)</div>
+<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span> </div>
+<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span> <a class="code" href="classclang_1_1ento_1_1SValBuilder.html">SValBuilder</a> &SVB = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a791437277a1f6304084fcd605ca3e4ee">getSValBuilder</a>();</div>
+<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Result;</div>
+<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span> <span class="keywordflow">if</span> (<a class="code" href="classllvm_1_1Optional.html">Optional<Loc></a> SearchStrLoc = SearchStrVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a4a9c4d5842ebb929dc6ed897ee2bd57a" title="Convert to the specified SVal type, returning None if this SVal is not of the desired type...">getAs</a><<a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a>>()) {</div>
+<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span> <span class="comment">// Get the current value of the search string pointer, as a char*.</span></div>
+<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span> Result = State->getSVal(*SearchStrLoc, CharPtrTy);</div>
+<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span> </div>
+<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span> <span class="comment">// Invalidate the search string, representing the change of one delimiter</span></div>
+<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span> <span class="comment">// character to NUL.</span></div>
+<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span> State = InvalidateBuffer(C, State, SearchStrPtr, Result,</div>
+<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span> <span class="comment">/*IsSourceBuffer*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span> </div>
+<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span> <span class="comment">// Overwrite the search string pointer. The new value is either an address</span></div>
+<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span> <span class="comment">// further along in the same string, or NULL if there are no more tokens.</span></div>
+<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span> State = State->bindLoc(*SearchStrLoc,</div>
+<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span> SVB.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(getTag(), CE, LCtx, CharPtrTy,</div>
+<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>()));</div>
+<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span> assert(SearchStrVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a482077b0704e75d4c618497c1f94e4cf">isUnknown</a>());</div>
+<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span> <span class="comment">// Conjure a symbolic value. It's the best we can do.</span></div>
+<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span> Result = SVB.<a class="code" href="classclang_1_1ento_1_1SValBuilder.html#a8bb590052ab3e46594a6be183b6802b0" title="Create a new symbol with a unique 'name'.">conjureSymbolVal</a>(0, CE, LCtx, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a0201b4f070b9c1c753d384664408070d" title="Returns the number of times the current block has been visited along the analyzed path...">blockCount</a>());</div>
+<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span> }</div>
+<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span> </div>
+<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span> <span class="comment">// Set the return value, and finish.</span></div>
+<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span> State = State->BindExpr(CE, LCtx, Result);</div>
+<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(State);</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> </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">// The driver method, and other Checker callbacks.</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> </div>
+<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span> <span class="keywordtype">bool</span> CStringChecker::evalCall(<span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE, <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FDecl = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a2a0e7306ff0eb1f79a33db7539516632" title="Get the declaration of the called function (path-sensitive).">getCalleeDecl</a>(CE);</div>
+<div class="line"><a name="l01861"></a><span class="lineno"> 1861</span> </div>
+<div class="line"><a name="l01862"></a><span class="lineno"> 1862</span> <span class="keywordflow">if</span> (!FDecl)</div>
+<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span> </div>
+<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span> <span class="comment">// FIXME: Poorly-factored string switches are slow.</span></div>
+<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span> FnCheck evalFunction = 0;</div>
+<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"memcpy"</span>))</div>
+<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span> evalFunction = &CStringChecker::evalMemcpy;</div>
+<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"mempcpy"</span>))</div>
+<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span> evalFunction = &CStringChecker::evalMempcpy;</div>
+<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"memcmp"</span>))</div>
+<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span> evalFunction = &CStringChecker::evalMemcmp;</div>
+<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"memmove"</span>))</div>
+<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span> evalFunction = &CStringChecker::evalMemmove;</div>
+<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strcpy"</span>))</div>
+<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span> evalFunction = &CStringChecker::evalStrcpy;</div>
+<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strncpy"</span>))</div>
+<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span> evalFunction = &CStringChecker::evalStrncpy;</div>
+<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"stpcpy"</span>))</div>
+<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span> evalFunction = &CStringChecker::evalStpcpy;</div>
+<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strcat"</span>))</div>
+<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span> evalFunction = &CStringChecker::evalStrcat;</div>
+<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strncat"</span>))</div>
+<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span> evalFunction = &CStringChecker::evalStrncat;</div>
+<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strlen"</span>))</div>
+<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span> evalFunction = &CStringChecker::evalstrLength;</div>
+<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strnlen"</span>))</div>
+<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span> evalFunction = &CStringChecker::evalstrnLength;</div>
+<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strcmp"</span>))</div>
+<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span> evalFunction = &CStringChecker::evalStrcmp;</div>
+<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strncmp"</span>))</div>
+<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span> evalFunction = &CStringChecker::evalStrncmp;</div>
+<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strcasecmp"</span>))</div>
+<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span> evalFunction = &CStringChecker::evalStrcasecmp;</div>
+<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strncasecmp"</span>))</div>
+<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span> evalFunction = &CStringChecker::evalStrncasecmp;</div>
+<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"strsep"</span>))</div>
+<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span> evalFunction = &CStringChecker::evalStrsep;</div>
+<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"bcopy"</span>))</div>
+<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span> evalFunction = &CStringChecker::evalBcopy;</div>
+<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span> <span class="keywordflow">else</span> <span class="keywordflow">if</span> (C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">isCLibraryFunction</a>(FDecl, <span class="stringliteral">"bcmp"</span>))</div>
+<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span> evalFunction = &CStringChecker::evalMemcmp;</div>
+<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span> </div>
+<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span> <span class="comment">// If the callee isn't a string function, let another checker handle it.</span></div>
+<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span> <span class="keywordflow">if</span> (!evalFunction)</div>
+<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span> </div>
+<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span> <span class="comment">// Make sure each function sets its own description.</span></div>
+<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span> <span class="comment">// (But don't bother in a release build.)</span></div>
+<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span> assert(!(CurrentFunctionDescription = <a class="code" href="stddef_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>));</div>
+<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span> </div>
+<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span> <span class="comment">// Check and evaluate the call.</span></div>
+<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span> (this->*evalFunction)(C, CE);</div>
+<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span> </div>
+<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span> <span class="comment">// If the evaluate call resulted in no change, chain to the next eval call</span></div>
+<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span> <span class="comment">// handler.</span></div>
+<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span> <span class="comment">// Note, the custom CString evaluation calls assume that basic safety</span></div>
+<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span> <span class="comment">// properties are held. However, if the user chooses to turn off some of these</span></div>
+<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span> <span class="comment">// checks, we ignore the issues and leave the call evaluation to a generic</span></div>
+<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span> <span class="comment">// handler.</span></div>
+<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span> <span class="keywordflow">if</span> (!C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7d64ec21be0907d04827e0ca8d2ed666" title="Check if the checker changed the state of the execution; ex: added a new transition or a bug report...">isDifferent</a>())</div>
+<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span> </div>
+<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span> }</div>
+<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span> </div>
+<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span> <span class="keywordtype">void</span> CStringChecker::checkPreStmt(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclStmt.html">DeclStmt</a> *DS, <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span> <span class="comment">// Record string length for char a[] = "abc";</span></div>
+<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span> </div>
+<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DeclStmt.html#afa787c81556cef57b0df3f11db4de056">DeclStmt::const_decl_iterator</a> I = DS-><a class="code" href="classclang_1_1DeclStmt.html#a768633348948e677e5cba8191d5507be">decl_begin</a>(), E = DS-><a class="code" href="classclang_1_1DeclStmt.html#a30441673be0ce59ad1a5ee98481d33ab">decl_end</a>();</div>
+<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span> I != E; ++I) {</div>
+<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1VarDecl.html">VarDecl</a> *D = dyn_cast<<a class="code" href="classclang_1_1VarDecl.html">VarDecl</a>>(*I);</div>
+<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span> <span class="keywordflow">if</span> (!D)</div>
+<div class="line"><a name="l01935"></a><span class="lineno"> 1935</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01936"></a><span class="lineno"> 1936</span> </div>
+<div class="line"><a name="l01937"></a><span class="lineno"> 1937</span> <span class="comment">// FIXME: Handle array fields of structs.</span></div>
+<div class="line"><a name="l01938"></a><span class="lineno"> 1938</span> <span class="keywordflow">if</span> (!D-><a class="code" href="classclang_1_1ValueDecl.html#aefa6d3327144aee23d2935f41d993484">getType</a>()-><a class="code" href="classclang_1_1Type.html#a53b83bd119ae77bc77e92dc69a8c8094">isArrayType</a>())</div>
+<div class="line"><a name="l01939"></a><span class="lineno"> 1939</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01940"></a><span class="lineno"> 1940</span> </div>
+<div class="line"><a name="l01941"></a><span class="lineno"> 1941</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *Init = D-><a class="code" href="classclang_1_1VarDecl.html#af6438debfc45cb2ad2d5cb5ce2711e0c">getInit</a>();</div>
+<div class="line"><a name="l01942"></a><span class="lineno"> 1942</span> <span class="keywordflow">if</span> (!Init)</div>
+<div class="line"><a name="l01943"></a><span class="lineno"> 1943</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01944"></a><span class="lineno"> 1944</span> <span class="keywordflow">if</span> (!isa<StringLiteral>(Init))</div>
+<div class="line"><a name="l01945"></a><span class="lineno"> 1945</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01946"></a><span class="lineno"> 1946</span> </div>
+<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span> <a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a> VarLoc = state->getLValue(D, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>());</div>
+<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR = VarLoc.<a class="code" href="classclang_1_1ento_1_1SVal.html#a314f514171211c8a941cac378ac55677">getAsRegion</a>();</div>
+<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span> <span class="keywordflow">if</span> (!MR)</div>
+<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span> </div>
+<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> StrVal = state->getSVal(Init, C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a7581c66c5849fab4a40b321024c9c136">getLocationContext</a>());</div>
+<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span> assert(StrVal.<a class="code" href="classclang_1_1ento_1_1SVal.html#a60499f1b987e106eeb72f974626af660">isValid</a>() && <span class="stringliteral">"Initializer string is unknown or undefined"</span>);</div>
+<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span> <a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a> strLength =</div>
+<div class="line"><a name="l01955"></a><span class="lineno"> 1955</span> getCStringLength(C, state, Init, StrVal).<a class="code" href="classclang_1_1ento_1_1SVal.html#aa678905bf16cd5cc2f97ab4fb143edee" title="Convert to the specified SVal type, asserting that this SVal is of the desired type.">castAs</a><<a class="code" href="classclang_1_1ento_1_1DefinedOrUnknownSVal.html">DefinedOrUnknownSVal</a>>();</div>
+<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span> </div>
+<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span> state = state->set<CStringLength>(MR, strLength);</div>
+<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span> }</div>
+<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span> </div>
+<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span> }</div>
+<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span> </div>
+<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span> <span class="keywordtype">bool</span> CStringChecker::wantsRegionChangeUpdate(ProgramStateRef state)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span> CStringLengthTy <a class="code" href="SemaOverload_8cpp.html#aada9fb11fc2f7b0dec4ef8195c16885e">Entries</a> = state->get<CStringLength>();</div>
+<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span> <span class="keywordflow">return</span> !Entries.isEmpty();</div>
+<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span> }</div>
+<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span> </div>
+<div class="line"><a name="l01968"></a><span class="lineno"> 1968</span> ProgramStateRef </div>
+<div class="line"><a name="l01969"></a><span class="lineno"> 1969</span> CStringChecker::checkRegionChanges(ProgramStateRef state,</div>
+<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span> <span class="keyword">const</span> <a class="code" href="classllvm_1_1DenseSet.html">InvalidatedSymbols</a> *,</div>
+<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span> <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const MemRegion *></a> ExplicitRegions,</div>
+<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span> <a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const MemRegion *></a> Regions,</div>
+<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1CallEvent.html" title="Represents an abstract call to a function or method along a particular path.">CallEvent</a> *Call)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span> CStringLengthTy Entries = state->get<CStringLength>();</div>
+<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span> <span class="keywordflow">if</span> (Entries.isEmpty())</div>
+<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span> <span class="keywordflow">return</span> state;</div>
+<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span> </div>
+<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span> llvm::SmallPtrSet<const MemRegion *, 8> Invalidated;</div>
+<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span> llvm::SmallPtrSet<const MemRegion *, 32> SuperRegions;</div>
+<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span> </div>
+<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span> <span class="comment">// First build sets for the changed regions and their super-regions.</span></div>
+<div class="line"><a name="l01982"></a><span class="lineno"> 1982</span> <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1ArrayRef.html">ArrayRef<const MemRegion *>::iterator</a></div>
+<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span> I = Regions.begin(), E = Regions.end(); I != E; ++I) {</div>
+<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR = *I;</div>
+<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span> Invalidated.insert(MR);</div>
+<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span> </div>
+<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span> SuperRegions.insert(MR);</div>
+<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span> <span class="keywordflow">while</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1SubRegion.html">SubRegion</a> *SR = dyn_cast<SubRegion>(MR)) {</div>
+<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span> MR = SR->getSuperRegion();</div>
+<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span> SuperRegions.insert(MR);</div>
+<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span> }</div>
+<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span> }</div>
+<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span> </div>
+<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span> CStringLengthTy::Factory &F = state->get_context<CStringLength>();</div>
+<div class="line"><a name="l01995"></a><span class="lineno"> 1995</span> </div>
+<div class="line"><a name="l01996"></a><span class="lineno"> 1996</span> <span class="comment">// Then loop over the entries in the current state.</span></div>
+<div class="line"><a name="l01997"></a><span class="lineno"> 1997</span> <span class="keywordflow">for</span> (CStringLengthTy::iterator I = Entries.begin(),</div>
+<div class="line"><a name="l01998"></a><span class="lineno"> 1998</span> E = Entries.end(); I != E; ++I) {</div>
+<div class="line"><a name="l01999"></a><span class="lineno"> 1999</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *MR = I.getKey();</div>
+<div class="line"><a name="l02000"></a><span class="lineno"> 2000</span> </div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span> <span class="comment">// Is this entry for a super-region of a changed region?</span></div>
+<div class="line"><a name="l02002"></a><span class="lineno"> 2002</span> <span class="keywordflow">if</span> (SuperRegions.count(MR)) {</div>
+<div class="line"><a name="l02003"></a><span class="lineno"> 2003</span> Entries = F.remove(Entries, MR);</div>
+<div class="line"><a name="l02004"></a><span class="lineno"> 2004</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l02005"></a><span class="lineno"> 2005</span> }</div>
+<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span> </div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span> <span class="comment">// Is this entry for a sub-region of a changed region?</span></div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1MemRegion.html" title="MemRegion - The root abstract class for all memory regions.">MemRegion</a> *Super = MR;</div>
+<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span> <span class="keywordflow">while</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1ento_1_1SubRegion.html">SubRegion</a> *SR = dyn_cast<SubRegion>(Super)) {</div>
+<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span> Super = SR->getSuperRegion();</div>
+<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span> <span class="keywordflow">if</span> (Invalidated.count(Super)) {</div>
+<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span> Entries = F.remove(Entries, MR);</div>
+<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span> }</div>
+<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span> }</div>
+<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span> }</div>
+<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span> </div>
+<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span> <span class="keywordflow">return</span> state->set<CStringLength>(<a class="code" href="SemaOverload_8cpp.html#aada9fb11fc2f7b0dec4ef8195c16885e">Entries</a>);</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="keywordtype">void</span> CStringChecker::checkLiveSymbols(ProgramStateRef state,</div>
+<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span> <a class="code" href="classclang_1_1ento_1_1SymbolReaper.html" title="A class responsible for cleaning up unused symbols.">SymbolReaper</a> &SR)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span> <span class="comment">// Mark all symbols in our string length map as valid.</span></div>
+<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span> CStringLengthTy Entries = state->get<CStringLength>();</div>
+<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span> </div>
+<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span> <span class="keywordflow">for</span> (CStringLengthTy::iterator I = Entries.begin(), E = Entries.end();</div>
+<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span> I != E; ++I) {</div>
+<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Len = I.getData();</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="keywordflow">for</span> (<a class="code" href="classclang_1_1ento_1_1SymExpr_1_1symbol__iterator.html" title="Iterator over symbols that the current symbol depends on.">SymExpr::symbol_iterator</a> si = Len.<a class="code" href="classclang_1_1ento_1_1SVal.html#ac01c104c62d99f045df89ee850070a5c">symbol_begin</a>(),</div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span> se = Len.<a class="code" href="classclang_1_1ento_1_1SVal.html#ad409b310fd4e3dc466de5e0e7f835235">symbol_end</a>(); si != se; ++si)</div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span> SR.<a class="code" href="classclang_1_1ento_1_1SymbolReaper.html#a6d882d903e931b71ae7f9d2f16d351c7" title="Marks a symbol as important to a checker.">markInUse</a>(*si);</div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span> }</div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span> }</div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span> </div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span> <span class="keywordtype">void</span> CStringChecker::checkDeadSymbols(<a class="code" href="classclang_1_1ento_1_1SymbolReaper.html" title="A class responsible for cleaning up unused symbols.">SymbolReaper</a> &SR,</div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span> <a class="code" href="classclang_1_1ento_1_1CheckerContext.html">CheckerContext</a> &C)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span> <span class="keywordflow">if</span> (!SR.<a class="code" href="classclang_1_1ento_1_1SymbolReaper.html#ac776050b5e73ff0079577308eabfbadf">hasDeadSymbols</a>())</div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span> </div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span> ProgramStateRef state = C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a81bd66f80b18117a9a64a8d0daa62825">getState</a>();</div>
+<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span> CStringLengthTy Entries = state->get<CStringLength>();</div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span> <span class="keywordflow">if</span> (Entries.isEmpty())</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span> <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span> </div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span> CStringLengthTy::Factory &F = state->get_context<CStringLength>();</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span> <span class="keywordflow">for</span> (CStringLengthTy::iterator I = Entries.begin(), E = Entries.end();</div>
+<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span> I != E; ++I) {</div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span> <a class="code" href="classclang_1_1ento_1_1SVal.html">SVal</a> Len = I.getData();</div>
+<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ento_1_1SymExpr.html" title="Symbolic value. These values used to capture symbolic execution of the program.">SymbolRef</a> Sym = Len.<a class="code" href="classclang_1_1ento_1_1SVal.html#ac25107c9210008fe3d0f8a4ee74eaa85" title="If this SVal wraps a symbol return that SymbolRef. Otherwise, return 0.">getAsSymbol</a>()) {</div>
+<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span> <span class="keywordflow">if</span> (SR.<a class="code" href="classclang_1_1ento_1_1SymbolReaper.html#a55a3e2deb99a8c138b1270b8cfdfd76d" title="Returns whether or not a symbol has been confirmed dead.">isDead</a>(Sym))</div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span> Entries = F.remove(Entries, I.getKey());</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> }</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span> </div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span> state = state->set<CStringLength>(<a class="code" href="SemaOverload_8cpp.html#aada9fb11fc2f7b0dec4ef8195c16885e">Entries</a>);</div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span> C.<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a264f48d97809707049689c37aa35af78" title="Generates a new transition in the program state graph (ExplodedGraph). Uses the default CheckerContex...">addTransition</a>(state);</div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span> }</div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span> </div>
+<div class="line"><a name="l02060"></a><span class="lineno"><a class="code" href="CStringChecker_8cpp.html#a16bafa3ab22e525da6f943cc02c2bef1"> 2060</a></span> <span class="preprocessor">#define REGISTER_CHECKER(name) \</span></div>
+<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span> <span class="preprocessor">void ento::register##name(CheckerManager &mgr) {\</span></div>
+<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span> <span class="preprocessor"> mgr.registerChecker<CStringChecker>()->Filter.Check##name = true; \</span></div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span> <span class="preprocessor">}</span></div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span> <a class="code" href="CStringChecker_8cpp.html#a16bafa3ab22e525da6f943cc02c2bef1">REGISTER_CHECKER</a>(CStringNullArg)</div>
+<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span> <a class="code" href="CStringChecker_8cpp.html#a16bafa3ab22e525da6f943cc02c2bef1">REGISTER_CHECKER</a>(CStringOutOfBounds)</div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span> <a class="code" href="CStringChecker_8cpp.html#a16bafa3ab22e525da6f943cc02c2bef1">REGISTER_CHECKER</a>(CStringBufferOverlap)</div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span> <a class="code" href="CStringChecker_8cpp.html#a16bafa3ab22e525da6f943cc02c2bef1">REGISTER_CHECKER</a>(CStringNotNullTerm)</div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span> </div>
+<div class="line"><a name="l02070"></a><span class="lineno"><a class="code" href="namespaceclang_1_1ento.html#a94ac23bc6e56e34e17ec18715d091d3b"> 2070</a></span> <span class="keywordtype">void</span> ento::<a class="code" href="namespaceclang_1_1ento.html#a94ac23bc6e56e34e17ec18715d091d3b" title="Register the checker which evaluates CString API calls.">registerCStringCheckerBasic</a>(<a class="code" href="classclang_1_1ento_1_1CheckerManager.html">CheckerManager</a> &Mgr) {</div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span> registerCStringNullArg(Mgr);</div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span> }</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CStringChecker_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringChecker_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,572 @@
+<!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: CStringChecker.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_fd0691f76a19cc33074025cb3a574e66.html">StaticAnalyzer</a></li><li class="navelem"><a class="el" href="dir_5fa4c591fb04e7ea3227105bf6cc3359.html">Checkers</a></li><li class="navelem"><a class="el" href="dir_6f95b71040c11c69a7222376e6764bfb.html">Release+Asserts</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CStringChecker.d</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CStringChecker_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/StaticAnalyzer/Checkers/Release+Asserts/CStringChecker.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/Release+Asserts/CStringChecker.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> CStringChecker.cpp ClangSACheckers.h \</div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h \
+ Checkers.inc InterCheckerAPI.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugType.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/Checker.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/ProgramPoint.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/AnalysisContext.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.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/PointerUnion.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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/StaticAnalyzer/Checkers/../../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00065"></a><span class="lineno"> 65</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00066"></a><span class="lineno"> 66</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/CFG.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Support/BumpVector.h \</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> /home/tstellar/llvm/include/llvm/ADT/GraphTraits.h \</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/CheckerManager.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="namespaceclang_1_1ento.html#ae512ebf5e0e9f696142c92f5b771ef39">Store</a>.h \</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTContext.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CanonicalType.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandTraits.h \</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandList.inc \</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/RawCommentList.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileSystemOptions.h \</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/AddressSpaces.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h \</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprObjC.h \</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclObjC.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00119"></a><span class="lineno"> 119</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h \</div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h \</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h \</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h \</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableList.h \</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h \</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h \</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h \</div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/AnalyzerOptions.h \</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang.html#ae9c75815d0d02c4fb4c86c9f86a8c9b9" title="Analysis - Set of available source code analyses.">Analyses</a>.def \</div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h \</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h \</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/DomainSpecific/ObjCNoReturn.h \</div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h \</div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h \</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h \</div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h \</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h \</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h \</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="ProgramState_8cpp.html#a561991ec13c8d67b74fb26984174e5a5">DynamicTypeInfo</a>.h \</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h \</div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableMap.h \</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableSet.h \</div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h \</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h \</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> /home/tstellar/llvm/include/llvm/ADT/ilist.h \</div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> /home/tstellar/llvm/include/llvm/ADT/ilist_node.h \</div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h \</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang_1_1ento.html#a6fdc30c38dd63e730328d865d956562e">PathDiagnosticConsumers</a>.h \</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h \</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h \</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h \</div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> /home/tstellar/llvm/include/llvm/ADT/DepthFirstIterator.h \</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h \</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> /home/tstellar/llvm/include/llvm/ADT/SmallBitVector.h \</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> /home/tstellar/llvm/include/llvm/ADT/BitVector.h \</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h \</div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h \</div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h \</div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> /home/tstellar/llvm/include/llvm/ADT/StringSwitch.h</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> ClangSACheckers.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h:</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> Checkers.inc:</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> InterCheckerAPI.h:</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CharInfo.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</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> /home/tstellar/llvm/include/llvm/ADT/None.h:</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> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugType.h:</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/Checker.h:</div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/ProgramPoint.h:</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/AnalysisContext.h:</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Decl.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/APValue.h:</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> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
+<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</div>
+<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</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> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclBase.h:</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/AttrIterator.h:</div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclarationName.h:</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/IdentifierTable.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.h:</div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.def:</div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.h:</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div>
+<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.def:</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> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
+<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</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> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/PartialDiagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Diagnostic.h:</div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div>
+<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticIDs.h:</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> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</div>
+<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticCommonKinds.inc:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.h:</div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceLocation.h:</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</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> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00273"></a><span class="lineno"> 273</span> </div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
+<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclNodes.inc:</div>
+<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div>
+<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExternalASTSource.h:</div>
+<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div>
+<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CharUnits.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Redeclarable.h:</div>
+<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
+<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div>
+<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/NestedNameSpecifier.h:</div>
+<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateName.h:</div>
+<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00293"></a><span class="lineno"> 293</span> </div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00295"></a><span class="lineno"> 295</span> </div>
+<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</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> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</div>
+<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div>
+<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeNodes.def:</div>
+<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/BuiltinTypes.def:</div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div>
+<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</div>
+<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</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> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</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> /home/tstellar/llvm/include/llvm/Support/system_error.h:</div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div>
+<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/CFG.h:</div>
+<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div>
+<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtIterator.h:</div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CapturedStmt.h:</div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtNodes.inc:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Support/BumpVector.h:</div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div>
+<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> /home/tstellar/llvm/include/llvm/ADT/GraphTraits.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/CheckerManager.h:</div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CommentOptions.h:</div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ObjCRuntime.h:</div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/VersionTuple.h:</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> /home/tstellar/llvm/include/llvm/ADT/Triple.h:</div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Sanitizers.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.def:</div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenCLExtensions.def:</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div>
+<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="namespaceclang_1_1ento.html#ae512ebf5e0e9f696142c92f5b771ef39">Store</a>.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:</div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTContext.h:</div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTTypeTraits.h:</div>
+<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTFwd.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateBase.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLoc.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLocNodes.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CanonicalType.h:</div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div>
+<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandTraits.h:</div>
+<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div>
+<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandList.inc:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/PrettyPrinter.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/RawCommentList.h:</div>
+<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div>
+<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceManager.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileManager.h:</div>
+<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div>
+<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileSystemOptions.h:</div>
+<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div>
+<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h:</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> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h:</div>
+<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div>
+<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h:</div>
+<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div>
+<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> /home/tstellar/llvm/include/llvm-c/Core.h:</div>
+<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div>
+<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/AddressSpaces.h:</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> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</div>
+<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div>
+<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprObjC.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclObjC.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00401"></a><span class="lineno"> 401</span> </div>
+<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Expr.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div>
+<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclAccessPair.h:</div>
+<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div>
+<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div>
+<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TypeTraits.h:</div>
+<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div>
+<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Builtins.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:</div>
+<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div>
+<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/ImmutableList.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:</div>
+<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div>
+<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h:</div>
+<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div>
+<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h:</div>
+<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> </div>
+<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang.html#ae9c75815d0d02c4fb4c86c9f86a8c9b9" title="Analysis - Set of available source code analyses.">Analyses</a>.def:</div>
+<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div>
+<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:</div>
+<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div>
+<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:</div>
+<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div>
+<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/DomainSpecific/ObjCNoReturn.h:</div>
+<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div>
+<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:</div>
+<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> </div>
+<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:</div>
+<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div>
+<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:</div>
+<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div>
+<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:</div>
+<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div>
+<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h:</div>
+<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div>
+<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="ProgramState_8cpp.html#a561991ec13c8d67b74fb26984174e5a5">DynamicTypeInfo</a>.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h:</div>
+<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div>
+<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableMap.h:</div>
+<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div>
+<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableSet.h:</div>
+<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> </div>
+<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h:</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> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h:</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> /home/tstellar/llvm/include/llvm/ADT/ilist.h:</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> /home/tstellar/llvm/include/llvm/ADT/ilist_node.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:</div>
+<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> </div>
+<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang_1_1ento.html#a6fdc30c38dd63e730328d865d956562e">PathDiagnosticConsumers</a>.h:</div>
+<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div>
+<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:</div>
+<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div>
+<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h:</div>
+<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div>
+<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:</div>
+<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> </div>
+<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> /home/tstellar/llvm/include/llvm/ADT/DepthFirstIterator.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h:</div>
+<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div>
+<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> /home/tstellar/llvm/include/llvm/ADT/SmallBitVector.h:</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> /home/tstellar/llvm/include/llvm/ADT/BitVector.h:</div>
+<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div>
+<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h:</div>
+<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div>
+<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:</div>
+<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> </div>
+<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h:</div>
+<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div>
+<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> /home/tstellar/llvm/include/llvm/ADT/StringSwitch.h:</div>
+<div class="line"><a name="l00493"></a><span class="lineno"> 493</span> </div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CStringSyntaxChecker_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,270 @@
+<!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: CStringSyntaxChecker.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_fd0691f76a19cc33074025cb3a574e66.html">StaticAnalyzer</a></li><li class="navelem"><a class="el" href="dir_5fa4c591fb04e7ea3227105bf6cc3359.html">Checkers</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CStringSyntaxChecker.cpp</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CStringSyntaxChecker_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">//== CStringSyntaxChecker.cpp - CoreFoundation containers API *- C++ -*-==//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// An AST checker that looks for common pitfalls when using C string APIs.</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// - Identifies erroneous patterns in the last argument to strncat - the number</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// of bytes to copy.</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="ClangSACheckers_8h.html">ClangSACheckers.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="Expr_8h.html">clang/AST/Expr.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="OperationKinds_8h.html">clang/AST/OperationKinds.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="StmtVisitor_8h.html">clang/AST/StmtVisitor.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="AnalysisContext_8h.html">clang/Analysis/AnalysisContext.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="include_2clang_2Basic_2TargetInfo_8h.html" title="Defines the clang::TargetInfo interface.">clang/Basic/TargetInfo.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="TypeTraits_8h.html" title="Defines enumerations for the type traits support.">clang/Basic/TypeTraits.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="BugReporter_8h.html">clang/StaticAnalyzer/Core/BugReporter/BugReporter.h</a>"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "<a class="code" href="Checker_8h.html">clang/StaticAnalyzer/Core/Checker.h</a>"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="AnalysisManager_8h.html">clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h</a>"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="CheckerContext_8h.html">clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h</a>"</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "llvm/ADT/SmallString.h"</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "llvm/Support/raw_ostream.h"</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">using namespace </span>ento;</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span>WalkAST: <span class="keyword">public</span> <a class="code" href="classclang_1_1StmtVisitor.html">StmtVisitor</a><WalkAST> {</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <a class="code" href="classclang_1_1ento_1_1BugReporter.html">BugReporter</a> &BR;</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <a class="code" href="classclang_1_1AnalysisDeclContext.html">AnalysisDeclContext</a>* AC;</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"></span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> /// Check if two expressions refer to the same declaration.</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> sameDecl(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *A1, <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *A2) {</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclRefExpr.html" title="A reference to a declared variable, function, enum, etc. [C99 6.5.1p2].">DeclRefExpr</a> *D1 = dyn_cast<DeclRefExpr>(A1-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>()))</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclRefExpr.html" title="A reference to a declared variable, function, enum, etc. [C99 6.5.1p2].">DeclRefExpr</a> *D2 = dyn_cast<DeclRefExpr>(A2-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>()))</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordflow">return</span> D1-><a class="code" href="classclang_1_1AnalysisDeclContext.html#a186957365fe71ad94edd297ac9446ac9">getDecl</a>() == D2->getDecl();</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keywordflow">return</span> <span class="keyword">false</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> <span class="comment"></span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> /// Check if the expression E is a sizeof(WithArg).</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> isSizeof(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E, <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *WithArg) {</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a> *UE =</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> dyn_cast<UnaryExprOrTypeTraitExpr>(E))</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keywordflow">if</span> (UE->getKind() == <a class="code" href="namespaceclang.html#a5d73f06594a5ccb763a726bed94a541fab5694f3b82246fb24857d74abfd90edd">UETT_SizeOf</a>)</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keywordflow">return</span> sameDecl(UE->getArgumentExpr(), WithArg);</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</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"> /// Check if the expression E is a strlen(WithArg).</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> isStrlen(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E, <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *WithArg) {</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE = dyn_cast<CallExpr>(E)) {</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = CE->getDirectCallee();</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keywordflow">if</span> (!FD)</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keywordflow">return</span> (<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">CheckerContext::isCLibraryFunction</a>(FD, <span class="stringliteral">"strlen"</span>) &&</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> sameDecl(CE->getArg(0), WithArg));</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"></span></div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> /// Check if the expression is an integer literal with value 1.</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> isOne(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E) {</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1IntegerLiteral.html">IntegerLiteral</a> *IL = dyn_cast<IntegerLiteral>(E))</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keywordflow">return</span> (IL->getValue().isIntN(1));</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</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> </div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">inline</span> StringRef getPrintableName(<span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *E) {</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclRefExpr.html" title="A reference to a declared variable, function, enum, etc. [C99 6.5.1p2].">DeclRefExpr</a> *D = dyn_cast<DeclRefExpr>(E-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>()))</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keywordflow">return</span> D->getDecl()-><a class="code" href="classclang_1_1NamedDecl.html#aaf790590f634520a99e0b45699fc45c3">getName</a>();</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keywordflow">return</span> StringRef();</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> }</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"></span></div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> /// Identify erroneous patterns in the last argument to strncat - the number</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> /// of bytes to copy.</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"></span> <span class="keywordtype">bool</span> containsBadStrncatPattern(<span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE);</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> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> WalkAST(<a class="code" href="classclang_1_1ento_1_1BugReporter.html">BugReporter</a> &br, <a class="code" href="classclang_1_1AnalysisDeclContext.html">AnalysisDeclContext</a>* ac) :</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> BR(br), AC(ac) {</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> }</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">// Statement visitor methods.</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="keywordtype">void</span> VisitChildren(<a class="code" href="classclang_1_1Stmt.html">Stmt</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>);</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">void</span> VisitStmt(<a class="code" href="classclang_1_1Stmt.html">Stmt</a> *<a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>) {</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> VisitChildren(S);</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> VisitCallExpr(<a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE);</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> };</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <span class="comment">// end anonymous namespace</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// The correct size argument should look like following:</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">// strncat(dst, src, sizeof(dst) - strlen(dest) - 1);</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">// We look for the following anti-patterns:</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">// - strncat(dst, src, sizeof(dst) - strlen(dst));</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">// - strncat(dst, src, sizeof(dst) - 1);</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// - strncat(dst, src, sizeof(dst));</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keywordtype">bool</span> WalkAST::containsBadStrncatPattern(<span class="keyword">const</span> <a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) {</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> (CE-><a class="code" href="classclang_1_1CallExpr.html#a244fff3c657a825bbfe3771137c8fb83">getNumArgs</a>() != 3)</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *DstArg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *SrcArg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(1);</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *LenArg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2);</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="comment">// Identify wrong size expressions, which are commonly used instead.</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1BinaryOperator.html" title="A builtin binary operation expression such as "x + y" or "x <= y".">BinaryOperator</a> *BE =</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> dyn_cast<BinaryOperator>(LenArg-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>())) {</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment">// - sizeof(dst) - strlen(dst)</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keywordflow">if</span> (BE->getOpcode() == <a class="code" href="namespaceclang.html#a443b552ee80020cfeb2b86c99e7f85e1af84c54a9c8a061371180b3e8b25d4c3f">BO_Sub</a>) {</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *L = BE->getLHS();</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *R = BE->getRHS();</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">if</span> (isSizeof(L, DstArg) && isStrlen(R, DstArg))</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// - sizeof(dst) - 1</span></div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">if</span> (isSizeof(L, DstArg) && isOne(R-><a class="code" href="classclang_1_1Expr.html#a397a707d10e0d3ac4a150325eafa4368">IgnoreParenCasts</a>()))</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> }</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> }</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment">// - sizeof(dst)</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="keywordflow">if</span> (isSizeof(LenArg, DstArg))</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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="comment">// - sizeof(src)</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">if</span> (isSizeof(LenArg, SrcArg))</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</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="keywordtype">void</span> WalkAST::VisitCallExpr(<a class="code" href="classclang_1_1CallExpr.html">CallExpr</a> *CE) {</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1FunctionDecl.html">FunctionDecl</a> *FD = CE-><a class="code" href="classclang_1_1CallExpr.html#a88bb91e7e67e378fd6a895c1f679901d" title="If the callee is a FunctionDecl, return it. Otherwise return 0.">getDirectCallee</a>();</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keywordflow">if</span> (!FD)</div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keywordflow">return</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> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1ento_1_1CheckerContext.html#a8f93b32f63a09f4c68bde707e3f8ab5d" title="Returns true if the callee is an externally-visible function in the top-level namespace, such as malloc.">CheckerContext::isCLibraryFunction</a>(FD, <span class="stringliteral">"strncat"</span>)) {</div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">if</span> (containsBadStrncatPattern(CE)) {</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *DstArg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(0);</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1Expr.html">Expr</a> *LenArg = CE-><a class="code" href="classclang_1_1CallExpr.html#aa454d6f1e76623da60451885239f63c6" title="getArg - Return the specified argument.">getArg</a>(2);</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <a class="code" href="classclang_1_1ento_1_1PathDiagnosticLocation.html">PathDiagnosticLocation</a> <a class="code" href="classclang_1_1ento_1_1Loc.html">Loc</a> =</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <a class="code" href="classclang_1_1ento_1_1PathDiagnosticLocation.html#aa4cb63cfb236b8703eb589ab405b461c" title="Create a location for the beginning of the declaration.">PathDiagnosticLocation::createBegin</a>(LenArg, BR.getSourceManager(), AC);</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> StringRef DstName = getPrintableName(DstArg);</div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <a class="code" href="classllvm_1_1SmallString.html">SmallString<256></a> <a class="code" href="AnalysisBasedWarnings_8cpp.html#a33dc45a03958a0bf07b5da2dec4db648">S</a>;</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> llvm::raw_svector_ostream os(S);</div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> os << <span class="stringliteral">"Potential buffer overflow. "</span>;</div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keywordflow">if</span> (!DstName.empty()) {</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> os << <span class="stringliteral">"Replace with 'sizeof("</span> << DstName << <span class="stringliteral">") "</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="stringliteral">"- strlen("</span> << DstName <<<span class="stringliteral">") - 1'"</span>;</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> os << <span class="stringliteral">" or u"</span>;</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> os << <span class="stringliteral">"U"</span>;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> os << <span class="stringliteral">"se a safer 'strlcat' API"</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> BR.EmitBasicReport(FD, <span class="stringliteral">"Anti-pattern in the argument"</span>, <span class="stringliteral">"C String API"</span>,</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> os.str(), Loc, LenArg-><a class="code" href="classclang_1_1Stmt.html#a6844392ee6148b5fe821f211b95e5d1b">getSourceRange</a>());</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> }</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">// Recurse and check children.</span></div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> VisitChildren(CE);</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> </div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keywordtype">void</span> WalkAST::VisitChildren(<a class="code" href="classclang_1_1Stmt.html">Stmt</a> *S) {</div>
+<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="keywordflow">for</span> (<a class="code" href="structclang_1_1StmtIterator.html">Stmt::child_iterator</a> I = S-><a class="code" href="classclang_1_1Stmt.html#a52a20468e7b2880de813ed91d75d2617">child_begin</a>(), E = S-><a class="code" href="classclang_1_1Stmt.html#a7a17d445eb6027180bbdc518e6cdb63a">child_end</a>(); I != E;</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> ++I)</div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Stmt.html">Stmt</a> *child = *I)</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> Visit(child);</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> </div>
+<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="keyword">class </span>CStringSyntaxChecker: <span class="keyword">public</span> <a class="code" href="classclang_1_1ento_1_1Checker.html">Checker</a><check::ASTCodeBody> {</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keywordtype">void</span> checkASTCodeBody(<span class="keyword">const</span> <a class="code" href="classclang_1_1Decl.html">Decl</a> *D, <a class="code" href="classclang_1_1ento_1_1AnalysisManager.html">AnalysisManager</a>& Mgr,</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <a class="code" href="classclang_1_1ento_1_1BugReporter.html">BugReporter</a> &BR)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> WalkAST walker(BR, Mgr.<a class="code" href="classclang_1_1ento_1_1AnalysisManager.html#a185840b882a72734b4b2fa289825ab3b">getAnalysisDeclContext</a>(D));</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> walker.Visit(D-><a class="code" href="classclang_1_1Decl.html#a128fd27b232c03226d9a34fcfa959e01">getBody</a>());</div>
+<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> }</div>
+<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> };</div>
+<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> }</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> <span class="keywordtype">void</span> ento::registerCStringSyntaxChecker(<a class="code" href="classclang_1_1ento_1_1CheckerManager.html">CheckerManager</a> &mgr) {</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> mgr.<a class="code" href="classclang_1_1ento_1_1CheckerManager.html#ab3845ff8b66a7617efdadb219829414a" title="Used to register checkers.">registerChecker</a><CStringSyntaxChecker>();</div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div>
+<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CStringSyntaxChecker_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CStringSyntaxChecker_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,606 @@
+<!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: CStringSyntaxChecker.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_fd0691f76a19cc33074025cb3a574e66.html">StaticAnalyzer</a></li><li class="navelem"><a class="el" href="dir_5fa4c591fb04e7ea3227105bf6cc3359.html">Checkers</a></li><li class="navelem"><a class="el" href="dir_6f95b71040c11c69a7222376e6764bfb.html">Release+Asserts</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CStringSyntaxChecker.d</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CStringSyntaxChecker_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/StaticAnalyzer/Checkers/Release+Asserts/CStringSyntaxChecker.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/Release+Asserts/CStringSyntaxChecker.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> CStringSyntaxChecker.cpp ClangSACheckers.h \</div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h \
+ Checkers.inc \</div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00051"></a><span class="lineno"> 51</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00062"></a><span class="lineno"> 62</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00063"></a><span class="lineno"> 63</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtVisitor.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprObjC.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclObjC.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00092"></a><span class="lineno"> 92</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtCXX.h \</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtObjC.h \</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtOpenMP.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenMPKinds.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenMPKinds.def \</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/AnalysisContext.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/CFG.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Support/BumpVector.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> /home/tstellar/llvm/include/llvm/ADT/GraphTraits.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetInfo.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/AddressSpaces.h \</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetCXXABI.h \</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetOptions.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> /home/tstellar/llvm/include/llvm/ADT/StringSwitch.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h \</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/AnalyzerOptions.h \</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang.html#ae9c75815d0d02c4fb4c86c9f86a8c9b9" title="Analysis - Set of available source code analyses.">Analyses</a>.def \</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h \</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h \</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableList.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h \</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/ProgramPoint.h \</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h \</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h \</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="ProgramState_8cpp.html#a561991ec13c8d67b74fb26984174e5a5">DynamicTypeInfo</a>.h \</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h \</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableMap.h \</div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableSet.h \</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h \</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTContext.h \</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CanonicalType.h \</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandTraits.h \</div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandList.inc \</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/RawCommentList.h \</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileSystemOptions.h \</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h \</div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h \</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h \</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h \</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="namespaceclang_1_1ento.html#ae512ebf5e0e9f696142c92f5b771ef39">Store</a>.h \</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h \</div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h \</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> /home/tstellar/llvm/include/llvm/ADT/ilist.h \</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> /home/tstellar/llvm/include/llvm/ADT/ilist_node.h \</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/Checker.h \</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/CheckerManager.h \</div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h \</div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang_1_1ento.html#a6fdc30c38dd63e730328d865d956562e">PathDiagnosticConsumers</a>.h \</div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h \</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h \</div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/DomainSpecific/ObjCNoReturn.h \</div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h \</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h \</div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h \</div>
+<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> /home/tstellar/llvm/include/llvm/ADT/DepthFirstIterator.h \</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h \</div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> /home/tstellar/llvm/include/llvm/ADT/SmallBitVector.h \</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> /home/tstellar/llvm/include/llvm/ADT/BitVector.h \</div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h \</div>
+<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h \</div>
+<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> ClangSACheckers.h:</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h:</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> Checkers.inc:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Expr.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/APValue.h:</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</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> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> /home/tstellar/llvm/include/llvm/ADT/None.h:</div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</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> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</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> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</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> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
+<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</div>
+<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTVector.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/AttrIterator.h:</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Decl.h:</div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclBase.h:</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclarationName.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/IdentifierTable.h:</div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.h:</div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OperatorKinds.def:</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div>
+<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TokenKinds.def:</div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
+<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</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> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/PartialDiagnostic.h:</div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div>
+<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Diagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticIDs.h:</div>
+<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticCommonKinds.inc:</div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/DiagnosticOptions.def:</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceLocation.h:</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> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00275"></a><span class="lineno"> 275</span> </div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
+<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</div>
+<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div>
+<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclNodes.inc:</div>
+<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div>
+<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExternalASTSource.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CharUnits.h:</div>
+<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
+<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Redeclarable.h:</div>
+<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div>
+<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/NestedNameSpecifier.h:</div>
+<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateName.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00297"></a><span class="lineno"> 297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00299"></a><span class="lineno"> 299</span> </div>
+<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div>
+<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</div>
+<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div>
+<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeNodes.def:</div>
+<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/BuiltinTypes.def:</div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</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> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</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> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div>
+<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</div>
+<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div>
+<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> /home/tstellar/llvm/include/llvm/Support/system_error.h:</div>
+<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclAccessPair.h:</div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclGroup.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtIterator.h:</div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div>
+<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CapturedStmt.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TemplateBase.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TypeTraits.h:</div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Builtins.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtVisitor.h:</div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprCXX.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div>
+<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Lambda.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ExprObjC.h:</div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/DeclObjC.h:</div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../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="l00357"></a><span class="lineno"> 357</span> </div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtCXX.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtObjC.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/StmtOpenMP.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenMPKinds.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenMPKinds.def:</div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div>
+<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/AnalysisContext.h:</div>
+<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div>
+<div class="line"><a name="l00370"></a><span class="lineno"> 370</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/CFG.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/Support/BumpVector.h:</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> /home/tstellar/llvm/include/llvm/ADT/GraphTraits.h:</div>
+<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div>
+<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetInfo.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/AddressSpaces.h:</div>
+<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div>
+<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetCXXABI.h:</div>
+<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div>
+<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/TargetOptions.h:</div>
+<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div>
+<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/VersionTuple.h:</div>
+<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div>
+<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> /home/tstellar/llvm/include/llvm/ADT/StringSwitch.h:</div>
+<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> </div>
+<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:</div>
+<div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div>
+<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang.html#ae9c75815d0d02c4fb4c86c9f86a8c9b9" title="Analysis - Set of available source code analyses.">Analyses</a>.def:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h:</div>
+<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div>
+<div class="line"><a name="l00406"></a><span class="lineno"> 406</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h:</div>
+<div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div>
+<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableList.h:</div>
+<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div>
+<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:</div>
+<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div>
+<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/ProgramPoint.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:</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> /home/tstellar/llvm/include/llvm/Support/SaveAndRestore.h:</div>
+<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div>
+<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="ProgramState_8cpp.html#a561991ec13c8d67b74fb26984174e5a5">DynamicTypeInfo</a>.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h:</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> /home/tstellar/llvm/include/llvm/ADT/ImmutableMap.h:</div>
+<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div>
+<div class="line"><a name="l00426"></a><span class="lineno"> 426</span> /home/tstellar/llvm/include/llvm/ADT/ImmutableSet.h:</div>
+<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div>
+<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:</div>
+<div class="line"><a name="l00429"></a><span class="lineno"> 429</span> </div>
+<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTContext.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTTypeTraits.h:</div>
+<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div>
+<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/ASTFwd.h:</div>
+<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div>
+<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLoc.h:</div>
+<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> </div>
+<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/TypeLocNodes.def:</div>
+<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div>
+<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CanonicalType.h:</div>
+<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> </div>
+<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandTraits.h:</div>
+<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div>
+<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/CommentOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/CommentCommandList.inc:</div>
+<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div>
+<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/PrettyPrinter.h:</div>
+<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div>
+<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.h:</div>
+<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> </div>
+<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/ObjCRuntime.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/Sanitizers.def:</div>
+<div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div>
+<div class="line"><a name="l00456"></a><span class="lineno"> 456</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/LangOptions.def:</div>
+<div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div>
+<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/OpenCLExtensions.def:</div>
+<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> </div>
+<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/AST/RawCommentList.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/SourceManager.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileManager.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Basic/FileSystemOptions.h:</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> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h:</div>
+<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> </div>
+<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h:</div>
+<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div>
+<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> /home/tstellar/llvm/include/llvm-c/Core.h:</div>
+<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div>
+<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</div>
+<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div>
+<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h:</div>
+<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> </div>
+<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h:</div>
+<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div>
+<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/<a class="code" href="namespaceclang_1_1ento.html#ae512ebf5e0e9f696142c92f5b771ef39">Store</a>.h:</div>
+<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div>
+<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h:</div>
+<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div>
+<div class="line"><a name="l00488"></a><span class="lineno"> 488</span> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h:</div>
+<div class="line"><a name="l00489"></a><span class="lineno"> 489</span> </div>
+<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> /home/tstellar/llvm/include/llvm/ADT/ilist.h:</div>
+<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div>
+<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> /home/tstellar/llvm/include/llvm/ADT/ilist_node.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/Checker.h:</div>
+<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> </div>
+<div class="line"><a name="l00496"></a><span class="lineno"> 496</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/CheckerManager.h:</div>
+<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> </div>
+<div class="line"><a name="l00498"></a><span class="lineno"> 498</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/<a class="code" href="namespaceclang_1_1ento.html#a6fdc30c38dd63e730328d865d956562e">PathDiagnosticConsumers</a>.h:</div>
+<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div>
+<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:</div>
+<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> </div>
+<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/Analysis/DomainSpecific/ObjCNoReturn.h:</div>
+<div class="line"><a name="l00507"></a><span class="lineno"> 507</span> </div>
+<div class="line"><a name="l00508"></a><span class="lineno"> 508</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h:</div>
+<div class="line"><a name="l00511"></a><span class="lineno"> 511</span> </div>
+<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:</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> /home/tstellar/llvm/include/llvm/ADT/DepthFirstIterator.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h:</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> /home/tstellar/llvm/include/llvm/ADT/SmallBitVector.h:</div>
+<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> </div>
+<div class="line"><a name="l00520"></a><span class="lineno"> 520</span> /home/tstellar/llvm/include/llvm/ADT/BitVector.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h:</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> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:</div>
+<div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div>
+<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> /home/tstellar/llvm/tools/clang/lib/StaticAnalyzer/Checkers/../../../include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h:</div>
+<div class="line"><a name="l00527"></a><span class="lineno"> 527</span> </div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXCompilationDatabase_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXCompilationDatabase_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXCompilationDatabase_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXCompilationDatabase_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,249 @@
+<!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: CXCompilationDatabase.h Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_20cb356d6c8b31fc069cdab0f3272f7d.html">clang-c</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXCompilationDatabase.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXCompilationDatabase_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*===-- clang-c/CXCompilationDatabase.h - Compilation database ---*- C -*-===*\</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">|* The LLVM Compiler Infrastructure *|</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">|* This file is distributed under the University of Illinois Open Source *|</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">|* License. See LICENSE.TXT for details. *|</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">|*===----------------------------------------------------------------------===*|</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">|* This header provides a public inferface to use CompilationDatabase without *|</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">|* the full Clang C++ API. *|</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">\*===----------------------------------------------------------------------===*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef CLANG_CXCOMPILATIONDATABASE_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define CLANG_CXCOMPILATIONDATABASE_H</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="Platform_8h.html">clang-c/Platform.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="CXString_8h.html">clang-c/CXString.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span><span class="comment"></span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">/** \defgroup COMPILATIONDB CompilationDatabase functions</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * \ingroup CINDEX</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * @{</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"></span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> * A compilation database holds all information used to compile files in a</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * project. For each file in the database, it can be queried for the working</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * directory or the command line used for the compiler invocation.</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"> * Must be freed by \c clang_CompilationDatabase_dispose</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="group__COMPILATIONDB.html#gaecfc6e98d321bc436061472f4e4f84b2"> 38</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code" href="group__COMPILATIONDB.html#gaecfc6e98d321bc436061472f4e4f84b2">CXCompilationDatabase</a>;</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"></span></div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> * \brief Contains the results of a search in the compilation database</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"> * When searching for the compile command for a file, the compilation db can</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * return several commands, as the file may have been compiled with</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> * different options in different places of the project. This choice of compile</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> * commands is wrapped in this opaque data structure. It must be freed by</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> * \c clang_CompileCommands_dispose.</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="group__COMPILATIONDB.html#gab8bb09eb53b86dbd645dc3ed2b6b7248"> 49</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code" href="group__COMPILATIONDB.html#gab8bb09eb53b86dbd645dc3ed2b6b7248" title="Contains the results of a search in the compilation database.">CXCompileCommands</a>;</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">/**</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"> * \brief Represents the command line invocation to compile a specific file.</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"><a class="code" href="group__COMPILATIONDB.html#gae59272595ab7fa4c1ed03348c56264bf"> 54</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> * <a class="code" href="group__COMPILATIONDB.html#gae59272595ab7fa4c1ed03348c56264bf" title="Represents the command line invocation to compile a specific file.">CXCompileCommand</a>;</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"></span></div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> * \brief Error codes for Compilation Database</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="group__COMPILATIONDB.html#gaf3d54e270b01e34f9db65579014255f8"> 59</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">/*</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> * \brief No error occurred</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="group__COMPILATIONDB.html#ggaf3d54e270b01e34f9db65579014255f8a7d22da7071f95be73a2b1332d51850a6"> 63</a></span> <a class="code" href="group__COMPILATIONDB.html#ggaf3d54e270b01e34f9db65579014255f8a7d22da7071f95be73a2b1332d51850a6">CXCompilationDatabase_NoError</a> = 0,</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">/*</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> * \brief Database can not be loaded</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="group__COMPILATIONDB.html#ggaf3d54e270b01e34f9db65579014255f8a9197b98252438c734541518ac5dc04ed"> 68</a></span> <a class="code" href="group__COMPILATIONDB.html#ggaf3d54e270b01e34f9db65579014255f8a9197b98252438c734541518ac5dc04ed">CXCompilationDatabase_CanNotLoadDatabase</a> = 1</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> } <a class="code" href="group__COMPILATIONDB.html#gaf3d54e270b01e34f9db65579014255f8" title="Error codes for Compilation Database.">CXCompilationDatabase_Error</a>;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"></span></div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> * \brief Creates a compilation database from the database found in directory</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> * buildDir. For example, CMake can output a compile_commands.json which can</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> * be used to build the database.</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> * It must be freed by \c clang_CompilationDatabase_dispose.</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> CXCompilationDatabase</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <a class="code" href="group__COMPILATIONDB.html#gae0822a6a54afaea92bad5d3b3256bf26" title="Creates a compilation database from the database found in directory buildDir. For example...">clang_CompilationDatabase_fromDirectory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *BuildDir,</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="code" href="group__COMPILATIONDB.html#gaf3d54e270b01e34f9db65579014255f8" title="Error codes for Compilation Database.">CXCompilationDatabase_Error</a> *ErrorCode);</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"></span></div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> * \brief Free the given compilation database</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">void</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <a class="code" href="group__COMPILATIONDB.html#ga9c9a62e39662323d5d88b7f8d22a3129" title="Free the given compilation database.">clang_CompilationDatabase_dispose</a>(CXCompilationDatabase);</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"></span></div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> * \brief Find the compile commands used for a file. The compile commands</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"> * must be freed by \c clang_CompileCommands_dispose.</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> CXCompileCommands</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <a class="code" href="group__COMPILATIONDB.html#gad6c072a878af02ef344590b96d7613e2" title="Find the compile commands used for a file. The compile commands must be freed by clang_CompileCommand...">clang_CompilationDatabase_getCompileCommands</a>(CXCompilationDatabase,</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *CompleteFileName);</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"></span></div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> * \brief Get all the compile commands in the given compilation database.</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> CXCompileCommands</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <a class="code" href="group__COMPILATIONDB.html#ga65f9d58b6164f2637a2620cfbfe0fd84" title="Get all the compile commands in the given compilation database.">clang_CompilationDatabase_getAllCompileCommands</a>(CXCompilationDatabase);</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"></span></div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"> * \brief Free the given CompileCommands</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">void</span> <a class="code" href="group__COMPILATIONDB.html#ga8955617a7123eae258acacf11b930505" title="Free the given CompileCommands.">clang_CompileCommands_dispose</a>(CXCompileCommands);</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"></span></div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment"> * \brief Get the number of CompileCommand we have for a file</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">unsigned</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <a class="code" href="group__COMPILATIONDB.html#ga276329b9260a0b7d2ed25ccb8da88066" title="Get the number of CompileCommand we have for a file.">clang_CompileCommands_getSize</a>(CXCompileCommands);</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"></span></div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * \brief Get the I'th CompileCommand for a file</span></div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"> * Note : 0 <= i < clang_CompileCommands_getSize(CXCompileCommands)</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> CXCompileCommand</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <a class="code" href="group__COMPILATIONDB.html#gae623cfcbfc272851154922ede0ed2b8f" title="Get the I'th CompileCommand for a file.">clang_CompileCommands_getCommand</a>(CXCompileCommands, <span class="keywordtype">unsigned</span> I);</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"></span></div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment"> * \brief Get the working directory where the CompileCommand was executed from</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <a class="code" href="structCXString.html" title="A character string.">CXString</a></div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <a class="code" href="group__COMPILATIONDB.html#gaa9bf6d3d4d19b8e32efc58cdc0fe53ad" title="Get the working directory where the CompileCommand was executed from.">clang_CompileCommand_getDirectory</a>(CXCompileCommand);</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"></span></div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> * \brief Get the number of arguments in the compiler invocation.</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">unsigned</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <a class="code" href="group__COMPILATIONDB.html#gaebda187f1c1807c3f612df26b20c12b2" title="Get the number of arguments in the compiler invocation.">clang_CompileCommand_getNumArgs</a>(CXCompileCommand);</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"></span></div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"> * \brief Get the I'th argument value in the compiler invocations</span></div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> * Invariant :</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> * - argument 0 is the compiler executable</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <a class="code" href="structCXString.html" title="A character string.">CXString</a></div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <a class="code" href="group__COMPILATIONDB.html#ga6b19abe9ced14c29cd6720b93b19194b" title="Get the I'th argument value in the compiler invocations.">clang_CompileCommand_getArg</a>(CXCompileCommand, <span class="keywordtype">unsigned</span> I);</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"></span></div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> * \brief Get the number of source mappings for the compiler invocation.</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">unsigned</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <a class="code" href="group__COMPILATIONDB.html#ga28b373614893bffe6ae3f7c53ef8a851" title="Get the number of source mappings for the compiler invocation.">clang_CompileCommand_getNumMappedSources</a>(CXCompileCommand);</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"></span></div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"> * \brief Get the I'th mapped source path for the compiler invocation.</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <a class="code" href="structCXString.html" title="A character string.">CXString</a></div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <a class="code" href="group__COMPILATIONDB.html#ga968b688446fb07e3409cbdbf2fe66027" title="Get the I'th mapped source path for the compiler invocation.">clang_CompileCommand_getMappedSourcePath</a>(CXCompileCommand, <span class="keywordtype">unsigned</span> I);</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"></span></div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> * \brief Get the I'th mapped source content for the compiler invocation.</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <a class="code" href="structCXString.html" title="A character string.">CXString</a></div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <a class="code" href="group__COMPILATIONDB.html#gae22f9bce5ef1e2bc430218ed85e20e1f" title="Get the I'th mapped source content for the compiler invocation.">clang_CompileCommand_getMappedSourceContent</a>(CXCompileCommand, <span class="keywordtype">unsigned</span> I);</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"></span></div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> * @}</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"></span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXString_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXString_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXString_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXString_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,140 @@
+<!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: CXString.h Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_20cb356d6c8b31fc069cdab0f3272f7d.html">clang-c</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXString.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXString_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*===-- clang-c/CXString.h - C Index strings --------------------*- C -*-===*\</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">|* The LLVM Compiler Infrastructure *|</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">|* This file is distributed under the University of Illinois Open Source *|</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">|* License. See LICENSE.TXT for details. *|</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">|*===----------------------------------------------------------------------===*|</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">|* *|</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">|* This header provides the interface to C Index strings. *|</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">#ifndef CLANG_CXSTRING_H</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor">#define CLANG_CXSTRING_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="Platform_8h.html">clang-c/Platform.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="comment"></span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * \defgroup CINDEX_STRING String manipulation routines</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * \ingroup CINDEX</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * @{</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"></span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> * \brief A character string.</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"> *</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * The \c CXString type is used to return strings from the interface when</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * the ownership of that string might different from one call to the next.</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> * Use \c clang_getCString() to retrieve the string data and, once finished</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> * with the string data, call \c clang_disposeString() to free the string.</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="structCXString.html"> 38</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="structCXString.html#a22192d0215a9fc17b9859b0d59af9f00"> 39</a></span> <span class="keyword">const</span> <span class="keywordtype">void</span> *<a class="code" href="structCXString.html#a22192d0215a9fc17b9859b0d59af9f00">data</a>;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="structCXString.html#a079754f256fc9ae141ecb0d527e74930"> 40</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="structCXString.html#a079754f256fc9ae141ecb0d527e74930">private_flags</a>;</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> } <a class="code" href="structCXString.html" title="A character string.">CXString</a>;</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">/**</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> * \brief Retrieve the character data associated with the given string.</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="group__CINDEX__STRING.html#gafd043aa189e990b9e327e9f95a1da8a5" title="Retrieve the character data associated with the given string.">clang_getCString</a>(<a class="code" href="structCXString.html" title="A character string.">CXString</a> <span class="keywordtype">string</span>);</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"></span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">/**</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> * \brief Free the given string.</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> <a class="code" href="Platform_8h.html#ab03890fc73b952370953cdfa4234150c">CINDEX_LINKAGE</a> <span class="keywordtype">void</span> <a class="code" href="group__CINDEX__STRING.html#gaeff715b329ded18188959fab3066048f" title="Free the given string.">clang_disposeString</a>(<a class="code" href="structCXString.html" title="A character string.">CXString</a> <span class="keywordtype">string</span>);</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"></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></div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> */</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor"></span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXXABI_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXABI_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXABI_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXABI_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,131 @@
+<!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: CXXABI.h Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_87e2a7550f83bd8cbfc92736891468fc.html">lib</a></li><li class="navelem"><a class="el" href="dir_d3636efc55c6148efe36c59ffa01cb41.html">AST</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXXABI.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXXABI_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//===----- CXXABI.h - Interface to C++ ABIs ---------------------*- C++ -*-===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// This provides an abstract class for C++ AST support. Concrete</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// subclasses of this implement AST support for specific C++ ABIs.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef LLVM_CLANG_AST_CXXABI_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_CXXABI_H</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="Type_8h.html">clang/AST/Type.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>ASTContext;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">class </span>MemberPointerType;</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">class </span>MangleNumberingContext;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"></span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment">/// Implements C++ ABI-specific semantic analysis functions.</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="classclang_1_1CXXABI.html"> 27</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a> {</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">virtual</span> <a class="code" href="classclang_1_1CXXABI.html#a7a92deab51ef295cb980a52a32225ca6">~CXXABI</a>();</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"></span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"> /// Returns the width and alignment of a member pointer in bits.</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment"></span> <span class="keyword">virtual</span> std::pair<uint64_t, unsigned></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <a class="code" href="classclang_1_1CXXABI.html#a5dce50177c9d91b0bb8dd22fbd8e38e6" title="Returns the width and alignment of a member pointer in bits.">getMemberPointerWidthAndAlign</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1MemberPointerType.html">MemberPointerType</a> *MPT) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"></span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> /// Returns the default calling convention for C++ methods.</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="namespaceclang.html#ae6d16e133294b0b9c8c8d3108aadd25b" title="CallingConv - Specifies the calling convention that a function uses.">CallingConv</a> <a class="code" href="classclang_1_1CXXABI.html#a5e55904592d23d91e57f22b064a42951" title="Returns the default calling convention for C++ methods.">getDefaultMethodCallConv</a>(<span class="keywordtype">bool</span> isVariadic) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"></span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> /// Returns whether the given class is nearly empty, with just virtual</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> /// pointers and no data except possibly virtual bases.</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXABI.html#afce16b75e946ebe9577e03585690ac48">isNearlyEmpty</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD) <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"></span></div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> /// Returns a new mangling number context for this C++ ABI.</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classclang_1_1MangleNumberingContext.html" title="Keeps track of the mangled names of lambda expressions and block literals within a particular context...">MangleNumberingContext</a> *<a class="code" href="classclang_1_1CXXABI.html#acbd4208336ecfbb043885d40e6e6934a" title="Returns a new mangling number context for this C++ ABI.">createMangleNumberingContext</a>() <span class="keyword">const</span> = 0;</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> };</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"></span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">/// Creates an instance of a C++ ABI class.</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"></span><a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a> *<a class="code" href="namespaceclang.html#a2413bf3465afa7194367947b8cb3c3d6" title="Creates an instance of a C++ ABI class.">CreateARMCXXABI</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx);</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a> *<a class="code" href="namespaceclang.html#a607d0b79f48942bf5ca9a09641325053">CreateItaniumCXXABI</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx);</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <a class="code" href="classclang_1_1CXXABI.html" title="Implements C++ ABI-specific semantic analysis functions.">CXXABI</a> *<a class="code" href="namespaceclang.html#a3eafa06f7bde71b13ade21dfae51b9b6">CreateMicrosoftCXXABI</a>(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Ctx);</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXXFieldCollector_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXFieldCollector_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXFieldCollector_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXFieldCollector_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,159 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>
+<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/>
+<meta name="keywords" content="clang,LLVM,Low Level Virtual Machine,C,C++,doxygen,API,frontend,documentation"/>
+<meta name="description" content="C++ source code API documentation for clang."/>
+<title>clang: CXXFieldCollector.h Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_d527ffe6334522956bc19a2da6aab47c.html">Sema</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXXFieldCollector.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXXFieldCollector_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//===- CXXFieldCollector.h - Utility class for C++ class semantic analysis ===//</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 provides CXXFieldCollector that is used during parsing & semantic</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// analysis of C++ classes.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_SEMA_CXXFIELDCOLLECTOR_H</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="LLVM_8h.html" title="Forward declares and imports various common LLVM datatypes that clang wants to use unqualified...">clang/Basic/LLVM.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "llvm/ADT/SmallVector.h"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">class </span>FieldDecl;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"></span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">/// CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">/// C++ classes.</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html"> 26</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXFieldCollector.html">CXXFieldCollector</a> {<span class="comment"></span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> /// Fields - Contains all FieldDecls collected during parsing of a C++</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> /// class. When a nested class is entered, its fields are appended to the</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> /// fields of its parent class, when it is exited its fields are removed.</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"></span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<FieldDecl*, 32></a> Fields;</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"> /// FieldCount - Each entry represents the number of fields collected during</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> /// the parsing of a C++ class. When a nested class is entered, a new field</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> /// count is pushed, when it is exited, the field count is popped.</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"></span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<size_t, 4></a> FieldCount;</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Example:</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">// class C {</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">// int x,y;</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// class NC {</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// int q;</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// // At this point, Fields contains [x,y,q] decls and FieldCount contains</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// // [2,1].</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// };</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">// int z;</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// // At this point, Fields contains [x,y,z] decls and FieldCount contains</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">// // [3].</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">// };</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">public</span>:<span class="comment"></span></div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"> /// StartClass - Called by Sema::ActOnStartCXXClassDef.</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html#ab569e12ffea06998247089de9240048b"> 53</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXFieldCollector.html#ab569e12ffea06998247089de9240048b" title="StartClass - Called by Sema::ActOnStartCXXClassDef.">StartClass</a>() { FieldCount.push_back(0); }</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"></span></div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> /// Add - Called by Sema::ActOnCXXMemberDeclarator.</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html#a4bbbb6e545612489d1973cd27802d025"> 56</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXFieldCollector.html#a4bbbb6e545612489d1973cd27802d025" title="Add - Called by Sema::ActOnCXXMemberDeclarator.">Add</a>(<a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> *D) {</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> Fields.push_back(D);</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> ++FieldCount.back();</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> }</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"></span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> /// getCurNumField - The number of fields added to the currently parsed class.</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html#a7beb9658640fd9f2179ea6cb1f1d2cd7"> 62</a></span> <span class="comment"></span> <span class="keywordtype">size_t</span> <a class="code" href="classclang_1_1CXXFieldCollector.html#a7beb9658640fd9f2179ea6cb1f1d2cd7" title="getCurNumField - The number of fields added to the currently parsed class.">getCurNumFields</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> assert(!FieldCount.empty() && <span class="stringliteral">"no currently-parsed class"</span>);</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keywordflow">return</span> FieldCount.back();</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> <span class="comment"></span></div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> /// getCurFields - Pointer to array of fields added to the currently parsed</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> /// class.</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html#a1eb77e77b7352bf70b30383d80fc3374"> 69</a></span> <span class="comment"></span> <a class="code" href="classclang_1_1FieldDecl.html">FieldDecl</a> **<a class="code" href="classclang_1_1CXXFieldCollector.html#a1eb77e77b7352bf70b30383d80fc3374">getCurFields</a>() { <span class="keywordflow">return</span> &*(Fields.end() - <a class="code" href="classclang_1_1CXXFieldCollector.html#a7beb9658640fd9f2179ea6cb1f1d2cd7" title="getCurNumField - The number of fields added to the currently parsed class.">getCurNumFields</a>()); }</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"></span></div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> /// FinishClass - Called by Sema::ActOnFinishCXXClassDef.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFieldCollector.html#ad49d65bfdaa6104baa6712db15c9b892"> 72</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXFieldCollector.html#ad49d65bfdaa6104baa6712db15c9b892" title="FinishClass - Called by Sema::ActOnFinishCXXClassDef.">FinishClass</a>() {</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> Fields.resize(Fields.size() - <a class="code" href="classclang_1_1CXXFieldCollector.html#a7beb9658640fd9f2179ea6cb1f1d2cd7" title="getCurNumField - The number of fields added to the currently parsed class.">getCurNumFields</a>());</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> FieldCount.pop_back();</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> }</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> };</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> } <span class="comment">// end namespace clang</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="preprocessor">#endif</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXXInheritance_8cpp_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8cpp_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8cpp_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8cpp_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,820 @@
+<!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: CXXInheritance.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_d3636efc55c6148efe36c59ffa01cb41.html">AST</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXXInheritance.cpp</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXXInheritance_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">//===------ CXXInheritance.cpp - C++ Inheritance ----------------*- C++ -*-===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// This file provides routines that help analyzing C++ inheritance hierarchies.</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> <span class="preprocessor">#include "<a class="code" href="CXXInheritance_8h.html">clang/AST/CXXInheritance.h</a>"</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="ASTContext_8h.html" title="Defines the clang::ASTContext interface.">clang/AST/ASTContext.h</a>"</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="DeclCXX_8h.html" title="Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate.h) and friends (in DeclFriend.h).">clang/AST/DeclCXX.h</a>"</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="RecordLayout_8h.html">clang/AST/RecordLayout.h</a>"</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "llvm/ADT/SetVector.h"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <algorithm></span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <set></span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">using namespace </span>clang;</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"></span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">/// \brief Computes the set of declarations referenced by these base</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">/// paths.</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"></span><span class="keywordtype">void</span> CXXBasePaths::ComputeDeclsFound() {</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> assert(NumDeclsFound == 0 && !DeclsFound &&</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="stringliteral">"Already computed the set of declarations"</span>);</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> llvm::SetVector<NamedDecl *, SmallVector<NamedDecl *, 8> > Decls;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">paths_iterator</a> Path = <a class="code" href="classclang_1_1CXXBasePaths.html#a2ffc670a3f2252e2348a5685740b1b59">begin</a>(), PathEnd = <a class="code" href="classclang_1_1CXXBasePaths.html#a3ff4746eb6460f4165d48f2a8d0887e1">end</a>(); Path != PathEnd; ++Path)</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> Decls.insert(Path->Decls.front());</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> NumDeclsFound = Decls.size();</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> DeclsFound = <span class="keyword">new</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> * [NumDeclsFound];</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> std::copy(Decls.begin(), Decls.end(), DeclsFound);</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> }</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a617da28c609c15b57cb631139ad07eb3"> 38</a></span> <a class="code" href="classclang_1_1NamedDecl.html">CXXBasePaths::decl_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a617da28c609c15b57cb631139ad07eb3">CXXBasePaths::found_decls_begin</a>() {</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">if</span> (NumDeclsFound == 0)</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> ComputeDeclsFound();</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordflow">return</span> DeclsFound;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a2153c3f7978143c676b935502b127656"> 44</a></span> <a class="code" href="classclang_1_1NamedDecl.html">CXXBasePaths::decl_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a2153c3f7978143c676b935502b127656">CXXBasePaths::found_decls_end</a>() {</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keywordflow">if</span> (NumDeclsFound == 0)</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> ComputeDeclsFound();</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keywordflow">return</span> DeclsFound + NumDeclsFound;</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"></span></div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment">/// isAmbiguous - Determines whether the set of paths provided is</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment">/// ambiguous, i.e., there are two or more paths that refer to</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">/// different base class subobjects of the same type. BaseType must be</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment">/// an unqualified, canonical class type.</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a61341e71c248072b3f5bfbd54aea6174"> 54</a></span> <span class="comment"></span><span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a61341e71c248072b3f5bfbd54aea6174" title="Determine whether the path from the most-derived type to the given base type is ambiguous (i...">CXXBasePaths::isAmbiguous</a>(<a class="code" href="classclang_1_1CanQual.html">CanQualType</a> BaseType) {</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> BaseType = BaseType.<a class="code" href="classclang_1_1CanQual.html#af48a042eb252e80347f11899625ca0dc" title="Retrieve the unqualified form of this type.">getUnqualifiedType</a>();</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="keywordflow">return</span> Subobjects.second + (Subobjects.first? 1 : 0) > 1;</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> }</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"></span></div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">/// clear - Clear out all prior path information.</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a63307ecf3842bca54f4daa7489398426"> 61</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a63307ecf3842bca54f4daa7489398426" title="Clear the base-paths results.">CXXBasePaths::clear</a>() {</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> Paths.clear();</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> ClassSubobjects.clear();</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> ScratchPath.<a class="code" href="classclang_1_1CXXBasePath.html#ab19f639bfb58a2c114a51cb904f59d4e">clear</a>();</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> DetectedVirtual = 0;</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> <span class="comment"></span></div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/// @brief Swaps the contents of this CXXBasePaths structure with the</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">/// contents of Other.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#ae5922aed0852f129516e235941bcfb44"> 70</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#ae5922aed0852f129516e235941bcfb44" title="Swap this data structure's contents with another CXXBasePaths object.">CXXBasePaths::swap</a>(<a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> &Other) {</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> std::swap(Origin, Other.Origin);</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> Paths.swap(Other.Paths);</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> ClassSubobjects.swap(Other.ClassSubobjects);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> std::swap(FindAmbiguities, Other.FindAmbiguities);</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> std::swap(RecordPaths, Other.RecordPaths);</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> std::swap(DetectVirtual, Other.DetectVirtual);</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> std::swap(DetectedVirtual, Other.DetectedVirtual);</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"><a class="code" href="classclang_1_1CXXRecordDecl.html#ab065f55f6647e1e17ffd643be36b64ad"> 80</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab065f55f6647e1e17ffd643be36b64ad" title="Determine whether this class is derived from the class Base.">CXXRecordDecl::isDerivedFrom</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> Paths(<span class="comment">/*FindAmbiguities=*/</span><span class="keyword">false</span>, <span class="comment">/*RecordPaths=*/</span><span class="keyword">false</span>,</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment">/*DetectVirtual=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab065f55f6647e1e17ffd643be36b64ad" title="Determine whether this class is derived from the class Base.">isDerivedFrom</a>(Base, Paths);</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> </div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a5ca15ba85c1d84968ecdced513c2c1ab"> 86</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab065f55f6647e1e17ffd643be36b64ad" title="Determine whether this class is derived from the class Base.">CXXRecordDecl::isDerivedFrom</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a>,</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> &Paths)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>() == Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>())</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</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> Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a028e86e6cf24e5e28ddacd027089d6bb">setOrigin</a>(const_cast<CXXRecordDecl*>(<span class="keyword">this</span>));</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab53f24164e19973eb9029bb23bedda5b" title="Look for entities within the base classes of this C++ class, transitively searching all base class su...">lookupInBases</a>(&<a class="code" href="classclang_1_1CXXRecordDecl.html#a8214a22a99354a45d5148e4621a55e04" title="Base-class lookup callback that determines whether the given base class specifier refers to a specifi...">FindBaseClass</a>,</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> const_cast<CXXRecordDecl*>(Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>()),</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> Paths);</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div>
+<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#ae4accda99a5e49a042f485cfc780f06f"> 97</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ae4accda99a5e49a042f485cfc780f06f" title="Determine whether this class is virtually derived from the class Base.">CXXRecordDecl::isVirtuallyDerivedFrom</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1CXXRecordDecl.html#ae9cacadb059ecb46224d537be149d565" title="Retrieves the number of virtual base classes of this class.">getNumVBases</a>())</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> Paths(<span class="comment">/*FindAmbiguities=*/</span><span class="keyword">false</span>, <span class="comment">/*RecordPaths=*/</span><span class="keyword">false</span>,</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">/*DetectVirtual=*/</span><span class="keyword">false</span>);</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>() == Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>())</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keywordflow">return</span> <span class="keyword">false</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> Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a028e86e6cf24e5e28ddacd027089d6bb">setOrigin</a>(const_cast<CXXRecordDecl*>(<span class="keyword">this</span>));</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> <span class="keyword">const</span> <span class="keywordtype">void</span> *BasePtr = <span class="keyword">static_cast<</span><span class="keyword">const </span><span class="keywordtype">void</span>*<span class="keyword">></span>(Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>());</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab53f24164e19973eb9029bb23bedda5b" title="Look for entities within the base classes of this C++ class, transitively searching all base class su...">lookupInBases</a>(&<a class="code" href="classclang_1_1CXXRecordDecl.html#aaefe93da069deacf4971218d26e1e345" title="Base-class lookup callback that determines whether the given base class specifier refers to a specifi...">FindVirtualBaseClass</a>,</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> const_cast<void *>(BasePtr),</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> Paths);</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> </div>
+<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="CXXInheritance_8cpp.html#a2c519c91b104f0d7c873e61f947cc3b2"> 115</a></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="CXXInheritance_8cpp.html#a2c519c91b104f0d7c873e61f947cc3b2">BaseIsNot</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a>, <span class="keywordtype">void</span> *OpaqueTarget) {</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment">// OpaqueTarget is a CXXRecordDecl*.</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keywordflow">return</span> Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>() != (<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a>*) OpaqueTarget;</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div>
+<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a858bfa3ead5c26da76e366a851961802"> 120</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a858bfa3ead5c26da76e366a851961802" title="Determine whether this class is provably not derived from the type Base.">CXXRecordDecl::isProvablyNotDerivedFrom</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a>)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keywordflow">return</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#acd5fb7de4853357c1fd9a9450f44ce60" title="Determines if the given callback holds for all the direct or indirect base classes of this type...">forallBases</a>(<a class="code" href="CXXInheritance_8cpp.html#a2c519c91b104f0d7c873e61f947cc3b2">BaseIsNot</a>,</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> const_cast<CXXRecordDecl *>(Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>()));</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> }</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="keywordtype">bool</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a79f2632787ddafe85ed49071fbbd902c"> 126</a></span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a79f2632787ddafe85ed49071fbbd902c" title="Determine whether this dependent class is a current instantiation, when viewed from within the given ...">CXXRecordDecl::isCurrentInstantiation</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1DeclContext.html">DeclContext</a> *CurContext)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> assert(<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="l00128"></a><span class="lineno"> 128</span> </div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keywordflow">for</span> (; !CurContext-><a class="code" href="classclang_1_1DeclContext.html#ac33a346d4e8db5e892aba87393f4e8e4">isFileContext</a>(); CurContext = CurContext-><a class="code" href="classclang_1_1DeclContext.html#a31c99b38017e8d702fda9c0f1d021186" title="getParent - Returns the containing DeclContext.">getParent</a>())</div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keywordflow">if</span> (CurContext-><a class="code" href="classclang_1_1DeclContext.html#ab26c189165e15c46df7e4c734da0b0b8" title="Determine whether this declaration context is equivalent to the declaration context DC...">Equals</a>(<span class="keyword">this</span>))</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keywordflow">return</span> <span class="keyword">false</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> </div>
+<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#acd5fb7de4853357c1fd9a9450f44ce60"> 136</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#acd5fb7de4853357c1fd9a9450f44ce60" title="Determines if the given callback holds for all the direct or indirect base classes of this type...">CXXRecordDecl::forallBases</a>(ForallBasesCallback *BaseMatches,</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">void</span> *OpaqueData,</div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keywordtype">bool</span> AllowShortCircuit)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<const CXXRecordDecl*, 8></a> Queue;</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *Record = <span class="keyword">this</span>;</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keywordtype">bool</span> AllMatches = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a></div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> I = Record-><a class="code" href="classclang_1_1CXXRecordDecl.html#a830448d054e3dca2db6851bd4605492c">bases_begin</a>(), E = Record-><a class="code" href="classclang_1_1CXXRecordDecl.html#a1e27f3ddd2de050a298094ea732bd321">bases_end</a>(); I != E; ++I) {</div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *Ty = I->getType()-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>();</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keywordflow">if</span> (!Ty) {</div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keywordflow">if</span> (AllowShortCircuit) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> AllMatches = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">continue</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> </div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1Base.html">Base</a> = </div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> cast_or_null<CXXRecordDecl>(Ty-><a class="code" href="classclang_1_1RecordType.html#a312ab3ebe179cc7d8692c07479c91076">getDecl</a>()-><a class="code" href="classclang_1_1RecordDecl.html#ace12add36d1accb71a7d53bacad696af">getDefinition</a>());</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keywordflow">if</span> (!Base ||</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> (Base-><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="l00157"></a><span class="lineno"> 157</span> !Base-><a class="code" href="classclang_1_1CXXRecordDecl.html#a79f2632787ddafe85ed49071fbbd902c" title="Determine whether this dependent class is a current instantiation, when viewed from within the given ...">isCurrentInstantiation</a>(Record))) {</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keywordflow">if</span> (AllowShortCircuit) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> AllMatches = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">continue</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> Queue.push_back(Base);</div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="keywordflow">if</span> (!BaseMatches(Base, OpaqueData)) {</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="keywordflow">if</span> (AllowShortCircuit) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> AllMatches = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keywordflow">continue</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> (Queue.empty())</div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> Record = Queue.pop_back_val(); <span class="comment">// not actually a queue.</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> }</div>
+<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div>
+<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="keywordflow">return</span> AllMatches;</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> }</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="keywordtype">bool</span> CXXBasePaths::lookupInBases(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>,</div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *Record,</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a76d341639010c0b5ffc3283413546825" title="Function type used by lookupInBases() to determine whether a specific base class subobject matches th...">CXXRecordDecl::BaseMatchesCallback</a> *BaseMatches, </div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="keywordtype">void</span> *UserData) {</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="keywordtype">bool</span> FoundPath = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
+<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="comment">// The access of the path down to this record.</span></div>
+<div class="line"><a name="l00186"></a><span class="lineno"> 186</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> AccessToHere = ScratchPath.<a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a>;</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">bool</span> IsFirstStep = ScratchPath.empty();</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="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> BaseSpec = Record-><a class="code" href="classclang_1_1CXXRecordDecl.html#a830448d054e3dca2db6851bd4605492c">bases_begin</a>(),</div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> BaseSpecEnd = Record-><a class="code" href="classclang_1_1CXXRecordDecl.html#a1e27f3ddd2de050a298094ea732bd321">bases_end</a>(); </div>
+<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> BaseSpec != BaseSpecEnd; </div>
+<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> ++BaseSpec) {</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> <span class="comment">// Find the record of the base class subobjects for this type.</span></div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <a class="code" href="classclang_1_1QualType.html">QualType</a> BaseType = Context.<a class="code" href="classclang_1_1ASTContext.html#a7e70bb7eebf01548a0cab752e390ba37" title="Return the canonical (structural) type corresponding to the specified potentially non-canonical type ...">getCanonicalType</a>(BaseSpec->getType())</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> .getUnqualifiedType();</div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment">// C++ [temp.dep]p3:</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">// In the definition of a class template or a member of a class template,</span></div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment">// if a base class of the class template depends on a template-parameter,</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment">// the base class scope is not examined during unqualified name lookup </span></div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment">// either at the point of definition of the class template or member or </span></div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="comment">// during an instantiation of the class tem- plate or member.</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="keywordflow">if</span> (BaseType-><a class="code" href="classclang_1_1Type.html#a7e475b7859ae970eb837da95e94ab26c">isDependentType</a>())</div>
+<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment">// Determine whether we need to visit this base class at all,</span></div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment">// updating the count of subobjects appropriately.</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> std::pair<bool, unsigned>& Subobjects = ClassSubobjects[BaseType];</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="keywordtype">bool</span> VisitBase = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="keywordtype">bool</span> SetVirtual = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="keywordflow">if</span> (BaseSpec->isVirtual()) {</div>
+<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> VisitBase = !Subobjects.first;</div>
+<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> Subobjects.first = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#a16884be7c1f6f5759e79b62f06fc69c2" title="Whether we are detecting virtual bases.">isDetectingVirtual</a>() && DetectedVirtual == 0) {</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="comment">// If this is the first virtual we find, remember it. If it turns out</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment">// there is no base path here, we'll reset it later.</span></div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> DetectedVirtual = BaseType-><a class="code" href="classclang_1_1Type.html#a12103ea8bee9506930287bab68a08569">getAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>();</div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> SetVirtual = <span class="keyword">true</span>;</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="keywordflow">else</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> ++Subobjects.second;</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> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d" title="Whether we are recording paths.">isRecordingPaths</a>()) {</div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment">// Add this base specifier to the current path.</span></div>
+<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <a class="code" href="structclang_1_1CXXBasePathElement.html" title="Represents an element in a path from a derived class to a base class.">CXXBasePathElement</a> Element;</div>
+<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> Element.<a class="code" href="structclang_1_1CXXBasePathElement.html#ab853852cd749786467e819edfbe04af3" title="The base specifier that states the link from a derived class to a base class, which will be followed ...">Base</a> = &*BaseSpec;</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> Element.<a class="code" href="structclang_1_1CXXBasePathElement.html#a7ff0b0858bf18b6c196a14ece41e2eb9" title="The record decl of the class that the base is a base of.">Class</a> = Record;</div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="keywordflow">if</span> (BaseSpec->isVirtual())</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> Element.<a class="code" href="structclang_1_1CXXBasePathElement.html#a2a24801a5dad108421082b1d77e43a03" title="Identifies which base class subobject (of type Base->getType()) this base path element refers to...">SubobjectNumber</a> = 0;</div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> Element.<a class="code" href="structclang_1_1CXXBasePathElement.html#a2a24801a5dad108421082b1d77e43a03" title="Identifies which base class subobject (of type Base->getType()) this base path element refers to...">SubobjectNumber</a> = Subobjects.second;</div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> ScratchPath.push_back(Element);</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> <span class="comment">// Calculate the "top-down" access to this base class.</span></div>
+<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="comment">// The spec actually describes this bottom-up, but top-down is</span></div>
+<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> <span class="comment">// equivalent because the definition works out as follows:</span></div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="comment">// 1. Write down the access along each step in the inheritance</span></div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="comment">// chain, followed by the access of the decl itself.</span></div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="comment">// For example, in</span></div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> <span class="comment">// class A { public: int foo; };</span></div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment">// class B : protected A {};</span></div>
+<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment">// class C : public B {};</span></div>
+<div class="line"><a name="l00243"></a><span class="lineno"> 243</span> <span class="comment">// class D : private C {};</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment">// we would write:</span></div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment">// private public protected public</span></div>
+<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment">// 2. If 'private' appears anywhere except far-left, access is denied.</span></div>
+<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment">// 3. Otherwise, overall access is determined by the most restrictive</span></div>
+<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment">// access in the sequence.</span></div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="keywordflow">if</span> (IsFirstStep)</div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> ScratchPath.<a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a> = BaseSpec->getAccessSpecifier();</div>
+<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00252"></a><span class="lineno"> 252</span> ScratchPath.<a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a> = <a class="code" href="classclang_1_1CXXRecordDecl.html#a5a3b3b09d1bb359ce8c58e77594091de" title="Calculates the access of a decl that is reached along a path.">CXXRecordDecl::MergeAccess</a>(AccessToHere, </div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> BaseSpec->getAccessSpecifier());</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">// Track whether there's a path involving this specific base.</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="keywordtype">bool</span> FoundPathThroughBase = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div>
+<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="keywordflow">if</span> (BaseMatches(BaseSpec, ScratchPath, UserData)) {</div>
+<div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="comment">// We've found a path that terminates at this base.</span></div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> FoundPath = FoundPathThroughBase = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d" title="Whether we are recording paths.">isRecordingPaths</a>()) {</div>
+<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// We have a path. Make a copy of it before moving on.</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno"> 264</span> Paths.push_back(ScratchPath);</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1CXXBasePaths.html#ae45ba54c94f219c61ebf4afd2fec21a3" title="Whether we are finding multiple paths to detect ambiguities.">isFindingAmbiguities</a>()) {</div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">// We found a path and we don't care about ambiguities;</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment">// return immediately.</span></div>
+<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="keywordflow">return</span> FoundPath;</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> }</div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (VisitBase) {</div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *BaseRecord</div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> = cast<CXXRecordDecl>(BaseSpec->getType()->castAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()</div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> ->getDecl());</div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="keywordflow">if</span> (lookupInBases(Context, BaseRecord, BaseMatches, UserData)) {</div>
+<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment">// C++ [class.member.lookup]p2:</span></div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment">// A member name f in one sub-object B hides a member name f in</span></div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment">// a sub-object A if A is a base class sub-object of B. Any</span></div>
+<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment">// declarations that are so hidden are eliminated from</span></div>
+<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment">// consideration.</span></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> <span class="comment">// There is a path to a base class that meets the criteria. If we're </span></div>
+<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="comment">// not collecting paths or finding ambiguities, we're done.</span></div>
+<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> FoundPath = FoundPathThroughBase = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="keywordflow">if</span> (!<a class="code" href="classclang_1_1CXXBasePaths.html#ae45ba54c94f219c61ebf4afd2fec21a3" title="Whether we are finding multiple paths to detect ambiguities.">isFindingAmbiguities</a>())</div>
+<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keywordflow">return</span> FoundPath;</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> }</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> <span class="comment">// Pop this base specifier off the current path (if we're</span></div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="comment">// collecting paths).</span></div>
+<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d" title="Whether we are recording paths.">isRecordingPaths</a>()) {</div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> ScratchPath.pop_back();</div>
+<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> }</div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div>
+<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment">// If we set a virtual earlier, and this isn't a path, forget it again.</span></div>
+<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="keywordflow">if</span> (SetVirtual && !FoundPathThroughBase) {</div>
+<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> DetectedVirtual = 0;</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> }</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="comment">// Reset the scratch path access.</span></div>
+<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> ScratchPath.<a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a> = AccessToHere;</div>
+<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="keywordflow">return</span> FoundPath;</div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> }</div>
+<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div>
+<div class="line"><a name="l00307"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#ab53f24164e19973eb9029bb23bedda5b"> 307</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab53f24164e19973eb9029bb23bedda5b" title="Look for entities within the base classes of this C++ class, transitively searching all base class su...">CXXRecordDecl::lookupInBases</a>(BaseMatchesCallback *BaseMatches,</div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="keywordtype">void</span> *UserData,</div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> &Paths)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment">// If we didn't find anything, report that.</span></div>
+<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="keywordflow">if</span> (!Paths.lookupInBases(<a class="code" href="classclang_1_1Decl.html#a213239e747fb0b3a0cacd86267339af2">getASTContext</a>(), <span class="keyword">this</span>, BaseMatches, UserData))</div>
+<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</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> <span class="comment">// If we're not recording paths or we won't ever find ambiguities,</span></div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment">// we're done.</span></div>
+<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="keywordflow">if</span> (!Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d" title="Whether we are recording paths.">isRecordingPaths</a>() || !Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#ae45ba54c94f219c61ebf4afd2fec21a3" title="Whether we are finding multiple paths to detect ambiguities.">isFindingAmbiguities</a>())</div>
+<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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> <span class="comment">// C++ [class.member.lookup]p6:</span></div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// When virtual base classes are used, a hidden declaration can be</span></div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment">// reached along a path through the sub-object lattice that does</span></div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment">// not pass through the hiding declaration. This is not an</span></div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment">// ambiguity. The identical use with nonvirtual base classes is an</span></div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment">// ambiguity; in that case there is no unique instance of the name</span></div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment">// that hides all the others.</span></div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">// FIXME: This is an O(N^2) algorithm, but DPG doesn't see an easy</span></div>
+<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">// way to make it any faster.</span></div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">CXXBasePaths::paths_iterator</a> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a2ffc670a3f2252e2348a5685740b1b59">begin</a>(), PEnd = Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a3ff4746eb6460f4165d48f2a8d0887e1">end</a>();</div>
+<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> != PEnd; <span class="comment">/* increment in loop */</span>) {</div>
+<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> </div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="keywordflow">for</span> (CXXBasePath::iterator PE = <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>->begin(), PEEnd = <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>->end();</div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> PE != PEEnd && !<a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a>; ++PE) {</div>
+<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="keywordflow">if</span> (PE->Base->isVirtual()) {</div>
+<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *VBase = 0;</div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *Record = PE->Base->getType()->getAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>())</div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> VBase = cast<CXXRecordDecl>(Record->getDecl());</div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="keywordflow">if</span> (!VBase)</div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">break</span>;</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> <span class="comment">// The declaration(s) we found along this path were found in a</span></div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="comment">// subobject of a virtual base. Check whether this virtual</span></div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="comment">// base is a subobject of any other path; if so, then the</span></div>
+<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment">// declaration in this path are hidden by that patch.</span></div>
+<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">CXXBasePaths::paths_iterator</a> HidingP = Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a2ffc670a3f2252e2348a5685740b1b59">begin</a>(),</div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> HidingPEnd = Paths.<a class="code" href="classclang_1_1CXXBasePaths.html#a3ff4746eb6460f4165d48f2a8d0887e1">end</a>();</div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> HidingP != HidingPEnd;</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> ++HidingP) {</div>
+<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *HidingClass = 0;</div>
+<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *Record</div>
+<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> = HidingP->back().Base->getType()->getAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>())</div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> HidingClass = cast<CXXRecordDecl>(Record->getDecl());</div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="keywordflow">if</span> (!HidingClass)</div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="keywordflow">break</span>;</div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> </div>
+<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="keywordflow">if</span> (HidingClass-><a class="code" href="classclang_1_1CXXRecordDecl.html#ae4accda99a5e49a042f485cfc780f06f" title="Determine whether this class is virtually derived from the class Base.">isVirtuallyDerivedFrom</a>(VBase)) {</div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> Hidden = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00359"></a><span class="lineno"> 359</span> <span class="keywordflow">break</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> }</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> </div>
+<div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="keywordflow">if</span> (Hidden)</div>
+<div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a> = Paths.Paths.erase(<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>);</div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> ++<a class="code" href="TokenAnnotator_8cpp.html#a0bf8bdaf8596b1161b6ce63c4232a1fb">P</a>;</div>
+<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> }</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> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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> </div>
+<div class="line"><a name="l00374"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a8214a22a99354a45d5148e4621a55e04"> 374</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a8214a22a99354a45d5148e4621a55e04" title="Base-class lookup callback that determines whether the given base class specifier refers to a specifi...">CXXRecordDecl::FindBaseClass</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *Specifier, </div>
+<div class="line"><a name="l00375"></a><span class="lineno"> 375</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> &Path,</div>
+<div class="line"><a name="l00376"></a><span class="lineno"> 376</span> <span class="keywordtype">void</span> *BaseRecord) {</div>
+<div class="line"><a name="l00377"></a><span class="lineno"> 377</span> assert(((<a class="code" href="classclang_1_1Decl.html">Decl</a> *)BaseRecord)-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>() == BaseRecord &&</div>
+<div class="line"><a name="l00378"></a><span class="lineno"> 378</span> <span class="stringliteral">"User data for FindBaseClass is not canonical!"</span>);</div>
+<div class="line"><a name="l00379"></a><span class="lineno"> 379</span> <span class="keywordflow">return</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl()</div>
+<div class="line"><a name="l00380"></a><span class="lineno"> 380</span> ->getCanonicalDecl() == BaseRecord;</div>
+<div class="line"><a name="l00381"></a><span class="lineno"> 381</span> }</div>
+<div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div>
+<div class="line"><a name="l00383"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#aaefe93da069deacf4971218d26e1e345"> 383</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#aaefe93da069deacf4971218d26e1e345" title="Base-class lookup callback that determines whether the given base class specifier refers to a specifi...">CXXRecordDecl::FindVirtualBaseClass</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *Specifier, </div>
+<div class="line"><a name="l00384"></a><span class="lineno"> 384</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> &Path,</div>
+<div class="line"><a name="l00385"></a><span class="lineno"> 385</span> <span class="keywordtype">void</span> *BaseRecord) {</div>
+<div class="line"><a name="l00386"></a><span class="lineno"> 386</span> assert(((<a class="code" href="classclang_1_1Decl.html">Decl</a> *)BaseRecord)-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>() == BaseRecord &&</div>
+<div class="line"><a name="l00387"></a><span class="lineno"> 387</span> <span class="stringliteral">"User data for FindBaseClass is not canonical!"</span>);</div>
+<div class="line"><a name="l00388"></a><span class="lineno"> 388</span> <span class="keywordflow">return</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a052cc9c7e1fb5a7095469c3be012c3a4" title="Determines whether the base class is a virtual base class (or not).">isVirtual</a>() &&</div>
+<div class="line"><a name="l00389"></a><span class="lineno"> 389</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl()</div>
+<div class="line"><a name="l00390"></a><span class="lineno"> 390</span> ->getCanonicalDecl() == BaseRecord;</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> </div>
+<div class="line"><a name="l00393"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#ac7627608583abc96cd6af1f13104fb22"> 393</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ac7627608583abc96cd6af1f13104fb22" title="Base-class lookup callback that determines whether there exists a tag with the given name...">CXXRecordDecl::FindTagMember</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *Specifier, </div>
+<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> &Path,</div>
+<div class="line"><a name="l00395"></a><span class="lineno"> 395</span> <span class="keywordtype">void</span> *Name) {</div>
+<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *BaseRecord =</div>
+<div class="line"><a name="l00397"></a><span class="lineno"> 397</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl();</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> <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> N = <a class="code" href="classclang_1_1DeclarationName.html#a25f11ea089f53218b4bff04f5d426114">DeclarationName::getFromOpaquePtr</a>(Name);</div>
+<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> <span class="keywordflow">for</span> (Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = BaseRecord-><a class="code" href="classclang_1_1DeclContext.html#a0916b364472e2acc42122885e087222b">lookup</a>(N);</div>
+<div class="line"><a name="l00401"></a><span class="lineno"> 401</span> !Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.empty();</div>
+<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.slice(1)) {</div>
+<div class="line"><a name="l00403"></a><span class="lineno"> 403</span> <span class="keywordflow">if</span> (Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.front()->isInIdentifierNamespace(<a class="code" href="classclang_1_1Decl.html#a9e38ae17197f1ebf6cdbb58260133710af56b326acd2688e908a81d22fdbf5f47">IDNS_Tag</a>))</div>
+<div class="line"><a name="l00404"></a><span class="lineno"> 404</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00405"></a><span class="lineno"> 405</span> }</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> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00408"></a><span class="lineno"> 408</span> }</div>
+<div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div>
+<div class="line"><a name="l00410"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a9929275caf6bc755fadc069a12cc0a07"> 410</a></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a9929275caf6bc755fadc069a12cc0a07" title="Base-class lookup callback that determines whether there exists a member with the given name...">CXXRecordDecl::FindOrdinaryMember</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *Specifier, </div>
+<div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> &Path,</div>
+<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="keywordtype">void</span> *Name) {</div>
+<div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *BaseRecord =</div>
+<div class="line"><a name="l00414"></a><span class="lineno"> 414</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl();</div>
+<div class="line"><a name="l00415"></a><span class="lineno"> 415</span> </div>
+<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> IDNS = <a class="code" href="classclang_1_1Decl.html#a9e38ae17197f1ebf6cdbb58260133710a404c48f346be24fe30ae9bb910177a34">IDNS_Ordinary</a> | <a class="code" href="classclang_1_1Decl.html#a9e38ae17197f1ebf6cdbb58260133710af56b326acd2688e908a81d22fdbf5f47">IDNS_Tag</a> | <a class="code" href="classclang_1_1Decl.html#a9e38ae17197f1ebf6cdbb58260133710a96e26295d5162e8a76b56de4e5b11602">IDNS_Member</a>;</div>
+<div class="line"><a name="l00417"></a><span class="lineno"> 417</span> <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> N = <a class="code" href="classclang_1_1DeclarationName.html#a25f11ea089f53218b4bff04f5d426114">DeclarationName::getFromOpaquePtr</a>(Name);</div>
+<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="keywordflow">for</span> (Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = BaseRecord-><a class="code" href="classclang_1_1DeclContext.html#a0916b364472e2acc42122885e087222b">lookup</a>(N);</div>
+<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> !Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.empty();</div>
+<div class="line"><a name="l00420"></a><span class="lineno"> 420</span> Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.slice(1)) {</div>
+<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <span class="keywordflow">if</span> (Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.front()->isInIdentifierNamespace(IDNS))</div>
+<div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</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="keywordflow">return</span> <span class="keyword">false</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> </div>
+<div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab5843290cdaad42e5af5531e05933f18" title="Base-class lookup callback that determines whether there exists a member with the given name that can...">CXXRecordDecl::</a></div>
+<div class="line"><a name="l00429"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#ab5843290cdaad42e5af5531e05933f18"> 429</a></span> <a class="code" href="classclang_1_1CXXRecordDecl.html#ab5843290cdaad42e5af5531e05933f18" title="Base-class lookup callback that determines whether there exists a member with the given name that can...">FindNestedNameSpecifierMember</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *Specifier, </div>
+<div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> &Path,</div>
+<div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="keywordtype">void</span> *Name) {</div>
+<div class="line"><a name="l00432"></a><span class="lineno"> 432</span> <a class="code" href="classclang_1_1RecordDecl.html">RecordDecl</a> *BaseRecord =</div>
+<div class="line"><a name="l00433"></a><span class="lineno"> 433</span> Specifier-><a class="code" href="classclang_1_1CXXBaseSpecifier.html#a4e9241e65b4b20b372902d0873a9d838" title="Retrieves the type of the base class.">getType</a>()-><a class="code" href="classclang_1_1Type.html#ac4a3f2c505332c3c556bd20497d1a5c3">castAs</a><<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl();</div>
+<div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div>
+<div class="line"><a name="l00435"></a><span class="lineno"> 435</span> <a class="code" href="classclang_1_1DeclarationName.html">DeclarationName</a> N = <a class="code" href="classclang_1_1DeclarationName.html#a25f11ea089f53218b4bff04f5d426114">DeclarationName::getFromOpaquePtr</a>(Name);</div>
+<div class="line"><a name="l00436"></a><span class="lineno"> 436</span> <span class="keywordflow">for</span> (Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = BaseRecord-><a class="code" href="classclang_1_1DeclContext.html#a0916b364472e2acc42122885e087222b">lookup</a>(N);</div>
+<div class="line"><a name="l00437"></a><span class="lineno"> 437</span> !Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.empty();</div>
+<div class="line"><a name="l00438"></a><span class="lineno"> 438</span> Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a> = Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.slice(1)) {</div>
+<div class="line"><a name="l00439"></a><span class="lineno"> 439</span> <span class="comment">// FIXME: Refactor the "is it a nested-name-specifier?" check</span></div>
+<div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="keywordflow">if</span> (isa<TypedefNameDecl>(Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.front()) ||</div>
+<div class="line"><a name="l00441"></a><span class="lineno"> 441</span> Path.<a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>.front()->isInIdentifierNamespace(<a class="code" href="classclang_1_1Decl.html#a9e38ae17197f1ebf6cdbb58260133710af56b326acd2688e908a81d22fdbf5f47">IDNS_Tag</a>))</div>
+<div class="line"><a name="l00442"></a><span class="lineno"> 442</span> <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00443"></a><span class="lineno"> 443</span> }</div>
+<div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div>
+<div class="line"><a name="l00445"></a><span class="lineno"> 445</span> <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> }</div>
+<div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div>
+<div class="line"><a name="l00448"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d"> 448</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d">OverridingMethods::add</a>(<span class="keywordtype">unsigned</span> OverriddenSubobject, </div>
+<div class="line"><a name="l00449"></a><span class="lineno"> 449</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> Overriding) {</div>
+<div class="line"><a name="l00450"></a><span class="lineno"> 450</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod></a> &SubobjectOverrides</div>
+<div class="line"><a name="l00451"></a><span class="lineno"> 451</span> = Overrides[OverriddenSubobject];</div>
+<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="keywordflow">if</span> (std::find(SubobjectOverrides.begin(), SubobjectOverrides.end(), </div>
+<div class="line"><a name="l00453"></a><span class="lineno"> 453</span> Overriding) == SubobjectOverrides.end())</div>
+<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> SubobjectOverrides.push_back(Overriding);</div>
+<div class="line"><a name="l00455"></a><span class="lineno"> 455</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"><a class="code" href="classclang_1_1OverridingMethods.html#a2a1561fc2c75b3d2a4754fbd59dfdfa6"> 457</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d">OverridingMethods::add</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1OverridingMethods.html" title="The set of methods that override a given virtual method in each subobject where it occurs...">OverridingMethods</a> &Other) {</div>
+<div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1OverridingMethods.html#a647a9847f0ef90f8e3ce84b626da2494">const_iterator</a> I = Other.<a class="code" href="classclang_1_1OverridingMethods.html#a775d5c1d683c8023015941b261bc98e5">begin</a>(), IE = Other.<a class="code" href="classclang_1_1OverridingMethods.html#a38a4529fb2cfba012ea924a76d997c3a">end</a>(); I != IE; ++I) {</div>
+<div class="line"><a name="l00459"></a><span class="lineno"> 459</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1OverridingMethods.html#af5c369b451bdda891e8532c80313269e">overriding_const_iterator</a> M = I->second.begin(), </div>
+<div class="line"><a name="l00460"></a><span class="lineno"> 460</span> MEnd = I->second.end();</div>
+<div class="line"><a name="l00461"></a><span class="lineno"> 461</span> M != MEnd; </div>
+<div class="line"><a name="l00462"></a><span class="lineno"> 462</span> ++M)</div>
+<div class="line"><a name="l00463"></a><span class="lineno"> 463</span> <a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d">add</a>(I->first, *M);</div>
+<div class="line"><a name="l00464"></a><span class="lineno"> 464</span> }</div>
+<div class="line"><a name="l00465"></a><span class="lineno"> 465</span> }</div>
+<div class="line"><a name="l00466"></a><span class="lineno"> 466</span> </div>
+<div class="line"><a name="l00467"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a47ae8dede9ffd0adadbc15f802a8a0d6"> 467</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#a47ae8dede9ffd0adadbc15f802a8a0d6">OverridingMethods::replaceAll</a>(<a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> Overriding) {</div>
+<div class="line"><a name="l00468"></a><span class="lineno"> 468</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2">iterator</a> I = <a class="code" href="classclang_1_1OverridingMethods.html#a775d5c1d683c8023015941b261bc98e5">begin</a>(), IEnd = <a class="code" href="classclang_1_1OverridingMethods.html#a38a4529fb2cfba012ea924a76d997c3a">end</a>(); I != IEnd; ++I) {</div>
+<div class="line"><a name="l00469"></a><span class="lineno"> 469</span> I->second.clear();</div>
+<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> I->second.push_back(Overriding);</div>
+<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> }</div>
+<div class="line"><a name="l00472"></a><span class="lineno"> 472</span> }</div>
+<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div>
+<div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div>
+<div class="line"><a name="l00475"></a><span class="lineno"> 475</span> <span class="keyword">namespace </span>{</div>
+<div class="line"><a name="l00476"></a><span class="lineno"> 476</span> <span class="keyword">class </span>FinalOverriderCollector {<span class="comment"></span></div>
+<div class="line"><a name="l00477"></a><span class="lineno"> 477</span> <span class="comment"> /// \brief The number of subobjects of a given class type that</span></div>
+<div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <span class="comment"> /// occur within the class hierarchy.</span></div>
+<div class="line"><a name="l00479"></a><span class="lineno"> 479</span> <span class="comment"></span> llvm::DenseMap<const CXXRecordDecl *, unsigned> SubobjectCount;</div>
+<div class="line"><a name="l00480"></a><span class="lineno"> 480</span> <span class="comment"></span></div>
+<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="comment"> /// \brief Overriders for each virtual base subobject.</span></div>
+<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> <span class="comment"></span> llvm::DenseMap<const CXXRecordDecl *, CXXFinalOverriderMap *> VirtualOverriders;</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> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> FinalOverriders;</div>
+<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div>
+<div class="line"><a name="l00486"></a><span class="lineno"> 486</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00487"></a><span class="lineno"> 487</span> ~FinalOverriderCollector();</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> <span class="keywordtype">void</span> Collect(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD, <span class="keywordtype">bool</span> VirtualBase,</div>
+<div class="line"><a name="l00490"></a><span class="lineno"> 490</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *InVirtualSubobject,</div>
+<div class="line"><a name="l00491"></a><span class="lineno"> 491</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> &Overriders);</div>
+<div class="line"><a name="l00492"></a><span class="lineno"> 492</span> };</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> </div>
+<div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <span class="keywordtype">void</span> FinalOverriderCollector::Collect(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD, </div>
+<div class="line"><a name="l00496"></a><span class="lineno"> 496</span> <span class="keywordtype">bool</span> VirtualBase,</div>
+<div class="line"><a name="l00497"></a><span class="lineno"> 497</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *InVirtualSubobject,</div>
+<div class="line"><a name="l00498"></a><span class="lineno"> 498</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> &Overriders) {</div>
+<div class="line"><a name="l00499"></a><span class="lineno"> 499</span> <span class="keywordtype">unsigned</span> SubobjectNumber = 0;</div>
+<div class="line"><a name="l00500"></a><span class="lineno"> 500</span> <span class="keywordflow">if</span> (!VirtualBase)</div>
+<div class="line"><a name="l00501"></a><span class="lineno"> 501</span> SubobjectNumber</div>
+<div class="line"><a name="l00502"></a><span class="lineno"> 502</span> = ++SubobjectCount[cast<CXXRecordDecl>(RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a38f531b4822da3071fe56cc210978afd" title="Retrieves the "canonical" declaration of the given declaration.">getCanonicalDecl</a>())];</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">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> <a class="code" href="classclang_1_1Base.html">Base</a> = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a830448d054e3dca2db6851bd4605492c">bases_begin</a>(),</div>
+<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> BaseEnd = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a1e27f3ddd2de050a298094ea732bd321">bases_end</a>(); <a class="code" href="classclang_1_1Base.html">Base</a> != BaseEnd; ++<a class="code" href="classclang_1_1Base.html">Base</a>) {</div>
+<div class="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="keywordflow">if</span> (<span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *RT = <a class="code" href="classclang_1_1Base.html">Base</a>->getType()->getAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()) {</div>
+<div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *BaseDecl = cast<CXXRecordDecl>(RT->getDecl());</div>
+<div class="line"><a name="l00508"></a><span class="lineno"> 508</span> <span class="keywordflow">if</span> (!BaseDecl-><a class="code" href="classclang_1_1CXXRecordDecl.html#aadd0b19ffcef5977a8414e09f184151f">isPolymorphic</a>())</div>
+<div class="line"><a name="l00509"></a><span class="lineno"> 509</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00510"></a><span class="lineno"> 510</span> </div>
+<div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="keywordflow">if</span> (Overriders.empty() && !<a class="code" href="classclang_1_1Base.html">Base</a>->isVirtual()) {</div>
+<div class="line"><a name="l00512"></a><span class="lineno"> 512</span> <span class="comment">// There are no other overriders of virtual member functions,</span></div>
+<div class="line"><a name="l00513"></a><span class="lineno"> 513</span> <span class="comment">// so let the base class fill in our overriders for us.</span></div>
+<div class="line"><a name="l00514"></a><span class="lineno"> 514</span> Collect(BaseDecl, <span class="keyword">false</span>, InVirtualSubobject, Overriders);</div>
+<div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="keywordflow">continue</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="comment">// Collect all of the overridders from the base class subobject</span></div>
+<div class="line"><a name="l00519"></a><span class="lineno"> 519</span> <span class="comment">// and merge them into the set of overridders for this class.</span></div>
+<div class="line"><a name="l00520"></a><span class="lineno"> 520</span> <span class="comment">// For virtual base classes, populate or use the cached virtual</span></div>
+<div class="line"><a name="l00521"></a><span class="lineno"> 521</span> <span class="comment">// overrides so that we do not walk the virtual base class (and</span></div>
+<div class="line"><a name="l00522"></a><span class="lineno"> 522</span> <span class="comment">// its base classes) more than once.</span></div>
+<div class="line"><a name="l00523"></a><span class="lineno"> 523</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> ComputedBaseOverriders;</div>
+<div class="line"><a name="l00524"></a><span class="lineno"> 524</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> *BaseOverriders = &ComputedBaseOverriders;</div>
+<div class="line"><a name="l00525"></a><span class="lineno"> 525</span> <span class="keywordflow">if</span> (<a class="code" href="classclang_1_1Base.html">Base</a>->isVirtual()) {</div>
+<div class="line"><a name="l00526"></a><span class="lineno"> 526</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> *&MyVirtualOverriders = VirtualOverriders[BaseDecl];</div>
+<div class="line"><a name="l00527"></a><span class="lineno"> 527</span> BaseOverriders = MyVirtualOverriders;</div>
+<div class="line"><a name="l00528"></a><span class="lineno"> 528</span> <span class="keywordflow">if</span> (!MyVirtualOverriders) {</div>
+<div class="line"><a name="l00529"></a><span class="lineno"> 529</span> MyVirtualOverriders = <span class="keyword">new</span> <a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</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> <span class="comment">// Collect may cause VirtualOverriders to reallocate, invalidating the</span></div>
+<div class="line"><a name="l00532"></a><span class="lineno"> 532</span> <span class="comment">// MyVirtualOverriders reference. Set BaseOverriders to the right</span></div>
+<div class="line"><a name="l00533"></a><span class="lineno"> 533</span> <span class="comment">// value now.</span></div>
+<div class="line"><a name="l00534"></a><span class="lineno"> 534</span> BaseOverriders = MyVirtualOverriders;</div>
+<div class="line"><a name="l00535"></a><span class="lineno"> 535</span> </div>
+<div class="line"><a name="l00536"></a><span class="lineno"> 536</span> Collect(BaseDecl, <span class="keyword">true</span>, BaseDecl, *MyVirtualOverriders);</div>
+<div class="line"><a name="l00537"></a><span class="lineno"> 537</span> }</div>
+<div class="line"><a name="l00538"></a><span class="lineno"> 538</span> } <span class="keywordflow">else</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno"> 539</span> Collect(BaseDecl, <span class="keyword">false</span>, InVirtualSubobject, ComputedBaseOverriders);</div>
+<div class="line"><a name="l00540"></a><span class="lineno"> 540</span> </div>
+<div class="line"><a name="l00541"></a><span class="lineno"> 541</span> <span class="comment">// Merge the overriders from this base class into our own set of</span></div>
+<div class="line"><a name="l00542"></a><span class="lineno"> 542</span> <span class="comment">// overriders.</span></div>
+<div class="line"><a name="l00543"></a><span class="lineno"> 543</span> <span class="keywordflow">for</span> (CXXFinalOverriderMap::iterator OM = BaseOverriders->begin(), </div>
+<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> OMEnd = BaseOverriders->end();</div>
+<div class="line"><a name="l00545"></a><span class="lineno"> 545</span> OM != OMEnd;</div>
+<div class="line"><a name="l00546"></a><span class="lineno"> 546</span> ++OM) {</div>
+<div class="line"><a name="l00547"></a><span class="lineno"> 547</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *CanonOM</div>
+<div class="line"><a name="l00548"></a><span class="lineno"> 548</span> = cast<CXXMethodDecl>(OM->first->getCanonicalDecl());</div>
+<div class="line"><a name="l00549"></a><span class="lineno"> 549</span> Overriders[CanonOM].add(OM->second);</div>
+<div class="line"><a name="l00550"></a><span class="lineno"> 550</span> }</div>
+<div class="line"><a name="l00551"></a><span class="lineno"> 551</span> }</div>
+<div class="line"><a name="l00552"></a><span class="lineno"> 552</span> }</div>
+<div class="line"><a name="l00553"></a><span class="lineno"> 553</span> </div>
+<div class="line"><a name="l00554"></a><span class="lineno"> 554</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1DeclContext_1_1specific__decl__iterator.html">CXXRecordDecl::method_iterator</a> M = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#ac604fa2c57fd8d5db7d56b07e0b599f9" title="Method begin iterator. Iterates in the order the methods were declared.">method_begin</a>(), </div>
+<div class="line"><a name="l00555"></a><span class="lineno"> 555</span> MEnd = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a5fab97cc63dd1633eea88db16214d963" title="Method past-the-end iterator.">method_end</a>();</div>
+<div class="line"><a name="l00556"></a><span class="lineno"> 556</span> M != MEnd;</div>
+<div class="line"><a name="l00557"></a><span class="lineno"> 557</span> ++M) {</div>
+<div class="line"><a name="l00558"></a><span class="lineno"> 558</span> <span class="comment">// We only care about virtual methods.</span></div>
+<div class="line"><a name="l00559"></a><span class="lineno"> 559</span> <span class="keywordflow">if</span> (!M->isVirtual())</div>
+<div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00561"></a><span class="lineno"> 561</span> </div>
+<div class="line"><a name="l00562"></a><span class="lineno"> 562</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *CanonM = cast<CXXMethodDecl>(M->getCanonicalDecl());</div>
+<div class="line"><a name="l00563"></a><span class="lineno"> 563</span> </div>
+<div class="line"><a name="l00564"></a><span class="lineno"> 564</span> <span class="keywordflow">if</span> (CanonM-><a class="code" href="classclang_1_1CXXMethodDecl.html#ab2d3aa2f5421bfd2f9bd370531796b5c">begin_overridden_methods</a>()</div>
+<div class="line"><a name="l00565"></a><span class="lineno"> 565</span> == CanonM-><a class="code" href="classclang_1_1CXXMethodDecl.html#a32f6ce71668c5f2772a10e6d5362ac90">end_overridden_methods</a>()) {</div>
+<div class="line"><a name="l00566"></a><span class="lineno"> 566</span> <span class="comment">// This is a new virtual function that does not override any</span></div>
+<div class="line"><a name="l00567"></a><span class="lineno"> 567</span> <span class="comment">// other virtual function. Add it to the map of virtual</span></div>
+<div class="line"><a name="l00568"></a><span class="lineno"> 568</span> <span class="comment">// functions for which we are tracking overridders. </span></div>
+<div class="line"><a name="l00569"></a><span class="lineno"> 569</span> </div>
+<div class="line"><a name="l00570"></a><span class="lineno"> 570</span> <span class="comment">// C++ [class.virtual]p2:</span></div>
+<div class="line"><a name="l00571"></a><span class="lineno"> 571</span> <span class="comment">// For convenience we say that any virtual function overrides itself.</span></div>
+<div class="line"><a name="l00572"></a><span class="lineno"> 572</span> Overriders[CanonM].add(SubobjectNumber,</div>
+<div class="line"><a name="l00573"></a><span class="lineno"> 573</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a>(CanonM, SubobjectNumber,</div>
+<div class="line"><a name="l00574"></a><span class="lineno"> 574</span> InVirtualSubobject));</div>
+<div class="line"><a name="l00575"></a><span class="lineno"> 575</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00576"></a><span class="lineno"> 576</span> }</div>
+<div class="line"><a name="l00577"></a><span class="lineno"> 577</span> </div>
+<div class="line"><a name="l00578"></a><span class="lineno"> 578</span> <span class="comment">// This virtual method overrides other virtual methods, so it does</span></div>
+<div class="line"><a name="l00579"></a><span class="lineno"> 579</span> <span class="comment">// not add any new slots into the set of overriders. Instead, we</span></div>
+<div class="line"><a name="l00580"></a><span class="lineno"> 580</span> <span class="comment">// replace entries in the set of overriders with the new</span></div>
+<div class="line"><a name="l00581"></a><span class="lineno"> 581</span> <span class="comment">// overrider. To do so, we dig down to the original virtual</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="comment">// functions using data recursion and update all of the methods it</span></div>
+<div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <span class="comment">// overrides.</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno"> 584</span> <span class="keyword">typedef</span> std::pair<<a class="code" href="classclang_1_1CXXMethodDecl.html#a434f595b2265452cfda5005e9faff858">CXXMethodDecl::method_iterator</a>, </div>
+<div class="line"><a name="l00585"></a><span class="lineno"> 585</span> CXXMethodDecl::method_iterator> OverriddenMethods;</div>
+<div class="line"><a name="l00586"></a><span class="lineno"> 586</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<OverriddenMethods, 4></a> <a class="code" href="UnwrappedLineParser_8cpp.html#a118f9e9887ee5c70966fe9b74b815f79">Stack</a>;</div>
+<div class="line"><a name="l00587"></a><span class="lineno"> 587</span> Stack.push_back(std::make_pair(CanonM-><a class="code" href="classclang_1_1CXXMethodDecl.html#ab2d3aa2f5421bfd2f9bd370531796b5c">begin_overridden_methods</a>(),</div>
+<div class="line"><a name="l00588"></a><span class="lineno"> 588</span> CanonM-><a class="code" href="classclang_1_1CXXMethodDecl.html#a32f6ce71668c5f2772a10e6d5362ac90">end_overridden_methods</a>()));</div>
+<div class="line"><a name="l00589"></a><span class="lineno"> 589</span> <span class="keywordflow">while</span> (!Stack.empty()) {</div>
+<div class="line"><a name="l00590"></a><span class="lineno"> 590</span> OverriddenMethods OverMethods = Stack.back();</div>
+<div class="line"><a name="l00591"></a><span class="lineno"> 591</span> Stack.pop_back();</div>
+<div class="line"><a name="l00592"></a><span class="lineno"> 592</span> </div>
+<div class="line"><a name="l00593"></a><span class="lineno"> 593</span> <span class="keywordflow">for</span> (; OverMethods.first != OverMethods.second; ++OverMethods.first) {</div>
+<div class="line"><a name="l00594"></a><span class="lineno"> 594</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *CanonOM</div>
+<div class="line"><a name="l00595"></a><span class="lineno"> 595</span> = cast<CXXMethodDecl>((*OverMethods.first)->getCanonicalDecl());</div>
+<div class="line"><a name="l00596"></a><span class="lineno"> 596</span> </div>
+<div class="line"><a name="l00597"></a><span class="lineno"> 597</span> <span class="comment">// C++ [class.virtual]p2:</span></div>
+<div class="line"><a name="l00598"></a><span class="lineno"> 598</span> <span class="comment">// A virtual member function C::vf of a class object S is</span></div>
+<div class="line"><a name="l00599"></a><span class="lineno"> 599</span> <span class="comment">// a final overrider unless the most derived class (1.8)</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno"> 600</span> <span class="comment">// of which S is a base class subobject (if any) declares</span></div>
+<div class="line"><a name="l00601"></a><span class="lineno"> 601</span> <span class="comment">// or inherits another member function that overrides vf.</span></div>
+<div class="line"><a name="l00602"></a><span class="lineno"> 602</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00603"></a><span class="lineno"> 603</span> <span class="comment">// Treating this object like the most derived class, we</span></div>
+<div class="line"><a name="l00604"></a><span class="lineno"> 604</span> <span class="comment">// replace any overrides from base classes with this</span></div>
+<div class="line"><a name="l00605"></a><span class="lineno"> 605</span> <span class="comment">// overriding virtual function.</span></div>
+<div class="line"><a name="l00606"></a><span class="lineno"> 606</span> Overriders[CanonOM].replaceAll(</div>
+<div class="line"><a name="l00607"></a><span class="lineno"> 607</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a>(CanonM, SubobjectNumber,</div>
+<div class="line"><a name="l00608"></a><span class="lineno"> 608</span> InVirtualSubobject));</div>
+<div class="line"><a name="l00609"></a><span class="lineno"> 609</span> </div>
+<div class="line"><a name="l00610"></a><span class="lineno"> 610</span> <span class="keywordflow">if</span> (CanonOM-><a class="code" href="classclang_1_1CXXMethodDecl.html#ab2d3aa2f5421bfd2f9bd370531796b5c">begin_overridden_methods</a>()</div>
+<div class="line"><a name="l00611"></a><span class="lineno"> 611</span> == CanonOM-><a class="code" href="classclang_1_1CXXMethodDecl.html#a32f6ce71668c5f2772a10e6d5362ac90">end_overridden_methods</a>())</div>
+<div class="line"><a name="l00612"></a><span class="lineno"> 612</span> <span class="keywordflow">continue</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> <span class="comment">// Continue recursion to the methods that this virtual method</span></div>
+<div class="line"><a name="l00615"></a><span class="lineno"> 615</span> <span class="comment">// overrides.</span></div>
+<div class="line"><a name="l00616"></a><span class="lineno"> 616</span> Stack.push_back(std::make_pair(CanonOM-><a class="code" href="classclang_1_1CXXMethodDecl.html#ab2d3aa2f5421bfd2f9bd370531796b5c">begin_overridden_methods</a>(),</div>
+<div class="line"><a name="l00617"></a><span class="lineno"> 617</span> CanonOM-><a class="code" href="classclang_1_1CXXMethodDecl.html#a32f6ce71668c5f2772a10e6d5362ac90">end_overridden_methods</a>()));</div>
+<div class="line"><a name="l00618"></a><span class="lineno"> 618</span> }</div>
+<div class="line"><a name="l00619"></a><span class="lineno"> 619</span> }</div>
+<div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div>
+<div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <span class="comment">// C++ [class.virtual]p2:</span></div>
+<div class="line"><a name="l00622"></a><span class="lineno"> 622</span> <span class="comment">// For convenience we say that any virtual function overrides itself.</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno"> 623</span> Overriders[CanonM].add(SubobjectNumber,</div>
+<div class="line"><a name="l00624"></a><span class="lineno"> 624</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a>(CanonM, SubobjectNumber,</div>
+<div class="line"><a name="l00625"></a><span class="lineno"> 625</span> InVirtualSubobject));</div>
+<div class="line"><a name="l00626"></a><span class="lineno"> 626</span> }</div>
+<div class="line"><a name="l00627"></a><span class="lineno"> 627</span> }</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> FinalOverriderCollector::~FinalOverriderCollector() {</div>
+<div class="line"><a name="l00630"></a><span class="lineno"> 630</span> <span class="keywordflow">for</span> (llvm::DenseMap<const CXXRecordDecl *, CXXFinalOverriderMap *>::iterator</div>
+<div class="line"><a name="l00631"></a><span class="lineno"> 631</span> VO = VirtualOverriders.begin(), VOEnd = VirtualOverriders.end();</div>
+<div class="line"><a name="l00632"></a><span class="lineno"> 632</span> VO != VOEnd; </div>
+<div class="line"><a name="l00633"></a><span class="lineno"> 633</span> ++VO)</div>
+<div class="line"><a name="l00634"></a><span class="lineno"> 634</span> <span class="keyword">delete</span> VO->second;</div>
+<div class="line"><a name="l00635"></a><span class="lineno"> 635</span> }</div>
+<div class="line"><a name="l00636"></a><span class="lineno"> 636</span> </div>
+<div class="line"><a name="l00637"></a><span class="lineno"> 637</span> <span class="keywordtype">void</span> </div>
+<div class="line"><a name="l00638"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#a0abff0810f6dd5032bdc00abc4adfc06"> 638</a></span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a0abff0810f6dd5032bdc00abc4adfc06" title="Retrieve the final overriders for each virtual member function in the class hierarchy where this clas...">CXXRecordDecl::getFinalOverriders</a>(<a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a> &FinalOverriders)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00639"></a><span class="lineno"> 639</span> FinalOverriderCollector Collector;</div>
+<div class="line"><a name="l00640"></a><span class="lineno"> 640</span> Collector.Collect(<span class="keyword">this</span>, <span class="keyword">false</span>, 0, FinalOverriders);</div>
+<div class="line"><a name="l00641"></a><span class="lineno"> 641</span> </div>
+<div class="line"><a name="l00642"></a><span class="lineno"> 642</span> <span class="comment">// Weed out any final overriders that come from virtual base class</span></div>
+<div class="line"><a name="l00643"></a><span class="lineno"> 643</span> <span class="comment">// subobjects that were hidden by other subobjects along any path.</span></div>
+<div class="line"><a name="l00644"></a><span class="lineno"> 644</span> <span class="comment">// This is the final-overrider variant of C++ [class.member.lookup]p10.</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno"> 645</span> <span class="keywordflow">for</span> (CXXFinalOverriderMap::iterator OM = FinalOverriders.begin(), </div>
+<div class="line"><a name="l00646"></a><span class="lineno"> 646</span> OMEnd = FinalOverriders.end();</div>
+<div class="line"><a name="l00647"></a><span class="lineno"> 647</span> OM != OMEnd;</div>
+<div class="line"><a name="l00648"></a><span class="lineno"> 648</span> ++OM) {</div>
+<div class="line"><a name="l00649"></a><span class="lineno"> 649</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2">OverridingMethods::iterator</a> SO = OM->second.begin(), </div>
+<div class="line"><a name="l00650"></a><span class="lineno"> 650</span> SOEnd = OM->second.end();</div>
+<div class="line"><a name="l00651"></a><span class="lineno"> 651</span> SO != SOEnd; </div>
+<div class="line"><a name="l00652"></a><span class="lineno"> 652</span> ++SO) {</div>
+<div class="line"><a name="l00653"></a><span class="lineno"> 653</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod></a> &Overriding = SO->second;</div>
+<div class="line"><a name="l00654"></a><span class="lineno"> 654</span> <span class="keywordflow">if</span> (Overriding.size() < 2)</div>
+<div class="line"><a name="l00655"></a><span class="lineno"> 655</span> <span class="keywordflow">continue</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> <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod>::iterator</a></div>
+<div class="line"><a name="l00658"></a><span class="lineno"> 658</span> Pos = Overriding.begin(), PosEnd = Overriding.end();</div>
+<div class="line"><a name="l00659"></a><span class="lineno"> 659</span> Pos != PosEnd;</div>
+<div class="line"><a name="l00660"></a><span class="lineno"> 660</span> <span class="comment">/* increment in loop */</span>) {</div>
+<div class="line"><a name="l00661"></a><span class="lineno"> 661</span> <span class="keywordflow">if</span> (!Pos->InVirtualSubobject) {</div>
+<div class="line"><a name="l00662"></a><span class="lineno"> 662</span> ++Pos;</div>
+<div class="line"><a name="l00663"></a><span class="lineno"> 663</span> <span class="keywordflow">continue</span>;</div>
+<div class="line"><a name="l00664"></a><span class="lineno"> 664</span> }</div>
+<div class="line"><a name="l00665"></a><span class="lineno"> 665</span> </div>
+<div class="line"><a name="l00666"></a><span class="lineno"> 666</span> <span class="comment">// We have an overriding method in a virtual base class</span></div>
+<div class="line"><a name="l00667"></a><span class="lineno"> 667</span> <span class="comment">// subobject (or non-virtual base class subobject thereof);</span></div>
+<div class="line"><a name="l00668"></a><span class="lineno"> 668</span> <span class="comment">// determine whether there exists an other overriding method</span></div>
+<div class="line"><a name="l00669"></a><span class="lineno"> 669</span> <span class="comment">// in a base class subobject that hides the virtual base class</span></div>
+<div class="line"><a name="l00670"></a><span class="lineno"> 670</span> <span class="comment">// subobject.</span></div>
+<div class="line"><a name="l00671"></a><span class="lineno"> 671</span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a> = <span class="keyword">false</span>;</div>
+<div class="line"><a name="l00672"></a><span class="lineno"> 672</span> <span class="keywordflow">for</span> (<a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod>::iterator</a></div>
+<div class="line"><a name="l00673"></a><span class="lineno"> 673</span> OP = Overriding.begin(), OPEnd = Overriding.end();</div>
+<div class="line"><a name="l00674"></a><span class="lineno"> 674</span> OP != OPEnd && !<a class="code" href="classclang_1_1Decl.html#ad58279c91e474c764e418e5a09d32073" title="Whether this declaration is hidden from normal name lookup, e.g., because it is was loaded from an AS...">Hidden</a>; </div>
+<div class="line"><a name="l00675"></a><span class="lineno"> 675</span> ++OP) {</div>
+<div class="line"><a name="l00676"></a><span class="lineno"> 676</span> <span class="keywordflow">if</span> (Pos == OP)</div>
+<div class="line"><a name="l00677"></a><span class="lineno"> 677</span> <span class="keywordflow">continue</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> <span class="keywordflow">if</span> (OP->Method->getParent()->isVirtuallyDerivedFrom(</div>
+<div class="line"><a name="l00680"></a><span class="lineno"> 680</span> const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject)))</div>
+<div class="line"><a name="l00681"></a><span class="lineno"> 681</span> Hidden = <span class="keyword">true</span>;</div>
+<div class="line"><a name="l00682"></a><span class="lineno"> 682</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> <span class="keywordflow">if</span> (Hidden) {</div>
+<div class="line"><a name="l00685"></a><span class="lineno"> 685</span> <span class="comment">// The current overriding function is hidden by another</span></div>
+<div class="line"><a name="l00686"></a><span class="lineno"> 686</span> <span class="comment">// overriding function; remove this one.</span></div>
+<div class="line"><a name="l00687"></a><span class="lineno"> 687</span> Pos = Overriding.erase(Pos);</div>
+<div class="line"><a name="l00688"></a><span class="lineno"> 688</span> PosEnd = Overriding.end();</div>
+<div class="line"><a name="l00689"></a><span class="lineno"> 689</span> } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00690"></a><span class="lineno"> 690</span> ++Pos;</div>
+<div class="line"><a name="l00691"></a><span class="lineno"> 691</span> }</div>
+<div class="line"><a name="l00692"></a><span class="lineno"> 692</span> }</div>
+<div class="line"><a name="l00693"></a><span class="lineno"> 693</span> }</div>
+<div class="line"><a name="l00694"></a><span class="lineno"> 694</span> }</div>
+<div class="line"><a name="l00695"></a><span class="lineno"> 695</span> }</div>
+<div class="line"><a name="l00696"></a><span class="lineno"> 696</span> </div>
+<div class="line"><a name="l00697"></a><span class="lineno"> 697</span> <span class="keyword">static</span> <span class="keywordtype">void</span> </div>
+<div class="line"><a name="l00698"></a><span class="lineno"><a class="code" href="CXXInheritance_8cpp.html#a4c2a7ffc7f576c9b9fd008eacb599de7"> 698</a></span> <a class="code" href="CXXInheritance_8cpp.html#a4c2a7ffc7f576c9b9fd008eacb599de7">AddIndirectPrimaryBases</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *RD, <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Context,</div>
+<div class="line"><a name="l00699"></a><span class="lineno"> 699</span> <a class="code" href="classclang_1_1CXXIndirectPrimaryBaseSet.html" title="A set of all the primary bases for a class.">CXXIndirectPrimaryBaseSet</a>& Bases) {</div>
+<div class="line"><a name="l00700"></a><span class="lineno"> 700</span> <span class="comment">// If the record has a virtual primary base class, add it to our set.</span></div>
+<div class="line"><a name="l00701"></a><span class="lineno"> 701</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1ASTRecordLayout.html">ASTRecordLayout</a> &Layout = Context.<a class="code" href="classclang_1_1ASTContext.html#a47d9de77f967abb78dd8d1b8228a0d2a" title="Get or compute information about the layout of the specified record (struct/union/class) D...">getASTRecordLayout</a>(RD);</div>
+<div class="line"><a name="l00702"></a><span class="lineno"> 702</span> <span class="keywordflow">if</span> (Layout.<a class="code" href="classclang_1_1ASTRecordLayout.html#aa44b34392b81e94c10f6a8c1f50884a4">isPrimaryBaseVirtual</a>())</div>
+<div class="line"><a name="l00703"></a><span class="lineno"> 703</span> Bases.insert(Layout.<a class="code" href="classclang_1_1ASTRecordLayout.html#a5b69ad223192d7201e8c4f8700352a7d" title="getPrimaryBase - Get the primary base for this record.">getPrimaryBase</a>());</div>
+<div class="line"><a name="l00704"></a><span class="lineno"> 704</span> </div>
+<div class="line"><a name="l00705"></a><span class="lineno"> 705</span> <span class="keywordflow">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> I = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a830448d054e3dca2db6851bd4605492c">bases_begin</a>(),</div>
+<div class="line"><a name="l00706"></a><span class="lineno"> 706</span> E = RD-><a class="code" href="classclang_1_1CXXRecordDecl.html#a1e27f3ddd2de050a298094ea732bd321">bases_end</a>(); I != E; ++I) {</div>
+<div class="line"><a name="l00707"></a><span class="lineno"> 707</span> assert(!I->getType()->isDependentType() &&</div>
+<div class="line"><a name="l00708"></a><span class="lineno"> 708</span> <span class="stringliteral">"Cannot get indirect primary bases for class with dependent bases."</span>);</div>
+<div class="line"><a name="l00709"></a><span class="lineno"> 709</span> </div>
+<div class="line"><a name="l00710"></a><span class="lineno"> 710</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *BaseDecl =</div>
+<div class="line"><a name="l00711"></a><span class="lineno"> 711</span> cast<CXXRecordDecl>(I->getType()->castAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl());</div>
+<div class="line"><a name="l00712"></a><span class="lineno"> 712</span> </div>
+<div class="line"><a name="l00713"></a><span class="lineno"> 713</span> <span class="comment">// Only bases with virtual bases participate in computing the</span></div>
+<div class="line"><a name="l00714"></a><span class="lineno"> 714</span> <span class="comment">// indirect primary virtual base classes.</span></div>
+<div class="line"><a name="l00715"></a><span class="lineno"> 715</span> <span class="keywordflow">if</span> (BaseDecl->getNumVBases())</div>
+<div class="line"><a name="l00716"></a><span class="lineno"> 716</span> <a class="code" href="CXXInheritance_8cpp.html#a4c2a7ffc7f576c9b9fd008eacb599de7">AddIndirectPrimaryBases</a>(BaseDecl, Context, Bases);</div>
+<div class="line"><a name="l00717"></a><span class="lineno"> 717</span> }</div>
+<div class="line"><a name="l00718"></a><span class="lineno"> 718</span> </div>
+<div class="line"><a name="l00719"></a><span class="lineno"> 719</span> }</div>
+<div class="line"><a name="l00720"></a><span class="lineno"> 720</span> </div>
+<div class="line"><a name="l00721"></a><span class="lineno"> 721</span> <span class="keywordtype">void</span> </div>
+<div class="line"><a name="l00722"></a><span class="lineno"><a class="code" href="classclang_1_1CXXRecordDecl.html#af0e3cc6d03ea01750c6d4ffb8e9f48f8"> 722</a></span> <a class="code" href="classclang_1_1CXXRecordDecl.html#af0e3cc6d03ea01750c6d4ffb8e9f48f8" title="Get the indirect primary bases for this class.">CXXRecordDecl::getIndirectPrimaryBases</a>(<a class="code" href="classclang_1_1CXXIndirectPrimaryBaseSet.html" title="A set of all the primary bases for a class.">CXXIndirectPrimaryBaseSet</a>& Bases)<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00723"></a><span class="lineno"> 723</span> <a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &Context = <a class="code" href="classclang_1_1Decl.html#a213239e747fb0b3a0cacd86267339af2">getASTContext</a>();</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="keywordflow">if</span> (!<a class="code" href="classclang_1_1CXXRecordDecl.html#ae9cacadb059ecb46224d537be149d565" title="Retrieves the number of virtual base classes of this class.">getNumVBases</a>())</div>
+<div class="line"><a name="l00726"></a><span class="lineno"> 726</span> <span class="keywordflow">return</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">for</span> (<a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXRecordDecl::base_class_const_iterator</a> I = <a class="code" href="classclang_1_1CXXRecordDecl.html#a830448d054e3dca2db6851bd4605492c">bases_begin</a>(),</div>
+<div class="line"><a name="l00729"></a><span class="lineno"> 729</span> E = <a class="code" href="classclang_1_1CXXRecordDecl.html#a1e27f3ddd2de050a298094ea732bd321">bases_end</a>(); I != E; ++I) {</div>
+<div class="line"><a name="l00730"></a><span class="lineno"> 730</span> assert(!I->getType()->isDependentType() &&</div>
+<div class="line"><a name="l00731"></a><span class="lineno"> 731</span> <span class="stringliteral">"Cannot get indirect primary bases for class with dependent bases."</span>);</div>
+<div class="line"><a name="l00732"></a><span class="lineno"> 732</span> </div>
+<div class="line"><a name="l00733"></a><span class="lineno"> 733</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *BaseDecl =</div>
+<div class="line"><a name="l00734"></a><span class="lineno"> 734</span> cast<CXXRecordDecl>(I->getType()->castAs<<a class="code" href="classclang_1_1RecordType.html">RecordType</a>>()->getDecl());</div>
+<div class="line"><a name="l00735"></a><span class="lineno"> 735</span> </div>
+<div class="line"><a name="l00736"></a><span class="lineno"> 736</span> <span class="comment">// Only bases with virtual bases participate in computing the</span></div>
+<div class="line"><a name="l00737"></a><span class="lineno"> 737</span> <span class="comment">// indirect primary virtual base classes.</span></div>
+<div class="line"><a name="l00738"></a><span class="lineno"> 738</span> <span class="keywordflow">if</span> (BaseDecl->getNumVBases())</div>
+<div class="line"><a name="l00739"></a><span class="lineno"> 739</span> <a class="code" href="CXXInheritance_8cpp.html#a4c2a7ffc7f576c9b9fd008eacb599de7">AddIndirectPrimaryBases</a>(BaseDecl, Context, Bases);</div>
+<div class="line"><a name="l00740"></a><span class="lineno"> 740</span> }</div>
+<div class="line"><a name="l00741"></a><span class="lineno"> 741</span> }</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXXInheritance_8d_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8d_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8d_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8d_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,439 @@
+<!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: CXXInheritance.d Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_87e2a7550f83bd8cbfc92736891468fc.html">lib</a></li><li class="navelem"><a class="el" href="dir_d3636efc55c6148efe36c59ffa01cb41.html">AST</a></li><li class="navelem"><a class="el" href="dir_e796beea07674cb14e7827e2d3a82e85.html">Release+Asserts</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXXInheritance.d</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXXInheritance_8d.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> /home/tstellar/llvm/tools/clang/lib/AST/Release+Asserts/CXXInheritance.o \</div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> /home/tstellar/llvm/tools/clang/lib/AST/Release+Asserts/CXXInheritance.d: \</div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> CXXInheritance.cpp \</div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CXXInheritance.h \</div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclBase.h \</div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/AttrIterator.h \</div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LLVM.h \</div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> /home/tstellar/llvm/include/llvm/Support/Casting.h \</div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> /home/tstellar/llvm/include/llvm/Support/type_traits.h \</div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h \</div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> /home/tstellar/llvm/include/llvm/ADT/None.h \</div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclarationName.h \</div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/IdentifierTable.h \</div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.h \</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.def \</div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.h \</div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.def \</div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> /home/tstellar/llvm/include/llvm/ADT/SmallString.h \</div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h \</div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h \</div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> /home/tstellar/llvm/include/llvm/Support/Compiler.h \</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> /home/tstellar/llvm/include/llvm/Config/llvm-config.h \</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> /home/tstellar/llvm/include/llvm/Support/MathExtras.h \</div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h \</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h \</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> /home/tstellar/llvm/include/llvm/ADT/StringMap.h \</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h \</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h \</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/PartialDiagnostic.h \</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Diagnostic.h \</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticIDs.h \</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h \</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticCommonKinds.inc \</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.h \</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.def \</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceLocation.h \</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h \</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h \</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h \</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h \</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h \</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Specifiers.h \</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h \</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h \</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h \</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclNodes.inc \</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclCXX.h \</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTUnresolvedSet.h \</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTVector.h \</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/UnresolvedSet.h \</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclAccessPair.h \</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Decl.h \</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/APValue.h \</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h \</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> /home/tstellar/llvm/include/llvm/ADT/APInt.h \</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h \</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExternalASTSource.h \</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CharUnits.h \</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Redeclarable.h \</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Type.h \</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/NestedNameSpecifier.h \</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h \</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateName.h \</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h \</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h \</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h \</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h \</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h \</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeNodes.def \</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/BuiltinTypes.def \</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h \</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> /home/tstellar/llvm/include/llvm/Support/FileSystem.h \</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h \</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> /home/tstellar/llvm/include/llvm/Support/TimeValue.h \</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> /home/tstellar/llvm/include/llvm/Support/system_error.h \</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Expr.h \</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/OperationKinds.h \</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Stmt.h \</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclGroup.h \</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtIterator.h \</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CapturedStmt.h \</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtNodes.inc \</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateBase.h \</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CharInfo.h \</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TypeTraits.h \</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Builtins.def \</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprCXX.h \</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ExpressionTraits.h \</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Lambda.h \</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLoc.h \</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLocNodes.def \</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h \</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeOrdering.h \</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h \</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> /home/tstellar/llvm/include/llvm/ADT/MapVector.h \</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h \</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTContext.h \</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTTypeTraits.h \</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTFwd.h \</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandTraits.h \</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CommentOptions.h \</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandList.inc \</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/PrettyPrinter.h \</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h \</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ObjCRuntime.h \</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/VersionTuple.h \</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h \</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Sanitizers.def \</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.def \</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenCLExtensions.def \</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RawCommentList.h \</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceManager.h \</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileManager.h \</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileSystemOptions.h \</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h \</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h \</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h \</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> /home/tstellar/llvm/include/llvm-c/Core.h \</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/AddressSpaces.h \</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h \</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RecordLayout.h \</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> /home/tstellar/llvm/include/llvm/ADT/SetVector.h</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CXXInheritance.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclBase.h:</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/AttrIterator.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LLVM.h:</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> /home/tstellar/llvm/include/llvm/Support/Casting.h:</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> /home/tstellar/llvm/include/llvm/Support/type_traits.h:</div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> /home/tstellar/llvm/include/llvm/Support/DataTypes.h:</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> /home/tstellar/llvm/include/llvm/ADT/None.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclarationName.h:</div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/IdentifierTable.h:</div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.h:</div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OperatorKinds.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.h:</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TokenKinds.def:</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> /home/tstellar/llvm/include/llvm/ADT/SmallString.h:</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> /home/tstellar/llvm/include/llvm/ADT/SmallVector.h:</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> /home/tstellar/llvm/include/llvm/Support/AlignOf.h:</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> /home/tstellar/llvm/include/llvm/Support/Compiler.h:</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> /home/tstellar/llvm/include/llvm/Config/llvm-config.h:</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> /home/tstellar/llvm/include/llvm/Support/MathExtras.h:</div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> /home/tstellar/llvm/include/llvm/Support/SwapByteOrder.h:</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> /home/tstellar/llvm/include/llvm/ADT/StringRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/StringMap.h:</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> /home/tstellar/llvm/include/llvm/Support/<a class="code" href="Format_8cpp.html#a0805f884ee63233d49322f71926371de">Allocator</a>.h:</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> /home/tstellar/llvm/include/llvm/Support/PointerLikeTypeTraits.h:</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/PartialDiagnostic.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Diagnostic.h:</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticIDs.h:</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> /home/tstellar/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticCommonKinds.inc:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/DiagnosticOptions.def:</div>
+<div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceLocation.h:</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> /home/tstellar/llvm/include/llvm/ADT/ArrayRef.h:</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> /home/tstellar/llvm/include/llvm/ADT/DenseMap.h:</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> /home/tstellar/llvm/include/llvm/ADT/DenseMapInfo.h:</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> /home/tstellar/llvm/include/llvm/ADT/STLExtras.h:</div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#a78aadfeaf316ded55fdd2d1a9c8815b6" title="Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have...">Linkage</a>.h:</div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Specifiers.h:</div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span> /home/tstellar/llvm/include/llvm/ADT/PointerUnion.h:</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> /home/tstellar/llvm/include/llvm/ADT/PointerIntPair.h:</div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> /home/tstellar/llvm/include/llvm/Support/PrettyStackTrace.h:</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclNodes.inc:</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclCXX.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTUnresolvedSet.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTVector.h:</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/UnresolvedSet.h:</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclAccessPair.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Decl.h:</div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> </div>
+<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/APValue.h:</div>
+<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> /home/tstellar/llvm/include/llvm/ADT/APFloat.h:</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> /home/tstellar/llvm/include/llvm/ADT/APInt.h:</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> </div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> /home/tstellar/llvm/include/llvm/ADT/APSInt.h:</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExternalASTSource.h:</div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CharUnits.h:</div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> </div>
+<div class="line"><a name="l00234"></a><span class="lineno"> 234</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Redeclarable.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Type.h:</div>
+<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/NestedNameSpecifier.h:</div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> /home/tstellar/llvm/include/llvm/ADT/FoldingSet.h:</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> </div>
+<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateName.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#af8a91eed04532d5da41ef08e7c9c081e" title="The various types of exception specifications that exist in C++11.">ExceptionSpecificationType</a>.h:</div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div>
+<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/<a class="code" href="namespaceclang.html#afbab15cd4aa598c4e6d9192f7ac4f102" title="Describes the different kinds of visibility that a declaration may have.">Visibility</a>.h:</div>
+<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div>
+<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> /home/tstellar/llvm/include/llvm/ADT/Optional.h:</div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> /home/tstellar/llvm/include/llvm/ADT/Twine.h:</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> /home/tstellar/llvm/include/llvm/Support/ErrorHandling.h:</div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div>
+<div class="line"><a name="l00254"></a><span class="lineno"> 254</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeNodes.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/BuiltinTypes.def:</div>
+<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div>
+<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> /home/tstellar/llvm/include/llvm/Support/raw_ostream.h:</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> /home/tstellar/llvm/include/llvm/Support/FileSystem.h:</div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> /home/tstellar/llvm/include/llvm/ADT/OwningPtr.h:</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> /home/tstellar/llvm/include/llvm/Support/TimeValue.h:</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> /home/tstellar/llvm/include/llvm/Support/system_error.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Expr.h:</div>
+<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/OperationKinds.h:</div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/Stmt.h:</div>
+<div class="line"><a name="l00273"></a><span class="lineno"> 273</span> </div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/DeclGroup.h:</div>
+<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtIterator.h:</div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
+<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CapturedStmt.h:</div>
+<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div>
+<div class="line"><a name="l00280"></a><span class="lineno"> 280</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/StmtNodes.inc:</div>
+<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div>
+<div class="line"><a name="l00282"></a><span class="lineno"> 282</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TemplateBase.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CharInfo.h:</div>
+<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> </div>
+<div class="line"><a name="l00286"></a><span class="lineno"> 286</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/TypeTraits.h:</div>
+<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div>
+<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Builtins.def:</div>
+<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ExprCXX.h:</div>
+<div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ExpressionTraits.h:</div>
+<div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Lambda.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLoc.h:</div>
+<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeLocNodes.def:</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> /home/tstellar/llvm/include/llvm/ADT/SmallPtrSet.h:</div>
+<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> </div>
+<div class="line"><a name="l00302"></a><span class="lineno"> 302</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/TypeOrdering.h:</div>
+<div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CanonicalType.h:</div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div>
+<div class="line"><a name="l00306"></a><span class="lineno"> 306</span> /home/tstellar/llvm/include/llvm/ADT/MapVector.h:</div>
+<div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> /home/tstellar/llvm/include/llvm/ADT/SmallSet.h:</div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> </div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTContext.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTTypeTraits.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/ASTFwd.h:</div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> </div>
+<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandTraits.h:</div>
+<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> </div>
+<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/CommentOptions.h:</div>
+<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/CommentCommandList.inc:</div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/PrettyPrinter.h:</div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h:</div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/ObjCRuntime.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/VersionTuple.h:</div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> </div>
+<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> /home/tstellar/llvm/include/llvm/ADT/Triple.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/Sanitizers.def:</div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.def:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/OpenCLExtensions.def:</div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RawCommentList.h:</div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/SourceManager.h:</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> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileManager.h:</div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/FileSystemOptions.h:</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> /home/tstellar/llvm/include/llvm/ADT/DenseSet.h:</div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> /home/tstellar/llvm/include/llvm/Support/MemoryBuffer.h:</div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> </div>
+<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> /home/tstellar/llvm/include/llvm/Support/CBindingWrapping.h:</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> /home/tstellar/llvm/include/llvm-c/Core.h:</div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> </div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/Basic/AddressSpaces.h:</div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> /home/tstellar/llvm/include/llvm/ADT/TinyPtrVector.h:</div>
+<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> </div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> /home/tstellar/llvm/tools/clang/lib/AST/../../include/clang/AST/RecordLayout.h:</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> /home/tstellar/llvm/include/llvm/ADT/SetVector.h:</div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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/CXXInheritance_8h_source.html
URL: http://llvm.org/viewvc/llvm-project/www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8h_source.html?rev=225843&view=auto
==============================================================================
--- www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8h_source.html (added)
+++ www-releases/trunk/3.5.1/tools/clang/docs/doxygen/html/CXXInheritance_8h_source.html Tue Jan 13 16:55:20 2015
@@ -0,0 +1,447 @@
+<!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: CXXInheritance.h Source File</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css"/>
+</head><body>
+<p class="title">clang API Documentation</p>
+<!-- Generated by Doxygen 1.8.3.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main Page</span></a></li>
+ <li><a href="pages.html"><span>Related Pages</span></a></li>
+ <li><a href="modules.html"><span>Modules</span></a></li>
+ <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File List</span></a></li>
+ <li><a href="globals.html"><span>File Members</span></a></li>
+ </ul>
+ </div>
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void
(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark"> </span>Pages</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div id="nav-path" class="navpath">
+ <ul>
+<li class="navelem"><a class="el" href="dir_f65986501076cc710d4b9355ae3fe06d.html">clang</a></li><li class="navelem"><a class="el" href="dir_3e61bbac0c8515a3c083eb51d03eb390.html">include</a></li><li class="navelem"><a class="el" href="dir_ee4f288247dc2d9ccd0382aea6916312.html">clang</a></li><li class="navelem"><a class="el" href="dir_6152e82a4845f7e2a2888050f43c34d1.html">AST</a></li> </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+ <div class="headertitle">
+<div class="title">CXXInheritance.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="CXXInheritance_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//===------ CXXInheritance.h - C++ Inheritance ------------------*- C++ -*-===//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// The LLVM Compiler Infrastructure</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// This file is distributed under the University of Illinois Open Source</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// License. See LICENSE.TXT for details.</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//===----------------------------------------------------------------------===//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">//</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// This file provides routines that help analyzing C++ inheritance hierarchies.</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">#ifndef LLVM_CLANG_AST_CXXINHERITANCE_H</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor"></span><span class="preprocessor">#define LLVM_CLANG_AST_CXXINHERITANCE_H</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="DeclBase_8h.html">clang/AST/DeclBase.h</a>"</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="DeclCXX_8h.html" title="Defines the C++ Decl subclasses, other than those for templates (found in DeclTemplate.h) and friends (in DeclFriend.h).">clang/AST/DeclCXX.h</a>"</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="DeclarationName_8h.html">clang/AST/DeclarationName.h</a>"</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="Type_8h.html">clang/AST/Type.h</a>"</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="TypeOrdering_8h.html" title="Allows QualTypes to be sorted and hence used in maps and sets.">clang/AST/TypeOrdering.h</a>"</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "llvm/ADT/MapVector.h"</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "llvm/ADT/SmallSet.h"</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "llvm/ADT/SmallVector.h"</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <cassert></span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <list></span></div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <map></span></div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>clang {</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">class </span>CXXBaseSpecifier;</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">class </span>CXXMethodDecl;</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span>CXXRecordDecl;</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">class </span>NamedDecl;</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"></span></div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">/// \brief Represents an element in a path from a derived class to a</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">/// base class. </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">/// Each step in the path references the link from a</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/// derived class to one of its direct base classes, along with a</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">/// base "number" that identifies which base subobject of the</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">/// original derived class we are referencing.</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="structclang_1_1CXXBasePathElement.html"> 43</a></span> <span class="comment"></span><span class="keyword">struct </span><a class="code" href="structclang_1_1CXXBasePathElement.html" title="Represents an element in a path from a derived class to a base class.">CXXBasePathElement</a> {<span class="comment"></span></div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> /// \brief The base specifier that states the link from a derived</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> /// class to a base class, which will be followed by this base</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> /// path element.</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="structclang_1_1CXXBasePathElement.html#ab853852cd749786467e819edfbe04af3"> 47</a></span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBaseSpecifier.html" title="Represents a base class of a C++ class.">CXXBaseSpecifier</a> *<a class="code" href="structclang_1_1CXXBasePathElement.html#ab853852cd749786467e819edfbe04af3" title="The base specifier that states the link from a derived class to a base class, which will be followed ...">Base</a>;</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"></span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> /// \brief The record decl of the class that the base is a base of.</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="structclang_1_1CXXBasePathElement.html#a7ff0b0858bf18b6c196a14ece41e2eb9"> 50</a></span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="structclang_1_1CXXBasePathElement.html#a7ff0b0858bf18b6c196a14ece41e2eb9" title="The record decl of the class that the base is a base of.">Class</a>;</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment"></span></div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"> /// \brief Identifies which base class subobject (of type</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"> /// \c Base->getType()) this base path element refers to. </span></div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"> ///</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> /// This value is only valid if \c !Base->isVirtual(), because there</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> /// is no base numbering for the zero or one virtual bases of a</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> /// given type.</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="structclang_1_1CXXBasePathElement.html#a2a24801a5dad108421082b1d77e43a03"> 58</a></span> <span class="comment"></span> <span class="keywordtype">int</span> <a class="code" href="structclang_1_1CXXBasePathElement.html#a2a24801a5dad108421082b1d77e43a03" title="Identifies which base class subobject (of type Base->getType()) this base path element refers to...">SubobjectNumber</a>;</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> };</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"></span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">/// \brief Represents a path from a specific derived class</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment">/// (which is not represented as part of the path) to a particular</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">/// (direct or indirect) base class subobject.</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">/// Individual elements in the path are described by the \c CXXBasePathElement </span></div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment">/// structure, which captures both the link from a derived class to one of its</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">/// direct bases and identification describing which base class</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment">/// subobject is being used.</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePath.html"> 69</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> : <span class="keyword">public</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector</a><CXXBasePathElement, 4> {</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePath.html#ae8c082cfe05135cb3692c4559d46eb4c"> 71</a></span> <a class="code" href="classclang_1_1CXXBasePath.html#ae8c082cfe05135cb3692c4559d46eb4c">CXXBasePath</a>() : <a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a>(<a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa163ae3a419460301961bc458f8f01fd3">AS_public</a>) {}</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"></span></div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> /// \brief The access along this inheritance path. This is only</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> /// calculated when recording paths. AS_none is a special value</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> /// used to indicate a path which permits no legal access.</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0"> 76</a></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> <a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a>;</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"></span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> /// \brief The set of declarations found inside this base class</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> /// subobject.</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce"> 80</a></span> <span class="comment"></span> <a class="code" href="classclang_1_1DeclContext.html#ac25dc34eabe6c4e035c76dd3329e8530">DeclContext::lookup_result</a> <a class="code" href="classclang_1_1CXXBasePath.html#a4f91fc1d70809e67e659ff4b98e8f8ce" title="The set of declarations found inside this base class subobject.">Decls</a>;</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePath.html#ab19f639bfb58a2c114a51cb904f59d4e"> 82</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePath.html#ab19f639bfb58a2c114a51cb904f59d4e">clear</a>() {</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<CXXBasePathElement>::clear</a>();</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <a class="code" href="classclang_1_1CXXBasePath.html#a86ea09e1d3a6cf89bb18f41786a3a2d0" title="The access along this inheritance path. This is only calculated when recording paths. AS_none is a special value used to indicate a path which permits no legal access.">Access</a> = <a class="code" href="namespaceclang.html#afc8aabd1f46cf32e805cd0d970ef988fa163ae3a419460301961bc458f8f01fd3">AS_public</a>;</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> };</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"></span></div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment">/// BasePaths - Represents the set of paths from a derived class to</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">/// one of its (direct or indirect) bases. For example, given the</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment">/// following class hierarchy:</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">/// @code</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment">/// class A { };</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment">/// class B : public A { };</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment">/// class C : public A { };</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">/// class D : public B, public C{ };</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">/// @endcode</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment">/// There are two potential BasePaths to represent paths from D to a</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">/// base subobject of type A. One path is (D,0) -> (B,0) -> (A,0)</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment">/// and another is (D,0)->(C,0)->(A,1). These two paths actually</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">/// refer to two different base class subobjects of the same type,</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">/// so the BasePaths object refers to an ambiguous path. On the</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment">/// other hand, consider the following class hierarchy:</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment">/// @code</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">/// class A { };</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment">/// class B : public virtual A { };</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="comment">/// class C : public virtual A { };</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="comment">/// class D : public B, public C{ };</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="comment">/// @endcode</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment">/// Here, there are two potential BasePaths again, (D, 0) -> (B, 0)</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">/// -> (A,v) and (D, 0) -> (C, 0) -> (A, v), but since both of them</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment">/// refer to the same base class subobject of type A (the virtual</span></div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment">/// one), there is no ambiguity.</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html"> 117</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> {<span class="comment"></span></div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"> /// \brief The type from which this search originated.</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"></span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *Origin;</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"></span></div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="comment"> /// Paths - The actual set of paths that can be taken from the</span></div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="comment"> /// derived class to the same base class.</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment"></span> std::list<CXXBasePath> Paths;</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment"></span></div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment"> /// ClassSubobjects - Records the class subobjects for each class</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment"> /// type that we've seen. The first element in the pair says</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment"> /// whether we found a path to a virtual base for that class type,</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="comment"> /// while the element contains the number of non-virtual base</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="comment"> /// class subobjects for that class type. The key of the map is</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="comment"> /// the cv-unqualified canonical type of the base class subobject.</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="comment"></span> llvm::SmallDenseMap<QualType, std::pair<bool, unsigned>, 8> ClassSubobjects;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="comment"></span></div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="comment"> /// FindAmbiguities - Whether Sema::IsDerivedFrom should try find</span></div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"> /// ambiguous paths while it is looking for a path from a derived</span></div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> /// type to a base type.</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> <span class="comment"></span> <span class="keywordtype">bool</span> FindAmbiguities;</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="comment"></span></div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"> /// RecordPaths - Whether Sema::IsDerivedFrom should record paths</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> /// while it is determining whether there are paths from a derived</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> /// type to a base type.</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"></span> <span class="keywordtype">bool</span> RecordPaths;</div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="comment"></span></div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="comment"> /// DetectVirtual - Whether Sema::IsDerivedFrom should abort the search</span></div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="comment"> /// if it finds a path that goes across a virtual base. The virtual class</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"> /// is also recorded.</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"></span> <span class="keywordtype">bool</span> DetectVirtual;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"></span></div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"> /// ScratchPath - A BasePath that is used by Sema::lookupInBases</span></div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> /// to help build the set of paths.</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"></span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a> ScratchPath;</div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"></span></div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> /// DetectedVirtual - The base class that is virtual.</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a> *DetectedVirtual;</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment"></span></div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"> /// \brief Array of the declarations that have been found. This</span></div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"> /// array is constructed only if needed, e.g., to iterate over the</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"> /// results within LookupResult.</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"></span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> **DeclsFound;</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keywordtype">unsigned</span> NumDeclsFound;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div>
+<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a75f7a3f2f3367b331d3b5448381359ed"> 161</a></span> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a>;</div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">void</span> ComputeDeclsFound();</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="keywordtype">bool</span> lookupInBases(<a class="code" href="classclang_1_1ASTContext.html" title="Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic ...">ASTContext</a> &<a class="code" href="ASTMatchFinder_8cpp.html#a779280869b9fac47a9bc391e7709171f">Context</a>, </div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *Record,</div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <a class="code" href="classclang_1_1CXXRecordDecl.html#a76d341639010c0b5ffc3283413546825" title="Function type used by lookupInBases() to determine whether a specific base class subobject matches th...">CXXRecordDecl::BaseMatchesCallback</a> *BaseMatches, </div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="keywordtype">void</span> *UserData);</div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367"> 170</a></span> <span class="keyword">typedef</span> std::list<CXXBasePath>::iterator <a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">paths_iterator</a>;</div>
+<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a7d85667e35e04f594d26dcf27cf988b9"> 171</a></span> <span class="keyword">typedef</span> std::list<CXXBasePath>::const_iterator <a class="code" href="classclang_1_1CXXBasePaths.html#a7d85667e35e04f594d26dcf27cf988b9">const_paths_iterator</a>;</div>
+<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#ae55e4156c83b111a77c45fd29f406375"> 172</a></span> <span class="keyword">typedef</span> <a class="code" href="classclang_1_1NamedDecl.html">NamedDecl</a> **<a class="code" href="classclang_1_1CXXBasePaths.html#ae55e4156c83b111a77c45fd29f406375">decl_iterator</a>;</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="comment"></span></div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"> /// BasePaths - Construct a new BasePaths structure to record the</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment"> /// paths for a derived-to-base search.</span></div>
+<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a2d12db191431739d5a04473d70f66df2"> 176</a></span> <span class="comment"></span> <span class="keyword">explicit</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a2d12db191431739d5a04473d70f66df2">CXXBasePaths</a>(<span class="keywordtype">bool</span> FindAmbiguities = <span class="keyword">true</span>,</div>
+<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="keywordtype">bool</span> RecordPaths = <span class="keyword">true</span>,</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span> <span class="keywordtype">bool</span> DetectVirtual = <span class="keyword">true</span>)</div>
+<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> : FindAmbiguities(FindAmbiguities), RecordPaths(RecordPaths),</div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> DetectVirtual(DetectVirtual), DetectedVirtual(0), DeclsFound(0),</div>
+<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> NumDeclsFound(0) { }</div>
+<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div>
+<div class="line"><a name="l00183"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a2e08a36e2f49737a7a473e5c422b9f4a"> 183</a></span> <a class="code" href="classclang_1_1CXXBasePaths.html#a2e08a36e2f49737a7a473e5c422b9f4a">~CXXBasePaths</a>() { <span class="keyword">delete</span> [] DeclsFound; }</div>
+<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div>
+<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a2ffc670a3f2252e2348a5685740b1b59"> 185</a></span> <a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">paths_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a2ffc670a3f2252e2348a5685740b1b59">begin</a>() { <span class="keywordflow">return</span> Paths.begin(); }</div>
+<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a3ff4746eb6460f4165d48f2a8d0887e1"> 186</a></span> <a class="code" href="classclang_1_1CXXBasePaths.html#a715620c290cafe5c5e76e38c291d0367">paths_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a3ff4746eb6460f4165d48f2a8d0887e1">end</a>() { <span class="keywordflow">return</span> Paths.end(); }</div>
+<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a4b51a08f0074fe5762d282ff25d0d265"> 187</a></span> <a class="code" href="classclang_1_1CXXBasePaths.html#a7d85667e35e04f594d26dcf27cf988b9">const_paths_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a4b51a08f0074fe5762d282ff25d0d265">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Paths.begin(); }</div>
+<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#ab7bdd7fe7b17703954f120e945e203dc"> 188</a></span> <a class="code" href="classclang_1_1CXXBasePaths.html#a7d85667e35e04f594d26dcf27cf988b9">const_paths_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#ab7bdd7fe7b17703954f120e945e203dc">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Paths.end(); }</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div>
+<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a90154ae88328c06ac330a2d8aeb6b9b9"> 190</a></span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a>& <a class="code" href="classclang_1_1CXXBasePaths.html#a90154ae88328c06ac330a2d8aeb6b9b9">front</a>() { <span class="keywordflow">return</span> Paths.front(); }</div>
+<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a926682570cbd9ab8250d55388996c7be"> 191</a></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXBasePath.html" title="Represents a path from a specific derived class (which is not represented as part of the path) to a p...">CXXBasePath</a>& <a class="code" href="classclang_1_1CXXBasePaths.html#a926682570cbd9ab8250d55388996c7be">front</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Paths.front(); }</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> <a class="code" href="classclang_1_1CXXBasePaths.html#ae55e4156c83b111a77c45fd29f406375">decl_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a617da28c609c15b57cb631139ad07eb3">found_decls_begin</a>();</div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <a class="code" href="classclang_1_1CXXBasePaths.html#ae55e4156c83b111a77c45fd29f406375">decl_iterator</a> <a class="code" href="classclang_1_1CXXBasePaths.html#a2153c3f7978143c676b935502b127656">found_decls_end</a>();</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="comment"></span></div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"> /// \brief Determine whether the path from the most-derived type to the</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment"> /// given base type is ambiguous (i.e., it refers to multiple subobjects of</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment"> /// the same base type).</span></div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a61341e71c248072b3f5bfbd54aea6174" title="Determine whether the path from the most-derived type to the given base type is ambiguous (i...">isAmbiguous</a>(<a class="code" href="classclang_1_1CanQual.html">CanQualType</a> BaseType);</div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="comment"></span></div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="comment"> /// \brief Whether we are finding multiple paths to detect ambiguities.</span></div>
+<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#ae45ba54c94f219c61ebf4afd2fec21a3"> 202</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXBasePaths.html#ae45ba54c94f219c61ebf4afd2fec21a3" title="Whether we are finding multiple paths to detect ambiguities.">isFindingAmbiguities</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> FindAmbiguities; }</div>
+<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <span class="comment"></span></div>
+<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <span class="comment"> /// \brief Whether we are recording paths.</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d"> 205</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXBasePaths.html#ac15725d76aa8c43315aba667a480721d" title="Whether we are recording paths.">isRecordingPaths</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> RecordPaths; }</div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment"></span></div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment"> /// \brief Specify whether we should be recording paths or not.</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a42a51f7fb6978287052486816b7ef88a"> 208</a></span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a42a51f7fb6978287052486816b7ef88a" title="Specify whether we should be recording paths or not.">setRecordingPaths</a>(<span class="keywordtype">bool</span> RP) { RecordPaths = RP; }</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="comment"></span></div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="comment"> /// \brief Whether we are detecting virtual bases.</span></div>
+<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a16884be7c1f6f5759e79b62f06fc69c2"> 211</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a16884be7c1f6f5759e79b62f06fc69c2" title="Whether we are detecting virtual bases.">isDetectingVirtual</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> DetectVirtual; }</div>
+<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment"></span></div>
+<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment"> /// \brief The virtual base discovered on the path (if we are merely</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment"> /// detecting virtuals).</span></div>
+<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a85791df5157a4fbdf6a6275a86a44cf4"> 215</a></span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1RecordType.html">RecordType</a>* <a class="code" href="classclang_1_1CXXBasePaths.html#a85791df5157a4fbdf6a6275a86a44cf4" title="The virtual base discovered on the path (if we are merely detecting virtuals).">getDetectedVirtual</a>()<span class="keyword"> const </span>{</div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="keywordflow">return</span> DetectedVirtual;</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> }</div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="comment"></span></div>
+<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="comment"> /// \brief Retrieve the type from which this base-paths search</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> <span class="comment"> /// began</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a65b06770b867e56b792eca9d4fd647b1"> 221</a></span> <span class="comment"></span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="classclang_1_1CXXBasePaths.html#a65b06770b867e56b792eca9d4fd647b1" title="Retrieve the type from which this base-paths search began.">getOrigin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Origin; }</div>
+<div class="line"><a name="l00222"></a><span class="lineno"><a class="code" href="classclang_1_1CXXBasePaths.html#a028e86e6cf24e5e28ddacd027089d6bb"> 222</a></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a028e86e6cf24e5e28ddacd027089d6bb">setOrigin</a>(<a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *Rec) { Origin = Rec; }</div>
+<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment"></span></div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment"> /// \brief Clear the base-paths results.</span></div>
+<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#a63307ecf3842bca54f4daa7489398426" title="Clear the base-paths results.">clear</a>();</div>
+<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="comment"></span></div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="comment"> /// \brief Swap this data structure's contents with another CXXBasePaths </span></div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <span class="comment"> /// object.</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1CXXBasePaths.html#ae5922aed0852f129516e235941bcfb44" title="Swap this data structure's contents with another CXXBasePaths object.">swap</a>(<a class="code" href="classclang_1_1CXXBasePaths.html">CXXBasePaths</a> &Other);</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> <span class="comment"></span></div>
+<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment">/// \brief Uniquely identifies a virtual method within a class</span></div>
+<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment">/// hierarchy by the method itself and a class subobject number.</span></div>
+<div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html"> 234</a></span> <span class="comment"></span><span class="keyword">struct </span><a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> {</div>
+<div class="line"><a name="l00235"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#a23b7594c7a623b2e293a0eaf48466551"> 235</a></span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#a23b7594c7a623b2e293a0eaf48466551">UniqueVirtualMethod</a>() : <a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e" title="The overriding virtual method.">Method</a>(0), <a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c" title="The subobject in which the overriding virtual method resides.">Subobject</a>(0), <a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e" title="The virtual base class subobject of which this overridden virtual method is a part. Note that this records the closest derived virtual base class subobject.">InVirtualSubobject</a>(0) { }</div>
+<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div>
+<div class="line"><a name="l00237"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#a5c27b0791ff1407604797d2af3ea33f1"> 237</a></span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#a23b7594c7a623b2e293a0eaf48466551">UniqueVirtualMethod</a>(<a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *<a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e" title="The overriding virtual method.">Method</a>, <span class="keywordtype">unsigned</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c" title="The subobject in which the overriding virtual method resides.">Subobject</a>,</div>
+<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e" title="The virtual base class subobject of which this overridden virtual method is a part. Note that this records the closest derived virtual base class subobject.">InVirtualSubobject</a>)</div>
+<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> : Method(Method), Subobject(Subobject), </div>
+<div class="line"><a name="l00240"></a><span class="lineno"> 240</span> InVirtualSubobject(InVirtualSubobject) { }</div>
+<div class="line"><a name="l00241"></a><span class="lineno"> 241</span> <span class="comment"></span></div>
+<div class="line"><a name="l00242"></a><span class="lineno"> 242</span> <span class="comment"> /// \brief The overriding virtual method.</span></div>
+<div class="line"><a name="l00243"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e"> 243</a></span> <span class="comment"></span> <a class="code" href="classclang_1_1CXXMethodDecl.html" title="Represents a static or instance method of a struct/union/class.">CXXMethodDecl</a> *<a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e" title="The overriding virtual method.">Method</a>;</div>
+<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> <span class="comment"></span></div>
+<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="comment"> /// \brief The subobject in which the overriding virtual method</span></div>
+<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"> /// resides.</span></div>
+<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c"> 247</a></span> <span class="comment"></span> <span class="keywordtype">unsigned</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c" title="The subobject in which the overriding virtual method resides.">Subobject</a>;</div>
+<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment"></span></div>
+<div class="line"><a name="l00249"></a><span class="lineno"> 249</span> <span class="comment"> /// \brief The virtual base class subobject of which this overridden</span></div>
+<div class="line"><a name="l00250"></a><span class="lineno"> 250</span> <span class="comment"> /// virtual method is a part. Note that this records the closest</span></div>
+<div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="comment"> /// derived virtual base class subobject.</span></div>
+<div class="line"><a name="l00252"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e"> 252</a></span> <span class="comment"></span> <span class="keyword">const</span> <a class="code" href="classclang_1_1CXXRecordDecl.html" title="Represents a C++ struct/union/class.">CXXRecordDecl</a> *<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e" title="The virtual base class subobject of which this overridden virtual method is a part. Note that this records the closest derived virtual base class subobject.">InVirtualSubobject</a>;</div>
+<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> </div>
+<div class="line"><a name="l00254"></a><span class="lineno"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#a1ee9af1d74831d4ece79efb06f769227"> 254</a></span> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#a1ee9af1d74831d4ece79efb06f769227">operator==</a>(<span class="keyword">const</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> &<a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>,</div>
+<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="keyword">const</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> &Y) {</div>
+<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="keywordflow">return</span> X.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e" title="The overriding virtual method.">Method</a> == Y.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#a92f2bd65b7a9cf5311f4de71896bad4e" title="The overriding virtual method.">Method</a> && X.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c" title="The subobject in which the overriding virtual method resides.">Subobject</a> == Y.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ad8481e71697f38d7a95d96cba4a7a25c" title="The subobject in which the overriding virtual method resides.">Subobject</a> &&</div>
+<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> X.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e" title="The virtual base class subobject of which this overridden virtual method is a part. Note that this records the closest derived virtual base class subobject.">InVirtualSubobject</a> == Y.<a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae8cdb93fd54324eb75bf967a94a6db8e" title="The virtual base class subobject of which this overridden virtual method is a part. Note that this records the closest derived virtual base class subobject.">InVirtualSubobject</a>;</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"><a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae39497d345de7dc47751f7634272dd77"> 260</a></span> <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html#ae39497d345de7dc47751f7634272dd77">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> &<a class="code" href="namespaceclang_1_1tooling.html#ad61cfdb049c401f2669516dc65c93f91">X</a>,</div>
+<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="keyword">const</span> <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> &Y) {</div>
+<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="keywordflow">return</span> !(X == Y);</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> };</div>
+<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="comment"></span></div>
+<div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">/// \brief The set of methods that override a given virtual method in</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment">/// each subobject where it occurs.</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">/// The first part of the pair is the subobject in which the</span></div>
+<div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">/// overridden virtual function occurs, while the second part of the</span></div>
+<div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment">/// pair is the virtual method that overrides it (including the</span></div>
+<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment">/// subobject in which that virtual function occurs).</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html"> 273</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1OverridingMethods.html" title="The set of methods that override a given virtual method in each subobject where it occurs...">OverridingMethods</a> {</div>
+<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="keyword">typedef</span> <a class="code" href="classllvm_1_1SmallVector.html">SmallVector<UniqueVirtualMethod, 4></a> <a class="code" href="classllvm_1_1SmallVector.html">ValuesT</a>;</div>
+<div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="keyword">typedef</span> llvm::MapVector<unsigned, ValuesT> MapType;</div>
+<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> MapType Overrides;</div>
+<div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div>
+<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="keyword">public</span>:</div>
+<div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment">// Iterate over the set of subobjects that have overriding methods.</span></div>
+<div class="line"><a name="l00280"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2"> 280</a></span> <span class="keyword">typedef</span> MapType::iterator <a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2">iterator</a>;</div>
+<div class="line"><a name="l00281"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a647a9847f0ef90f8e3ce84b626da2494"> 281</a></span> <span class="keyword">typedef</span> MapType::const_iterator <a class="code" href="classclang_1_1OverridingMethods.html#a647a9847f0ef90f8e3ce84b626da2494">const_iterator</a>;</div>
+<div class="line"><a name="l00282"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a775d5c1d683c8023015941b261bc98e5"> 282</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2">iterator</a> <a class="code" href="classclang_1_1OverridingMethods.html#a775d5c1d683c8023015941b261bc98e5">begin</a>() { <span class="keywordflow">return</span> Overrides.begin(); }</div>
+<div class="line"><a name="l00283"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#ad390df214ad75464824b5c3780cae603"> 283</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#a647a9847f0ef90f8e3ce84b626da2494">const_iterator</a> <a class="code" href="classclang_1_1OverridingMethods.html#ad390df214ad75464824b5c3780cae603">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Overrides.begin(); }</div>
+<div class="line"><a name="l00284"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a38a4529fb2cfba012ea924a76d997c3a"> 284</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#a761640037b681eb46fd074cb91e131d2">iterator</a> <a class="code" href="classclang_1_1OverridingMethods.html#a38a4529fb2cfba012ea924a76d997c3a">end</a>() { <span class="keywordflow">return</span> Overrides.end(); }</div>
+<div class="line"><a name="l00285"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a6063958cb6df24848080fe6464294e2d"> 285</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#a647a9847f0ef90f8e3ce84b626da2494">const_iterator</a> <a class="code" href="classclang_1_1OverridingMethods.html#a6063958cb6df24848080fe6464294e2d">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Overrides.end(); }</div>
+<div class="line"><a name="l00286"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a5112fc578d695419cc04a1f581410267"> 286</a></span> <span class="keywordtype">unsigned</span> <a class="code" href="classclang_1_1OverridingMethods.html#a5112fc578d695419cc04a1f581410267">size</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Overrides.size(); }</div>
+<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div>
+<div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment">// Iterate over the set of overriding virtual methods in a given</span></div>
+<div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="comment">// subobject.</span></div>
+<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="keyword">typedef</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod>::iterator</a></div>
+<div class="line"><a name="l00291"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#a26865fd8d0d092c00ad85db12039c3df"> 291</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#a26865fd8d0d092c00ad85db12039c3df">overriding_iterator</a>;</div>
+<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="keyword">typedef</span> <a class="code" href="classllvm_1_1SmallVectorImpl.html">SmallVectorImpl<UniqueVirtualMethod>::const_iterator</a></div>
+<div class="line"><a name="l00293"></a><span class="lineno"><a class="code" href="classclang_1_1OverridingMethods.html#af5c369b451bdda891e8532c80313269e"> 293</a></span> <a class="code" href="classclang_1_1OverridingMethods.html#af5c369b451bdda891e8532c80313269e">overriding_const_iterator</a>;</div>
+<div class="line"><a name="l00294"></a><span class="lineno"> 294</span> </div>
+<div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment">// Add a new overriding method for a particular subobject.</span></div>
+<div class="line"><a name="l00296"></a><span class="lineno"> 296</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d">add</a>(<span class="keywordtype">unsigned</span> OverriddenSubobject, <a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> Overriding);</div>
+<div class="line"><a name="l00297"></a><span class="lineno"> 297</span> </div>
+<div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="comment">// Add all of the overriding methods from "other" into overrides for</span></div>
+<div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="comment">// this method. Used when merging the overrides from multiple base</span></div>
+<div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="comment">// class subobjects.</span></div>
+<div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#aa9742bc5689209c4ed2d101606b6c21d">add</a>(<span class="keyword">const</span> <a class="code" href="classclang_1_1OverridingMethods.html" title="The set of methods that override a given virtual method in each subobject where it occurs...">OverridingMethods</a> &Other);</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="comment">// Replace all overriding virtual methods in all subobjects with the</span></div>
+<div class="line"><a name="l00304"></a><span class="lineno"> 304</span> <span class="comment">// given virtual method.</span></div>
+<div class="line"><a name="l00305"></a><span class="lineno"> 305</span> <span class="keywordtype">void</span> <a class="code" href="classclang_1_1OverridingMethods.html#a47ae8dede9ffd0adadbc15f802a8a0d6">replaceAll</a>(<a class="code" href="structclang_1_1UniqueVirtualMethod.html" title="Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobj...">UniqueVirtualMethod</a> Overriding);</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> <span class="comment"></span></div>
+<div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="comment">/// \brief A mapping from each virtual member function to its set of</span></div>
+<div class="line"><a name="l00309"></a><span class="lineno"> 309</span> <span class="comment">/// final overriders.</span></div>
+<div class="line"><a name="l00310"></a><span class="lineno"> 310</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <span class="comment">/// Within a class hierarchy for a given derived class, each virtual</span></div>
+<div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <span class="comment">/// member function in that hierarchy has one or more "final</span></div>
+<div class="line"><a name="l00313"></a><span class="lineno"> 313</span> <span class="comment">/// overriders" (C++ [class.virtual]p2). A final overrider for a</span></div>
+<div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="comment">/// virtual function "f" is the virtual function that will actually be</span></div>
+<div class="line"><a name="l00315"></a><span class="lineno"> 315</span> <span class="comment">/// invoked when dispatching a call to "f" through the</span></div>
+<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> <span class="comment">/// vtable. Well-formed classes have a single final overrider for each</span></div>
+<div class="line"><a name="l00317"></a><span class="lineno"> 317</span> <span class="comment">/// virtual function; in abstract classes, the final overrider for at</span></div>
+<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="comment">/// least one virtual function is a pure virtual function. Due to</span></div>
+<div class="line"><a name="l00319"></a><span class="lineno"> 319</span> <span class="comment">/// multiple, virtual inheritance, it is possible for a class to have</span></div>
+<div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment">/// more than one final overrider. Athough this is an error (per C++</span></div>
+<div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment">/// [class.virtual]p2), it is not considered an error here: the final</span></div>
+<div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment">/// overrider map can represent multiple final overriders for a</span></div>
+<div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment">/// method, and it is up to the client to determine whether they are</span></div>
+<div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment">/// problem. For example, the following class \c D has two final</span></div>
+<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment">/// overriders for the virtual function \c A::f(), one in \c C and one</span></div>
+<div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="comment">/// in \c D:</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">/// \code</span></div>
+<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment">/// struct A { virtual void f(); };</span></div>
+<div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment">/// struct B : virtual A { virtual void f(); };</span></div>
+<div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment">/// struct C : virtual A { virtual void f(); };</span></div>
+<div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment">/// struct D : B, C { };</span></div>
+<div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment">/// \endcode</span></div>
+<div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="comment">/// This data structure contaings a mapping from every virtual</span></div>
+<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment">/// function *that does not override an existing virtual function* and</span></div>
+<div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment">/// in every subobject where that virtual function occurs to the set</span></div>
+<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">/// of virtual functions that override it. Thus, the same virtual</span></div>
+<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment">/// function \c A::f can actually occur in multiple subobjects of type</span></div>
+<div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <span class="comment">/// \c A due to multiple inheritance, and may be overriden by</span></div>
+<div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment">/// different virtual functions in each, as in the following example:</span></div>
+<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="comment">/// \code</span></div>
+<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="comment">/// struct A { virtual void f(); };</span></div>
+<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment">/// struct B : A { virtual void f(); };</span></div>
+<div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="comment">/// struct C : A { virtual void f(); };</span></div>
+<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="comment">/// struct D : B, C { };</span></div>
+<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="comment">/// \endcode</span></div>
+<div class="line"><a name="l00349"></a><span class="lineno"> 349</span> <span class="comment">///</span></div>
+<div class="line"><a name="l00350"></a><span class="lineno"> 350</span> <span class="comment">/// Unlike in the previous example, where the virtual functions \c</span></div>
+<div class="line"><a name="l00351"></a><span class="lineno"> 351</span> <span class="comment">/// B::f and \c C::f both overrode \c A::f in the same subobject of</span></div>
+<div class="line"><a name="l00352"></a><span class="lineno"> 352</span> <span class="comment">/// type \c A, in this example the two virtual functions both override</span></div>
+<div class="line"><a name="l00353"></a><span class="lineno"> 353</span> <span class="comment">/// \c A::f but in *different* subobjects of type A. This is</span></div>
+<div class="line"><a name="l00354"></a><span class="lineno"> 354</span> <span class="comment">/// represented by numbering the subobjects in which the overridden</span></div>
+<div class="line"><a name="l00355"></a><span class="lineno"> 355</span> <span class="comment">/// and the overriding virtual member functions are located. Subobject</span></div>
+<div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="comment">/// 0 represents the virtua base class subobject of that type, while</span></div>
+<div class="line"><a name="l00357"></a><span class="lineno"> 357</span> <span class="comment">/// subobject numbers greater than 0 refer to non-virtual base class</span></div>
+<div class="line"><a name="l00358"></a><span class="lineno"> 358</span> <span class="comment">/// subobjects of that type.</span></div>
+<div class="line"><a name="l00359"></a><span class="lineno"><a class="code" href="classclang_1_1CXXFinalOverriderMap.html"> 359</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXFinalOverriderMap.html" title="A mapping from each virtual member function to its set of final overriders.">CXXFinalOverriderMap</a></div>
+<div class="line"><a name="l00360"></a><span class="lineno"> 360</span> : <span class="keyword">public</span> llvm::MapVector<const CXXMethodDecl *, OverridingMethods> { };</div>
+<div class="line"><a name="l00361"></a><span class="lineno"> 361</span> <span class="comment"></span></div>
+<div class="line"><a name="l00362"></a><span class="lineno"> 362</span> <span class="comment">/// \brief A set of all the primary bases for a class.</span></div>
+<div class="line"><a name="l00363"></a><span class="lineno"><a class="code" href="classclang_1_1CXXIndirectPrimaryBaseSet.html"> 363</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classclang_1_1CXXIndirectPrimaryBaseSet.html" title="A set of all the primary bases for a class.">CXXIndirectPrimaryBaseSet</a></div>
+<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> : <span class="keyword">public</span> llvm::SmallSet<const CXXRecordDecl*, 32> { };</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">// end namespace clang</span></div>
+<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div>
+<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="preprocessor">#endif</span></div>
+</div><!-- fragment --></div><!-- contents -->
+<hr>
+<p class="footer">
+Generated on Mon May 12 2014 12:13:30 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>
More information about the llvm-commits
mailing list