diff options
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/AsmAnnotationWriter.h | 6 | ||||
-rw-r--r-- | include/llvm/Assembly/CachedWriter.h | 4 | ||||
-rw-r--r-- | include/llvm/Assembly/Parser.h | 12 | ||||
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 10 | ||||
-rw-r--r-- | include/llvm/Assembly/Writer.h | 6 |
5 files changed, 19 insertions, 19 deletions
diff --git a/include/llvm/Assembly/AsmAnnotationWriter.h b/include/llvm/Assembly/AsmAnnotationWriter.h index 4700273..7f9556b 100644 --- a/include/llvm/Assembly/AsmAnnotationWriter.h +++ b/include/llvm/Assembly/AsmAnnotationWriter.h @@ -1,10 +1,10 @@ //===-- AsmAnnotationWriter.h - Itf for annotation .ll files - --*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // Clients of the assembly writer can use this interface to add their own @@ -26,7 +26,7 @@ class BasicBlock; class Instruction; struct AssemblyAnnotationWriter { - + // emitFunctionAnnot - This may be implemented to emit a string right before // the start of a function. virtual void emitFunctionAnnot(const Function *F, std::ostream &OS) {} diff --git a/include/llvm/Assembly/CachedWriter.h b/include/llvm/Assembly/CachedWriter.h index f5c947b..5d5049c 100644 --- a/include/llvm/Assembly/CachedWriter.h +++ b/include/llvm/Assembly/CachedWriter.h @@ -1,10 +1,10 @@ //===-- llvm/Assembly/CachedWriter.h - Printer Accellerator -----*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines a 'CachedWriter' class that is used to accelerate printing diff --git a/include/llvm/Assembly/Parser.h b/include/llvm/Assembly/Parser.h index 15d8d5b..1950b43 100644 --- a/include/llvm/Assembly/Parser.h +++ b/include/llvm/Assembly/Parser.h @@ -1,10 +1,10 @@ //===-- llvm/Assembly/Parser.h - Parser for VM assembly files ---*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // These classes are implemented by the lib/AsmParser library. @@ -38,12 +38,12 @@ Module *ParseAssemblyFile(const std::string &Filename);// throw (ParseException) // class ParseException { public: - ParseException(const std::string &filename, const std::string &message, + ParseException(const std::string &filename, const std::string &message, int LineNo = -1, int ColNo = -1); ParseException(const ParseException &E); - // getMessage - Return the message passed in at construction time plus extra + // getMessage - Return the message passed in at construction time plus extra // information extracted from the options used to parse with... // const std::string getMessage() const; @@ -57,8 +57,8 @@ public: } // getErrorLocation - Return the line and column number of the error in the - // input source file. The source filename can be derived from the - // ParserOptions in effect. If positional information is not applicable, + // input source file. The source filename can be derived from the + // ParserOptions in effect. If positional information is not applicable, // these will return a value of -1. // inline const void getErrorLocation(int &Line, int &Column) const { diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index 102701f..fab59cb 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -1,10 +1,10 @@ //===- llvm/Assembly/PrintModulePass.h - Printing Pass ----------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file defines two passes to print out a module. The PrintModulePass pass @@ -36,7 +36,7 @@ public: ~PrintModulePass() { if (DeleteStream) delete Out; } - + bool runOnModule(Module &M) { (*Out) << M << std::flush; return false; @@ -61,7 +61,7 @@ public: inline ~PrintFunctionPass() { if (DeleteStream) delete Out; } - + // runOnFunction - This pass just prints a banner followed by the function as // it's processed. // @@ -69,7 +69,7 @@ public: (*Out) << Banner << (Value&)F; return false; } - + virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); } diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 43edb09..7c56f92 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -1,10 +1,10 @@ //===-- llvm/Assembly/Writer.h - Printer for LLVM assembly files --*- C++ -*-=// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This functionality is implemented by lib/VMCore/AsmWriter.cpp. @@ -34,7 +34,7 @@ std::ostream &WriteTypeSymbolic(std::ostream &, const Type *, const Module *M); // WriteAsOperand - Write the name of the specified value out to the specified // ostream. This can be useful when you just want to print int %reg126, not the // whole instruction that generated it. If you specify a Module for context, -// then even constants get pretty-printed; for example, the type of a null +// then even constants get pretty-printed; for example, the type of a null // pointer is printed symbolically. // std::ostream &WriteAsOperand(std::ostream &, const Value *, bool PrintTy = true, |