]> granicus.if.org Git - clang/commitdiff
Add comments.
authorZhongxing Xu <xuzhongxing@gmail.com>
Mon, 1 Mar 2010 03:48:10 +0000 (03:48 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Mon, 1 Mar 2010 03:48:10 +0000 (03:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97435 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Checker/PathSensitive/SymbolManager.h

index 8eb319647953785795a8af24b42af87da6eec029..248937137da2e9a3376fead6c106cf4b235315d2 100644 (file)
@@ -89,6 +89,7 @@ public:
 
 typedef const SymbolData* SymbolRef;
 
+// A symbol representing the value of a MemRegion.
 class SymbolRegionValue : public SymbolData {
   const MemRegion *R;
   // We may cast the region to another type, so the expected type of the symbol
@@ -122,6 +123,7 @@ public:
   }
 };
 
+// A symbol representing the result of an expression.
 class SymbolConjured : public SymbolData {
   const Stmt* S;
   QualType T;
@@ -161,6 +163,8 @@ public:
   }
 };
 
+// A symbol representing the value of a MemRegion whose parent region has 
+// symbolic value.
 class SymbolDerived : public SymbolData {
   SymbolRef parentSymbol;
   const TypedRegion *R;