summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-query/QueryParser.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-01-08 22:07:42 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-01-08 22:07:42 +0000
commitdadbb45f34dbba4f311adecfd484400e8e82d9d0 (patch)
tree309e67c952bdf48980530c6fbf59f851ee6a09a1 /clang-tools-extra/clang-query/QueryParser.cpp
parentbfce66fbc1977912997887d9c96a99dd294f84b2 (diff)
downloadbcm5719-llvm-dadbb45f34dbba4f311adecfd484400e8e82d9d0.tar.gz
bcm5719-llvm-dadbb45f34dbba4f311adecfd484400e8e82d9d0.zip
[BreakpointList] Simplify/modernize BreakpointList (NFC)
I was looking at the code in BreakpointList.cpp and found it deserved a quick cleanup. - Use std::vector instead of a std::list. - Extract duplicate code for notifying. - Remove code duplication when returning a const value. - Use range-based for loop. - Use early return in loops. Differential revision: https://reviews.llvm.org/D56425 llvm-svn: 350659
Diffstat (limited to 'clang-tools-extra/clang-query/QueryParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud