Mercurial > projects > ldc
comparison gen/metadata.h @ 1558:3adcb70700cb
Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Fri, 31 Jul 2009 11:28:31 +0200 |
parents | ed0cffe895ec |
children |
comparison
equal
deleted
inserted
replaced
1557:d11aeae19b95 | 1558:3adcb70700cb |
---|---|
1 #if USE_METADATA | |
2 | |
1 #ifndef LDC_GEN_METADATA_H | 3 #ifndef LDC_GEN_METADATA_H |
2 #define LDC_GEN_METADATA_H | 4 #define LDC_GEN_METADATA_H |
3 | 5 |
4 // MDNode was moved into its own header, and contains Value*s | 6 // MDNode was moved into its own header, and contains Value*s |
5 #include "llvm/Metadata.h" | 7 #include "llvm/Metadata.h" |
44 // Must be kept last | 46 // Must be kept last |
45 CD_NumFields /// The number of fields in ClassInfo metadata | 47 CD_NumFields /// The number of fields in ClassInfo metadata |
46 }; | 48 }; |
47 | 49 |
48 #endif | 50 #endif |
51 | |
52 #endif // USE_METADATA |