]> granicus.if.org Git - clang/commit
[RISCV] Move architecture parsing code into its own function
authorRoger Ferrer Ibanez <rofirrim@gmail.com>
Tue, 10 Sep 2019 07:47:34 +0000 (07:47 +0000)
committerRoger Ferrer Ibanez <rofirrim@gmail.com>
Tue, 10 Sep 2019 07:47:34 +0000 (07:47 +0000)
commitfeeefa0c46345234f1e5527efe0140d6699ef8ab
treefd4c9b24a7840ba106d1d87ed1b969e305564426
parentb95962dac042c42b978708f495b6fa43fe72074c
[RISCV] Move architecture parsing code into its own function

I plan to reuse it in a later patch.

This is almost NFC except a small change in control flow when diagnosing
+d without +f.

Differential Revision: https://reviews.llvm.org/D66002

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371492 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Arch/RISCV.cpp