reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 | #define DIAG_PRAGMA_MACRO 1 #pragma clang diagnostic ignored "-Wparentheses" #ifdef __cplusplus template<typename T> const char *f(T t) { return "foo" + t; } #pragma clang diagnostic ignored "-Wstring-plus-int" template<typename T> const char *g(T t) { return "foo" + t; } #endif |