diff options
-rw-r--r-- | include/clang/Edit/EditedSource.h | 2 | ||||
-rw-r--r-- | tools/libclang/IndexingContext.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Edit/EditedSource.h b/include/clang/Edit/EditedSource.h index 3ad5a6be14..f95b79785f 100644 --- a/include/clang/Edit/EditedSource.h +++ b/include/clang/Edit/EditedSource.h @@ -50,7 +50,7 @@ public: const bool FCommitInSystemHeader = true) : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), ForceCommitInSystemHeader(FCommitInSystemHeader), - StrAlloc(/*size=*/512) { } + StrAlloc() { } const SourceManager &getSourceManager() const { return SourceMgr; } const LangOptions &getLangOpts() const { return LangOpts; } diff --git a/tools/libclang/IndexingContext.h b/tools/libclang/IndexingContext.h index 91a22a98a6..88d623f42a 100644 --- a/tools/libclang/IndexingContext.h +++ b/tools/libclang/IndexingContext.h @@ -335,7 +335,7 @@ public: unsigned indexOptions, CXTranslationUnit cxTU) : Ctx(0), ClientData(clientData), CB(indexCallbacks), IndexOptions(indexOptions), CXTU(cxTU), - StrScratch(/*size=*/1024), StrAdapterCount(0) { } + StrScratch(), StrAdapterCount(0) { } ASTContext &getASTContext() const { return *Ctx; } |