Skip to content

SgFile

Base class for files in a project. Stores file metadata and command-line options. SgSourceFile owns the global scope of a source file.

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

class [[visibility("default")]] SgFile
    : public SgSupport

Description

Data members

`ROSEAttributesListContainerPtr

SgFile::p_preprocessorDirectivesAndCommentsList` This is the container of comments and preprocessor control statements that was extracted from the file and which has been woven back into the AST (using heuristics). This information is extracted from the file using a lex based parser. Within AST post processing the comments and preprocessor control statements are woven back into the AST using simple heuristics. They are attached to the IR nodes as attributes (see AST attribute Mechanism). They are unparsed as part of the code generation phase.

SgFile::p_originalCommandLineArgumentList

Copy of original argc and argv command line passed to ROSE translator (converted to STL list of strings).

  • Internal: This is a deep copy.

SgFile::p_file_info

This object permits the file name map mechanism to be used on SgFile objects. This Sg_File_Info object encapsulates the file id mechanism which maps file ids (integers) to filenames (strings). This permist us to save significant storage by holding string names only once in memory and associating integers with them saving memory and simplify matching file names. The memory saving is because there would otherwise be a LOT of redundant filename strings, 2 per IR node in many cases. the performance advantage is that integer comparisons are significantly than string comparisions and there are a lot of these (one per IR node) in the traversal mechanisms.

  • Internal: The filename is not currently correct, I think.

Member functions

list<string> SgFile::get_originalCommandLineArgumentList() const

Returns a list of strings representing the original command-line.

`SgFile::set_originalCommandLineArgumentList( list<string>

originalCommandLineArgumentList )` Sets the list of strings representing the original command-line.

Base Classes

Name Description
SgSupport This class represents the base class of a numbr of IR nodes that don't otherwise fit

Type Aliases

Name
base_node_type

Enums

Name Description
Unnamed enum static variant value
languageOption_enum Enum type used to specify output language (option used for testing unparsers).
outputFormatOption_enum Enum type used to specify output of Fortran as fixed for free format.
standard_enum

Member Functions

Name Description
SgFile
SgFile(); [constructor]
Constructors
~SgFile
virtual ~SgFile(); [destructor] [virtual]
Destructor
accept
virtual void accept(ROSE_VisitorPattern& visitor) override; [virtual]
support for the classic visitor pattern done in GoF
addNewAttribute
virtual void addNewAttribute( std::string s, AstAttribute* a) override; [virtual]
Add a new attribute represented by the named string.
appendDestructorOwnedNodes
virtual void appendDestructorOwnedNodes(std::vector<SgNode*>& nodes) const override; [virtual]
attributeExists
virtual bool attributeExists(std::string s) const override; [virtual]
Tests if attribute of name 's' is present.
buildAST
virtual int buildAST( std::vector<std::string> argv, std::vector<std::string> inputCommandLine); [virtual]
buildCompilerCommandLineOptions
std::vector<std::string> buildCompilerCommandLineOptions( std::vector<std::string>& argv, int fileNameIndex, std::string const& compilerName);
build_CLANG_CommandLine
void build_CLANG_CommandLine( std::vector<std::string>& inputCommandLine, std::vector<std::string>& argv, int fileNameIndex);
callFrontEnd
virtual int callFrontEnd(); [virtual]
class_name
virtual std::string class_name() const override; [virtual]
returns a string representing the class name
compileOutput
int compileOutput(int fileNameIndex);
Member function to compile the resulting output file from unparsing
copy
virtual SgNode* copy(SgCopyHelp& help) const override; [virtual]
display
void display(std::string const& label) const;
display_standard
std::string display_standard(standard_enum e_std);
doSetupForConstructor
virtual void doSetupForConstructor( std::vector<std::string> const& argv, SgProject* project, SgFileList* owner);
generateOutputFileName
std::string generateOutputFileName() const;
Generate an output filename from the source file name (xxx.C -> rose_xxx.C -> xxx.o -> xxx)
getAttribute
virtual AstAttribute* getAttribute(std::string s) const override; [virtual]
Returns attribute of name 's'.
getFileName
std::string getFileName() const;
associated filename
getSourceDirectory
std::string getSourceDirectory();
getWorkingDirectory
std::string getWorkingDirectory();
get_C11_gnu_only
bool get_C11_gnu_only() const;
get_C11_only
bool get_C11_only() const;
get_C17_gnu_only
bool get_C17_gnu_only() const;
get_C17_only
bool get_C17_only() const;
get_C23_gnu_only
bool get_C23_gnu_only() const;
get_C23_only
bool get_C23_only() const;
get_C2y_gnu_only
bool get_C2y_gnu_only() const;
get_C2y_only
bool get_C2y_only() const;
get_C89_gnu_only
bool get_C89_gnu_only() const;
get_C89_only
bool get_C89_only() const;
get_C90_gnu_only
bool get_C90_gnu_only() const;
get_C90_only
bool get_C90_only() const;
get_C99_gnu_only
bool get_C99_gnu_only() const;
get_C99_only
bool get_C99_only() const;
get_C_only
bool get_C_only() const;
get_CoArrayFortran_only
bool get_CoArrayFortran_only() const;
get_Cuda_only
bool get_Cuda_only() const;
get_Cxx03_gnu_only
bool get_Cxx03_gnu_only() const;
get_Cxx03_only
bool get_Cxx03_only() const;
get_Cxx11_gnu_only
bool get_Cxx11_gnu_only() const;
get_Cxx11_only
bool get_Cxx11_only() const;
get_Cxx14_gnu_only
bool get_Cxx14_gnu_only() const;
get_Cxx14_only
bool get_Cxx14_only() const;
get_Cxx17_gnu_only
bool get_Cxx17_gnu_only() const;
get_Cxx17_only
bool get_Cxx17_only() const;
get_Cxx20_gnu_only
bool get_Cxx20_gnu_only() const;
get_Cxx20_only
bool get_Cxx20_only() const;
get_Cxx23_gnu_only
bool get_Cxx23_gnu_only() const;
get_Cxx23_only
bool get_Cxx23_only() const;
get_Cxx26_gnu_only
bool get_Cxx26_gnu_only() const;
get_Cxx26_only
bool get_Cxx26_only() const;
get_Cxx98_gnu_only
bool get_Cxx98_gnu_only() const;
get_Cxx98_only
bool get_Cxx98_only() const;
get_Cxx_only
bool get_Cxx_only() const;
get_F2003_only
bool get_F2003_only() const;
get_F2008_only
bool get_F2008_only() const;
get_F2018_only
bool get_F2018_only() const;
get_F77_only
bool get_F77_only() const;
get_F90_only
bool get_F90_only() const;
get_F95_only
bool get_F95_only() const;
get_Fortran_only
bool get_Fortran_only() const;
get_OpenCL_only
bool get_OpenCL_only() const;
get_attributeMechanism
virtual AstAttributeMechanism* get_attributeMechanism() const override; [virtual]
get_backendCompileFormat
SgFile::outputFormatOption_enum get_backendCompileFormat() const;
get_backendCompilerErrorCode
int get_backendCompilerErrorCode() const;
get_childIndex
virtual size_t get_childIndex(SgNode* child) const override; [virtual]
index-based access to traversal successors by child node
get_clang_il_to_graphviz
bool get_clang_il_to_graphviz() const;
get_collectAllCommentsAndDirectives
bool get_collectAllCommentsAndDirectives() const;
get_compileOnly
bool get_compileOnly() const;
get_cray_pointer_support
bool get_cray_pointer_support() const;
get_detect_dangling_pointers
int get_detect_dangling_pointers() const;
get_exit_after_parser
bool get_exit_after_parser() const;
get_file_info
virtual Sg_File_Info* get_file_info() const override; [virtual]
Access function calling get_startOfConstruct(), provided to support older interface.
get_frontendErrorCode
int get_frontendErrorCode() const;
get_header_file_unparsing_optimization_header_file
bool get_header_file_unparsing_optimization_header_file() const;
get_inputFormat
SgFile::outputFormatOption_enum get_inputFormat() const;
get_inputLanguage
SgFile::languageOption_enum get_inputLanguage() const;
get_markGeneratedFiles
bool get_markGeneratedFiles() const;
get_midendErrorCode
int get_midendErrorCode() const;
get_multifile_support
bool get_multifile_support() const;
get_negative_test
bool get_negative_test() const;
get_numberOfTraversalSuccessors
virtual size_t get_numberOfTraversalSuccessors() const override; [virtual]
return number of children in the traversal successor list
get_objectFileNameWithPath
std::string get_objectFileNameWithPath() const;
get_objectFileNameWithoutPath
std::string get_objectFileNameWithoutPath() const;
get_openacc
bool get_openacc() const;
get_openacc_ast_only
bool get_openacc_ast_only() const;
get_openacc_parse_only
bool get_openacc_parse_only() const;
get_openmp
bool get_openmp() const;
get_openmp_analyzing
bool get_openmp_analyzing() const;
get_openmp_ast_only
bool get_openmp_ast_only() const;
get_openmp_lowering
bool get_openmp_lowering() const;
get_openmp_parse_only
bool get_openmp_parse_only() const;
get_openmp_processed
bool get_openmp_processed() const;
get_optimization
bool get_optimization() const;
get_originalCommandLineArgumentList
SgStringList const& get_originalCommandLineArgumentList() const;
get_outputFormat
SgFile::outputFormatOption_enum get_outputFormat() const;
get_outputLanguage
SgFile::languageOption_enum get_outputLanguage() const;
get_preprocessorDirectivesAndCommentsList
ROSEAttributesListContainer* get_preprocessorDirectivesAndCommentsList() const;
get_project
SgProject* get_project();
Get the owning SgProject IR node if available.
get_requires_C_preprocessor
bool get_requires_C_preprocessor() const;
get_skipAstConsistancyTests
bool get_skipAstConsistancyTests() const;
get_skip_commentsAndDirectives
bool get_skip_commentsAndDirectives() const;
get_skip_parser
bool get_skip_parser() const;
get_skip_transformation
bool get_skip_transformation() const;
get_skip_unparse
bool get_skip_unparse() const;
get_skipfinalCompileStep
bool get_skipfinalCompileStep() const;
get_sourceFileNameWithPath
std::string get_sourceFileNameWithPath() const;
get_sourceFileNameWithoutPath
std::string get_sourceFileNameWithoutPath() const;
get_sourceFileUsesCoArrayFortranFileExtension
bool get_sourceFileUsesCoArrayFortranFileExtension() const;
get_sourceFileUsesCppFileExtension
bool get_sourceFileUsesCppFileExtension() const;
get_sourceFileUsesFortran2003FileExtension
bool get_sourceFileUsesFortran2003FileExtension() const;
get_sourceFileUsesFortran2008FileExtension
bool get_sourceFileUsesFortran2008FileExtension() const;
get_sourceFileUsesFortran77FileExtension
bool get_sourceFileUsesFortran77FileExtension() const;
get_sourceFileUsesFortran90FileExtension
bool get_sourceFileUsesFortran90FileExtension() const;
get_sourceFileUsesFortran95FileExtension
bool get_sourceFileUsesFortran95FileExtension() const;
get_sourceFileUsesFortranFileExtension
bool get_sourceFileUsesFortranFileExtension() const;
get_standard
standard_enum get_standard() const;
get_startOfConstruct
virtual Sg_File_Info* get_startOfConstruct() const override; [virtual]
get_strict_language_handling
bool get_strict_language_handling() const;
get_traversalSuccessorByIndex
virtual SgNode* get_traversalSuccessorByIndex(size_t idx) const override; [virtual]
index-based access to traversal successors by index number
get_traversalSuccessorContainer
virtual std::vector<SgNode*> get_traversalSuccessorContainer() const override; [virtual]
container of pointers to AST successor nodes used in the traversal overridden in every class by generated implementation
get_traversalSuccessorIsListElement
virtual std::vector<bool> get_traversalSuccessorIsListElement() const override; [virtual]
get_traversalSuccessorNamesContainer
virtual std::vector<std::string> get_traversalSuccessorNamesContainer() const override; [virtual]
container of names of variables or container indices used used in the traversal to access AST successor nodes overridden in every class by generated implementation
get_unparseHeaderFiles
bool get_unparseHeaderFiles() const;
get_unparse_includes
bool get_unparse_includes() const;
get_unparse_line_directives
bool get_unparse_line_directives() const;
get_unparse_output_filename
std::string get_unparse_output_filename() const;
get_unparse_template_ast
bool get_unparse_template_ast() const;
get_unparse_tokens
bool get_unparse_tokens() const;
get_unparserErrorCode
int get_unparserErrorCode() const;
get_useBackendOnly
bool get_useBackendOnly() const;
get_verbose
int get_verbose() const;
initialization
void initialization();
Initialization support for constructors
initializeSourcePosition
void initializeSourcePosition(std::string const& sourceFilename);
is_gnu_standard
bool is_gnu_standard() const;
numberOfAttributes
virtual int numberOfAttributes() const override; [virtual]
Returns the number of attributes on this IR node.
operator delete
void operator delete( void* pointer, size_t size);
deallocated memory for IR node (returns memory to memory pool for reuse)
operator new
void* operator new(size_t size);
returns pointer to newly allocated IR node
processBackendSpecificCommandLineOptions
void processBackendSpecificCommandLineOptions(std::vector<std::string> const& argv);
Record backend language handling options from the original command line.
processDataMemberReferenceToPointers
virtual void processDataMemberReferenceToPointers(ReferenceToPointerHandler*) override; [virtual]
Pass references to stored node pointers to a handler.
processRoseCommandLineOptions
void processRoseCommandLineOptions(std::vector<std::string>& argv);
removeAttribute
virtual void removeAttribute(std::string s) override; [virtual]
Remove attribute of name 's' if present.
returnDataMemberPointers
virtual std::vector<std::pair<SgNode*, std::string>> returnDataMemberPointers() const override; [virtual]
Return the node pointers stored in this node's data members.
roseRTI
virtual RTIReturnType roseRTI() override; [virtual]
return C++ Runtime-Time-Information
runFrontend
void runFrontend(int& nextErrorCode);
sage_class_name
virtual char const* sage_class_name() const override; [virtual]
returns a C style string (char*) representing the class name
secondaryPassOverSourceFile
void secondaryPassOverSourceFile();
Fixups to be run when the whole project has been created (this attaches preprocessing information).
setAttribute
virtual void setAttribute( std::string s, AstAttribute* a) override; [virtual]
This is a wrapper function with the following semantics: if no attribute of name 's' exists then addNewAttribute(s,a); is called, otherwise updateAttribute(s,a); is called.
set_C11_gnu_only
void set_C11_gnu_only();
set_C11_only
void set_C11_only();
set_C17_gnu_only
void set_C17_gnu_only();
set_C17_only
void set_C17_only();
set_C23_gnu_only
void set_C23_gnu_only();
set_C23_only
void set_C23_only();
set_C2y_gnu_only
void set_C2y_gnu_only();
set_C2y_only
void set_C2y_only();
set_C89_gnu_only
void set_C89_gnu_only();
set_C89_only
void set_C89_only();
set_C90_gnu_only
void set_C90_gnu_only();
set_C90_only
void set_C90_only();
set_C99_gnu_only
void set_C99_gnu_only();
set_C99_only
void set_C99_only();
set_C_only
void set_C_only(bool C_only);
set_CoArrayFortran_only
void set_CoArrayFortran_only(bool CoArrayFortran_only);
set_Cuda_only
void set_Cuda_only(bool Cuda_only);
set_Cxx03_gnu_only
void set_Cxx03_gnu_only();
set_Cxx03_only
void set_Cxx03_only();
set_Cxx11_gnu_only
void set_Cxx11_gnu_only();
set_Cxx11_only
void set_Cxx11_only();
set_Cxx14_gnu_only
void set_Cxx14_gnu_only();
set_Cxx14_only
void set_Cxx14_only();
set_Cxx17_gnu_only
void set_Cxx17_gnu_only();
set_Cxx17_only
void set_Cxx17_only();
set_Cxx20_gnu_only
void set_Cxx20_gnu_only();
set_Cxx20_only
void set_Cxx20_only();
set_Cxx23_gnu_only
void set_Cxx23_gnu_only();
set_Cxx23_only
void set_Cxx23_only();
set_Cxx26_gnu_only
void set_Cxx26_gnu_only();
set_Cxx26_only
void set_Cxx26_only();
set_Cxx98_gnu_only
void set_Cxx98_gnu_only();
set_Cxx98_only
void set_Cxx98_only();
set_Cxx_only
void set_Cxx_only(bool Cxx_only);
set_F2003_only
void set_F2003_only();
set_F2008_only
void set_F2008_only();
set_F2018_only
void set_F2018_only();
set_F77_only
void set_F77_only();
set_F90_only
void set_F90_only();
set_F95_only
void set_F95_only();
set_Fortran_only
void set_Fortran_only(bool Fortran_only);
set_OpenCL_only
void set_OpenCL_only(bool OpenCL_only);
set_attributeMechanism
virtual void set_attributeMechanism(AstAttributeMechanism* attributeMechanism) override; [virtual]
set_backendCompileFormat
void set_backendCompileFormat(SgFile::outputFormatOption_enum backendCompileFormat);
set_backendCompilerErrorCode
void set_backendCompilerErrorCode(int backendCompilerErrorCode);
set_clang_il_to_graphviz
void set_clang_il_to_graphviz(bool clang_il_to_graphviz);
set_collectAllCommentsAndDirectives
void set_collectAllCommentsAndDirectives(bool collectAllCommentsAndDirectives);
set_compileOnly
void set_compileOnly(bool compileOnly);
set_cray_pointer_support
void set_cray_pointer_support(bool cray_pointer_support);
set_default_standard
void set_default_standard();
set_detect_dangling_pointers
void set_detect_dangling_pointers(int detect_dangling_pointers);
set_exit_after_parser
void set_exit_after_parser(bool exit_after_parser);
set_file_info
void set_file_info(Sg_File_Info* fileinfo);
Access function calling set_startOfConstruct(), provided to support older interface.
set_frontendErrorCode
void set_frontendErrorCode(int frontendErrorCode);
set_gnu_standard
void set_gnu_standard();
set_header_file_unparsing_optimization_header_file
void set_header_file_unparsing_optimization_header_file(bool header_file_unparsing_optimization_header_file);
set_inputFormat
void set_inputFormat(SgFile::outputFormatOption_enum inputFormat);
set_inputLanguage
void set_inputLanguage(SgFile::languageOption_enum inputLanguage);
set_markGeneratedFiles
void set_markGeneratedFiles(bool markGeneratedFiles);
set_midendErrorCode
void set_midendErrorCode(int midendErrorCode);
set_multifile_support
void set_multifile_support(bool multifile_support);
set_negative_test
void set_negative_test(bool negative_test);
set_objectFileNameWithPath
void set_objectFileNameWithPath(std::string objectFileNameWithPath);
set_objectFileNameWithoutPath
void set_objectFileNameWithoutPath(std::string objectFileNameWithoutPath);
set_openacc
void set_openacc(bool openacc);
set_openacc_ast_only
void set_openacc_ast_only(bool openacc_ast_only);
set_openacc_parse_only
void set_openacc_parse_only(bool openacc_parse_only);
set_openmp
void set_openmp(bool openmp);
set_openmp_analyzing
void set_openmp_analyzing(bool openmp_analyzing);
set_openmp_ast_only
void set_openmp_ast_only(bool openmp_ast_only);
set_openmp_lowering
void set_openmp_lowering(bool openmp_lowering);
set_openmp_parse_only
void set_openmp_parse_only(bool openmp_parse_only);
set_openmp_processed
void set_openmp_processed(bool openmp_processed);
set_optimization
void set_optimization(bool optimization);
set_outputFormat
void set_outputFormat(SgFile::outputFormatOption_enum outputFormat);
set_outputLanguage
void set_outputLanguage(SgFile::languageOption_enum outputLanguage);
set_preprocessorDirectivesAndCommentsList
void set_preprocessorDirectivesAndCommentsList(ROSEAttributesListContainer* preprocessorDirectivesAndCommentsList);
set_requires_C_preprocessor
void set_requires_C_preprocessor(bool requires_C_preprocessor);
set_skipAstConsistancyTests
void set_skipAstConsistancyTests(bool skipAstConsistancyTests);
set_skip_commentsAndDirectives
void set_skip_commentsAndDirectives(bool skip_commentsAndDirectives);
set_skip_parser
void set_skip_parser(bool skip_parser);
set_skip_transformation
void set_skip_transformation(bool skip_transformation);
set_skip_unparse
void set_skip_unparse(bool skip_unparse);
set_skipfinalCompileStep
void set_skipfinalCompileStep(bool skipfinalCompileStep);
set_sourceFileNameWithPath
void set_sourceFileNameWithPath(std::string sourceFileNameWithPath);
set_sourceFileNameWithoutPath
void set_sourceFileNameWithoutPath(std::string sourceFileNameWithoutPath);
set_sourceFileUsesCoArrayFortranFileExtension
void set_sourceFileUsesCoArrayFortranFileExtension(bool sourceFileUsesCoArrayFortranFileExtension);
set_sourceFileUsesCppFileExtension
void set_sourceFileUsesCppFileExtension(bool sourceFileUsesCppFileExtension);
set_sourceFileUsesFortran2003FileExtension
void set_sourceFileUsesFortran2003FileExtension(bool sourceFileUsesFortran2003FileExtension);
set_sourceFileUsesFortran2008FileExtension
void set_sourceFileUsesFortran2008FileExtension(bool sourceFileUsesFortran2008FileExtension);
set_sourceFileUsesFortran77FileExtension
void set_sourceFileUsesFortran77FileExtension(bool sourceFileUsesFortran77FileExtension);
set_sourceFileUsesFortran90FileExtension
void set_sourceFileUsesFortran90FileExtension(bool sourceFileUsesFortran90FileExtension);
set_sourceFileUsesFortran95FileExtension
void set_sourceFileUsesFortran95FileExtension(bool sourceFileUsesFortran95FileExtension);
set_sourceFileUsesFortranFileExtension
void set_sourceFileUsesFortranFileExtension(bool sourceFileUsesFortranFileExtension);
set_standard
void set_standard(standard_enum e_std);
set_startOfConstruct
void set_startOfConstruct(Sg_File_Info* startOfConstruct);
set_strict_language_handling
void set_strict_language_handling(bool strict_language_handling);
set_unparseHeaderFiles
void set_unparseHeaderFiles(bool unparseHeaderFiles);
set_unparse_includes
void set_unparse_includes(bool unparse_includes);
set_unparse_line_directives
void set_unparse_line_directives(bool unparse_line_directives);
set_unparse_output_filename
void set_unparse_output_filename(std::string unparse_output_filename);
set_unparse_template_ast
void set_unparse_template_ast(bool unparse_template_ast);
set_unparse_tokens
void set_unparse_tokens(bool unparse_tokens);
set_unparserErrorCode
void set_unparserErrorCode(int unparserErrorCode);
set_useBackendOnly
void set_useBackendOnly(bool useBackendOnly);
set_verbose
void set_verbose(int verbose);
unparse
void unparse( UnparseFormatHelp* unparseHelp = NULL, UnparseDelegate* unparseDelagate = NULL);
Generate the C++ file representing the AST
unset_gnu_standard
void unset_gnu_standard();
updateAttribute
virtual void updateAttribute( std::string s, AstAttribute* a) override; [virtual]
Replace existing attribute of name 's' with new AstAttribute.
variantT
virtual VariantT variantT() const override; [virtual]
returns new style SageIII enum values

Static Member Functions

Name Description
generate_C_preprocessor_intermediate_filename
static std::string generate_C_preprocessor_intermediate_filename(std::string filename);
Support for C preprocessed files (Fortran only).
get_outputLanguageOptionName
static std::string get_outputLanguageOptionName(languageOption_enum lang);
memoryUsage
static size_t memoryUsage();
Returns the size in bytes of the total memory allocated for all IR nodes of this type
numberOfNodes
static size_t numberOfNodes();
Returns the total number of IR nodes of this type
stripRoseCommandLineOptions
static void stripRoseCommandLineOptions(std::vector<std::string>& argv);
function that removes all rose related options from a command line
traverseMemoryPoolNodes
static void traverseMemoryPoolNodes(ROSE_VisitTraversal& visit);
FOR INTERNAL USE Support for visitor pattern over all IR nodes by type of IR node.
traverseMemoryPoolVisitorPattern
static void traverseMemoryPoolVisitorPattern(ROSE_VisitorPattern& visitor);
FOR INTERNAL USE Support for visitor pattern.
usage
static void usage();
validateFortranCommandLineOptions
static void validateFortranCommandLineOptions(std::vector<std::string> const& argv);
Validate Fortran options before passing the command line to Flang.
visitRepresentativeNode
static void visitRepresentativeNode(ROSE_VisitTraversal& visit);
FOR INTERNAL USE Support for type-based traversal.

Static Data Members

Name Description
free_slots Free slots, each numbered pool_index * pool_size + slot_index. The last entry is allocated next.
pool_live_flags
pool_size
pools

Protected Data Members

Name
p_C_only
p_CoArrayFortran_only
p_Cuda_only
p_Cxx_only
p_Fortran_only
p_OpenCL_only
p_attributeMechanism
p_backendCompileFormat
p_backendCompilerErrorCode
p_clang_il_to_graphviz
p_collectAllCommentsAndDirectives
p_compileOnly
p_cray_pointer_support
p_detect_dangling_pointers
p_exit_after_parser
p_frontendErrorCode
p_gnu_standard
p_header_file_unparsing_optimization_header_file
p_inputFormat
p_inputLanguage
p_markGeneratedFiles
p_midendErrorCode
p_multifile_support
p_negative_test
p_objectFileNameWithPath
p_objectFileNameWithoutPath
p_openacc
p_openacc_ast_only
p_openacc_parse_only
p_openmp
p_openmp_analyzing
p_openmp_ast_only
p_openmp_lowering
p_openmp_parse_only
p_openmp_processed
p_optimization
p_originalCommandLineArgumentList
p_outputFormat
p_outputLanguage
p_preprocessorDirectivesAndCommentsList
p_requires_C_preprocessor
p_skipAstConsistancyTests
p_skip_commentsAndDirectives
p_skip_parser
p_skip_transformation
p_skip_unparse
p_skipfinalCompileStep
p_sourceFileNameWithPath
p_sourceFileNameWithoutPath
p_sourceFileUsesCoArrayFortranFileExtension
p_sourceFileUsesCppFileExtension
p_sourceFileUsesFortran2003FileExtension
p_sourceFileUsesFortran2008FileExtension
p_sourceFileUsesFortran77FileExtension
p_sourceFileUsesFortran90FileExtension
p_sourceFileUsesFortran95FileExtension
p_sourceFileUsesFortranFileExtension
p_standard
p_startOfConstruct
p_strict_language_handling
p_unparseHeaderFiles
p_unparse_includes
p_unparse_line_directives
p_unparse_output_filename
p_unparse_template_ast
p_unparse_tokens
p_unparserErrorCode
p_useBackendOnly
p_verbose

Friends

Name Description
isSgFile Casts pointer from base class to derived class (for const pointers)
isSgFile Casts pointer from base class to derived class

Derived Classes

Name Description
SgSourceFile

Created with MrDocs