Ignore:
Timestamp:
Jul 21, 2017, 3:57:11 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
9191a8e
Parents:
53a8e68
Message:

Refactor operator predicates into OperatorTable?.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r53a8e68 rbff227f  
    2222#include "Common/SemanticError.h"  // for SemanticError
    2323#include "Common/utility.h"        // for deleteAll, map_range
    24 #include "InitTweak/InitTweak.h"   // for isConstructor
     24#include "CodeGen/OperatorTable.h" // for isConstructor
     25#include "InitTweak/InitTweak.h"   // for getPointerBase
    2526#include "Parser/LinkageSpec.h"    // for Cforall
    2627#include "SymTab/AddVisit.h"       // for acceptAndAdd
     
    522523                Visitor::visit(decl);
    523524
    524                 if( ! InitTweak::isConstructor(decl->get_name()) ) return;
     525                if( ! CodeGen::isConstructor(decl->get_name()) ) return;
    525526
    526527                DeclarationWithType * param = decl->get_functionType()->get_parameters().front();
Note: See TracChangeset for help on using the changeset viewer.