llvm-6502/utils
Alexander Kornienko b4c6267f7c Replace size method call of containers to empty method where appropriate
This patch was generated by a clang tidy checker that is being open sourced.
The documentation of that checker is the following:

/// The emptiness of a container should be checked using the empty method
/// instead of the size method. It is not guaranteed that size is a
/// constant-time function, and it is generally more efficient and also shows
/// clearer intent to use empty. Furthermore some containers may implement the
/// empty method but not implement the size method. Using empty whenever
/// possible makes it easier to switch to another container in the future.

Patch by Gábor Horváth!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226161 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-15 11:41:30 +00:00
..
bugpoint
buildit
count
crosstool
emacs IR: Add 'distinct' MDNodes to bitcode and assembly 2015-01-08 22:38:29 +00:00
FileCheck
fpcmp
git
git-svn
jedit
kate
KillTheDoctor
lint
lit Don't set LD_PRELOAD to ''. It doesn't work on OpenBSD. 2015-01-14 00:39:56 +00:00
llvm-build
llvm-lit
Misc
not
PerfectShuffle
release utils/release/tag.sh: fix -revision vs. -rc check 2015-01-15 04:36:20 +00:00
TableGen Replace size method call of containers to empty method where appropriate 2015-01-15 11:41:30 +00:00
Target/ARM
testgen [MC] bundle alignment: prevent padding instructions from crossing bundle boundaries 2013-01-31 17:00:03 +00:00
textmate
unittest
valgrind
vim AsmParser/Bitcode: Add support for MDLocation 2015-01-13 21:10:44 +00:00
yaml-bench
bisect
check-each-file
clang-parse-diagnostics-file [utils] Tweak utils/clang-parse-diagnostics-file to ignore autoconf diagnostics. 2012-12-22 00:47:06 +00:00
codegen-diff
countloc.sh
DSAclean.py
DSAextract.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl Rename VMCore directory to IR. 2013-01-02 09:10:48 +00:00
GetRepositoryPath
GetSourceVersion
getsrcs.sh
lldbDataFormatters.py
llvm-compilers-check
llvm-native-gxx
llvm.grm
llvm.natvis
LLVMBuild.txt
llvmdo
llvmgrep
Makefile
makellvm
shuffle_fuzz.py
sort_includes.py
test_debuginfo.pl
update_llc_test_checks.py Add a new utility script that helps update very simple regression tests. 2015-01-12 04:43:18 +00:00
UpdateCMakeLists.pl
wciia.py