Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 9,728 Lines • ▼ Show 20 Lines | def warn_noderef_on_non_pointer_or_array : Warning< | ||||
"'noderef' can only be used on an array or pointer type">, InGroup<IgnoredAttributes>; | "'noderef' can only be used on an array or pointer type">, InGroup<IgnoredAttributes>; | ||||
def warn_noderef_to_dereferenceable_pointer : Warning< | def warn_noderef_to_dereferenceable_pointer : Warning< | ||||
"casting to dereferenceable pointer removes 'noderef' attribute">, InGroup<NoDeref>; | "casting to dereferenceable pointer removes 'noderef' attribute">, InGroup<NoDeref>; | ||||
def err_builtin_launder_invalid_arg : Error< | def err_builtin_launder_invalid_arg : Error< | ||||
"%select{non-pointer|function pointer|void pointer}0 argument to " | "%select{non-pointer|function pointer|void pointer}0 argument to " | ||||
"'__builtin_launder' is not allowed">; | "'__builtin_launder' is not allowed">; | ||||
def err_bit_cast_non_trivially_copyable : Error< | |||||
"__builtin_bit_cast %select{source|destination}0 type must be trivially copyable">; | |||||
def err_bit_cast_type_size_mismatch : Error< | |||||
"__builtin_bit_cast source size does not equal destination size (%0 vs %1)">; | |||||
} // end of sema component. | } // end of sema component. |