[llvm-commits] [hlvm] r38184 - in /hlvm/trunk: ./ build/ docs/ hlvm/AST/ hlvm/CodeGen/ hlvm/Pass/ hlvm/Reader/ hlvm/Runtime/ hlvm/Writer/

Reid Spencer reid at x10sys.com
Sat Jul 7 17:00:54 PDT 2007


Author: reid
Date: Sat Jul  7 19:00:53 2007
New Revision: 38184

URL: http://llvm.org/viewvc/llvm-project?rev=38184&view=rev
Log:
Get doxygen generation going with scons

Modified:
    hlvm/trunk/ChangeLog
    hlvm/trunk/build/doxygen.py
    hlvm/trunk/build/hlvm.py
    hlvm/trunk/docs/Doxyfile.in
    hlvm/trunk/docs/SConscript
    hlvm/trunk/docs/doxygen.intro
    hlvm/trunk/hlvm/AST/URI.cpp
    hlvm/trunk/hlvm/AST/URI.h
    hlvm/trunk/hlvm/CodeGen/LLVMGenerator.cpp
    hlvm/trunk/hlvm/CodeGen/LLVMGenerator.h
    hlvm/trunk/hlvm/Pass/ResolveTypes.h
    hlvm/trunk/hlvm/Reader/HLVM.rng
    hlvm/trunk/hlvm/Reader/XMLReader.cpp
    hlvm/trunk/hlvm/Reader/XMLReader.h
    hlvm/trunk/hlvm/Reader/YamlReader.cpp
    hlvm/trunk/hlvm/Reader/YamlReader.h
    hlvm/trunk/hlvm/Runtime/Internal.cpp
    hlvm/trunk/hlvm/Runtime/Internal.h
    hlvm/trunk/hlvm/Runtime/Memory.cpp
    hlvm/trunk/hlvm/Runtime/Text.cpp
    hlvm/trunk/hlvm/Runtime/Text.h
    hlvm/trunk/hlvm/Writer/XMLWriter.cpp
    hlvm/trunk/hlvm/Writer/XMLWriter.h

Modified: hlvm/trunk/ChangeLog
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/ChangeLog?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/ChangeLog (original)
+++ hlvm/trunk/ChangeLog Sat Jul  7 19:00:53 2007
@@ -1 +1,2 @@
+2006.06.10 - HLVM runs its first "Hello, World" program
 2006.04.25 - Initial Subversion Repository Started

Modified: hlvm/trunk/build/doxygen.py
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/build/doxygen.py?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/build/doxygen.py (original)
+++ hlvm/trunk/build/doxygen.py Sat Jul  7 19:00:53 2007
@@ -10,62 +10,34 @@
   result = []
   for d in glob.glob(pjoin(context,'*.h')):
     if not os.path.isdir(d):
-      if not d == pjoin(context,'dg.exp'):
-        result.append(d)
+      result.append(d)
   return result
 
-def SiteExpAction(target,source,env):
-  srcpath = pjoin(env['AbsSrcRoot'],'docs')
-  objpath = pjoin(env['AbsObjRoot'],'docs')
-  if not exists(objpath):
-    env.Execute(Mkdir(objpath))
-  if not exists(pjoin(objpath,'Doxyfile'):
-
-  env.Execute(Copy(pjoin(srcpath,'doxygen.css'),pjoin(objpath,'doxygen.css')))
-
-	$(Echo) "Running Doxygen (be patient)"
-	$(Verb) cp $(PROJ_SRC_DIR)/doxygen.css doxygen.css
-	$(Verb) doxygen Doxyfile >doxygen.out 2>&1
-	$(Verb) cp $(PROJ_SRC_DIR)/doxygen.css apis/html
-  outf = open(pjoin(tgtpath,'site.exp'),"w")
-  outf.write('## these variables are automatically generated by make ##\n')
-  outf.write('# Do not edit here.  If you wish to override these values\n')
-  outf.write('# edit the last section\n')
-  outf.write('set target_triplet "fubar-pc-noos"\n')
-  outf.write('set srcdir "' + env['AbsSrcRoot'] + '/test"\n')
-  outf.write('set objdir "' + env['AbsObjRoot'] + '/test"\n')
-  outf.write('set tmpdir "$objdir/tmp"\n')
-  outf.write('set srcrootdir "' + env['AbsSrcRoot'] + '"\n')
-  outf.write('set objrootdir "' + env['AbsObjRoot'] + '"\n')
-  outf.write('## All vars above are generated by scons. Do Not Edit!\n')
-  outf.close()
-  return 0
-
-def SiteExpMessage(target,source,env):
-  return "Building DejaGnu site.exp file"
-
 def DoxygenAction(target,source,env):
-  context = os.path.basename(env.File(target[0]).path)
-  context = re.sub('(.*?)\..*','\\1',context)
-  print "context=",context
-  os.system('cd ' + pjoin(env['BuildDir'],'test') +
-      '; DEJAGNU="'+pjoin(env['AbsObjRoot'],'test','site.exp')+'" '+
-      env['RUNTEST'] + ' --tool ' + context)
+  if env['with_doxygen'] == None:
+    print "Documentation generation disabled because 'doxygen' was not found"
+    return 0
+  tgtdir = target[0].dir.path
+  srcpath = source[0].path
+  tgtpath = target[0].path
+  env.Depends(tgtpath,srcpath)
+  env.Depends(tgtpath,'doxygen.footer')
+  env.Depends(tgtpath,'doxygen.header')
+  env.Depends(tgtpath,'doxygen.intro')
+  env.Depends(tgtpath,'doxygen.css')
+  env.Depends(tgtpath,getHeaders(env))
+  if env.Execute(env['with_doxygen'] + ' ' + srcpath + ' >' + 
+      pjoin(tgtdir,'doxygen.out')):
+    return env.Execute(env['TAR'] + ' zcf ' + tgtpath + ' ' + 
+      pjoin(tgtdir,'apis'))
   return 0
 
 def DoxygenMessage(target,source,env):
   return "Creating API Documentation With Doxygen (be patient)"
 
 def Doxygen(env):
-  if env['DOXYGEN'] == None:
-    print "Documentation generation disabled because 'doxygen' was not found"
-    return 0
   doxyAction = env.Action(DoxygenAction,DoxygenMessage)
   doxygenBuilder = env.Builder(action=doxyAction)
-  env.Append(BUILDERS = {'Check':checkBuilder,'SiteExp':sitexpBuilder})
-  env.Doxygen('#docs/doxygen.tar.gz','#docs/Doxyfile','#docs/doxygen.css',
-    '#docs/doxygen.header','#docs/doxygen.footer','#docs/doxygen.intro']+
-    getHeaders(env))
-  env.Alias('doxygen','#docs/doxygen.tar.gz')
+  env.Append(BUILDERS = {'Doxygen':doxygenBuilder} )
+  env.Alias('doxygen','doxygen.tar.gz')
   return 1
-

Modified: hlvm/trunk/build/hlvm.py
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/build/hlvm.py?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/build/hlvm.py (original)
+++ hlvm/trunk/build/hlvm.py Sat Jul  7 19:00:53 2007
@@ -45,6 +45,10 @@
   from build import filterbuilders
   return filterbuilders.ConfigFile(env)
 
+def GetDoxygen(env):
+  from build import doxygen
+  return doxygen.Doxygen(env)
+
 def Dirs(env,dirlist=[]):
   dir = env.Dir('.').path
   if (dir == env.Dir('#').path):

Modified: hlvm/trunk/docs/Doxyfile.in
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/Doxyfile.in?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/docs/Doxyfile.in (original)
+++ hlvm/trunk/docs/Doxyfile.in Sat Jul  7 19:00:53 2007
@@ -23,14 +23,14 @@
 # This could be handy for archiving the generated documentation or 
 # if some version control system is used.
 
-PROJECT_NUMBER         = @HLVM_VERSION@
+PROJECT_NUMBER         = "@HLVM_Version@"
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
 # base path where the generated documentation will be put. 
 # If a relative path is entered, it will be relative to the location 
 # where doxygen was started. If left blank the current directory will be used.
 
-OUTPUT_DIRECTORY       = ./apis
+OUTPUT_DIRECTORY       = @AbsObjRoot@/docs/apis
 
 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 
 # documentation generated by doxygen is written. Doxygen will use this 
@@ -345,7 +345,7 @@
 # directories like "/usr/src/myproject". Separate the files or directories 
 # with spaces.
 
-INPUT                  = @abs_top_srcdir@/hlvm @abs_srcdir@/doxygen.intro
+INPUT                  = @AbsSrcRoot@/hlvm @AbsObjRoot@/hlvm @AbsSrcRoot@/docs/doxygen.intro
 
 # If the value of the INPUT tag contains directories, you can use the 
 # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
@@ -500,20 +500,20 @@
 # each generated HTML page. If it is left blank doxygen will generate a 
 # standard header.
 
-HTML_HEADER            = @abs_srcdir@/doxygen.header
+HTML_HEADER            = @AbsSrcRoot@/docs/doxygen.header
 
 # The HTML_FOOTER tag can be used to specify a personal HTML footer for 
 # each generated HTML page. If it is left blank doxygen will generate a 
 # standard footer.
 
-HTML_FOOTER            = @abs_srcdir@/doxygen.footer
+HTML_FOOTER            = @AbsSrcRoot@/docs/doxygen.footer
 
 # The HTML_STYLESHEET tag can be used to specify a user defined cascading 
 # style sheet that is used by each HTML page. It can be used to 
 # fine-tune the look of the HTML output. If the tag is left blank doxygen 
 # will generate a default style sheet
 
-HTML_STYLESHEET        = doxygen.css
+HTML_STYLESHEET        = @AbsSrcRoot@/docs/doxygen.css
 
 # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, 
 # files or namespaces will be aligned in HTML using tables. If set to 
@@ -827,7 +827,7 @@
 # contain include files that are not input files but should be processed by 
 # the preprocessor.
 
-INCLUDE_PATH           = @abs_top_srcdir@
+INCLUDE_PATH           = @AbsSrcRoot@ @AbsObjRoot@
 
 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard 
 # patterns (like *.h and *.hpp) to filter out the header-files in the 
@@ -842,7 +842,7 @@
 # or name=definition (no spaces). If the definition and the = are 
 # omitted =1 is assumed.
 
-PREDEFINED             = HLVM_VERSION="@HLVM_VERSION@" _GNU_SOURCE _REENTRANT _POSIX_THREADS
+PREDEFINED             = _GNU_SOURCE __STDC_LIMIT_MACROS HLVM_DEBUG HLVM_ASSERT
 
 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then 
 # this tag can be used to specify a list of macro names that should be expanded. 

Modified: hlvm/trunk/docs/SConscript
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/SConscript?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/docs/SConscript (original)
+++ hlvm/trunk/docs/SConscript Sat Jul  7 19:00:53 2007
@@ -20,13 +20,18 @@
 # MA 02110-1301 USA
 #
 #===----------------------------------------------------------------------===#
+from build import hlvm
 from os.path import join as pjoin
 Import('env')
+hlvm.GetDoxygen(env)
+hlvm.GetConfigFile(env)
+env.ConfigFile('Doxyfile','Doxyfile.in')
+
+if 'doxygen' in COMMAND_LINE_TARGETS:
+  env.Doxygen('doxygen.tar.gz','Doxyfile')
+
 cmd = '$with_xsltproc ' + pjoin(env['AbsSrcRoot'],'docs','RngToXHTML.xsl') + ' $SOURCE > $TARGET'
 rng2xhtml = Builder(action=cmd, src_suffix='rng', suffix='html')
 env.Append(BUILDERS= {'Rng2XHTML':rng2xhtml})
 env.Rng2XHTML('HLVM.rng.html',['HLVM.rng'])
 env.Depends('HLVM.rng.html','RngToXHTML.xsl')
-#if 'doxygen' in COMMAND_LINE_TARGETS:
-#  from build import doxygen
-#  doxygen.Doxygen(env)

Modified: hlvm/trunk/docs/doxygen.intro
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/docs/doxygen.intro?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/docs/doxygen.intro (original)
+++ hlvm/trunk/docs/doxygen.intro Sat Jul  7 19:00:53 2007
@@ -14,13 +14,13 @@
 // for more details.
 //
 ////////////////////////////////////////////////////////////////////////////////
-/// @file doxygen.intro
-/// @author Reid Spencer <rspencer at hlvm.org> (original author)
+/// @file docs/doxygen.intro
+/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/04
 /// @brief HLVM documentation introduction.
 ////////////////////////////////////////////////////////////////////////////////
 
-/// @mainpage HLVM:High Level Virtual Machine
+/// @mainpage HLVM: High Level Virtual Machine
 ///
 /// @section main_intro Introduction
 /// Welcome to the High Level Virtual Machine (HLVM). 

Modified: hlvm/trunk/hlvm/AST/URI.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/AST/URI.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/AST/URI.cpp (original)
+++ hlvm/trunk/hlvm/AST/URI.cpp Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Base/URI.cpp
+/// @file hlvm/AST/URI.cpp
 /// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/04
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/AST/URI.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/AST/URI.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/AST/URI.h (original)
+++ hlvm/trunk/hlvm/AST/URI.h Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Base/URI.h
+/// @file hlvm/AST/URI.h
 /// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/04
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/CodeGen/LLVMGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/CodeGen/LLVMGenerator.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/CodeGen/LLVMGenerator.cpp (original)
+++ hlvm/trunk/hlvm/CodeGen/LLVMGenerator.cpp Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/CodeGen/LLVM/LLVMGenerator.cpp
+/// @file hlvm/CodeGen/LLVMGenerator.cpp
 /// @author Reid Spencer <rspencer at x10sys.com>
 /// @date 2006/05/12
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/CodeGen/LLVMGenerator.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/CodeGen/LLVMGenerator.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/CodeGen/LLVMGenerator.h (original)
+++ hlvm/trunk/hlvm/CodeGen/LLVMGenerator.h Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/CodeGen/LLVM/LLVMGenerator.h
+/// @file hlvm/CodeGen/LLVMGenerator.h
 /// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/26
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/Pass/ResolveTypes.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Pass/ResolveTypes.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Pass/ResolveTypes.h (original)
+++ hlvm/trunk/hlvm/Pass/ResolveTypes.h Sat Jul  7 19:00:53 2007
@@ -47,7 +47,7 @@
     /// @name Constructors
     /// @{
     protected:
-      ResolveTypes() : Pass(0);
+      ResolveTypes() : Pass(0) {}
     public:
       ~ResolveTypes();
 

Modified: hlvm/trunk/hlvm/Reader/HLVM.rng
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/HLVM.rng?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Reader/HLVM.rng (original)
+++ hlvm/trunk/hlvm/Reader/HLVM.rng Sat Jul  7 19:00:53 2007
@@ -18,7 +18,7 @@
 <!-- Boston, MA 02110-1301 USA                                               -->
 <!--                                                                         -->
 <!--=========================================================================-->
-<!-- @file hlvm/Reader/XML/HLVM.rng                                          -->
+<!-- @file hlvm/Reader/HLVM.rng                                              -->
 <!-- @author Reid Spencer <rspencer at reidspencer.com> (original author)       -->
 <!-- @date 2006/05/13                                                        -->
 <!-- @since 0.1.0                                                            -->

Modified: hlvm/trunk/hlvm/Reader/XMLReader.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/XMLReader.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Reader/XMLReader.cpp (original)
+++ hlvm/trunk/hlvm/Reader/XMLReader.cpp Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Reader/XML/XMLReader.cpp
+/// @file hlvm/Reader/XMLReader.cpp
 /// @author Reid Spencer <rspencer at x10sys.com>
 /// @date 2006/05/12
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/Reader/XMLReader.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/XMLReader.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Reader/XMLReader.h (original)
+++ hlvm/trunk/hlvm/Reader/XMLReader.h Sat Jul  7 19:00:53 2007
@@ -1,4 +1,4 @@
-//===-- hlvm/Reader/XML/XMLReader.h - AST XML Reader Class ------*- C++ -*-===//
+//===-- AST XML Reader Interface --------------------------------*- C++ -*-===//
 //
 //                      High Level Virtual Machine (HLVM)
 //
@@ -20,15 +20,15 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Reader/XML/XMLReader.h
+/// @file hlvm/Reader/XMLReader.h
 /// @author Reid Spencer <rspencer at x10sys.com>
 /// @date 2006/05/12
 /// @since 0.1.0
 /// @brief Provides the interface to hlvm::XMLReader
 //===----------------------------------------------------------------------===//
 
-#ifndef XPS_READER_XML_XMLREADER_H
-#define XPS_READER_XML_XMLREADER_H
+#ifndef XPS_READER_XMLREADER_H
+#define XPS_READER_XMLREADER_H
 
 #include <hlvm/Reader/Reader.h>
 #include <string>

Modified: hlvm/trunk/hlvm/Reader/YamlReader.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/YamlReader.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Reader/YamlReader.cpp (original)
+++ hlvm/trunk/hlvm/Reader/YamlReader.cpp Sat Jul  7 19:00:53 2007
@@ -1,3 +1,4 @@
+//===-- AST Yaml Reader Implementation --------------------------*- C++ -*-===//
 //
 // Copyright (C) 2006 HLVM Group. All Rights Reserved.
 //
@@ -14,8 +15,8 @@
 // for more details.
 //
 ////////////////////////////////////////////////////////////////////////////////
-/// @file hlvm/Reader/Yaml/YamlReader.cpp
-/// @author Reid Spencer <reid at hlvm.org> (original author)
+/// @file hlvm/Reader/YamlReader.cpp
+/// @author Reid Spencer <rspencer at reidspencer.org> (original author)
 /// @date 2006/05/04
 /// @since 0.1.0
 /// @brief Declares the class hlvm::YamlReader.cpp

Modified: hlvm/trunk/hlvm/Reader/YamlReader.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Reader/YamlReader.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Reader/YamlReader.h (original)
+++ hlvm/trunk/hlvm/Reader/YamlReader.h Sat Jul  7 19:00:53 2007
@@ -1,3 +1,4 @@
+//===-- AST Yaml Reader Interface -------------------------------*- C++ -*-===//
 //
 // Copyright (C) 2006 HLVM Group. All Rights Reserved.
 //
@@ -14,8 +15,8 @@
 // for more details.
 //
 ////////////////////////////////////////////////////////////////////////////////
-/// @file hlvm/Reader/Yaml/YamlReader.h
-/// @author Reid Spencer <reid at hlvm.org> (original author)
+/// @file hlvm/Reader/YamlReader.h
+/// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/04
 /// @since 0.1.0
 /// @brief Declares the class hlvm::YamlReader.h

Modified: hlvm/trunk/hlvm/Runtime/Internal.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Runtime/Internal.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Runtime/Internal.cpp (original)
+++ hlvm/trunk/hlvm/Runtime/Internal.cpp Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Runtime/Internal.h
+/// @file hlvm/Runtime/Internal.cpp
 /// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/06/05
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/Runtime/Internal.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Runtime/Internal.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Runtime/Internal.h (original)
+++ hlvm/trunk/hlvm/Runtime/Internal.h Sat Jul  7 19:00:53 2007
@@ -60,7 +60,7 @@
 extern void _hlvm_initialize();
 
 /// This is the HLVM runtime assert macro. It is very much similar to
-/// the <cassert> version but without some of the overhead. It also lets
+/// the "assert.h" version but without some of the overhead. It also lets
 /// us take control of what to do when an assertion happens. The standard
 /// implementation just prints and aborts.
 #define hlvm_stringize(expr) #expr

Modified: hlvm/trunk/hlvm/Runtime/Memory.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Runtime/Memory.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Runtime/Memory.cpp (original)
+++ hlvm/trunk/hlvm/Runtime/Memory.cpp Sat Jul  7 19:00:53 2007
@@ -20,7 +20,7 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Runtime/Program.cpp
+/// @file hlvm/Runtime/Memory.cpp
 /// @author Reid Spencer <rspencer at reidspencer.org> (original author)
 /// @date 2006/06/04
 /// @since 0.1.0

Modified: hlvm/trunk/hlvm/Runtime/Text.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Runtime/Text.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Runtime/Text.cpp (original)
+++ hlvm/trunk/hlvm/Runtime/Text.cpp Sat Jul  7 19:00:53 2007
@@ -1,4 +1,4 @@
-//===-- Runtime String Implementation ---------------------------*- C++ -*-===//
+//===-- Runtime Text String Implementation ----------------------*- C++ -*-===//
 //
 //                      High Level Virtual Machine (HLVM)
 //
@@ -20,11 +20,11 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Runtime/String.cpp
+/// @file hlvm/Runtime/Text.cpp
 /// @author Reid Spencer <rspencer at reidspencer.org> (original author)
 /// @date 2006/05/25
 /// @since 0.1.0
-/// @brief Implements the functions for runtime string support
+/// @brief Implements the functions for runtime text string support
 //===----------------------------------------------------------------------===//
 
 #include <apr-1/apr_strings.h>

Modified: hlvm/trunk/hlvm/Runtime/Text.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Runtime/Text.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Runtime/Text.h (original)
+++ hlvm/trunk/hlvm/Runtime/Text.h Sat Jul  7 19:00:53 2007
@@ -1,4 +1,4 @@
-//===-- Runtime String Interface --------------------------------*- C++ -*-===//
+//===-- Runtime Text String Interface ---------------------------*- C++ -*-===//
 //
 //                      High Level Virtual Machine (HLVM)
 //
@@ -20,15 +20,15 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Runtime/String.h
+/// @file hlvm/Runtime/Text.h
 /// @author Reid Spencer <rspencer at reidspencer.com> (original author)
 /// @date 2006/05/24
 /// @since 0.1.0
-/// @brief Declares the interface to the runtime string facilities
+/// @brief Declares the interface to the runtime text string facilities
 //===----------------------------------------------------------------------===//
 
-#ifndef HLVM_RUNTIME_STRING_H
-#define HLVM_RUNTIME_STRING_H
+#ifndef HLVM_RUNTIME_TEXT_H
+#define HLVM_RUNTIME_TEXT_H
 
 #include <hlvm/Runtime/Memory.h>
 

Modified: hlvm/trunk/hlvm/Writer/XMLWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Writer/XMLWriter.cpp?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Writer/XMLWriter.cpp (original)
+++ hlvm/trunk/hlvm/Writer/XMLWriter.cpp Sat Jul  7 19:00:53 2007
@@ -1,4 +1,4 @@
-//===-- hlvm/Writer/XML/XMLWriter.cpp - AST XML Writer Class ----*- C++ -*-===//
+//===-- AST XML Writer Implementation -----------------------*- C++ -*-===//
 //
 //                      High Level Virtual Machine (HLVM)
 //
@@ -20,8 +20,8 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Writer/XML/XMLWriter.cpp
-/// @author Reid Spencer <rspencer at x10sys.com>
+/// @file hlvm/Writer/XMLWriter.cpp
+/// @author Reid Spencer <rspencer at reidspencer.com>
 /// @date 2006/05/12
 /// @since 0.1.0
 /// @brief Provides the interface to hlvm::XMLWriter

Modified: hlvm/trunk/hlvm/Writer/XMLWriter.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Writer/XMLWriter.h?rev=38184&r1=38183&r2=38184&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Writer/XMLWriter.h (original)
+++ hlvm/trunk/hlvm/Writer/XMLWriter.h Sat Jul  7 19:00:53 2007
@@ -1,4 +1,4 @@
-//===-- hlvm/Writer/XML/XMLWriter.h - AST XML Writer Class ------*- C++ -*-===//
+//===-- AST XML Writer Interface --------------------------------*- C++ -*-===//
 //
 //                      High Level Virtual Machine (HLVM)
 //
@@ -20,15 +20,15 @@
 // MA 02110-1301 USA
 //
 //===----------------------------------------------------------------------===//
-/// @file hlvm/Writer/XML/XMLWriter.h
-/// @author Reid Spencer <rspencer at x10sys.com>
+/// @file hlvm/Writer/XMLWriter.h
+/// @author Reid Spencer <rspencer at reidspencer.com>
 /// @date 2006/05/12
 /// @since 0.1.0
 /// @brief Provides the interface to hlvm::XMLWriter
 //===----------------------------------------------------------------------===//
 
-#ifndef XPS_WRITER_XML_XMLWRITER_H
-#define XPS_WRITER_XML_XMLWRITER_H
+#ifndef XPS_WRITER_XMLWRITER_H
+#define XPS_WRITER_XMLWRITER_H
 
 #include <hlvm/Writer/Writer.h>
 #include <ostream>





More information about the llvm-commits mailing list