Changeset c92bdcc for src/GenPoly


Ignore:
Timestamp:
May 10, 2024, 4:06:07 PM (8 weeks 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/GenPoly
Files:
7 edited
11 moved

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cpp

    r41c8312 rc92bdcc  
    1414//
    1515
    16 #include "Box.h"
     16#include "Box.hpp"
    1717
    1818#include "AST/Decl.hpp"                // for Decl, FunctionDecl, ...
     
    2424#include "AST/Vector.hpp"              // for vector
    2525#include "AST/GenericSubstitution.hpp" // for genericSubstitution
    26 #include "CodeGen/OperatorTable.h   // for isAssignment
     26#include "CodeGen/OperatorTable.hpp"   // for isAssignment
    2727#include "Common/Iterate.hpp"          // for group_iterate
    28 #include "Common/ScopedMap.h        // for ScopedMap
     28#include "Common/ScopedMap.hpp"        // for ScopedMap
    2929#include "Common/ToString.hpp"         // for toCString
    30 #include "Common/UniqueName.h       // for UniqueName
    31 #include "GenPoly/FindFunction.h    // for findFunction
    32 #include "GenPoly/GenPoly.h         // for getFunctionType, ...
    33 #include "GenPoly/Lvalue.h          // for generalizedLvalue
    34 #include "GenPoly/ScopedSet.h       // for ScopedSet
     30#include "Common/UniqueName.hpp"       // for UniqueName
     31#include "GenPoly/FindFunction.hpp"    // for findFunction
     32#include "GenPoly/GenPoly.hpp"         // for getFunctionType, ...
     33#include "GenPoly/Lvalue.hpp"          // for generalizedLvalue
     34#include "GenPoly/ScopedSet.hpp"       // for ScopedSet
    3535#include "GenPoly/ScrubTypeVars.hpp"   // for scrubTypeVars, scrubAllTypeVars
    36 #include "ResolvExpr/Unify.h        // for typesCompatible
    37 #include "SymTab/Mangler.h          // for mangle, mangleType
     36#include "ResolvExpr/Unify.hpp"        // for typesCompatible
     37#include "SymTab/Mangler.hpp"          // for mangle, mangleType
    3838
    3939namespace GenPoly {
  • src/GenPoly/Box.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Box.h -- Implement polymorphic function calls and types.
     7// Box.hpp -- Implement polymorphic function calls and types.
    88//
    99// Author           : Richard C. Bilson
  • src/GenPoly/FindFunction.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // FindFunction.cc -- Find function types in a larger type.
     7// FindFunction.cpp -- Find function types in a larger type.
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "FindFunction.h"
     16#include "FindFunction.hpp"
    1717
    18 #include <utility>                      // for pair
     18#include <utility>                        // for pair
    1919
    20 #include "AST/Pass.hpp"                 // for Pass
     20#include "AST/Pass.hpp"                   // for Pass
    2121#include "AST/Type.hpp"
    22 #include "GenPoly/ErasableScopedMap.h"  // for ErasableScopedMap<>::iterator
    23 #include "GenPoly/GenPoly.h"            // for TyVarMap
    24 #include "ScrubTypeVars.hpp"            // for scrubTypeVars
     22#include "GenPoly/ErasableScopedMap.hpp"  // for ErasableScopedMap<>::iterator
     23#include "GenPoly/GenPoly.hpp"            // for TyVarMap
     24#include "ScrubTypeVars.hpp"              // for scrubTypeVars
    2525
    2626namespace GenPoly {
  • src/GenPoly/FindFunction.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // FindFunction.h -- Find function types in a larger type.
     7// FindFunction.hpp -- Find function types in a larger type.
    88//
    99// Author           : Richard C. Bilson
     
    1616#pragma once
    1717
    18 #include "GenPoly.h"            // for TypeVarMap
     18#include "GenPoly.hpp"            // for TypeVarMap
    1919
    2020namespace GenPoly {
  • src/GenPoly/GenPoly.cpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // GenPoly.cc -- General GenPoly utilities.
     7// GenPoly.cpp -- General GenPoly utilities.
    88//
    99// Author           : Richard C. Bilson
     
    1414//
    1515
    16 #include "GenPoly.h"
    17 
    18 #include <cassert>                      // for assertf, assert
    19 #include <iostream>                     // for operator<<, ostream, basic_os...
    20 #include <iterator>                     // for back_insert_iterator, back_in...
    21 #include <list>                         // for list, _List_iterator, list<>:...
    22 #include <typeindex>                    // for type_index
    23 #include <utility>                      // for pair
    24 #include <vector>                       // for vector
     16#include "GenPoly.hpp"
     17
     18#include <cassert>                        // for assertf, assert
     19#include <iostream>                       // for operator<<, ostream, basic_...
     20#include <iterator>                       // for back_insert_iterator, back_...
     21#include <list>                           // for list, _List_iterator, list<...
     22#include <typeindex>                      // for type_index
     23#include <utility>                        // for pair
     24#include <vector>                         // for vector
    2525
    2626#include "AST/Expr.hpp"
    2727#include "AST/Type.hpp"
    2828#include "AST/TypeSubstitution.hpp"
    29 #include "GenPoly/ErasableScopedMap.h"  // for ErasableScopedMap<>::const_it...
    30 #include "ResolvExpr/typeops.h"         // for flatten
     29#include "GenPoly/ErasableScopedMap.hpp"  // for ErasableScopedMap<>::const_...
     30#include "ResolvExpr/Typeops.hpp"         // for flatten
    3131
    3232using namespace std;
  • src/GenPoly/GenPoly.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // GenPoly.h -- General GenPoly utilities.
     7// GenPoly.hpp -- General GenPoly utilities.
    88//
    99// Author           : Richard C. Bilson
     
    1919#include <string>                 // for string, allocator, operator+, basic...
    2020
    21 #include "ErasableScopedMap.h  // for ErasableScopedMap
     21#include "ErasableScopedMap.hpp"  // for ErasableScopedMap
    2222#include "AST/Decl.hpp"           // for AggregateDecl
    2323#include "AST/Fwd.hpp"            // for ApplicationExpr, BaseInstType, Func...
    24 #include "SymTab/Mangler.h     // for Mangler
     24#include "SymTab/Mangler.hpp"     // for Mangler
    2525
    2626namespace ast {
  • src/GenPoly/InstantiateGeneric.cpp

    r41c8312 rc92bdcc  
    1414//
    1515
    16 #include "InstantiateGeneric.h"
     16#include "InstantiateGeneric.hpp"
    1717
    1818#include <cassert>                     // for assertf, assert
     
    2727#include "AST/TranslationUnit.hpp"     // for TranslationUnit
    2828#include "AST/Vector.hpp"              // for vector
    29 #include "CodeGen/OperatorTable.h   // for isAssignment
    30 #include "Common/ScopedMap.h        // for ScopedMap
    31 #include "Common/UniqueName.h       // for UniqueName
    32 #include "GenPoly/GenPoly.h         // for isPolyType, typesPolyCompatible
     29#include "CodeGen/OperatorTable.hpp"   // for isAssignment
     30#include "Common/ScopedMap.hpp"        // for ScopedMap
     31#include "Common/UniqueName.hpp"       // for UniqueName
     32#include "GenPoly/GenPoly.hpp"         // for isPolyType, typesPolyCompatible
    3333#include "GenPoly/ScrubTypeVars.hpp"   // for scrubAllTypeVars
    3434#include "ResolvExpr/AdjustExprType.hpp"  // for adjustExprType
    35 #include "ResolvExpr/Unify.h        // for typesCompatible
     35#include "ResolvExpr/Unify.hpp"        // for typesCompatible
    3636
    3737namespace GenPoly {
  • src/GenPoly/InstantiateGeneric.hpp

    r41c8312 rc92bdcc  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // InstantiateGeneric.h -- Create concrete instances of generic types.
     7// InstantiateGeneric.hpp -- Create concrete instances of generic types.
    88//
    99// Author           : Aaron B. Moss
  • src/GenPoly/Lvalue.cpp

    r41c8312 rc92bdcc  
    1414//
    1515
    16 #include "Lvalue.h"
     16#include "Lvalue.hpp"
    1717
    1818#include <set>
     
    2424#include "AST/LinkageSpec.hpp"         // for Linkage
    2525#include "AST/Pass.hpp"
    26 #include "Common/SemanticError.h    // for SemanticWarning
     26#include "Common/SemanticError.hpp"    // for SemanticWarning
    2727#include "Common/ToString.hpp"         // for toCString
    28 #include "Common/UniqueName.h       // for UniqueName
    29 #include "GenPoly/GenPoly.h         // for genFunctionType
    30 #include "ResolvExpr/typeops.h"        // for typesCompatible
    31 #include "ResolvExpr/Unify.h        // for unify
     28#include "Common/UniqueName.hpp"       // for UniqueName
     29#include "GenPoly/GenPoly.hpp"         // for genFunctionType
     30#include "ResolvExpr/Typeops.hpp"      // for typesCompatible
     31#include "ResolvExpr/Unify.hpp"        // for unify
    3232
    3333#if 0
  • src/GenPoly/ScrubTypeVars.cpp

    r41c8312 rc92bdcc  
    1616#include "ScrubTypeVars.hpp"
    1717
    18 #include <utility>                      // for pair
     18#include <utility>                        // for pair
    1919
    2020#include "AST/Pass.hpp"
    21 #include "GenPoly.h"                    // for mangleType, TyVarMap, alignof...
    22 #include "GenPoly/ErasableScopedMap.h"  // for ErasableScopedMap<>::const_it...
    23 #include "SymTab/Mangler.h"             // for mangleType
     21#include "GenPoly.hpp"                    // for mangleType, TyVarMap, align...
     22#include "GenPoly/ErasableScopedMap.hpp"  // for ErasableScopedMap<>::const_...
     23#include "SymTab/Mangler.hpp"             // for mangleType
    2424
    2525namespace GenPoly {
  • src/GenPoly/ScrubTypeVars.hpp

    r41c8312 rc92bdcc  
    1919
    2020#include "AST/Fwd.hpp"        // for Node
    21 #include "GenPoly.h        // for TypeVarMap
     21#include "GenPoly.hpp"        // for TypeVarMap
    2222
    2323namespace GenPoly {
  • src/GenPoly/Specialize.cpp

    r41c8312 rc92bdcc  
    1414//
    1515
    16 #include "Specialize.h"
     16#include "Specialize.hpp"
    1717
    1818#include "AST/Copy.hpp"                  // for deepCopy
     
    2020#include "AST/Pass.hpp"                  // for Pass
    2121#include "AST/TypeEnvironment.hpp"       // for OpenVarSet, AssertionSet
    22 #include "Common/UniqueName.h         // for UniqueName
    23 #include "GenPoly/GenPoly.h           // for getFunctionType
    24 #include "ResolvExpr/FindOpenVars.h   // for findOpenVars
     22#include "Common/UniqueName.hpp"         // for UniqueName
     23#include "GenPoly/GenPoly.hpp"           // for getFunctionType
     24#include "ResolvExpr/FindOpenVars.hpp"   // for findOpenVars
    2525
    2626namespace GenPoly {
  • src/GenPoly/module.mk

    r41c8312 rc92bdcc  
    1616
    1717SRC_GENPOLY = \
    18         GenPoly/GenPoly.cc \
    19         GenPoly/GenPoly.h \
    20         GenPoly/Lvalue2.cc \
    21         GenPoly/Lvalue.h
     18        GenPoly/GenPoly.cpp \
     19        GenPoly/GenPoly.hpp \
     20        GenPoly/Lvalue2.cpp \
     21        GenPoly/Lvalue.hpp
    2222
    2323SRC += $(SRC_GENPOLY) \
    2424        GenPoly/Box.cpp \
    25         GenPoly/Box.h \
    26         GenPoly/ErasableScopedMap.h \
    27         GenPoly/FindFunction.cc \
    28         GenPoly/FindFunction.h \
     25        GenPoly/Box.hpp \
     26        GenPoly/ErasableScopedMap.hpp \
     27        GenPoly/FindFunction.cpp \
     28        GenPoly/FindFunction.hpp \
    2929        GenPoly/InstantiateGeneric.cpp \
    30         GenPoly/InstantiateGeneric.h \
     30        GenPoly/InstantiateGeneric.hpp \
    3131        GenPoly/Lvalue.cpp \
    32         GenPoly/ScopedSet.h \
     32        GenPoly/ScopedSet.hpp \
    3333        GenPoly/ScrubTypeVars.cpp \
    3434        GenPoly/ScrubTypeVars.hpp \
    3535        GenPoly/Specialize.cpp \
    36         GenPoly/Specialize.h
     36        GenPoly/Specialize.hpp
    3737
    3838SRCDEMANGLE += $(SRC_GENPOLY)
Note: See TracChangeset for help on using the changeset viewer.