diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-02 06:50:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-02 06:50:17 +0000 |
commit | 96b77fc05ed4a052a9e614f72b0e83572408ce48 (patch) | |
tree | 35ac356f0c87e5144e3b78ab1af299b1f48578f2 /lib/CodeGen/CodeGenTypes.cpp | |
parent | d9654557562e77564309f6b83b493a9a424e008a (diff) |
1) Enforce C99 6.7.3p2: "Types other than pointer types derived from
object or incomplete types shall not be restrict-qualified."
2) Warn about qualifiers on function types: C99 6.7.3p8: "If the
specification of a function type includes any type qualifiers, the
behavior is undefined."
3) Implement restrict on C++ references.
4) fix some locations for various C++ reference diagnostics.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.cpp')
0 files changed, 0 insertions, 0 deletions