]> granicus.if.org Git - clang/commit
Fixed another case where sizeof() returns the size in bytes, not bits.
authorTed Kremenek <kremenek@apple.com>
Mon, 17 Dec 2007 17:38:43 +0000 (17:38 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 17 Dec 2007 17:38:43 +0000 (17:38 +0000)
commit060e470e53b73167114284eb0b8c3e25bb3dad99
tree90b842f1be8d6dd72822635e5b84f16bfbb559e0
parent0f441ab20ccd8d21fd3d034de866bfcaf6cb72b2
Fixed another case where sizeof() returns the size in bytes, not bits.
This parallels a previous patch (duplicate logic caused the bug to appear
in multiple locations):

  r44316 (http://llvm.org/viewvc/llvm-project?rev=44316&view=rev).

Patch provided by Nuno Lopes.

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