diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-02-22 15:27:03 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2018-02-22 15:27:03 +0000 |
commit | 8fb962c04ea2fd0a91f2dcd70e141ffc2c83d2d4 (patch) | |
tree | dfb559394eb3a7faff127126df06a4bed7b07aa7 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 81097ba6b578172a7ff68fb5e86c48fd60ff8a67 (diff) | |
download | llvm-8fb962c04ea2fd0a91f2dcd70e141ffc2c83d2d4.zip llvm-8fb962c04ea2fd0a91f2dcd70e141ffc2c83d2d4.tar.gz llvm-8fb962c04ea2fd0a91f2dcd70e141ffc2c83d2d4.tar.bz2 |
TableGen: Allow implicit casting between string and code
Summary:
Perhaps the distinction between the two should be removed entirely
in the long term, and the [{ ... }] syntax should just be a convenient
way of writing multi-line strings.
In the meantime, a lot of existing .td files are quite relaxed about
string vs. code, and this change allows switching on more consistent
type checks without breaking those.
Change-Id: If85e3e04469e41b58e2703b62ac0032d2711713c
Reviewers: arsenm, craig.topper, tra, MartinO
Subscribers: wdng, llvm-commits
Differential Revision: https://reviews.llvm.org/D43557
llvm-svn: 325799
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions