Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/FindSpecialDecls.h

    rc6b4432 r11df881  
    1616#pragma once
    1717
     18#include <list>  // for list
     19
     20class Declaration;
     21class FunctionDecl;
     22class StructDecl;
     23class Type;
     24
    1825namespace ast {
    1926        class TranslationUnit;
     
    2128
    2229namespace 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 );
    2344
    2445/// Find and remember some of the special declarations that are useful for
Note: See TracChangeset for help on using the changeset viewer.