]> granicus.if.org Git - clang/commitdiff
[analyzer] Cleanup (NULL -> 0, no doxygen in cpp).
authorAnna Zaks <ganna@apple.com>
Wed, 16 Nov 2011 19:58:02 +0000 (19:58 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 16 Nov 2011 19:58:02 +0000 (19:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144822 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 5827b0042a5d4c2bf90956d8f2e2177cf5eca93d..6c9c9576ba38a1921f746f8dfd0c90c32d4e7c2a 100644 (file)
@@ -121,15 +121,15 @@ public:
   /// Otherwise return 0.
   const FunctionDecl *getAsFunctionDecl() const;
 
-  /// getAsLocSymbol - If this SVal is a location (subclasses Loc) and
-  ///  wraps a symbol, return that SymbolRef.  Otherwise return NULL.
+  /// If this SVal is a location (subclasses Loc) and
+  /// wraps a symbol, return that SymbolRef.  Otherwise return 0.
   SymbolRef getAsLocSymbol() const;
 
   /// Get the symbol in the SVal or its base region.
   SymbolRef getLocSymbolInBase() const;
 
-  /// getAsSymbol - If this Sval wraps a symbol return that SymbolRef.
-  ///  Otherwise return a SymbolRef where 'isValid()' returns false.
+  /// If this SVal wraps a symbol return that SymbolRef.
+  /// Otherwise, return 0.
   SymbolRef getAsSymbol() const;
 
   /// getAsSymbolicExpression - If this Sval wraps a symbolic expression then