summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-28 08:37:18 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-28 08:37:18 +0000
commit93da3c8233ef17e26d61d04628c9c4f3ab765ce9 (patch)
treebd7d647b2f1c9b2bb4f9fca50682b96c83636677 /clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
parent6e1f9babcd2899fc6fea9f04871d5ae85b80c1b4 (diff)
downloadbcm5719-llvm-93da3c8233ef17e26d61d04628c9c4f3ab765ce9.tar.gz
bcm5719-llvm-93da3c8233ef17e26d61d04628c9c4f3ab765ce9.zip
Fix the last -Wnon-pod-memset I'm seeing. This is benign, but appears
a bit more sinister as the memset doesn't do what the constructor does. There seems to be a cleaner solution than a cast here though, instead we can point the memset destination into the union its actually trying to clear. An alternative is to point to the Untyped member of this union. Review appreciated, and if that is cleaner I'm happy to switch. All of these should be functionally equivalent to the original code. llvm-svn: 130395
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud