[PATCH] Handle SPARC float command line parameters for SPARCv9.

Reid Kleckner rnk at google.com
Fri Jul 11 14:08:54 PDT 2014


Hi rsmith,

MS extension: Make __noop be the integer zero, not void

We still don't accept '__noop;', and we don't consider __noop to be the
integer literal zero.  More work is needed.

Form a CallExpr from __noop without parens

MSVC accepts __noop without any trailing parens and treats it like a
literal zero.  We don't treat __noop as an integer literal, but now at
least we can parse a naked __noop expression.

http://reviews.llvm.org/D4476

Files:
  include/clang/Basic/Builtins.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Driver/Tools.cpp
  lib/Sema/SemaExpr.cpp
  test/CodeGen/builtin-ms-noop.cpp
  test/Driver/sparc-float.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4476.11328.patch
Type: text/x-patch
Size: 5525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140711/e650af23/attachment.bin>


More information about the cfe-commits mailing list