diff options
author | Eli Bendersky <eliben@google.com> | 2013-04-01 19:47:56 +0000 |
---|---|---|
committer | Eli Bendersky <eliben@google.com> | 2013-04-01 19:47:56 +0000 |
commit | 19801a6481292c6d27ced557730f8a2f58f6f6a0 (patch) | |
tree | d2995e89bfd6671d652877011d5d480d7c27a667 /lib/IRReader | |
parent | a1646ceb9a5da080607e503c8bd36241aa465613 (diff) | |
download | external_llvm-19801a6481292c6d27ced557730f8a2f58f6f6a0.zip external_llvm-19801a6481292c6d27ced557730f8a2f58f6f6a0.tar.gz external_llvm-19801a6481292c6d27ced557730f8a2f58f6f6a0.tar.bz2 |
Fix top-comment header and some indentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IRReader')
-rw-r--r-- | lib/IRReader/IRReader.cpp | 4 | ||||
-rw-r--r-- | lib/IRReader/LLVMBuild.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/IRReader/IRReader.cpp b/lib/IRReader/IRReader.cpp index dff4c1f..fb87cbd 100644 --- a/lib/IRReader/IRReader.cpp +++ b/lib/IRReader/IRReader.cpp @@ -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, diff --git a/lib/IRReader/LLVMBuild.txt b/lib/IRReader/LLVMBuild.txt index 04a59bb..b7bc74d 100644 --- a/lib/IRReader/LLVMBuild.txt +++ b/lib/IRReader/LLVMBuild.txt @@ -1,4 +1,4 @@ -;===- ./lib/AsmParser/LLVMBuild.txt ----------------------------*- Conf -*--===; +;===- ./lib/IRReader/LLVMBuild.txt -----------------------------*- Conf -*--===; ; ; The LLVM Compiler Infrastructure ; |