clang-format two code snippets to make the next patch easy to read.

llvm-svn: 220484
This commit is contained in:
Rafael Espindola 2014-10-23 15:20:05 +00:00
parent 0e2a6b8223
commit f2df6380a9
2 changed files with 6 additions and 5 deletions

View File

@ -2071,7 +2071,8 @@ std::error_code BitcodeReader::ParseModule(bool Resume) {
// creating now, so that we can match up the body with them later.
if (!isProto) {
FunctionsWithBodies.push_back(Func);
if (LazyStreamer) DeferredFunctionInfo[Func] = 0;
if (LazyStreamer)
DeferredFunctionInfo[Func] = 0;
}
break;
}

View File

@ -241,10 +241,10 @@ void Function::eraseFromParent() {
// Function Implementation
//===----------------------------------------------------------------------===//
Function::Function(FunctionType *Ty, LinkageTypes Linkage,
const Twine &name, Module *ParentModule)
: GlobalObject(PointerType::getUnqual(Ty),
Value::FunctionVal, nullptr, 0, Linkage, name) {
Function::Function(FunctionType *Ty, LinkageTypes Linkage, const Twine &name,
Module *ParentModule)
: GlobalObject(PointerType::getUnqual(Ty), Value::FunctionVal, nullptr, 0,
Linkage, name) {
assert(FunctionType::isValidReturnType(getReturnType()) &&
"invalid return type");
SymTab = new ValueSymbolTable();