File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ ASTUnit::ASTUnit(bool _MainFileIsAST)
219219 TUKind(TU_Complete), WantTiming(getenv(" LIBCLANG_TIMING" )),
220220 OwnsRemappedFileBuffers(true ),
221221 NumStoredDiagnosticsFromDriver(0 ),
222- PreambleRebuildCounter(0 ), SavedMainFileBuffer( nullptr ),
222+ PreambleRebuildCounter(0 ),
223223 NumWarningsInPreamble(0 ),
224224 ShouldCacheCodeCompletionResults(false ),
225225 IncludeBriefCommentsInCodeCompletion(false ), UserFilesAreVolatile(false ),
@@ -1026,7 +1026,7 @@ static void checkAndSanitizeDiags(SmallVectorImpl<StoredDiagnostic> &
10261026// / \returns True if a failure occurred that causes the ASTUnit not to
10271027// / contain any translation-unit information, false otherwise.
10281028bool ASTUnit::Parse (llvm::MemoryBuffer *OverrideMainBuffer) {
1029- SavedMainFileBuffer.reset (nullptr );
1029+ SavedMainFileBuffer.reset ();
10301030
10311031 if (!Invocation) {
10321032 delete OverrideMainBuffer;
You can’t perform that action at this time.
0 commit comments