summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
committerAlexander Kornienko <alexfh@google.com>2018-04-06 15:14:32 +0000
commit2a8c18d99118827ff752cc8952a2096f33715f31 (patch)
tree5fbe7871948cb2c241487ca9ee86159891d67b64 /clang/tools/libclang/CXCursor.cpp
parentad768585ff488cf01588b2d0caa1f95260031cdc (diff)
downloadbcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.tar.gz
bcm5719-llvm-2a8c18d99118827ff752cc8952a2096f33715f31.zip
Fix typos in clang
Found via codespell -q 3 -I ../clang-whitelist.txt Where whitelist consists of: archtype cas classs checkk compres definit frome iff inteval ith lod methode nd optin ot pres statics te thru Patch by luzpaz! (This is a subset of D44188 that applies cleanly with a few files that have dubious fixes reverted.) Differential revision: https://reviews.llvm.org/D44188 llvm-svn: 329399
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
-rw-r--r--clang/tools/libclang/CXCursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp
index fb61249a778..8fdb921d63f 100644
--- a/clang/tools/libclang/CXCursor.cpp
+++ b/clang/tools/libclang/CXCursor.cpp
@@ -1469,17 +1469,17 @@ void clang_getOverriddenCursors(CXCursor cursor,
assert(cxcursor::getCursorTU(backRefCursor) == TU);
Vec->push_back(backRefCursor);
- // Get the overriden cursors.
+ // Get the overridden cursors.
cxcursor::getOverriddenCursors(cursor, *Vec);
- // Did we get any overriden cursors? If not, return Vec to the pool
+ // Did we get any overridden cursors? If not, return Vec to the pool
// of available cursor vectors.
if (Vec->size() == 1) {
pool.AvailableCursors.push_back(Vec);
return;
}
- // Now tell the caller about the overriden cursors.
+ // Now tell the caller about the overridden cursors.
assert(Vec->size() > 1);
*overridden = &((*Vec)[1]);
*num_overridden = Vec->size() - 1;
OpenPOWER on IntegriCloud