<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - CodeGen compiler error"
href="https://llvm.org/bugs/show_bug.cgi?id=26964">26964</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CodeGen compiler error
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dane@mapbox.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>With latest clang HEAD I'm seeing:
FAILED:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER
-DCLANG_REPOSITORY_STRING=\"<a href="https://github.com/springmeyer/build-llvm">https://github.com/springmeyer/build-llvm</a>\"
-DCLANG_VENDOR="\"mapbox/springmeyer \"" -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools/clang/lib/CodeGen
-I/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen
-I/Users/dane/projects/build-llvm/llvm/tools/clang/include
-Itools/clang/include -Iinclude -I/Users/dane/projects/build-llvm/llvm/include
-O3 -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -std=c++11 -fcolor-diagnostics -fno-common
-Woverloaded-virtual -Wno-nested-anon-types -O3 -fno-exceptions -fno-rtti
-MMD -MT tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o -MF
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o.d -o
tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o -c
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CGCXXABI.cpp
In file included from
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CGCXXABI.cpp:15:
In file included from
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CGCXXABI.h:18:
In file included from
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:17:
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CGBuilder.h:26:43:
error: expected class name
class CGBuilderInserter : protected llvm::IRBuilderDefaultInserter {
^
/Users/dane/projects/build-llvm/llvm/tools/clang/lib/CodeGen/CGBuilder.h:42:25:
error: template argument for non-type template parameter must be an expression
typedef llvm::IRBuilder<llvm::ConstantFolder, CGBuilderInserterTy>
^~~~~~~~~~~~~~~~~~~~
/Users/dane/projects/build-llvm/llvm/include/llvm/IR/IRBuilder.h:546:15: note:
template parameter is declared here
template<bool preserveNames = true, typename T = ConstantFolder,
^
I</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>