Skip to content

Instantly share code, notes, and snippets.

@karkhaz
Created November 30, 2016 03:54
Show Gist options
  • Save karkhaz/5bda791cd1fbc2b5553acd0e7aeb163f to your computer and use it in GitHub Desktop.
Save karkhaz/5bda791cd1fbc2b5553acd0e7aeb163f to your computer and use it in GitHub Desktop.
[132/422] Building CXX object tools/clang/l...CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o
FAILED: tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o
/usr/bin/c++ -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/CodeGen -I/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen -I/usr/local/google/home/khazem/doc/llvm/tools/clang/include -Itools/clang/include -Iinclude -I/usr/local/google/home/khazem/doc/llvm/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -fno-common -Woverloaded-virtual -fno-strict-aliasing -g -fno-exceptions -fno-rtti -MD -MT tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o -MF tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o.d -o tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o -c /usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp: In instantiation of ‘llvm::Constant* {anonymous}::{anonymous}::ProtocolMethodLists::emitMethodList(Self*, const clang::ObjCProtocolDecl*, {anonymous}::{anonymous}::ProtocolMethodLists::Kind) const [with Self = {anonymous}::CGObjCMac]’:
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:2827:75: required from here
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:3638:17: error: ‘llvm::Constant* {anonymous}::CGObjCMac::emitMethodList(llvm::Twine, {anonymous}::{anonymous}::MethodListType, llvm::ArrayRef<const clang::ObjCMethodDecl*>)’ is private
llvm::Constant *CGObjCMac::emitMethodList(Twine name, MethodListType MLT,
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:1161:71: error: within this context
getMethodListKind(kind), Methods[kind]);
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp: In instantiation of ‘llvm::SmallVector<llvm::Constant*, 8u> {anonymous}::{anonymous}::ProtocolMethodLists::emitExtendedTypesArray(Self*) const [with Self = {anonymous}::CGObjCMac]’:
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:2889:68: required from here
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:5238:17: error: ‘llvm::Constant* {anonymous}::CGObjCCommonMac::GetMethodVarType(const clang::ObjCMethodDecl*, bool)’ is protected
llvm::Constant *CGObjCCommonMac::GetMethodVarType(const ObjCMethodDecl *D,
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:1150:9: error: within this context
result.push_back(self->GetMethodVarType(MD, true));
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp: In instantiation of ‘llvm::Constant* {anonymous}::{anonymous}::ProtocolMethodLists::emitMethodList(Self*, const clang::ObjCProtocolDecl*, {anonymous}::{anonymous}::ProtocolMethodLists::Kind) const [with Self = {anonymous}::CGObjCNonFragileABIMac]’:
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:6721:78: required from here
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:6451:1: error: ‘llvm::Constant* {anonymous}::CGObjCNonFragileABIMac::emitMethodList(llvm::Twine, {anonymous}::{anonymous}::MethodListType, llvm::ArrayRef<const clang::ObjCMethodDecl*>)’ is private
CGObjCNonFragileABIMac::emitMethodList(Twine name, MethodListType kind,
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:1161:71: error: within this context
getMethodListKind(kind), Methods[kind]);
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp: In instantiation of ‘llvm::SmallVector<llvm::Constant*, 8u> {anonymous}::{anonymous}::ProtocolMethodLists::emitExtendedTypesArray(Self*) const [with Self = {anonymous}::CGObjCNonFragileABIMac]’:
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:6737:77: required from here
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:5238:17: error: ‘llvm::Constant* {anonymous}::CGObjCCommonMac::GetMethodVarType(const clang::ObjCMethodDecl*, bool)’ is protected
llvm::Constant *CGObjCCommonMac::GetMethodVarType(const ObjCMethodDecl *D,
^
/usr/local/google/home/khazem/doc/llvm/tools/clang/lib/CodeGen/CGObjCMac.cpp:1150:9: error: within this context
result.push_back(self->GetMethodVarType(MD, true));
^
[181/422] Building CXX object tools/clang/l...eFiles/clangCodeGen.dir/CodeGenModule.cpp.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment