Changeset 083e637


Ignore:
Timestamp:
May 7, 2024, 4:45:53 PM (7 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
07e9df1, 0b6c1c9
Parents:
195d1d8 (diff), b2ea0cd (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src
Files:
14 edited
5 moved

Legend:

Unmodified
Added
Removed
  • src/AST/BasicKind.hpp

    r195d1d8 r083e637  
    1919
    2020// GENERATED START, DO NOT EDIT
    21 // GENERATED BY BasicTypes-gen.cc
     21// GENERATED BY BasicTypes-gen.cpp
    2222enum BasicKind {
    2323        Bool,
  • src/AST/Print.cpp

    r195d1d8 r083e637  
    2323#include "Type.hpp"
    2424#include "TypeSubstitution.hpp"
    25 #include "CompilationState.h"
     25#include "CompilationState.hpp"
    2626#include "Common/Iterate.hpp"
    2727
  • src/AST/Type.cpp

    r195d1d8 r083e637  
    5050
    5151// GENERATED START, DO NOT EDIT
    52 // GENERATED BY BasicTypes-gen.cc
     52// GENERATED BY BasicTypes-gen.cpp
    5353const char * BasicType::typeNames[] = {
    5454        "_Bool",
  • src/AST/TypeEnvironment.cpp

    r195d1d8 r083e637  
    3434#include "ResolvExpr/Unify.h"      // for unifyInexact
    3535#include "Tuples/Tuples.h"         // for isTtype
    36 #include "CompilationState.h"
     36#include "CompilationState.hpp"
    3737
    3838using ResolvExpr::WidenMode;
  • src/BasicTypes-gen.cpp

    r195d1d8 r083e637  
    486486// tab-width: 4 //
    487487// mode: c++ //
    488 // compile-command: "g++-8 -Wall -Wextra BasicTypes-gen.cc" //
     488// compile-command: "g++-8 -Wall -Wextra BasicTypes-gen.cpp" //
    489489// End: //
  • src/CodeGen/FixNames.cc

    r195d1d8 r083e637  
    2525#include "FixMain.h"               // for FixMain
    2626#include "SymTab/Mangler.h"        // for Mangler
    27 #include "CompilationState.h"
     27#include "CompilationState.hpp"
    2828
    2929namespace CodeGen {
  • src/InitTweak/GenInit.cc

    r195d1d8 r083e637  
    2727#include "AST/Node.hpp"
    2828#include "AST/Stmt.hpp"
    29 #include "CompilationState.h"
     29#include "CompilationState.hpp"
    3030#include "CodeGen/OperatorTable.h"
    3131#include "Common/SemanticError.h"      // for SemanticError
  • src/MakeLibCfa.cpp

    r195d1d8 r083e637  
    1414//
    1515
    16 #include "MakeLibCfa.h"
     16#include "MakeLibCfa.hpp"
    1717
    1818#include "AST/Copy.hpp"
  • src/Makefile.am

    r195d1d8 r083e637  
    1919ACLOCAL_AMFLAGS  = -I automake
    2020
    21 SRC = main.cc \
    22         CompilationState.cc \
    23         CompilationState.h \
     21SRC = main.cpp \
     22        CompilationState.cpp \
     23        CompilationState.hpp \
    2424        MakeLibCfa.cpp \
    25         MakeLibCfa.h
     25        MakeLibCfa.hpp
    2626
    27 SRCDEMANGLE = CompilationState.cc
     27SRCDEMANGLE = CompilationState.cpp
    2828
    2929MAINTAINERCLEANFILES =
     
    5555$(addprefix $(srcdir)/, ResolvExpr/ConversionCost.cc ResolvExpr/CommonType.cc SymTab/ManglerCommon.cc) : $(srcdir)/AST/BasicKind.hpp
    5656
    57 $(srcdir)/AST/BasicKind.hpp : BasicTypes-gen.cc
     57$(srcdir)/AST/BasicKind.hpp : BasicTypes-gen.cpp
    5858        ${AM_V_GEN}${CXXCOMPILE} $< -o BasicTypes-gen -Wall -Wextra -Werror=return-type
    5959        @./BasicTypes-gen
  • src/ResolvExpr/CandidateFinder.cpp

    r195d1d8 r083e637  
    2626#include "Candidate.hpp"
    2727#include "CastCost.hpp"           // for castCost
    28 #include "CompilationState.h"
     28#include "CompilationState.hpp"
    2929#include "ConversionCost.h"       // for conversionCast
    3030#include "Cost.h"
  • src/ResolvExpr/CommonType.cc

    r195d1d8 r083e637  
    3939
    4040        // GENERATED START, DO NOT EDIT
    41         // GENERATED BY BasicTypes-gen.cc
     41        // GENERATED BY BasicTypes-gen.cpp
    4242        #define BT ast::BasicKind::
    4343        static const ast::BasicKind commonTypes[BT NUMBER_OF_BASIC_TYPES][BT NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor
  • src/ResolvExpr/ConversionCost.cc

    r195d1d8 r083e637  
    3535
    3636        // GENERATED START, DO NOT EDIT
    37         // GENERATED BY BasicTypes-gen.cc
     37        // GENERATED BY BasicTypes-gen.cpp
    3838        /* EXTENDED INTEGRAL RANK HIERARCHY (root to leaves)
    3939                                 _Bool
     
    6060
    6161        // GENERATED START, DO NOT EDIT
    62         // GENERATED BY BasicTypes-gen.cc
     62        // GENERATED BY BasicTypes-gen.cpp
    6363        static const int costMatrix[ast::BasicKind::NUMBER_OF_BASIC_TYPES][ast::BasicKind::NUMBER_OF_BASIC_TYPES] = { // path length from root to node
    6464                /*               B    C   SC   UC   SI  SUI    I   UI   LI  LUI  LLI LLUI   IB  UIB  _FH  _FH   _F  _FC    F   FC  _FX _FXC   FD _FDC    D   DC F80X_FDXC  F80  _FB_FLDC   FB   LD  LDC _FBX_FLDXC */
     
    108108
    109109        // GENERATED START, DO NOT EDIT
    110         // GENERATED BY BasicTypes-gen.cc
     110        // GENERATED BY BasicTypes-gen.cpp
    111111        static const int signMatrix[ast::BasicKind::NUMBER_OF_BASIC_TYPES][ast::BasicKind::NUMBER_OF_BASIC_TYPES] = { // number of sign changes in safe conversion
    112112                /*               B    C   SC   UC   SI  SUI    I   UI   LI  LUI  LLI LLUI   IB  UIB  _FH  _FH   _F  _FC    F   FC  _FX _FXC   FD _FDC    D   DC F80X_FDXC  F80  _FB_FLDC   FB   LD  LDC _FBX_FLDXC */
  • src/ResolvExpr/Resolver.cc

    r195d1d8 r083e637  
    2828#include "typeops.h"                     // for extractResultType
    2929#include "Unify.h"                       // for unify
    30 #include "CompilationState.h"
     30#include "CompilationState.hpp"
    3131#include "AST/Decl.hpp"
    3232#include "AST/Init.hpp"
  • src/SymTab/ManglerCommon.cc

    r195d1d8 r083e637  
    2626
    2727// GENERATED START, DO NOT EDIT
    28 // GENERATED BY BasicTypes-gen.cc
     28// GENERATED BY BasicTypes-gen.cpp
    2929// NOTES ON MANGLING:
    3030// * Itanium spec says that Float80 encodes to "e" (like LongDouble), but the distinct lengths cause resolution problems.
  • src/Validate/Autogen.cpp

    r195d1d8 r083e637  
    4242#include "SymTab/GenImplicitCall.hpp"  // for genImplicitCall
    4343#include "SymTab/Mangler.h"        // for Mangler
    44 #include "CompilationState.h"
     44#include "CompilationState.hpp"
    4545
    4646namespace Validate {
  • src/main.cpp

    r195d1d8 r083e637  
    3333#include "AST/TranslationUnit.hpp"          // for TranslationUnit
    3434#include "AST/Util.hpp"                     // for checkInvariants
    35 #include "CompilationState.h"
     35#include "CompilationState.hpp"
    3636#include "../config.h"                      // for CFA_LIBDIR
    3737#include "CodeGen/FixMain.h"                // for FixMain
     
    5959#include "InitTweak/FixInit.h"              // for fix
    6060#include "InitTweak/GenInit.h"              // for genInit
    61 #include "MakeLibCfa.h                   // for makeLibCfa
     61#include "MakeLibCfa.hpp"                   // for makeLibCfa
    6262#include "Parser/RunParser.hpp"             // for buildList, dumpParseTree,...
    6363#include "ResolvExpr/CandidatePrinter.hpp"  // for printCandidates
Note: See TracChangeset for help on using the changeset viewer.