Changeset 3268a58
- Timestamp:
- Jul 12, 2017, 1:27:01 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, 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:
- 30f9072
- Parents:
- f73f5f4
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
rf73f5f4 r3268a58 13 13 // Update Count : 485 14 14 // 15 #include "CodeGenerator.h" 15 16 16 17 #include <cassert> // for assert, assertf 17 18 #include <list> // for _List_iterator, list, list<>::it... 18 19 19 #include "CodeGenerator.h"20 20 #include "Common/SemanticError.h" // for SemanticError 21 21 #include "Common/UniqueName.h" // for UniqueName -
src/CodeGen/GenType.cc
rf73f5f4 r3268a58 13 13 // Update Count : 22 14 14 // 15 #include "GenType.h" 15 16 16 17 #include <cassert> // for assert, assertf … … 19 20 20 21 #include "CodeGenerator.h" // for CodeGenerator 21 #include "GenType.h"22 22 #include "SynTree/Declaration.h" // for DeclarationWithType 23 23 #include "SynTree/Expression.h" // for Expression -
src/CodeGen/Generate.cc
rf73f5f4 r3268a58 13 13 // Update Count : 6 14 14 // 15 #include "Generate.h" 15 16 16 17 #include <iostream> // for ostream, endl, operator<< … … 20 21 #include "CodeGenerator.h" // for CodeGenerator, doSemicolon, oper... 21 22 #include "GenType.h" // for genPrettyType 22 #include "Generate.h"23 23 #include "Parser/LinkageSpec.h" // for isBuiltin, isGeneratable 24 24 #include "SynTree/BaseSyntaxNode.h" // for BaseSyntaxNode -
src/CodeTools/TrackLoc.cc
rf73f5f4 r3268a58 16 16 #include "TrackLoc.h" 17 17 18 #include <cstdlib> // for size_t, exit, EXIT_FAILURE 19 #include <iostream> // for operator<<, ostream, basic_ostream 20 #include <iterator> // for back_inserter, inserter 21 #include <stack> // for stack 22 #include <string> // for operator<<, string 23 #include <typeindex> // for type_index 18 #include <cstdlib> // for exit, EXIT_FAILURE 19 #include <iostream> // for operator<<, ostream, basic_ostream 20 #include <stack> // for stack 21 #include <string> // for operator<<, string 22 #include <typeindex> // for type_index 24 23 25 #include "Common/PassVisitor.h" // for PassVisitor 26 #include "Common/PassVisitor.impl.h" // for acceptAll 27 #include "Common/SemanticError.h" // for SemanticError 28 #include "Common/utility.h" // for CodeLocation 29 #include "SynTree/BaseSyntaxNode.h" // for BaseSyntaxNode 30 #include "SynTree/Mutator.h" // for mutateAll 31 #include "SynTree/Visitor.h" // for acceptAll 24 #include "Common/PassVisitor.h" // for PassVisitor 25 #include "Common/utility.h" // for CodeLocation 26 #include "SynTree/BaseSyntaxNode.h" // for BaseSyntaxNode 32 27 33 28 class Declaration; … … 46 41 std::stack< CodeLocation * > parents; 47 42 public: 48 LocationPrinter(size_t printLevel) : 43 LocationPrinter(size_t printLevel) : 49 44 printLevel(printLevel), lastNode(nullptr) 50 45 {} … … 65 60 if ( !parents.empty() ) { 66 61 node->location = *parents.top(); 67 } 62 } 68 63 else if (nullptr != lastNode) { 69 64 node->location = *lastNode; 70 } 65 } 71 66 else { 72 67 std::cerr << "Top level node has no CodeLocation " << name << std::endl; -
src/Common/PassVisitor.impl.h
rf73f5f4 r3268a58 1 1 #pragma once 2 // IWYU pragma: private, include "PassVisitor.h" 2 3 3 4 #define VISIT_START( node ) \ -
src/Common/PassVisitor.proto.h
rf73f5f4 r3268a58 1 1 #pragma once 2 // IWYU pragma: private, include "PassVisitor.h" 2 3 3 4 template<typename pass_type>
Note: See TracChangeset
for help on using the changeset viewer.