aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp/include/cpplib.h')
-rw-r--r--libcpp/include/cpplib.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libcpp/include/cpplib.h b/libcpp/include/cpplib.h
index bf59d01..9dbc477 100644
--- a/libcpp/include/cpplib.h
+++ b/libcpp/include/cpplib.h
@@ -427,6 +427,10 @@ struct cpp_options
/* Nonzero for C++ 2011 Standard user-defnied literals. */
unsigned char user_literals;
+ /* Nonzero means warn when a string or character literal is followed by a
+ ud-suffix which does not beging with an underscore. */
+ unsigned char warn_literal_suffix;
+
/* Holds the name of the target (execution) character set. */
const char *narrow_charset;
@@ -906,7 +910,8 @@ enum {
CPP_W_CXX_OPERATOR_NAMES,
CPP_W_NORMALIZE,
CPP_W_INVALID_PCH,
- CPP_W_WARNING_DIRECTIVE
+ CPP_W_WARNING_DIRECTIVE,
+ CPP_W_LITERAL_SUFFIX
};
/* Output a diagnostic of some kind. */