Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::pragma Namespace Reference

comma::pragma Namespace Reference

Enumerations

enum  PragmaID {
  UNKNOWN_PRAGMA, Assert, Import, FIRST_PRAGMA = Assert,
  LAST_PRAGMA = Import
}

Functions

PragmaID getPragmaID (const char *start, const char *end)
PragmaID getPragmaID (llvm::StringRef &name)
const char * getPragmaString (PragmaID ID)

Enumeration Type Documentation

Enumeration listing each supported pragma. The special marker UNKNOWN_PRAGMA does not map directly to any pragma.

Enumerator:
UNKNOWN_PRAGMA 
Assert 
Import 
FIRST_PRAGMA 
LAST_PRAGMA 

Definition at line 27 of file Pragmas.h.


Function Documentation

PragmaID comma::pragma::getPragmaID ( llvm::StringRef &  name  )  [inline]

Returns the pragma id for the given string, or UNKNOWN_PRAGMA if the string does not name a pragma.

Definition at line 43 of file Pragmas.h.

PragmaID comma::pragma::getPragmaID ( const char *  start,
const char *  end 
)

Returns the pragma id for the string delimited by the pointers start and end, or UNKNOWN_PRAGMA if the string does not name a pragma.

Definition at line 29 of file Pragmas.cpp.

const char * comma::pragma::getPragmaString ( PragmaID  ID  ) 

Returns a null terminated string naming the given pragma. UNKNOWN_PRAGMA is not a valid ID in this case.

Definition at line 24 of file Pragmas.cpp.


Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1