From: NAKAMURA Takumi Date: Sun, 29 Jun 2014 11:07:48 +0000 (+0000) Subject: LibclangTest.cpp: s/uint/unsigned/. I think 'uint' is not a standard type. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6189422f08aeef2ac0958cd9533b8d6bc4352d7e;p=platform%2Fupstream%2Fllvm.git LibclangTest.cpp: s/uint/unsigned/. I think 'uint' is not a standard type. llvm-svn: 211997 --- diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp index 20f742e..f0bfb27 100644 --- a/clang/unittests/libclang/LibclangTest.cpp +++ b/clang/unittests/libclang/LibclangTest.cpp @@ -373,15 +373,15 @@ public: OS << Contents; } void DisplayDiagnostics() { - uint NumDiagnostics = clang_getNumDiagnostics(ClangTU); - for (uint i = 0; i < NumDiagnostics; ++i) { + unsigned NumDiagnostics = clang_getNumDiagnostics(ClangTU); + for (unsigned i = 0; i < NumDiagnostics; ++i) { auto Diag = clang_getDiagnostic(ClangTU, i); DEBUG(llvm::dbgs() << clang_getCString(clang_formatDiagnostic( Diag, clang_defaultDiagnosticDisplayOptions())) << "\n"); clang_disposeDiagnostic(Diag); } } - bool ReparseTU(uint num_unsaved_files, CXUnsavedFile* unsaved_files) { + bool ReparseTU(unsigned num_unsaved_files, CXUnsavedFile* unsaved_files) { if (clang_reparseTranslationUnit(ClangTU, num_unsaved_files, unsaved_files, clang_defaultReparseOptions(ClangTU))) { DEBUG(llvm::dbgs() << "Reparse failed\n");