]> granicus.if.org Git - clang/commitdiff
[analyzer] + comments
authorAnna Zaks <ganna@apple.com>
Tue, 10 Apr 2012 20:58:55 +0000 (20:58 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 10 Apr 2012 20:58:55 +0000 (20:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154433 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h

index 45f5f1b0e140e48185529147c4ee7170b65e3f25..360d6486f9665add8ffd94b2cc1d7573c193a1a6 100644 (file)
@@ -250,11 +250,15 @@ public:
   
   SVal getSValAsScalarOrLoc(const Stmt *Ex, const LocationContext *LCtx) const;
 
+  /// \brief Return the value bound to the specified location.
+  /// Returns UnknownVal() if none found.
   SVal getSVal(Loc LV, QualType T = QualType()) const;
 
   /// Returns the "raw" SVal bound to LV before any value simplfication.
   SVal getRawSVal(Loc LV, QualType T= QualType()) const;
 
+  /// \brief Return the value bound to the specified location.
+  /// Returns UnknownVal() if none found.
   SVal getSVal(const MemRegion* R) const;
 
   SVal getSValAsScalarOrLoc(const MemRegion *R) const;