aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/ScanfFormatString.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-26 18:48:07 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-26 18:48:07 +0000
commited79dcb1ab323ef64faef0988bbb3a6892ea5716 (patch)
treebeeb9af089509deedef156f834e1010c51bc8d38 /clang/lib/Analysis/ScanfFormatString.cpp
parentaa7f66ba6798ea946baa622b55679597dab60742 (diff)
downloadllvm-ed79dcb1ab323ef64faef0988bbb3a6892ea5716.zip
llvm-ed79dcb1ab323ef64faef0988bbb3a6892ea5716.tar.gz
llvm-ed79dcb1ab323ef64faef0988bbb3a6892ea5716.tar.bz2
re-commit r109220, the compile error has already been fixed
Simplifying use_iterators by dereferencing is not a good idea. The codebase does not depend in this any more, and it may introduce hidden runtime cost. If you get compile errors, please dereference your iterator before passing to cast<> (and friends). Also: please consider caching the result of operator* and reusing that instead of dereferencing many times. llvm-svn: 109425
Diffstat (limited to 'clang/lib/Analysis/ScanfFormatString.cpp')
0 files changed, 0 insertions, 0 deletions