commit | 3de2fc4e42f8d58f061af3ac8bb7d57e8d86a23b | [log] [tgz] |
---|---|---|
author | Matt Beaumont-Gay <matthewbg@google.com> | Mon Oct 17 22:19:09 2011 +0000 |
committer | Matt Beaumont-Gay <matthewbg@google.com> | Mon Oct 17 22:19:09 2011 +0000 |
tree | e0663386ffd734717c159cb3bcc2ddafb98f85e8 | |
parent | 19706f8e702c04d19bc1ace504cbb9df008b6daa [diff] |
Silence a -Wc++0x-narrowing warning git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142292 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/libclang/IndexingContext.cpp b/tools/libclang/IndexingContext.cpp index 7c0ceaf..8a41856 100644 --- a/tools/libclang/IndexingContext.cpp +++ b/tools/libclang/IndexingContext.cpp
@@ -297,7 +297,7 @@ getIndexContainerForDC(D), D->getSuperClass() ? &BaseClass : 0, Prots.data(), - Prots.size() }; + static_cast<unsigned>(Prots.size()) }; CB.defineObjCClass(ClientData, &Info); }