summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-08 20:47:12 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-08 20:47:12 +0000
commit9174593d09f6787704078b65d1fdd3d7476d6884 (patch)
tree2b1dcbf9c08c5f89562ce6d3e69437871eab6397 /clang/lib/Sema/SemaCodeComplete.cpp
parentd41fca11af4f821b58cb840ce85127c0cb1ff962 (diff)
downloadbcm5719-llvm-9174593d09f6787704078b65d1fdd3d7476d6884.tar.gz
bcm5719-llvm-9174593d09f6787704078b65d1fdd3d7476d6884.zip
POSIX: fix possible API misuse
memcpy cannot be passed NULL. Ensuring that the destination pointer is non-NULL requires checking success. Rather than performing the success check at that point, increasing indentation an additional level, fold it into the previous statement. llvm-svn: 203359
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud