[cfe-commits] r142292 - /cfe/trunk/tools/libclang/IndexingContext.cpp

Matt Beaumont-Gay matthewbg at google.com
Mon Oct 17 15:19:09 PDT 2011


Author: matthewbg
Date: Mon Oct 17 17:19:09 2011
New Revision: 142292

URL: http://llvm.org/viewvc/llvm-project?rev=142292&view=rev
Log:
Silence a -Wc++0x-narrowing warning

Modified:
    cfe/trunk/tools/libclang/IndexingContext.cpp

Modified: cfe/trunk/tools/libclang/IndexingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/IndexingContext.cpp?rev=142292&r1=142291&r2=142292&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/IndexingContext.cpp (original)
+++ cfe/trunk/tools/libclang/IndexingContext.cpp Mon Oct 17 17:19:09 2011
@@ -297,7 +297,7 @@
                                     getIndexContainerForDC(D),
                                     D->getSuperClass() ? &BaseClass : 0,
                                     Prots.data(),
-                                    Prots.size() };
+                                    static_cast<unsigned>(Prots.size()) };
   CB.defineObjCClass(ClientData, &Info);
 }
 





More information about the cfe-commits mailing list