Changes in src/Validate/FindSpecialDecls.h [c6b4432:11df881]
- File:
-
- 1 edited
-
src/Validate/FindSpecialDecls.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/FindSpecialDecls.h
rc6b4432 r11df881 16 16 #pragma once 17 17 18 #include <list> // for list 19 20 class Declaration; 21 class FunctionDecl; 22 class StructDecl; 23 class Type; 24 18 25 namespace ast { 19 26 class TranslationUnit; … … 21 28 22 29 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 type 32 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 generation 39 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 ); 23 44 24 45 /// Find and remember some of the special declarations that are useful for
Note:
See TracChangeset
for help on using the changeset viewer.