[llvm-commits] CVS: llvm/include/llvm/Support/Annotation.h CommandLine.h DataTypes.h.in MutexGuard.h

Jeff Cohen jeffc at jolt-lang.org
Tue Jul 26 22:54:01 PDT 2005



Changes in directory llvm/include/llvm/Support:

Annotation.h updated: 1.20 -> 1.21
CommandLine.h updated: 1.45 -> 1.46
DataTypes.h.in updated: 1.19 -> 1.20
MutexGuard.h updated: 1.5 -> 1.6
---
Log message:

Eliminate tabs and trailing spaces.

---
Diffs of the changes:  (+8 -8)

 Annotation.h   |    2 +-
 CommandLine.h  |    2 +-
 DataTypes.h.in |    4 ++--
 MutexGuard.h   |    8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/include/llvm/Support/Annotation.h
diff -u llvm/include/llvm/Support/Annotation.h:1.20 llvm/include/llvm/Support/Annotation.h:1.21
--- llvm/include/llvm/Support/Annotation.h:1.20	Wed Jun 15 13:40:45 2005
+++ llvm/include/llvm/Support/Annotation.h	Wed Jul 27 00:53:43 2005
@@ -81,7 +81,7 @@
 //===----------------------------------------------------------------------===//
 //
 // Annotable - This class is used as a base class for all objects that would
-// like to have annotation capability.  
+// like to have annotation capability.
 //
 // Annotable objects keep their annotation list sorted as annotations are
 // inserted and deleted.  This is used to ensure that annotations with identical


Index: llvm/include/llvm/Support/CommandLine.h
diff -u llvm/include/llvm/Support/CommandLine.h:1.45 llvm/include/llvm/Support/CommandLine.h:1.46
--- llvm/include/llvm/Support/CommandLine.h:1.45	Sat Jun 18 11:53:27 2005
+++ llvm/include/llvm/Support/CommandLine.h	Wed Jul 27 00:53:43 2005
@@ -734,7 +734,7 @@
 
   virtual bool handleOccurrence(unsigned pos, const char *ArgName,
                                 const std::string &Arg) {
-    typename ParserClass::parser_data_type Val = 
+    typename ParserClass::parser_data_type Val =
        typename ParserClass::parser_data_type();
     if (Parser.parse(*this, ArgName, Arg, Val))
       return true;                            // Parse error!


Index: llvm/include/llvm/Support/DataTypes.h.in
diff -u llvm/include/llvm/Support/DataTypes.h.in:1.19 llvm/include/llvm/Support/DataTypes.h.in:1.20
--- llvm/include/llvm/Support/DataTypes.h.in:1.19	Tue Jan 18 23:08:31 2005
+++ llvm/include/llvm/Support/DataTypes.h.in	Wed Jul 27 00:53:43 2005
@@ -1,10 +1,10 @@
 //===-- include/Support/DataTypes.h - Define fixed size types ---*- 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 contains definitions to figure out the size of _HOST_ data types.


Index: llvm/include/llvm/Support/MutexGuard.h
diff -u llvm/include/llvm/Support/MutexGuard.h:1.5 llvm/include/llvm/Support/MutexGuard.h:1.6
--- llvm/include/llvm/Support/MutexGuard.h:1.5	Tue Jul 12 10:51:55 2005
+++ llvm/include/llvm/Support/MutexGuard.h	Wed Jul 27 00:53:43 2005
@@ -1,10 +1,10 @@
 //===-- Support/MutexGuard.h - Acquire/Release Mutex In Scope ---*- 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 guard for a block of code that ensures a Mutex is locked
@@ -18,7 +18,7 @@
 #include <llvm/System/Mutex.h>
 
 namespace llvm {
-  /// Instances of this class acquire a given Mutex Lock when constructed and 
+  /// Instances of this class acquire a given Mutex Lock when constructed and
   /// hold that lock until destruction. The intention is to instantiate one of
   /// these on the stack at the top of some scope to be assured that C++
   /// destruction of the object will always release the Mutex and thus avoid
@@ -34,7 +34,7 @@
     /// holds - Returns true if this locker instance holds the specified lock.
     /// This is mostly used in assertions to validate that the correct mutex
     /// is held.
-    bool holds(const sys::Mutex& lock) const { return &M == &lock; } 
+    bool holds(const sys::Mutex& lock) const { return &M == &lock; }
   };
 }
 






More information about the llvm-commits mailing list