aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-02 18:31:49 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-02 18:31:49 +0000
commite8599e570ed55a9c170fed43e39a1e1d4c3f70a8 (patch)
treed914161f137fc31784bd21a5c5000d09fcbca86a
parent0ba0aa1460ae234423609c09da1b6ad11fae24f3 (diff)
Added/fixed some comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45490 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/SimulGraph.h2
-rw-r--r--include/clang/Analysis/PathSensitive/SimulVertex.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/SimulGraph.h b/include/clang/Analysis/PathSensitive/SimulGraph.h
index bfd2ab6b6d..9bb7eb90e4 100644
--- a/include/clang/Analysis/PathSensitive/SimulGraph.h
+++ b/include/clang/Analysis/PathSensitive/SimulGraph.h
@@ -80,7 +80,7 @@ public:
V = (VertexTy*) Allocator.Allocate<VertexTy>();
new (V) VertexTy(VertexCounter++,Loc,State);
- // Insert the vertex in the vertex set and return it.
+ // Insert the vertex into the vertex set and return it.
VSet.InsertNode(V,InsertPos);
return V;
diff --git a/include/clang/Analysis/PathSensitive/SimulVertex.h b/include/clang/Analysis/PathSensitive/SimulVertex.h
index 6c435a76f5..9ca4b012ae 100644
--- a/include/clang/Analysis/PathSensitive/SimulVertex.h
+++ b/include/clang/Analysis/PathSensitive/SimulVertex.h
@@ -22,6 +22,10 @@
namespace clang {
+// *** NOTE ***
+// In the future we may not use a fully templated-implementation. We'll first
+// see how the needed functionality develops and then refactor later.
+
template <typename StateType>
class SimulVertex : public llvm::FoldingSetNode {
public: