]> granicus.if.org Git - clang/commitdiff
update analyzer doc.
authorZhongxing Xu <xuzhongxing@gmail.com>
Fri, 10 Apr 2009 06:52:49 +0000 (06:52 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Fri, 10 Apr 2009 06:52:49 +0000 (06:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68773 91177308-0d34-0410-b5e6-96231b3b80d8

docs/AnalyzerRegions.html

index 6767cfd5790359ba778e5ec836c4f9cdce580dcc..992db152256239a26519858cb91d2b8d6d2ca30d 100644 (file)
@@ -107,6 +107,24 @@ char *r = (char*) p;
 <p>Thus we need to canonicalize the MemRegion which is used in binding and
 retrieving.</p>
 
+<h3>Regions</h3>
+<p>Region is the entity used to model pointer values. A Region has the following
+properties:</p>
+
+<ul>
+<li>Kind</li>
+
+<li>ObjectType: the type of the object residing on the region.</li>
+
+<li>LocationType: the type of the pointer value that the region corresponds to.
+  Usually this is the pointer to the ObjectType. But sometimes we want to cache
+  this type explicitly, for example, for a CodeTextRegion.</li>
+
+<li>StartLocation</li>
+
+<li>EndLocation</li>
+</ul>
+
 <h3>Symbolic Regions</h3>
 
 <p>A symbolic region is a map of the concept of symbolic values into the domain