mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix top-comment header and some indentation
llvm-svn: 178492
This commit is contained in:
parent
9191cdb5f2
commit
70bbb59e6b
@ -18,7 +18,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
Module *llvm::getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err,
|
||||
LLVMContext &Context) {
|
||||
LLVMContext &Context) {
|
||||
if (isBitcode((const unsigned char *)Buffer->getBufferStart(),
|
||||
(const unsigned char *)Buffer->getBufferEnd())) {
|
||||
std::string ErrMsg;
|
||||
@ -37,7 +37,7 @@ Module *llvm::getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err,
|
||||
}
|
||||
|
||||
Module *llvm::getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err,
|
||||
LLVMContext &Context) {
|
||||
LLVMContext &Context) {
|
||||
OwningPtr<MemoryBuffer> File;
|
||||
if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) {
|
||||
Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
|
||||
|
@ -1,4 +1,4 @@
|
||||
;===- ./lib/AsmParser/LLVMBuild.txt ----------------------------*- Conf -*--===;
|
||||
;===- ./lib/IRReader/LLVMBuild.txt -----------------------------*- Conf -*--===;
|
||||
;
|
||||
; The LLVM Compiler Infrastructure
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user