mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 17:56:53 +00:00
clang-format two code snippets to make the next patch easy to read.
llvm-svn: 220484
This commit is contained in:
parent
0e2a6b8223
commit
f2df6380a9
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user