[llvm-commits] [hlvm] r38057 - in /hlvm/trunk/hlvm/Base: ConfigData.cpp.in Locator.h Memory.cpp Memory.h Source.cpp Source.h URI.cpp URI.h
Reid Spencer
reid at x10sys.com
Sat Jul 7 16:59:24 PDT 2007
Author: reid
Date: Sat Jul 7 18:59:24 2007
New Revision: 38057
URL: http://llvm.org/viewvc/llvm-project?rev=38057&view=rev
Log:
Locator.h -> AST
Remove @file lines.
Removed:
hlvm/trunk/hlvm/Base/Locator.h
Modified:
hlvm/trunk/hlvm/Base/ConfigData.cpp.in
hlvm/trunk/hlvm/Base/Memory.cpp
hlvm/trunk/hlvm/Base/Memory.h
hlvm/trunk/hlvm/Base/Source.cpp
hlvm/trunk/hlvm/Base/Source.h
hlvm/trunk/hlvm/Base/URI.cpp
hlvm/trunk/hlvm/Base/URI.h
Modified: hlvm/trunk/hlvm/Base/ConfigData.cpp.in
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/ConfigData.cpp.in?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/ConfigData.cpp.in (original)
+++ hlvm/trunk/hlvm/Base/ConfigData.cpp.in Sat Jul 7 18:59:24 2007
@@ -15,7 +15,6 @@
// for more details.
//
////////////////////////////////////////////////////////////////////////////////
-/// @file hlvm/base/ConfigData.cpp.in
/// @author Reid Spencer <rspencer at x10sys.com>
/// @date 2003/04/25
/// @since 0.1.9
Removed: hlvm/trunk/hlvm/Base/Locator.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/Locator.h?rev=38056&view=auto
==============================================================================
--- hlvm/trunk/hlvm/Base/Locator.h (original)
+++ hlvm/trunk/hlvm/Base/Locator.h (removed)
@@ -1,63 +0,0 @@
-#ifndef HLVM_BASE_LOCATOR_H
-#define HLVM_BASE_LOCATOR_H
-
-#include <llvm/ADT/StringExtras.h>
-
-namespace hlvm {
-
- /// This class provides some data to locate a point in an XML file. It
- /// consists of a public id, system id (filename), line number and column
- /// number.
- /// @author Reid Spencer <rspencer at reidspencer.com>
- /// @date 2006/05/12
- /// @since 0.1.0
- /// @brief XML Locator
- class Locator
- {
- private:
- std::string pubid;
- std::string sysid;
- uint32_t line; ///< Line number of location
- uint32_t col; ///< Column number of location
-
- public:
- Locator() : pubid(), sysid(), line(0), col(0) {}
- Locator(
- std::string& p,
- std::string& s,
- uint32_t l,
- uint32_t c = 0
- )
- : pubid(p)
- , sysid(s)
- , line(l)
- , col(c)
- {}
-
- void set(
- const std::string& p = "",
- const std::string& s = "",
- uint32_t l = 0,
- uint32_t c = 0
- )
- {
- pubid = p; sysid = s; line = l; col = c;
- }
- void clear() { line = col = 0; pubid.clear(); sysid.clear(); }
- uint32_t getLine() const { return line; }
- void setLine(uint32_t l) { line = l; }
- uint32_t getColumn() const { return col; }
- void setColumn(uint32_t c ) { col = c; }
- const std::string& getPublicId() const { return pubid; }
- const std::string& getSystemId() const { return sysid; }
- std::string toString() const
- {
- std::string result = getSystemId() + ": " + llvm::utostr(line);
- if (col)
- result += ": " + llvm::utostr(col);
- return result;
- }
- };
-}
-
-#endif
Modified: hlvm/trunk/hlvm/Base/Memory.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/Memory.cpp?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/Memory.cpp (original)
+++ hlvm/trunk/hlvm/Base/Memory.cpp Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/Memory.h
/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
Modified: hlvm/trunk/hlvm/Base/Memory.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/Memory.h?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/Memory.h (original)
+++ hlvm/trunk/hlvm/Base/Memory.h Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/Memory.h
/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
@@ -32,8 +31,6 @@
#include <apr-1/apr_pools.h>
-/// The BASE module implements fundamental utilities at the core of XPS.
-/// @brief The most elemental module in XPS.
namespace hlvm { namespace Base {
/// An APR pool to allocate memory into. This is the master pool of all XPS
Modified: hlvm/trunk/hlvm/Base/Source.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/Source.cpp?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/Source.cpp (original)
+++ hlvm/trunk/hlvm/Base/Source.cpp Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/Source.cpp
/// @author Reid Spencer <reid at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
Modified: hlvm/trunk/hlvm/Base/Source.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/Source.h?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/Source.h (original)
+++ hlvm/trunk/hlvm/Base/Source.h Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/Source.h
/// @author Reid Spencer <reid at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
Modified: hlvm/trunk/hlvm/Base/URI.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/URI.cpp?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/URI.cpp (original)
+++ hlvm/trunk/hlvm/Base/URI.cpp Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/URI.cpp
/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
Modified: hlvm/trunk/hlvm/Base/URI.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/URI.h?rev=38057&r1=38056&r2=38057&view=diff
==============================================================================
--- hlvm/trunk/hlvm/Base/URI.h (original)
+++ hlvm/trunk/hlvm/Base/URI.h Sat Jul 7 18:59:24 2007
@@ -20,7 +20,6 @@
// MA 02110-1301 USA
//
//===----------------------------------------------------------------------===//
-/// @file hlvm/Base/URI.h
/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
/// @date 2006/05/04
/// @since 0.1.0
More information about the llvm-commits
mailing list