Changeset fc12f05 for src/Validate
- Timestamp:
 - Nov 13, 2023, 3:43:43 AM (2 years ago)
 - Branches:
 - master
 - Children:
 - 25f2798
 - Parents:
 - 0030b508 (diff), 2174191 (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. - Location:
 - src/Validate
 - Files:
 - 
      
- 3 deleted
 - 3 edited
 
- 
          
  FindSpecialDecls.cc (deleted)
 - 
          
  FindSpecialDecls.h (modified) (2 diffs)
 - 
          
  FixReturnTypes.cpp (modified) (1 diff)
 - 
          
  HandleAttributes.cc (deleted)
 - 
          
  HandleAttributes.h (deleted)
 - 
          
  module.mk (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/Validate/FindSpecialDecls.h
r0030b508 rfc12f05 16 16 #pragma once 17 17 18 #include <list> // for list19 20 class Declaration;21 class FunctionDecl;22 class StructDecl;23 class Type;24 25 18 namespace ast { 26 19 class TranslationUnit; … … 28 21 29 22 namespace Validate { 30 /// size_t type - set when size_t typedef is seen. Useful in a few places,31 /// such as in determining array dimension type32 extern Type * SizeType;33 34 /// intrinsic dereference operator for unqualified types - set when *? function is seen in FindSpecialDeclarations.35 /// Useful for creating dereference ApplicationExprs without a full resolver pass.36 extern FunctionDecl * dereferenceOperator;37 38 /// special built-in functions and data structures necessary for destructor generation39 extern StructDecl * dtorStruct;40 extern FunctionDecl * dtorStructDestroy;41 42 /// find and remember some of the special declarations that are useful for generating code, so that they do not have to be discovered multiple times.43 void findSpecialDecls( std::list< Declaration * > & translationUnit );44 23 45 24 /// Find and remember some of the special declarations that are useful for  - 
      
src/Validate/FixReturnTypes.cpp
r0030b508 rfc12f05 19 19 #include "AST/Pass.hpp" 20 20 #include "AST/Type.hpp" 21 #include "CodeGen/CodeGenerator .h"21 #include "CodeGen/CodeGeneratorNew.hpp" 22 22 #include "ResolvExpr/Unify.h" 23 23  - 
      
src/Validate/module.mk
r0030b508 rfc12f05 16 16 17 17 SRC_VALIDATE = \ 18 Validate/FindSpecialDecls.cc \19 18 Validate/FindSpecialDecls.h 20 19 … … 37 36 Validate/GenericParameter.cpp \ 38 37 Validate/GenericParameter.hpp \ 39 Validate/HandleAttributes.cc \40 Validate/HandleAttributes.h \41 38 Validate/HoistStruct.cpp \ 42 39 Validate/HoistStruct.hpp \  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.