Changeset 0b6c1c9 for src


Ignore:
Timestamp:
May 7, 2024, 7:04:31 PM (2 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
6d9aa79
Parents:
c333ed2 (diff), 083e637 (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:
15 edited
5 moved

Legend:

Unmodified
Added
Removed
  • src/AST/BasicKind.hpp

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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/Cost.h

    rc333ed2 r0b6c1c9  
    1010// Created On       : Sun May 17 09:39:50 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jun 21 11:39:13 2019
    13 // Update Count     : 63
     12// Last Modified On : Fri May  3 17:15:41 2024
     13// Update Count     : 64
    1414//
    1515
     
    1919#include <cassert>
    2020#include <climits>
     21#include <cstdint>
    2122
    2223namespace ResolvExpr {
  • src/ResolvExpr/Resolver.cc

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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

    rc333ed2 r0b6c1c9  
    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.