| 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) | 
| PragmaID comma::pragma::getPragmaID | ( | llvm::StringRef & | name | ) |  [inline] | 
| 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.
 1.6.1
 1.6.1