The __vector bool is hardcoded in the message in DiagnosticParseKinds.td.  Hmm, 
there are a whole bunch of other similar ones in there, too.

def err_invalid_vector_decl_spec_combination : Error<

  "cannot combine with previous '%0' declaration specifier. "
  "'__vector' must be first">;

def err_invalid_pixel_decl_spec_combination : Error<

  "'__pixel' must be preceded by '__vector'.  "
  "'%0' declaration specifier not allowed here">;

def err_invalid_vector_bool_decl_spec : Error<

  "cannot use '%0' with '__vector bool'">;

def err_invalid_vector_double_decl_spec : Error <

  "use of 'double' with '__vector' requires VSX support to be enabled 
(available on the POWER7 or later)">;

def err_invalid_vector_long_double_decl_spec : Error<

  "cannot use 'long double' with '__vector'">;

def warn_vector_long_decl_spec_combination : Warning<

  "Use of 'long' with '__vector' is deprecated">, InGroup<Deprecated>;


http://reviews.llvm.org/D6882

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to