Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@stacked-crooked ~/wide # cat out
- + COMMAND='g++-4.8 -std=c++11 -Wall -Wextra -O2 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__debugbreak=__builtin_trap -c -Wno-unused-parameter -Wno-unknown-pragmas -Wno-reorder '
- + INCLUDES='-IClangExperiments -IClangExperiments/Stages -I/root/stacked-crooked/LLVM/Clang/build/include/llvm -I/root/stacked-crooked/LLVM/Clang/llvm/tools/clang/lib -I/usr/local/include/clang -o '
- ++ find . -name '*\.cpp'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/FunctionType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/FunctionType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/UserDefinedType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Analyzer.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Analyzer.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangOverloadSet.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTemplateClass.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/LvalueType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/LvalueType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Util.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Util.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/OverloadSet.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/PrimitiveType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Type.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Type.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/IntegralType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/IntegralType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/RvalueType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/RvalueType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Function.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Function.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangNamespace.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangInclude.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/StringType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/StringType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Void.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Void.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ConstructorType.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Module.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Module.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/ClangTU.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/ClangTU.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Semantic/Bool.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Semantic/Bool.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Parser/Builder.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Parser/Builder.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Generator.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Generator.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Statement.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Statement.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/FunctionCodeGen.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Codegen/Expression.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Codegen/Expression.cpp.o ']'
- + for cpp_file in '$(find . -name "*\.cpp")'
- + obj_file=./ClangExperiments/Stages/Wide.cpp.o
- + '[' '!' -f ./ClangExperiments/Stages/Wide.cpp.o ']'
- + g++-4.8 -std=c++11 -Wall -Wextra -O2 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__debugbreak=__builtin_trap -c -Wno-unused-parameter -Wno-unknown-pragmas -Wno-reorder ./ClangExperiments/Stages/Wide.cpp -IClangExperiments -IClangExperiments/Stages -I/root/stacked-crooked/LLVM/Clang/build/include/llvm -I/root/stacked-crooked/LLVM/Clang/llvm/tools/clang/lib -I/usr/local/include/clang -o ./ClangExperiments/Stages/Wide.cpp.o
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /usr/include/c++/4.8/bits/hashtable_policy.h: In instantiation of 'struct std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> >':
- /usr/include/c++/4.8/type_traits:121:12: recursively required from 'struct std::__and_<std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > >'
- /usr/include/c++/4.8/type_traits:121:12: required from 'struct std::__and_<std::__is_fast_hash<std::hash<Wide::Lexer::TokenType> >, std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > >'
- /usr/include/c++/4.8/type_traits:127:38: required from 'struct std::__not_<std::__and_<std::__is_fast_hash<std::hash<Wide::Lexer::TokenType> >, std::is_default_constructible<std::hash<Wide::Lexer::TokenType> >, std::is_copy_assignable<std::hash<Wide::Lexer::TokenType> >, std::__detail::__is_noexcept_hash<Wide::Lexer::TokenType, std::hash<Wide::Lexer::TokenType> > > >'
- /usr/include/c++/4.8/bits/unordered_set.h:95:63: required from 'class std::unordered_set<Wide::Lexer::TokenType>'
- ./ClangExperiments/Stages/Parser/parser.h:580:100: required from here
- /usr/include/c++/4.8/bits/hashtable_policy.h:85:33: error: passing 'const std::hash<Wide::Lexer::TokenType>' as 'this' argument of 'std::size_t std::hash<Wide::Lexer::TokenType>::operator()(Wide::Lexer::TokenType)' discards qualifiers [-fpermissive]
- noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
- ^
- In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
- ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'void Wide::Parser::ParseUsingDefinition(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]':
- ./ClangExperiments/Stages/Parser/parser.h:634:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:666:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./ClangExperiments/Stages/Parser/parser.h:532:18: warning: unused variable 'def' [-Wunused-variable]
- auto def = sema.CreateUsingDefinition(std::move(val), ParseExpression(lex, sema), m);
- ^
- In file included from /usr/include/c++/4.8/bits/hashtable.h:35:0,
- from /usr/include/c++/4.8/unordered_map:47,
- from ./ClangExperiments/Stages/Semantic/ClangCommonState.h:11,
- from ./ClangExperiments/Stages/Semantic/Analyzer.h:9,
- from ./ClangExperiments/Stages/Wide.cpp:2:
- /usr/include/c++/4.8/bits/hashtable_policy.h: In instantiation of 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_M_hash_code(const _Key&) const [with _Key = Wide::Lexer::TokenType; _Value = Wide::Lexer::TokenType; _ExtractKey = std::__detail::_Identity; _H1 = std::hash<Wide::Lexer::TokenType>; _H2 = std::__detail::_Mod_range_hashing; std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::__hash_code = long unsigned int]':
- /usr/include/c++/4.8/bits/hashtable.h:1023:50: required from 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::find(const key_type&) [with _Key = Wide::Lexer::TokenType; _Value = Wide::Lexer::TokenType; _Alloc = std::allocator<Wide::Lexer::TokenType>; _ExtractKey = std::__detail::_Identity; _Equal = std::equal_to<Wide::Lexer::TokenType>; _H1 = std::hash<Wide::Lexer::TokenType>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::iterator = std::__detail::_Node_iterator<Wide::Lexer::TokenType, true, true>; std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::key_type = Wide::Lexer::TokenType]'
- /usr/include/c++/4.8/bits/unordered_set.h:517:29: required from 'std::unordered_set<_Value, _Hash, _Pred, _Alloc>::iterator std::unordered_set<_Value, _Hash, _Pred, _Alloc>::find(const key_type&) [with _Value = Wide::Lexer::TokenType; _Hash = std::hash<Wide::Lexer::TokenType>; _Pred = std::equal_to<Wide::Lexer::TokenType>; _Alloc = std::allocator<Wide::Lexer::TokenType>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::iterator = std::__detail::_Node_iterator<Wide::Lexer::TokenType, true, true>; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_type = Wide::Lexer::TokenType]'
- ./ClangExperiments/Stages/Parser/parser.h:603:66: required from 'void Wide::Parser::ParseTypeDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:642:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:666:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- /usr/include/c++/4.8/bits/hashtable_policy.h:1103:22: error: passing 'const std::hash<Wide::Lexer::TokenType>' as 'this' argument of 'std::size_t std::hash<Wide::Lexer::TokenType>::operator()(Wide::Lexer::TokenType)' discards qualifiers [-fpermissive]
- { return _M_h1()(__k); }
- ^
- In file included from ./ClangExperiments/Stages/Wide.cpp:7:0:
- ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePrimaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]':
- ./ClangExperiments/Stages/Parser/parser.h:136:57: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePostfixExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:179:52: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseUnaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:312:54: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseAssignmentExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:323:55: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:486:58: required from 'void Wide::Parser::ParseFunction(Lex&&, Sema&&, Token&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Token = Wide::Lexer::Token&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:630:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:666:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./ClangExperiments/Stages/Parser/parser.h:68:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- auto expr = ParseExpression(lex, sema);
- ^
- ./ClangExperiments/Stages/Parser/parser.h:322:77: note: 'template<class Lex, class Sema> typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&)' declared here, later in the translation unit
- template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
- ^
- ./ClangExperiments/Stages/Parser/parser.h:86:61: error: 'ParseFunctionArguments' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- auto args = ParseFunctionArguments(lex, sema);
- ^
- ./ClangExperiments/Stages/Parser/parser.h:411:52: note: 'template<class Lex, class Sema> decltype (sema.CreateFunctionArgumentGroup()) Wide::Parser::ParseFunctionArguments(Lex&&, Sema&&)' declared here, later in the translation unit
- template<typename Lex, typename Sema> auto ParseFunctionArguments(Lex&& lex, Sema&& sema) -> decltype(sema.CreateFunctionArgumentGroup()) {
- ^
- ./ClangExperiments/Stages/Parser/parser.h:117:59: error: 'ParseStatement' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- grp.push_back(ParseStatement(lex, sema));
- ^
- ./ClangExperiments/Stages/Parser/parser.h:336:77: note: 'template<class Lex, class Sema> typename Wide::Parser::StmtType<Sema>::type Wide::Parser::ParseStatement(Lex&&, Sema&&)' declared here, later in the translation unit
- template<typename Lex, typename Sema> typename StmtType<Sema>::type ParseStatement(Lex&& lex, Sema&& sema) {
- ^
- ./ClangExperiments/Stages/Parser/parser.h: In instantiation of 'void Wide::Parser::ParseFunctionArguments(Lex&&, Sema&&, Group&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Group = std::vector<Wide::AST::Expression*>&]':
- ./ClangExperiments/Stages/Parser/parser.h:148:66: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParsePostfixExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:179:52: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseUnaryExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:312:54: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseAssignmentExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:323:55: required from 'typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; typename Wide::Parser::ExprType<Sema>::type = Wide::AST::Expression*]'
- ./ClangExperiments/Stages/Parser/parser.h:486:58: required from 'void Wide::Parser::ParseFunction(Lex&&, Sema&&, Token&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Token = Wide::Lexer::Token&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:630:72: required from 'void Wide::Parser::ParseModuleLevelDeclaration(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*&]'
- ./ClangExperiments/Stages/Parser/parser.h:666:57: required from 'void Wide::Parser::ParseModuleContents(Lex&&, Sema&&, Module&&) [with Lex = Wide::Lexer::Invocation<__gnu_cxx::__normal_iterator<char*, std::basic_string<char> > >&; Sema = Wide::AST::Builder&; Module = Wide::AST::Module*]'
- ./ClangExperiments/Stages/Wide.cpp:28:92: required from here
- ./ClangExperiments/Stages/Parser/parser.h:126:54: error: 'ParseExpression' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
- group.push_back(ParseExpression(lex, sema));
- ^
- ./ClangExperiments/Stages/Parser/parser.h:322:77: note: 'template<class Lex, class Sema> typename Wide::Parser::ExprType<Sema>::type Wide::Parser::ParseExpression(Lex&&, Sema&&)' declared here, later in the translation unit
- template<typename Lex, typename Sema> typename ExprType<Sema>::type ParseExpression(Lex&& lex, Sema&& sema) {
- ^
- root@stacked-crooked ~/wide #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement