]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libcpp/include/cpplib.h
Add new option, -Wliteral-suffix.
[thirdparty/gcc.git] / libcpp / include / cpplib.h
index bf59d016231dc8f817c2516e85bdff263277f020..9dbc477b61e88cd220464847b33786f88b193c2a 100644 (file)
@@ -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.  */