aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContext.cpp
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-06-02 21:25:00 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-06-02 21:25:00 +0000
commit1ac0d2de3ad760280c95267191a64b6e7e2f7186 (patch)
tree1a72137c3493804244419980e3506716c97d0638 /llvm/lib/IR/LLVMContext.cpp
parent95fb9b93ed4e2cb27ad514bb241887c650b41421 (diff)
downloadllvm-1ac0d2de3ad760280c95267191a64b6e7e2f7186.zip
llvm-1ac0d2de3ad760280c95267191a64b6e7e2f7186.tar.gz
llvm-1ac0d2de3ad760280c95267191a64b6e7e2f7186.tar.bz2
clang-format a few functions. NFC
llvm-svn: 238865
Diffstat (limited to 'llvm/lib/IR/LLVMContext.cpp')
-rw-r--r--llvm/lib/IR/LLVMContext.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index 44c4532..e8bf442b 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -240,15 +240,15 @@ void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) {
// Metadata Kind Uniquing
//===----------------------------------------------------------------------===//
-/// getMDKindID - Return a unique non-zero ID for the specified metadata kind.
+/// Return a unique non-zero ID for the specified metadata kind.
unsigned LLVMContext::getMDKindID(StringRef Name) const {
assert(!std::isdigit(Name.front()) &&
"Named metadata may not start with a digit");
// If this is new, assign it its ID.
- return pImpl->CustomMDKindNames.insert(std::make_pair(
- Name,
- pImpl->CustomMDKindNames.size()))
+ return pImpl->CustomMDKindNames.insert(
+ std::make_pair(
+ Name, pImpl->CustomMDKindNames.size()))
.first->second;
}