llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.48k stars 11.77k forks source link

CodeGen compiler error #27338

Closed llvmbot closed 7 years ago

llvmbot commented 8 years ago
Bugzilla Link 26964
Resolution FIXED
Resolved on Oct 20, 2016 00:41
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

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 -DSTDC_CONSTANT_MACROS -DSTDC_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

llvmbot commented 7 years ago

No longer seeing this problem, marking as resolved.