]> granicus.if.org Git - clang/commit
Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 15 Jun 2015 09:19:41 +0000 (09:19 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 15 Jun 2015 09:19:41 +0000 (09:19 +0000)
commita67e8ae382ad02b1c3d49352d044e4bd532aef3c
tree81c6465e9f829cbf8055d9d8586c18cd0b423e1e
parent73669ab60214dc17eb57ac26e0cfb79acf41ac8a
Replace string GNU Triples with llvm::Triple in InitMCObjectFileInfo. NFC.

Summary:
This affects other tools so the previous C++ API has been retained as a
deprecated function for the moment. Clang has been updated with a trivial
patch (not covered by the pre-commit review) to avoid breaking -Werror builds.
Other in-tree tools will be fixed with similar trivial patches.

This continues the patch series to eliminate StringRef forms of GNU triples
from the internals of LLVM that began in r239036.

Reviewers: rengolin

Reviewed By: rengolin

Subscribers: llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D10366

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239721 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseStmtAsm.cpp
tools/driver/cc1as_main.cpp