Changeset c92bdcc for src/ResolvExpr


Ignore:
Timestamp:
May 10, 2024, 4:06:07 PM (12 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
0f612d2
Parents:
41c8312
Message:

Updated the rest of the names in src/ (except for the generated files).

Location:
src/ResolvExpr
Files:
9 edited
24 moved

Legend:

Unmodified
Added
Removed
  • TabularUnified src/ResolvExpr/Candidate.hpp

    r41c8312 rc92bdcc  
    2020#include <vector>
    2121
    22 #include "Cost.h"
     22#include "Cost.hpp"
    2323#include "AST/Node.hpp"
    2424#include "AST/TypeEnvironment.hpp"
    25 #include "Common/Indenter.h"
     25#include "Common/Indenter.hpp"
    2626
    2727namespace ast {
  • TabularUnified src/ResolvExpr/CandidateFinder.cpp

    r41c8312 rc92bdcc  
    1717
    1818#include <deque>
    19 #include <iterator>               // for back_inserter
     19#include <iterator>                 // for back_inserter
    2020#include <sstream>
    2121#include <string>
     
    2525#include "AdjustExprType.hpp"
    2626#include "Candidate.hpp"
    27 #include "CastCost.hpp"           // for castCost
     27#include "CastCost.hpp"             // for castCost
    2828#include "CompilationState.hpp"
    29 #include "ConversionCost.h"       // for conversionCast
    30 #include "Cost.h"
     29#include "ConversionCost.hpp"       // for conversionCast
     30#include "Cost.hpp"
    3131#include "ExplodedArg.hpp"
    3232#include "PolyCost.hpp"
    33 #include "RenameVars.h"           // for renameTyVars
    34 #include "Resolver.h"
    35 #include "ResolveTypeof.h"
     33#include "RenameVars.hpp"           // for renameTyVars
     34#include "Resolver.hpp"
     35#include "ResolveTypeof.hpp"
    3636#include "SatisfyAssertions.hpp"
    3737#include "SpecCost.hpp"
    38 #include "typeops.h"              // for combos
    39 #include "Unify.h"
    40 #include "WidenMode.h"
     38#include "Typeops.hpp"              // for combos
     39#include "Unify.hpp"
     40#include "WidenMode.hpp"
    4141#include "AST/Expr.hpp"
    4242#include "AST/Node.hpp"
     
    4545#include "AST/SymbolTable.hpp"
    4646#include "AST/Type.hpp"
    47 #include "Common/utility.h"       // for move, copy
    48 #include "SymTab/Mangler.h"
    49 #include "Tuples/Tuples.h"        // for handleTupleAssignment
    50 #include "InitTweak/InitTweak.h"  // for getPointerBase
    51 
    52 #include "Common/Stats/Counter.h"
     47#include "Common/Utility.hpp"       // for move, copy
     48#include "SymTab/Mangler.hpp"
     49#include "Tuples/Tuples.hpp"        // for handleTupleAssignment
     50#include "InitTweak/InitTweak.hpp"  // for getPointerBase
     51
     52#include "Common/Stats/Counter.hpp"
    5353
    5454#include "AST/Inspect.hpp"             // for getFunctionName
  • TabularUnified src/ResolvExpr/CandidatePrinter.cpp

    r41c8312 rc92bdcc  
    2424#include "AST/TranslationUnit.hpp"
    2525#include "ResolvExpr/CandidateFinder.hpp"
    26 #include "ResolvExpr/Resolver.h"
     26#include "ResolvExpr/Resolver.hpp"
    2727
    2828namespace ResolvExpr {
  • TabularUnified src/ResolvExpr/CastCost.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // CastCost.cc --
     7// CastCost.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    2222#include "AST/Type.hpp"
    2323#include "AST/TypeEnvironment.hpp"
    24 #include "ConversionCost.h            // for ConversionCost
    25 #include "Cost.h                      // for Cost, Cost::infinity
    26 #include "ResolvExpr/ConversionCost.h // for conversionCost
     24#include "ConversionCost.hpp"            // for ConversionCost
     25#include "Cost.hpp"                      // for Cost, Cost::infinity
     26#include "ResolvExpr/ConversionCost.hpp" // for conversionCost
    2727#include "ResolvExpr/PtrsCastable.hpp"   // for ptrsCastable
    28 #include "ResolvExpr/Unify.h          // for typesCompatibleIgnoreQualifiers
     28#include "ResolvExpr/Unify.hpp"          // for typesCompatibleIgnoreQualifiers
    2929
    3030#if 0
  • TabularUnified src/ResolvExpr/CastCost.hpp

    r41c8312 rc92bdcc  
    1616#pragma once
    1717
    18 #include "ResolvExpr/Cost.h"     // for Cost
    19 
    2018namespace ast {
    2119        class SymbolTable;
     
    2523
    2624namespace ResolvExpr {
     25
     26class Cost;
    2727
    2828Cost castCost(
  • TabularUnified src/ResolvExpr/CommonType.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // CommonType.cc --
     7// CommonType.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    2323#include "AST/Pass.hpp"
    2424#include "AST/Type.hpp"
    25 #include "Unify.h                     // for unifyExact, WidenMode
    26 #include "typeops.h"                     // for isFtype
    27 #include "Tuples/Tuples.h"
     25#include "Unify.hpp"                     // for unifyExact, WidenMode
     26#include "Typeops.hpp"                   // for isFtype
     27#include "Tuples/Tuples.hpp"
    2828
    2929// #define DEBUG
  • TabularUnified src/ResolvExpr/CommonType.hpp

    r41c8312 rc92bdcc  
    1818#include "AST/Fwd.hpp"
    1919#include "AST/TypeEnvironment.hpp"  // for AssertionSet, OpenVarSet
    20 #include "WidenMode.h            // for WidenMode
     20#include "WidenMode.hpp"            // for WidenMode
    2121
    2222namespace ResolvExpr {
  • TabularUnified src/ResolvExpr/ConversionCost.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ConversionCost.cc --
     7// ConversionCost.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "ConversionCost.h"
     16#include "ConversionCost.hpp"
    1717
    1818#include <cassert>                       // for assert
     
    2020#include <string>                        // for operator==, string
    2121
    22 #include "ResolvExpr/Cost.h           // for Cost
    23 #include "ResolvExpr/Unify.h          // for typesCompatibleIgnoreQualifiers
     22#include "ResolvExpr/Cost.hpp"           // for Cost
     23#include "ResolvExpr/Unify.hpp"          // for typesCompatibleIgnoreQualifiers
    2424#include "ResolvExpr/PtrsAssignable.hpp" // for ptrsAssignable
    2525
  • TabularUnified src/ResolvExpr/ConversionCost.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ConversionCost.h --
     7// ConversionCost.hpp --
    88//
    99// Author           : Richard C. Bilson
     
    1818#include <functional>         // for function
    1919
    20 #include "Cost.h           // for Cost
     20#include "Cost.hpp"           // for Cost
    2121
    2222#include "AST/Fwd.hpp"
  • TabularUnified src/ResolvExpr/CurrentObject.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // CurrentObject.h --
     7// CurrentObject.cpp --
    88//
    99// Author           : Rob Schluntz
     
    1414//
    1515
     16#include "CurrentObject.hpp"
     17
    1618#include <stddef.h>                    // for size_t
    1719#include <cassert>                     // for assertf, assert, safe_dynamic_...
     
    2830#include "AST/Print.hpp"               // for readonly
    2931#include "AST/Type.hpp"
    30 #include "Common/Eval.h"               // for eval
    31 #include "Common/Indenter.h"           // for Indenter, operator<<
    32 #include "Common/SemanticError.h"      // for SemanticError
    33 #include "Common/utility.h"            // for toString
    34 #include "CurrentObject.h"
     32#include "Common/Eval.hpp"             // for eval
     33#include "Common/Indenter.hpp"         // for Indenter, operator<<
     34#include "Common/SemanticError.hpp"    // for SemanticError
     35#include "Common/Utility.hpp"          // for toString
    3536
    3637#if 0
  • TabularUnified src/ResolvExpr/CurrentObject.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // CurrentObject.h --
     7// CurrentObject.hpp --
    88//
    99// Author           : Rob Schluntz
     
    2121
    2222#include "AST/Node.hpp"  // for ptr
    23 #include "Common/CodeLocation.h"
     23#include "Common/CodeLocation.hpp"
    2424
    2525namespace ast {
  • TabularUnified src/ResolvExpr/ExplodedArg.cpp

    r41c8312 rc92bdcc  
    1616#include "ExplodedArg.hpp"
    1717
    18 #include "Tuples/Explode.h"   // for Tuples::explode
     18#include "Tuples/Explode.hpp"   // for Tuples::explode
    1919
    2020namespace ResolvExpr {
  • TabularUnified src/ResolvExpr/ExplodedArg.hpp

    r41c8312 rc92bdcc  
    1919
    2020#include "Candidate.hpp"            // for Candidate, CandidateList
    21 #include "Cost.h                 // for Cost
     21#include "Cost.hpp"                 // for Cost
    2222#include "AST/Expr.hpp"
    2323#include "AST/Node.hpp"             // for ptr
  • TabularUnified src/ResolvExpr/FindOpenVars.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // FindOpenVars.cc --
     7// FindOpenVars.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "FindOpenVars.h"
     16#include "FindOpenVars.hpp"
    1717
    1818#include "AST/Pass.hpp"
  • TabularUnified src/ResolvExpr/RenameVars.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // RenameVars.cc --
     7// RenameVars.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include <ext/alloc_traits.h>      // for __alloc_traits<>::value_type
    17 #include <memory>                  // for allocator_traits<>::value_type
    18 #include <sstream>                 // for operator<<, basic_ostream, ostring...
    19 #include <utility>                 // for pair
     16#include <ext/alloc_traits.h>         // for __alloc_traits<>::value_type
     17#include <memory>                     // for allocator_traits<>::value_type
     18#include <sstream>                    // for operator<<, basic_ostream, ostr...
     19#include <utility>                    // for pair
    2020
    2121#include "AST/Pass.hpp"
    2222#include "AST/Type.hpp"
    23 #include "Common/ScopedMap.h"
    24 #include "Common/SemanticError.h"  // for SemanticError
    25 #include "RenameVars.h"
     23#include "Common/ScopedMap.hpp"
     24#include "Common/SemanticError.hpp"   // for SemanticError
     25#include "RenameVars.hpp"
    2626
    2727#include "AST/Copy.hpp"
  • TabularUnified src/ResolvExpr/RenameVars.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // RenameVars.h --
     7// RenameVars.hpp --
    88//
    99// Author           : Richard C. Bilson
  • TabularUnified src/ResolvExpr/ResolveTypeof.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ResolveTypeof.cc --
     7// ResolveTypeof.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "ResolveTypeof.h"
     16#include "ResolveTypeof.hpp"
    1717
    18 #include <cassert>  // for assert
     18#include <cassert>                  // for assert
    1919
    2020#include "AST/CVQualifiers.hpp"
     
    2424#include "AST/Type.hpp"
    2525#include "AST/TypeEnvironment.hpp"
    26 #include "Common/utility.h"       // for copy
    27 #include "InitTweak/InitTweak.h"  // for isConstExpr
    28 #include "RenameVars.h"
    29 #include "Resolver.h"  // for resolveInVoidContext
    30 #include "SymTab/Mangler.h"
     26#include "Common/Utility.hpp"       // for copy
     27#include "InitTweak/InitTweak.hpp"  // for isConstExpr
     28#include "RenameVars.hpp"
     29#include "Resolver.hpp"             // for resolveInVoidContext
     30#include "SymTab/Mangler.hpp"
    3131
    3232namespace ResolvExpr {
  • TabularUnified src/ResolvExpr/ResolveTypeof.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // ResolveTypeof.h --
     7// ResolveTypeof.hpp --
    88//
    99// Author           : Richard C. Bilson
  • TabularUnified src/ResolvExpr/Resolver.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Resolver.cc --
     7// Resolver.cpp --
    88//
    99// Author           : Aaron B. Moss
     
    2121#include "Candidate.hpp"
    2222#include "CandidateFinder.hpp"
    23 #include "CurrentObject.h             // for CurrentObject
    24 #include "RenameVars.h                // for RenameVars, global_renamer
    25 #include "Resolver.h"
    26 #include "ResolveTypeof.h"
     23#include "CurrentObject.hpp"             // for CurrentObject
     24#include "RenameVars.hpp"                // for RenameVars, global_renamer
     25#include "Resolver.hpp"
     26#include "ResolveTypeof.hpp"
    2727#include "ResolveMode.hpp"               // for ResolveMode
    28 #include "typeops.h"                     // for extractResultType
    29 #include "Unify.h                     // for unify
     28#include "Typeops.hpp"                   // for extractResultType
     29#include "Unify.hpp"                     // for unify
    3030#include "CompilationState.hpp"
    3131#include "AST/Decl.hpp"
     
    3535#include "AST/SymbolTable.hpp"
    3636#include "AST/Type.hpp"
    37 #include "Common/Eval.h               // for eval
     37#include "Common/Eval.hpp"               // for eval
    3838#include "Common/Iterate.hpp"            // for group_iterate
    39 #include "Common/SemanticError.h      // for SemanticError
    40 #include "Common/Stats/ResolveTime.h  // for ResolveTime::start(), ResolveTime::stop()
     39#include "Common/SemanticError.hpp"      // for SemanticError
     40#include "Common/Stats/ResolveTime.hpp"  // for ResolveTime::start(), ResolveTime::stop()
    4141#include "Common/ToString.hpp"           // for toCString
    42 #include "Common/UniqueName.h         // for UniqueName
    43 #include "InitTweak/GenInit.h"
    44 #include "InitTweak/InitTweak.h       // for isIntrinsicSingleArgCallStmt
    45 #include "SymTab/Mangler.h            // for Mangler
    46 #include "Tuples/Tuples.h"
    47 #include "Validate/FindSpecialDecls.h // for SizeType
     42#include "Common/UniqueName.hpp"         // for UniqueName
     43#include "InitTweak/GenInit.hpp"
     44#include "InitTweak/InitTweak.hpp"       // for isIntrinsicSingleArgCallStmt
     45#include "SymTab/Mangler.hpp"            // for Mangler
     46#include "Tuples/Tuples.hpp"
     47#include "Validate/FindSpecialDecls.hpp" // for SizeType
    4848
    4949using namespace std;
  • TabularUnified src/ResolvExpr/Resolver.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Resolver.h --
     7// Resolver.hpp --
    88//
    99// Author           : Richard C. Bilson
  • TabularUnified src/ResolvExpr/SatisfyAssertions.cpp

    r41c8312 rc92bdcc  
    2828#include "CandidateFinder.hpp"
    2929#include "CommonType.hpp"
    30 #include "Cost.h"
    31 #include "RenameVars.h"
     30#include "Cost.hpp"
     31#include "RenameVars.hpp"
    3232#include "SpecCost.hpp"
    33 #include "typeops.h"
    34 #include "Unify.h"
     33#include "Typeops.hpp"
     34#include "Unify.hpp"
    3535#include "AST/Decl.hpp"
    3636#include "AST/Expr.hpp"
     
    4040#include "AST/SymbolTable.hpp"
    4141#include "AST/TypeEnvironment.hpp"
    42 #include "FindOpenVars.h"
    43 #include "Common/FilterCombos.h"
    44 #include "Common/Indenter.h"
    45 #include "GenPoly/GenPoly.h"
    46 #include "SymTab/Mangler.h"
     42#include "FindOpenVars.hpp"
     43#include "Common/FilterCombos.hpp"
     44#include "Common/Indenter.hpp"
     45#include "GenPoly/GenPoly.hpp"
     46#include "SymTab/Mangler.hpp"
    4747
    4848namespace ResolvExpr {
  • TabularUnified src/ResolvExpr/Typeops.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // typeops.h --
     7// Typeops.hpp --
    88//
    99// Author           : Richard C. Bilson
  • TabularUnified src/ResolvExpr/Unify.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Unify.cc --
     7// Unify.cpp --
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "Unify.h"
     16#include "Unify.hpp"
    1717
    1818#include <cassert>                  // for assertf, assert
     
    3232#include "AST/Type.hpp"
    3333#include "AST/TypeEnvironment.hpp"
    34 #include "Common/Eval.h          // for eval
     34#include "Common/Eval.hpp"          // for eval
    3535#include "CommonType.hpp"           // for commonType
    36 #include "FindOpenVars.h         // for findOpenVars
     36#include "FindOpenVars.hpp"         // for findOpenVars
    3737#include "SpecCost.hpp"             // for SpecCost
    38 #include "Tuples/Tuples.h        // for isTtype
    39 #include "typeops.h"                // for flatten, occurs
     38#include "Tuples/Tuples.hpp"        // for isTtype
     39#include "Typeops.hpp"              // for flatten, occurs
    4040
    4141namespace ast {
  • TabularUnified src/ResolvExpr/Unify.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Unify.h --
     7// Unify.hpp --
    88//
    99// Author           : Richard C. Bilson
     
    1818#include "AST/Node.hpp"             // for ptr
    1919#include "AST/TypeEnvironment.hpp"  // for TypeEnvironment, AssertionSet, OpenVarSet
    20 #include "WidenMode.h            // for WidenMode
     20#include "WidenMode.hpp"            // for WidenMode
    2121
    2222namespace ast {
  • TabularUnified src/ResolvExpr/module.mk

    r41c8312 rc92bdcc  
    1616
    1717SRC_RESOLVEXPR = \
    18       ResolvExpr/AdjustExprType.cc \
     18      ResolvExpr/AdjustExprType.cpp \
    1919      ResolvExpr/AdjustExprType.hpp \
    2020      ResolvExpr/Candidate.cpp \
     
    2222      ResolvExpr/CandidateFinder.hpp \
    2323      ResolvExpr/Candidate.hpp \
    24       ResolvExpr/CastCost.cc \
     24      ResolvExpr/CastCost.cpp \
    2525      ResolvExpr/CastCost.hpp \
    26       ResolvExpr/CommonType.cc \
     26      ResolvExpr/CommonType.cpp \
    2727      ResolvExpr/CommonType.hpp \
    28       ResolvExpr/ConversionCost.cc \
    29       ResolvExpr/ConversionCost.h \
    30       ResolvExpr/Cost.h \
    31       ResolvExpr/CurrentObject.cc \
    32       ResolvExpr/CurrentObject.h \
     28      ResolvExpr/ConversionCost.cpp \
     29      ResolvExpr/ConversionCost.hpp \
     30      ResolvExpr/Cost.hpp \
     31      ResolvExpr/CurrentObject.cpp \
     32      ResolvExpr/CurrentObject.hpp \
    3333      ResolvExpr/ExplodedArg.cpp \
    3434      ResolvExpr/ExplodedArg.hpp \
    35       ResolvExpr/FindOpenVars.cc \
    36       ResolvExpr/FindOpenVars.h \
    37       ResolvExpr/PolyCost.cc \
     35      ResolvExpr/FindOpenVars.cpp \
     36      ResolvExpr/FindOpenVars.hpp \
     37      ResolvExpr/PolyCost.cpp \
    3838      ResolvExpr/PolyCost.hpp \
    39       ResolvExpr/PtrsAssignable.cc \
     39      ResolvExpr/PtrsAssignable.cpp \
    4040      ResolvExpr/PtrsAssignable.hpp \
    41       ResolvExpr/PtrsCastable.cc \
     41      ResolvExpr/PtrsCastable.cpp \
    4242      ResolvExpr/PtrsCastable.hpp \
    43       ResolvExpr/RenameVars.cc \
    44       ResolvExpr/RenameVars.h \
    45       ResolvExpr/Resolver.cc \
    46       ResolvExpr/Resolver.h \
    47       ResolvExpr/ResolveTypeof.cc \
    48       ResolvExpr/ResolveTypeof.h \
     43      ResolvExpr/RenameVars.cpp \
     44      ResolvExpr/RenameVars.hpp \
     45      ResolvExpr/Resolver.cpp \
     46      ResolvExpr/Resolver.hpp \
     47      ResolvExpr/ResolveTypeof.cpp \
     48      ResolvExpr/ResolveTypeof.hpp \
    4949      ResolvExpr/ResolveMode.hpp \
    5050      ResolvExpr/SatisfyAssertions.cpp \
    5151      ResolvExpr/SatisfyAssertions.hpp \
    52       ResolvExpr/SpecCost.cc \
     52      ResolvExpr/SpecCost.cpp \
    5353      ResolvExpr/SpecCost.hpp \
    54       ResolvExpr/typeops.h \
    55       ResolvExpr/Unify.cc \
    56       ResolvExpr/Unify.h \
    57       ResolvExpr/WidenMode.h
     54      ResolvExpr/typeops.hpp \
     55      ResolvExpr/Unify.cpp \
     56      ResolvExpr/Unify.hpp \
     57      ResolvExpr/WidenMode.hpp
    5858
    5959SRC += $(SRC_RESOLVEXPR) \
Note: See TracChangeset for help on using the changeset viewer.