<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Grady: Hmm, buildbots chewed through this just fine, even those on
macOS with older compilers, and it does compile for me on a newer
compiler as well.<br>
<br>
Aaron: I don't know if sys::path::const_iterator is an STL forward
iterator; from the doxygen
(<a class="moz-txt-link-freetext" href="http://llvm.org/doxygen/classllvm_1_1sys_1_1path_1_1const__iterator.html">http://llvm.org/doxygen/classllvm_1_1sys_1_1path_1_1const__iterator.html</a>)
it looks like it's only an input iterator, which is not enough (it
will be enough when we move to C++17). I guess we can always stuff a
simple iterator loop in there and it should compile just fine; do
you have any immediate ideas on how to preserve the expressiveness
of std::for_each here?<br>
<br>
<div class="moz-cite-prefix">On 11/2/18 2:41 PM, Grady Player via
cfe-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ED3288CD-4F81-464E-B831-1C6965AE55EA@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class="">from master branch</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><br class="">
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class="">
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">svn log -l 1</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">------------------------------------------------------------------------</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">r346029 | aheejin | 2018-11-02 12:38:52 -0600
(Fri, 02 Nov 2018) | 35 lines</span></div>
<div style="margin: 0px; line-height: normal; min-height:
13px;" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">[WebAssembly] Fix bugs in rethrow depth counting
and InstPrinter</span></div>
<div style="margin: 0px; line-height: normal; min-height:
13px;" class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Summary:</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">EH stack depth is incremented at `try` and
decremented at `catch`. When</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">there are more than two catch instructions for a
try instruction, we</span></div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class=""><br class="">
</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">running make in llvm/build</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class=""><br class="">
</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/Tooling/Refactoring/CMakeFiles/clangToolingRefactor.dir/Rename/SymbolOccurrences.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/Tooling/Refactoring/CMakeFiles/clangToolingRefactor.dir/Rename/USRFinder.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/Tooling/Refactoring/CMakeFiles/clangToolingRefactor.dir/Rename/USRFindingAction.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/Tooling/Refactoring/CMakeFiles/clangToolingRefactor.dir/Rename/USRLocFinder.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class="">Linking CXX static library
../../../../../lib/libclangToolingRefactor.a</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">[
88%] Built target clangToolingRefactor</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(213, 59, 211);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class="">Scanning dependencies of target
clangToolingASTDiff</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/Tooling/ASTDiff/CMakeFiles/clangToolingASTDiff.dir/ASTDiff.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class="">Linking CXX static library
../../../../../lib/libclangToolingASTDiff.a</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">[
88%] Built target clangToolingASTDiff</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">[
88%] Built target clangIndex</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures; color:
#000000" class="">[ 88%] </span><span
style="font-variant-ligatures: no-common-ligatures" class="">Building
CXX object
tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class="">/usr/local/src/llvm/tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp:86:17:
</b></span><span style="font-variant-ligatures:
no-common-ligatures; color: #c33720" class=""><b class="">error:
</b></span><span style="font-variant-ligatures:
no-common-ligatures" class=""><b class="">no matching
function for call to 'next'</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
std::for_each(std::next(sys::path::begin(Filename)),
sys::path::end(Filename),</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class=""> ^~~~~~~~~</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:521:25:
</b></span><span style="font-variant-ligatures:
no-common-ligatures;" class=""><b class="">note: </b></span><span
style="font-variant-ligatures: no-common-ligatures" class="">candidate
template ignored:</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
disabled by 'enable_if' [with _ForwardIter =
llvm::sys::path::const_iterator]</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
typename
enable_if<__is_forward_iterator<_ForwardIter>::value>::type*
= 0)</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo; color: rgb(52, 188, 38);" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><b
class=""> ^</b></span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">1
error generated.</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">make[2]:
***
[tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o]
Error 1</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">make[1]:
***
[tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/all]
Error 2</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">make:
*** [all] Error 2</span></div>
</div>
<div class=""><span style="font-variant-ligatures:
no-common-ligatures" class=""><br class="">
</span></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
running on Mac OS 10.12.6
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""> cc
--version</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Apple
LLVM version 8.1.0 (clang-802.0.42)</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Target:
x86_64-apple-darwin16.7.0</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">Thread
model: posix</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</span></div>
</div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class=""><br
class="">
</span></div>
<div style="margin: 0px; font-size: 11px; line-height: normal;
font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">c++ --version</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Apple LLVM version 8.1.0 (clang-802.0.42)</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Target: x86_64-apple-darwin16.7.0</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">Thread model: posix</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br class="">
</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class="">grady</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br class="">
</span></div>
<div style="margin: 0px; line-height: normal;" class=""><span
style="font-variant-ligatures: no-common-ligatures"
class=""><br class="">
</span></div>
</span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>