- Timestamp:
- Nov 10, 2020, 6:03:04 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 4a36b344, 654d5a47
- Parents:
- 1b5c3d60 (diff), 1d379b5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 4 edited
-
AST/Pass.impl.hpp (modified) (1 diff)
-
AST/Pass.proto.hpp (modified) (1 diff)
-
ResolvExpr/Resolver.cc (modified) (2 diffs)
-
ResolvExpr/SatisfyAssertions.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
r1b5c3d60 r2b18848 423 423 } 424 424 catch( SemanticErrorException &e ) { 425 if (__pass::on Error (visitor.core, *i, 0))425 if (__pass::on_error (visitor.core, *i, 0)) 426 426 errors.append( e ); 427 427 } -
src/AST/Pass.proto.hpp
r1b5c3d60 r2b18848 270 270 271 271 template< typename core_t > 272 static bool on Error (core_t &, ptr<Decl> &, long) { return true; }273 274 template< typename core_t > 275 static auto on Error (core_t & core, ptr<Decl> & decl, int) -> decltype(core.onError(decl)) {276 return core.on Error(decl);272 static bool on_error (core_t &, ptr<Decl> &, long) { return true; } 273 274 template< typename core_t > 275 static auto on_error (core_t & core, ptr<Decl> & decl, int) -> decltype(core.on_error(decl)) { 276 return core.on_error(decl); 277 277 } 278 278 -
src/ResolvExpr/Resolver.cc
r1b5c3d60 r2b18848 1289 1289 void beginScope() { managedTypes.beginScope(); } 1290 1290 void endScope() { managedTypes.endScope(); } 1291 bool on Error(ast::ptr<ast::Decl> & decl);1291 bool on_error(ast::ptr<ast::Decl> & decl); 1292 1292 }; 1293 1293 // size_t Resolver_new::traceId = Stats::Heap::new_stacktrace_id("Resolver"); … … 2068 2068 2069 2069 // suppress error on autogen functions and mark invalid autogen as deleted. 2070 bool Resolver_new::on Error(ast::ptr<ast::Decl> & decl) {2070 bool Resolver_new::on_error(ast::ptr<ast::Decl> & decl) { 2071 2071 if (auto functionDecl = decl.as<ast::FunctionDecl>()) { 2072 2072 // xxx - can intrinsic gen ever fail? -
src/ResolvExpr/SatisfyAssertions.cpp
r1b5c3d60 r2b18848 247 247 auto it = inferred.find( slot ); 248 248 if ( it == inferred.end() ) { 249 std::cerr << "missing assertion " << slot << std::endl;249 // std::cerr << "missing assertion " << slot << std::endl; 250 250 missingSlots.push_back(slot); 251 251 continue;
Note:
See TracChangeset
for help on using the changeset viewer.