]> granicus.if.org Git - clang/commitdiff
Fix two incorrect comments.
authorJordan Rose <jordan_rose@apple.com>
Fri, 13 Sep 2013 00:45:22 +0000 (00:45 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 13 Sep 2013 00:45:22 +0000 (00:45 +0000)
Patch by Jared Grubb!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190652 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Expr.h
lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp

index 28b81fb5def1915bddf1deca029e0cbc9b00f5d3..55c9de280441f340180b5c1b0c9c277483707392 100644 (file)
@@ -1422,7 +1422,7 @@ public:
 };
 
 /// StringLiteral - This represents a string literal expression, e.g. "foo"
-/// or L"bar" (wide strings).  The actual string is returned by getStrData()
+/// or L"bar" (wide strings).  The actual string is returned by getBytes()
 /// is NOT null-terminated, and the length of the string is determined by
 /// calling getByteLength().  The C type for a string is always a
 /// ConstantArrayType.  In C++, the char type is const qualified, in C it is
index d756c62956825ca2da60cae6c5d3ef42ca2865cf..4997f8d04ae8e46c7e21a2d1c525620362dd7c61 100644 (file)
@@ -25,8 +25,8 @@
 //  ^, ^=   |   0    |        |        |   x    |   x    |         |
 //  <<, <<= |        |        |        |   x    |   0    |         |
 //  >>, >>= |        |        |        |   x    |   0    |         |
-//  ||      |   1    |   1    |   1    |   x    |   x    |   1     |    1
-//  &&      |   1    |   x    |   x    |   0    |   0    |   x     |    x
+//  ||      |   x    |   1    |   1    |   x    |   x    |   1     |    1
+//  &&      |   x    |   x    |   x    |   0    |   0    |   x     |    x
 //  =       |   x    |        |        |        |        |         |
 //  ==      |   1    |        |        |        |        |         |
 //  >=      |   1    |        |        |        |        |         |