Changeset d180746 for src/SymTab


Ignore:
Timestamp:
Aug 15, 2017, 11:45:34 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
ea6332d
Parents:
08fc48f
Message:

Big header cleaning pass - commit 2

Location:
src/SymTab
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.cc

    r08fc48f rd180746  
    1515#include "Autogen.h"
    1616
    17 #include <cstddef>                 // for NULL
    18 #include <algorithm>               // for count_if
    19 #include <cassert>                 // for safe_dynamic_cast, assert, assertf
    20 #include <iterator>                // for back_insert_iterator, back_inserter
    21 #include <list>                    // for list, _List_iterator, list<>::iter...
    22 #include <set>                     // for set, _Rb_tree_const_iterator
    23 #include <utility>                 // for pair
    24 #include <vector>                  // for vector
    25 
    26 #include "AddVisit.h"              // for addVisit
    27 #include "Common/ScopedMap.h"      // for ScopedMap<>::const_iterator, Scope...
    28 #include "Common/SemanticError.h"  // for SemanticError
    29 #include "Common/utility.h"        // for cloneAll, operator+
    30 #include "GenPoly/DeclMutator.h"   // for DeclMutator
    31 #include "GenPoly/ScopedSet.h"     // for ScopedSet, ScopedSet<>::iterator
    32 #include "SymTab/Mangler.h"        // for Mangler
    33 #include "SynTree/Mutator.h"       // for maybeMutate
    34 #include "SynTree/Statement.h"     // for CompoundStmt, ReturnStmt, ExprStmt
    35 #include "SynTree/Type.h"          // for FunctionType, Type, TypeInstType
    36 #include "SynTree/Visitor.h"       // for maybeAccept, Visitor, acceptAll
    37 
    38 class Attribute;
     17#include <cassert>                // for assert, assertf
     18#include <cstddef>                // for NULL
     19
     20#include "AddVisit.h"             // for addVisit
     21#include "Common/ScopedMap.h"     // for ScopedMap
     22#include "GenPoly/DeclMutator.h"  // for DeclMutator
     23#include "GenPoly/ScopedSet.h"    // for ScopedSet
     24#include "Parser/LinkageSpec.h"   // for AutoGen, Intrinsic, Spec
     25#include "SynTree/Statement.h"    // for SwitchStmt (ptr only), CompoundStmt
     26#include "SynTree/Type.h"         // for Type, ArrayType, Type::StorageClasses
     27#include "SynTree/Visitor.h"      // for Visitor
    3928
    4029namespace SymTab {
  • src/SymTab/Autogen.h

    r08fc48f rd180746  
    1717
    1818#include <cassert>                // for assert
    19 #include <iterator>               // for back_insert_iterator, back_inserter
    20 #include <list>                   // for list
    21 #include <string>                 // for string, operator==
     19#include <string>                 // for string
    2220
    2321#include "Common/UniqueName.h"    // for UniqueName
    2422#include "InitTweak/InitTweak.h"  // for InitExpander
    25 #include "Parser/LinkageSpec.h"   // for C
    2623#include "SynTree/Constant.h"     // for Constant
    27 #include "SynTree/Declaration.h"  // for ObjectDecl, Declaration (ptr only)
    28 #include "SynTree/Expression.h"   // for UntypedExpr, NameExpr, VariableExpr
    29 #include "SynTree/Initializer.h"  // for SingleInit
    30 #include "SynTree/Label.h"        // for Label, noLabels
    31 #include "SynTree/Statement.h"    // for Statement (ptr only), CompoundStmt
     24#include "SynTree/Declaration.h"  // for DeclarationWithType, ObjectDecl
     25#include "SynTree/Expression.h"   // for NameExpr, ConstantExpr, UntypedExpr...
    3226#include "SynTree/Type.h"         // for Type, ArrayType, Type::Qualifiers
     27
     28class CompoundStmt;
     29class Statement;
    3330
    3431namespace SymTab {
  • src/SymTab/Validate.cc

    r08fc48f rd180746  
    4040#include "Validate.h"
    4141
    42 #include <algorithm>                   // for move, transform
    43 #include <cassert>                     // for safe_dynamic_cast, assertf
     42#include <cassert>                     // for assertf, assert
    4443#include <cstddef>                     // for size_t
    45 #include <iterator>                    // for back_inserter, inserter, back_...
    46 #include <list>                        // for list, _List_iterator, list<>::...
    47 #include <map>                         // for _Rb_tree_iterator, map, map<>:...
    48 #include <memory>                      // for unique_ptr, allocator
    49 #include <string>                      // for string, operator+, operator==
    50 #include <tuple>                       // for get
    51 #include <type_traits>                 // for remove_reference<>::type
    52 #include <utility>                     // for pair, make_pair
    53 
    54 #include "AddVisit.h"                  // for addVisit
    55 #include "Autogen.h"                   // for SizeType, autogenerateRoutines
    56 #include "CodeGen/CodeGenerator.h"     // for genName
     44#include <list>                        // for list
     45#include <string>                      // for string
     46#include <utility>                     // for pair
     47
    5748#include "Common/PassVisitor.h"        // for PassVisitor, WithDeclsToAdd
    58 #include "Common/ScopedMap.h"          // for ScopedMap<>::const_iterator
     49#include "Common/ScopedMap.h"          // for ScopedMap
    5950#include "Common/SemanticError.h"      // for SemanticError
    6051#include "Common/UniqueName.h"         // for UniqueName
    61 #include "Common/utility.h"            // for operator+, cloneAll, deleteAll
    62 #include "Concurrency/Keywords.h"      // for applyKeywords, implementMutexF...
    6352#include "FixFunction.h"               // for FixFunction
    6453#include "Indexer.h"                   // for Indexer
    65 #include "InitTweak/InitTweak.h"       // for isCtorDtor, isCtorDtorAssign
    66 #include "Parser/LinkageSpec.h"        // for C, Cforall
    67 #include "Parser/ParseNode.h"          // for DeclarationNode, DeclarationNo...
    68 #include "PassVisitor.h"               // for acceptAll, mutateAll
    69 #include "ResolvExpr/typeops.h"        // for extractResultType, typesCompat...
    70 #include "SynTree/Attribute.h"         // for noAttributes, Attribute
     54#include "InitTweak/InitTweak.h"       // for isCtorDtorAssign
     55#include "Parser/LinkageSpec.h"        // for C
     56#include "ResolvExpr/typeops.h"        // for typesCompatible
    7157#include "SynTree/Constant.h"          // for Constant
    72 #include "SynTree/Declaration.h"       // for EnumDecl, StructDecl, TypedefDecl
    73 #include "SynTree/Expression.h"        // for TypeExpr, CompoundLiteralExpr
    74 #include "SynTree/Initializer.h"       // for ListInit, Initializer, noDesig...
    75 #include "SynTree/Mutator.h"           // for mutateAll, Mutator
    76 #include "SynTree/Statement.h"         // for CompoundStmt, DeclStmt, Return...
    77 #include "SynTree/Type.h"              // for Type, TypeInstType, TraitInstType
    78 #include "SynTree/TypeSubstitution.h"  // for TypeSubstitution, applySubstit...
    79 #include "SynTree/Visitor.h"           // for acceptAll, Visitor
     58#include "SynTree/Declaration.h"       // for ObjectDecl, DeclarationWithType
     59#include "SynTree/Expression.h"        // for CompoundLiteralExpr, Expressio...
     60#include "SynTree/Initializer.h"       // for ListInit, Initializer
     61#include "SynTree/Label.h"             // for operator==, Label
     62#include "SynTree/Mutator.h"           // for Mutator
     63#include "SynTree/Type.h"              // for Type, TypeInstType, EnumInstType
     64#include "SynTree/TypeSubstitution.h"  // for TypeSubstitution
     65#include "SynTree/Visitor.h"           // for Visitor
     66
     67class CompoundStmt;
     68class ReturnStmt;
     69class SwitchStmt;
    8070
    8171#define debugPrint( x ) if ( doDebug ) { std::cout << x; }
Note: See TracChangeset for help on using the changeset viewer.