Intel SPMD Program Compiler  1.9.1
Functions
decl.cpp File Reference

Implementations of classes related to turning declarations into symbol names and types. More...

#include "decl.h"
#include "util.h"
#include "module.h"
#include "sym.h"
#include "type.h"
#include "stmt.h"
#include "expr.h"
#include <stdio.h>
#include <string.h>
#include <set>
Include dependency graph for decl.cpp:

Go to the source code of this file.

Functions

static void lPrintTypeQualifiers (int typeQualifiers)
 
static const TypelApplyTypeQualifiers (int typeQualifiers, const Type *type, SourcePos pos)
 
static const char * lGetStorageClassName (StorageClass storageClass)
 
void GetStructTypesNamesPositions (const std::vector< StructDeclaration * > &sd, llvm::SmallVector< const Type *, 8 > *elementTypes, llvm::SmallVector< std::string, 8 > *elementNames, llvm::SmallVector< SourcePos, 8 > *elementPositions)
 

Detailed Description

Implementations of classes related to turning declarations into symbol names and types.

Definition in file decl.cpp.

Function Documentation

void GetStructTypesNamesPositions ( const std::vector< StructDeclaration * > &  sd,
llvm::SmallVector< const Type *, 8 > *  elementTypes,
llvm::SmallVector< std::string, 8 > *  elementNames,
llvm::SmallVector< SourcePos, 8 > *  elementPositions 
)
static const Type* lApplyTypeQualifiers ( int  typeQualifiers,
const Type type,
SourcePos  pos 
)
static
static const char* lGetStorageClassName ( StorageClass  storageClass)
static
static void lPrintTypeQualifiers ( int  typeQualifiers)
static