Changeset be9288a
- Timestamp:
- Aug 15, 2017, 1:38:04 PM (7 years ago)
- 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:
- bd098ea
- Parents:
- ea6332d
- Location:
- src
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/utility.h
rea6332d rbe9288a 27 27 28 28 #include <cassert> 29 29 30 template< typename T > 30 31 static inline T * maybeClone( const T *orig ) { -
src/Concurrency/Keywords.cc
rea6332d rbe9288a 23 23 #include "InitTweak/InitTweak.h" // for isConstructor 24 24 #include "Parser/LinkageSpec.h" // for Cforall 25 #include "SymTab/AddVisit.h" // for acceptAndAdd 25 26 #include "SynTree/Constant.h" // for Constant 26 27 #include "SynTree/Declaration.h" // for StructDecl, FunctionDecl, ObjectDecl -
src/ControlStruct/Mutate.cc
rea6332d rbe9288a 17 17 #include <list> // for list 18 18 19 #include "Common/PassVisitor.h" // for mutateAll 19 20 #include "Common/SemanticError.h" // for SemanticError 20 21 #include "ForExprMutator.h" // for ForExprMutator 21 22 #include "LabelFixer.h" // for LabelFixer 22 23 #include "Mutate.h" 23 #include "PassVisitor.h" // for mutateAll24 24 #include "SynTree/Declaration.h" // for Declaration 25 25 #include "SynTree/Mutator.h" // for mutateAll -
src/GenPoly/InstantiateGeneric.cc
rea6332d rbe9288a 13 13 // Update Count : 1 14 14 // 15 #include "InstantiateGeneric.h" 15 16 16 17 #include <cassert> // for assertf, assert … … 26 27 #include "Common/utility.h" // for deleteAll, cloneAll 27 28 #include "GenPoly.h" // for isPolyType, typesPolyCompatible 28 #include "InstantiateGeneric.h"29 #include "PassVisitor.h" // for mutateAll30 29 #include "ScopedSet.h" // for ScopedSet, ScopedSet<>::iterator 31 30 #include "ScrubTyVars.h" // for ScrubTyVars -
src/InitTweak/FixInit.cc
rea6332d rbe9288a 13 13 // Update Count : 74 14 14 // 15 #include "FixInit.h" 15 16 16 17 #include <stddef.h> // for NULL … … 33 34 #include "Common/utility.h" // for CodeLocation, ValueGuard, toSt... 34 35 #include "FixGlobalInit.h" // for fixGlobalInit 35 #include "FixInit.h"36 36 #include "GenInit.h" // for genCtorDtor 37 37 #include "GenPoly/DeclMutator.h" // for DeclMutator … … 40 40 #include "InitTweak.h" // for getFunctionName, getCallArg 41 41 #include "Parser/LinkageSpec.h" // for C, Spec, Cforall, isBuiltin 42 #include "PassVisitor.h" // for mutateAll43 42 #include "ResolvExpr/Resolver.h" // for findVoidExpression 44 43 #include "ResolvExpr/typeops.h" // for typesCompatible -
src/InitTweak/GenInit.cc
rea6332d rbe9288a 13 13 // Update Count : 183 14 14 // 15 #include "GenInit.h" 15 16 16 17 #include <stddef.h> // for NULL … … 24 25 #include "Common/UniqueName.h" // for UniqueName 25 26 #include "Common/utility.h" // for ValueGuard, maybeClone 26 #include "GenInit.h"27 27 #include "GenPoly/DeclMutator.h" // for DeclMutator 28 28 #include "GenPoly/GenPoly.h" // for getFunctionType, isPolyType … … 30 30 #include "InitTweak.h" // for isConstExpr, InitExpander, checkIn... 31 31 #include "Parser/LinkageSpec.h" // for isOverridable, C 32 #include "PassVisitor.h" // for bool_ref, acceptAll, mutateAll33 32 #include "SymTab/Autogen.h" // for genImplicitCall, SizeType 34 33 #include "SymTab/Mangler.h" // for Mangler -
src/InitTweak/InitTweak.h
rea6332d rbe9288a 16 16 #pragma once 17 17 18 #include <bits/shared_ptr.h> // for shared_ptr19 18 #include <list> // for list 19 #include <memory> // for shared_ptr 20 20 #include <string> // for string, allocator 21 21 -
src/Parser/ParseNode.h
rea6332d rbe9288a 25 25 26 26 #include "Common/SemanticError.h" // for SemanticError 27 #include "Common/UniqueName.h" // for UniqueName 27 28 #include "Common/utility.h" // for maybeClone, CodeLocation, maybeBuild 28 29 #include "Parser/LinkageSpec.h" // for Spec … … 39 40 class Initializer; 40 41 class StatementNode; 41 class UniqueName;42 42 43 43 //############################################################################## -
src/Parser/TypedefTable.h
rea6332d rbe9288a 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // TypedefTable.h -- 7 // TypedefTable.h -- 8 8 // 9 9 // Author : Rodolfo G. Esteves … … 21 21 #include <string> // for string 22 22 23 #include "ParserTypes.h" 23 24 #include "parser.hh" // for IDENTIFIER, TYPEDEFname, TYPEGENname 24 25 … … 31 32 kind_t kind; 32 33 }; 33 34 34 35 struct DeferredEntry { 35 36 std::string identifier; … … 43 44 std::string currentTrait; 44 45 int contextScope; 45 46 46 47 typedef std::list< DeferredEntry > deferListType; 47 48 std::stack< deferListType > deferListStack; 48 49 std::map< std::string, deferListType > contexts; 49 50 50 51 std::stack< std::string > nextIdentifiers; 51 52 … … 69 70 void addToEnclosingScope( const std::string &identifier, kind_t kind ); 70 71 void addToEnclosingScope( kind_t kind ); // use nextIdentifiers.top() 71 72 72 73 // "addToEnclosingScope2" adds the identifier/type pair to the scope that encloses the scope enclosing the the 73 74 // current one. This is the right way to handle assertion names 74 75 void addToEnclosingScope2( const std::string &identifier, kind_t kind ); 75 76 void addToEnclosingScope2( kind_t kind ); // use nextIdentifiers.top() 76 77 77 78 // set the next identifier to be used by an "add" operation without an identifier parameter within the current scope 78 79 void setNextIdentifier( const std::string &identifier ); 79 80 80 81 // dump the definitions from a pre-defined context into the current scope 81 82 void openTrait( const std::string &contextName ); 82 83 83 84 void enterScope(); 84 85 void leaveScope(); -
src/SymTab/Autogen.cc
rea6332d rbe9288a 15 15 #include "Autogen.h" 16 16 17 #include <cassert> // for assert, assertf 18 #include <cstddef> // for NULL 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 19 25 20 26 #include "AddVisit.h" // for addVisit … … 23 29 #include "GenPoly/ScopedSet.h" // for ScopedSet 24 30 #include "Parser/LinkageSpec.h" // for AutoGen, Intrinsic, Spec 31 #include "SymTab/Mangler.h" // for mangleType 25 32 #include "SynTree/Statement.h" // for SwitchStmt (ptr only), CompoundStmt 26 33 #include "SynTree/Type.h" // for Type, ArrayType, Type::StorageClasses -
src/SymTab/Validate.cc
rea6332d rbe9288a 46 46 #include <utility> // for pair 47 47 48 #include "CodeGen/CodeGenerator.h" // for genName 48 49 #include "Common/PassVisitor.h" // for PassVisitor, WithDeclsToAdd 49 50 #include "Common/ScopedMap.h" // for ScopedMap 50 51 #include "Common/SemanticError.h" // for SemanticError 51 52 #include "Common/UniqueName.h" // for UniqueName 53 #include "Common/utility.h" // for operator+, cloneAll, deleteAll 54 #include "Concurrency/Keywords.h" // for applyKeywords 52 55 #include "FixFunction.h" // for FixFunction 53 56 #include "Indexer.h" // for Indexer … … 55 58 #include "Parser/LinkageSpec.h" // for C 56 59 #include "ResolvExpr/typeops.h" // for typesCompatible 60 #include "SymTab/AddVisit.h" // for addVisit 61 #include "SymTab/Autogen.h" // for SizeType 62 #include "SynTree/Attribute.h" // for noAttributes, Attribute 57 63 #include "SynTree/Constant.h" // for Constant 58 64 #include "SynTree/Declaration.h" // for ObjectDecl, DeclarationWithType … … 68 74 class ReturnStmt; 69 75 class SwitchStmt; 76 70 77 71 78 #define debugPrint( x ) if ( doDebug ) { std::cout << x; } -
src/SynTree/Type.cc
rea6332d rbe9288a 13 13 // Update Count : 29 14 14 // 15 #include "Type.h" 15 16 16 17 #include "Attribute.h" // for Attribute … … 18 19 #include "InitTweak/InitTweak.h" // for getPointerBase 19 20 #include "SynTree/BaseSyntaxNode.h" // for BaseSyntaxNode 20 #include " Type.h"21 #include "SynTree/Declaration.h" // for TypeDecl 21 22 22 23 using namespace std; -
src/Tuples/TupleExpansion.cc
rea6332d rbe9288a 24 24 #include "InitTweak/InitTweak.h" // for getFunction 25 25 #include "Parser/LinkageSpec.h" // for Spec, C, Intrinsic 26 #include "PassVisitor.h" // for mutateAll27 26 #include "SynTree/Constant.h" // for Constant 28 27 #include "SynTree/Declaration.h" // for StructDecl, DeclarationWithType -
src/main.cc
rea6332d rbe9288a 23 23 #include <cstdlib> // for exit, free, abort, EXIT_F... 24 24 #include <cstring> // for index 25 #include <fstream> // for ofstream 25 26 #include <iostream> // for operator<<, basic_ostream 26 27 #include <iterator> // for back_inserter
Note: See TracChangeset
for help on using the changeset viewer.