[PATCH] D45284: [RISCV] More validations on the input value of -march=

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 13 13:12:24 PDT 2018


apazos updated this revision to Diff 142459.
apazos added a comment.

- Simplified hasOtherExtensions() now that we clarified non-standard extensions are separated by '_'. We just need to find the first occurrence of the prefixes.
- updated error message, removed "unsupported" from some messages.


https://reviews.llvm.org/D45284

Files:
  include/clang/Basic/DiagnosticDriverKinds.td
  lib/Driver/ToolChains/Arch/RISCV.cpp
  test/Driver/riscv-arch.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45284.142459.patch
Type: text/x-patch
Size: 26551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180413/f7153d44/attachment-0001.bin>


More information about the cfe-commits mailing list