Skip to content

Commit

Permalink
Fixed almost all problems diagnosed by the Boost inspection report.
Browse files Browse the repository at this point in the history
[SVN r28650]
  • Loading branch information
hkaiser committed May 4, 2005
1 parent 116a39e commit 795fbd6
Show file tree
Hide file tree
Showing 196 changed files with 10,765 additions and 10,764 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ CHANGELOG
- Added character literal out of range testing and an additional corresponding
error message.
- Fixed parsing of long character literals (such as '\x1234').
- Fixed almost all problems diagnosed by the Boost inspection report.

Thu Apr 7 10:07:45 WEDT 2005
Version 1.1.16
Expand Down
16 changes: 8 additions & 8 deletions doc/class_reference_ctxpolicy.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
</tr>
</table>
<blockquote>
<p><a href="class_reference_tracepolicy.html#introduction">Introduction</a><br>
<a href="class_reference_tracepolicy.html#header_synopsis">Header 'wave/preprocessing_hooks.hpp'
<p><a href="class_reference_ctxpolicy.html#introduction">Introduction</a><br>
<a href="class_reference_ctxpolicy.html#header_synopsis">Header 'wave/preprocessing_hooks.hpp'
synopsis</a><br>
<a href="class_reference_tracepolicy.html#member_functions">Member functions</a></p>
<a href="class_reference_ctxpolicy.html#member_functions">Member functions</a></p>
</blockquote>
<h2><b><a name="introduction"></a>Introduction</b></h2>
<p>The context policy is used to provide callback hooks, which are called from inside the library into the user code, whenever</p>
Expand Down Expand Up @@ -67,7 +67,7 @@ <h2><a name="header_synopsis"></a>Header <a href="http://cvs.sourceforge.net/vie
<span class="keyword">void</span> <a href="class_reference_ctxpolicy.html#expanded_macro">rescanned_macro</a>(ContainerT <span class="keyword">const</span> &amp;result);

<span class="comment">// include file tracing functions</span>
<span class="keyword">void</span> <a href="class_reference_ctxpolicy.html#found_include_directive">found_include_directive</a>(std::string <span class="keyword">const</span> &amp;filename);
<span class="keyword">void</span> <a href="class_reference_ctxpolicy.html#opened_include_file">found_include_directive</a>(std::string <span class="keyword">const</span> &amp;filename);

<span class="keyword">void </span><a href="class_reference_ctxpolicy.html#opened_include_file">opened_include_file</a>(std::string <span class="keyword">const</span> &amp;relname,
std::string const&amp; absname,
Expand Down Expand Up @@ -205,7 +205,7 @@ <h3>Include file tracing functions</h3>
<h3>Interpretation of #pragma's</h3>
<p><strong><a name="interpret_pragma"></a>interpret_pragma</strong></p>
<pre> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Context, <span class="keyword">typename</span> ContainerT&gt;
bool <a href="class_reference_tracepolicy.html#interpret_pragma">interpret_pragma</a>(ContextT <span class="keyword">const</span> &amp;ctx, ContainerT &amp;pending,
bool <a href="class_reference_ctxpolicy.html#interpret_pragma">interpret_pragma</a>(ContextT <span class="keyword">const</span> &amp;ctx, ContainerT &amp;pending,
<span class="keyword">typename</span> ContextT::token_type <span class="keyword">const</span> &amp;option,
ContainerT <span class="keyword">const</span> &amp;values,
<span class="keyword">typename</span> ContextT::token_type<span class="keyword"> const</span> &amp;pragma_token);
Expand Down Expand Up @@ -234,7 +234,7 @@ <h3>Macro definition </h3>
<pre> <span class="keyword">template</span> &lt;
<span class="keyword">typename</span> TokenT, <span class="keyword">typename</span> ParametersT, <span class="keyword">typename</span> DefinitionT
&gt;
<span class="keyword">void</span> <a href="class_reference_tracepolicy.html#defined_macro">defined_macro</a>(TokenT <span class="keyword">const</span> &amp;name, <span class="keyword">bool</span> is_functionlike,
<span class="keyword">void</span> <a href="class_reference_ctxpolicy.html#defined_macro">defined_macro</a>(TokenT <span class="keyword">const</span> &amp;name, <span class="keyword">bool</span> is_functionlike,
ParametersT <span class="keyword">const</span> &amp;parameters, DefinitionT <span class="keyword">const</span> &amp;definition,
<span class="keyword">bool</span> is_predefined);
</pre>
Expand All @@ -253,7 +253,7 @@ <h3>Macro definition </h3>
</blockquote>
<p><strong><a name="undefined_macro" id="undefined_macro"></a>undefined_macro</strong></p>
<pre> <span class="keyword">template</span> &lt;<span class="keyword">typename</span> TokenT&gt;
<span class="keyword">void</span> <a href="class_reference_tracepolicy.html#undefined_macro">undefined_macro</a>(TokenT<span class="keyword">const</span> &amp;name);
<span class="keyword">void</span> <a href="class_reference_ctxpolicy.html#undefined_macro">undefined_macro</a>(TokenT<span class="keyword">const</span> &amp;name);
</pre>
<blockquote>
<p>The function <tt>undefined_macro</tt> is called whenever a macro definition
Expand All @@ -275,7 +275,7 @@ <h3>Macro definition </h3>
<font size="2">Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) </font> </p>
<span class="updated"></span>
<p class="copyright"><span class="updated">Last updated:
<!-- #BeginDate format:fcAm1m -->Wednesday, March 16, 2005 20:35<!-- #EndDate -->
<!-- #BeginDate format:fcAm1m -->Wednesday, May 4, 2005 8:42<!-- #EndDate -->
</span></p>
</body>
</html>
4 changes: 2 additions & 2 deletions include/boost/wave/util/cpp_include_paths.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ bool include_paths::find_include_file (std::string &s, std::string &dir,
fs::path file_path (current_file, fs::native);
for (/**/; it != include_paths_end; ++it) {
fs::path currpath ((*it).first.string(), fs::native);
if (std::equal(currpath.begin(), currpath.end(), file_path.begin()))
{
if (std::equal(currpath.begin(), currpath.end(), file_path.begin()))
{
++it; // start searching with the next directory
break;
}
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
Object</a></td>
</tr>
<tr>
<td class="toc_cells_L1"><a href="doc/class_reference_inputpolicy.html">The Input
<td class="toc_cells_L1"><a href="doc/class_reference_inptpolcy.html">The Input
Policy </a></td>
</tr>
<tr>
<td class="toc_cells_L1"><a href="doc/class_reference_contextpolicy.html">The Context
<td class="toc_cells_L1"><a href="doc/class_reference_ctxpolicy.html">The Context
Policy </a></td>
</tr>
<tr>
Expand All @@ -56,7 +56,7 @@
<td class="toc_cells_L1"><a href="doc/token_ids.html">The Token Identifiers </a></td>
</tr>
<tr>
<td class="toc_cells_L1"><a href="doc/class_reference_fileposition.html">The File
<td class="toc_cells_L1"><a href="doc/class_reference_filepos.html">The File
Position</a></td>
</tr>
<tr>
Expand Down
Loading

0 comments on commit 795fbd6

Please sign in to comment.