[llvm-bugs] [Bug 26964] New: CodeGen compiler error

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 16 09:34:46 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=26964

            Bug ID: 26964
           Summary: CodeGen compiler error
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dane at mapbox.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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=\"https://github.com/springmeyer/build-llvm\"
-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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160316/4caed8b2/attachment.html>


More information about the llvm-bugs mailing list