- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidatePrinter.cpp
r39d8950 r1622af5 10 10 // Created On : Tue Nov 9 9:54:00 2021 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Mar 16 13:56:00 202213 // Update Count : 112 // Last Modified On : Tue Nov 9 15:47:00 2021 13 // Update Count : 0 14 14 // 15 15 … … 22 22 #include "AST/TranslationUnit.hpp" 23 23 #include "ResolvExpr/CandidateFinder.hpp" 24 #include "ResolvExpr/Resolver.h"25 24 26 25 #include <iostream> … … 30 29 namespace { 31 30 32 class CandidatePrintCore : public ast::WithSymbolTable, 33 public ast::WithConstTranslationUnit { 31 class CandidatePrintCore : public ast::WithSymbolTable { 34 32 std::ostream & os; 35 33 public: … … 38 36 void postvisit( const ast::ExprStmt * stmt ) { 39 37 ast::TypeEnvironment env; 40 CandidateFinder finder( { symtab, transUnit().global }, env );38 CandidateFinder finder( symtab, env ); 41 39 finder.find( stmt->expr, ResolvMode::withAdjustment() ); 42 40 int count = 1;
Note:
See TracChangeset
for help on using the changeset viewer.