diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-12-30 21:13:55 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-12-30 21:13:55 +0000 |
commit | 04e678255f71d4a9ca731f57e46c723ad20a0117 (patch) | |
tree | 8207f305b339f3b79000a82b0cb17d512ec3e633 /include | |
parent | ba0fc204633044e6bdaa1416288d9548d74f9d9b (diff) |
[ThinLTO] Rename variables used in metadata linking (NFC)
As suggested in review for r255909, rename MDMaterialized to AllowTemps,
and identify the name of the boolean flag being set in calls to
saveMetadataList.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Metadata.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Metadata.h b/include/llvm/IR/Metadata.h index 0715229a875..4a8557d074f 100644 --- a/include/llvm/IR/Metadata.h +++ b/include/llvm/IR/Metadata.h @@ -915,11 +915,11 @@ public: /// \brief Resolve cycles. /// /// Once all forward declarations have been resolved, force cycles to be - /// resolved. If \p MDMaterialized is true, then any temporary metadata + /// resolved. If \p AllowTemps is true, then any temporary metadata /// is ignored, otherwise it asserts when encountering temporary metadata. /// /// \pre No operands (or operands' operands, etc.) have \a isTemporary(). - void resolveCycles(bool MDMaterialized = true); + void resolveCycles(bool AllowTemps = false); /// \brief Replace a temporary node with a permanent one. /// |