brintos

brintos / llvm-project-archived public Read only

0
0
Text · 286 B · 59c73ea Raw
14 lines · c
1#define DIAG_PRAGMA_MACRO 12 3#pragma clang diagnostic ignored "-Wparentheses"4 5#ifdef __cplusplus6template<typename T> const char *f(T t) {7  return "foo" + t;8}9#pragma clang diagnostic ignored "-Wstring-plus-int"10template<typename T> const char *g(T t) {11  return "foo" + t;12}13#endif14