]> granicus.if.org Git - clang/blobdiff - NOTES.txt
clang/test/CodeGenObjC/ivar-type-encoding.m: Tweak to satisfy -m32.
[clang] / NOTES.txt
index 9f7ed4b9591c4615178da8177348601acdf84ef8..53f35a01863ac70bda0097048162f6d368d269e2 100644 (file)
--- a/NOTES.txt
+++ b/NOTES.txt
@@ -2,9 +2,6 @@
 // Random Notes
 //===---------------------------------------------------------------------===//
 
-C90/C99/C++ Comparisons:
-http://david.tribble.com/text/cdiffs.htm
-
 //===---------------------------------------------------------------------===//
 
 To time GCC preprocessing speed without output, use:
@@ -37,14 +34,14 @@ TODO: File Manager Speedup:
    3. File UIDs are created on request, not when files are opened.
  These changes make it possible to efficiently have FileEntry objects for
  files that exist on the file system, but have not been used yet.
+
  Once this is done:
    1. DirectoryEntry gets a boolean value "has read entries".  When false, not
       all entries in the directory are in the file mgr, when true, they are.
-   2. Instead of stat'ing the file in FileManager::getFile, check to see if 
+   2. Instead of stat'ing the file in FileManager::getFile, check to see if
       the dir has been read.  If so, fail immediately, if not, read the dir,
       then retry.
-   3. Reading the dir uses the getdirentries syscall, creating an FileEntry
+   3. Reading the dir uses the getdirentries syscall, creating a FileEntry
       for all files found.
 
 //===---------------------------------------------------------------------===//
@@ -58,18 +55,18 @@ The "selection of target" behavior is defined as follows:
 
 (1) If the user does not specify -triple, we default to the host triple.
 (2) If the user specifies a -arch, that overrides the arch in the host or
-    specified triple. 
+    specified triple.
 
 //===---------------------------------------------------------------------===//
 
 
-verifyInputConstraint and verifyOutputConstraint should not return bool. 
+verifyInputConstraint and verifyOutputConstraint should not return bool.
 
 Instead we should return something like:
 
 enum VerifyConstraintResult {
   Valid,
-  
+
   // Output only
   OutputOperandConstraintLacksEqualsCharacter,
   MatchingConstraintNotValidInOutputOperand,
@@ -77,7 +74,7 @@ enum VerifyConstraintResult {
   // Input only
   InputOperandConstraintContainsEqualsCharacter,
   MatchingConstraintReferencesInvalidOperandNumber,
-  
+
   // Both
   PercentConstraintUsedWithLastOperand
 };
@@ -101,3 +98,14 @@ only if the non-reachability is not due to macro or template
 metaprogramming.
 
 //===---------------------------------------------------------------------===//
+
+We can still apply a modified version of the constructor/destructor
+delegation optimization in cases of virtual inheritance where:
+  - there is no function-try-block,
+  - the constructor signature is not variadic, and
+  - the parameter variables can safely be copied and repassed
+    to the base constructor because either
+    - they have not had their addresses taken by the vbase initializers or
+    - they were passed indirectly.
+
+//===---------------------------------------------------------------------===//