diff options
author | Chris Lattner <sabre@nondot.org> | 2010-10-01 07:13:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-10-01 07:13:18 +0000 |
commit | 393bd8e185692a451b2ba16bdfc9e7d3543b4217 (patch) | |
tree | 6ae6419e49381bcbb76bf3e3a10ef6e9349e1ef1 /lib/Parse/ParseDecl.cpp | |
parent | fcb0b2587ddd2e2250b2460e8dd942151380f359 (diff) |
Various builtins a require an integer constant. Not providing
one results in an obscure error from the backend that doesn't make
sense. Capture this information in the .def files for builtins with
a new "I" modifier letter indicating the an argument needs to be an ICE.
Nothing uses this yet, but sema will eventually enforce this (eliminating
some special cases from semachecking.cpp) and codegen will use this to
force an ICE value, preventing backend error messages.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions