From: Chandler Carruth Date: Fri, 9 Dec 2011 01:45:42 +0000 (+0000) Subject: Clean up the comments for this file now that its contents are totally X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bd25b421f728cb7c33a3bcc21a4fc60e835c5e8;p=clang Clean up the comments for this file now that its contents are totally different from what the comments indicated. Also drop a no longer used include that also violates the layering between Serialization and Frontend. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146230 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Serialization/GeneratePCH.cpp b/lib/Serialization/GeneratePCH.cpp index 437598d539..02aed103f1 100644 --- a/lib/Serialization/GeneratePCH.cpp +++ b/lib/Serialization/GeneratePCH.cpp @@ -1,4 +1,4 @@ -//===--- GeneratePCH.cpp - AST Consumer for PCH Generation ------*- C++ -*-===// +//===--- GeneratePCH.cpp - Sema Consumer for PCH Generation -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -7,12 +7,11 @@ // //===----------------------------------------------------------------------===// // -// This file defines the CreatePCHGenerate function, which creates an -// ASTConsumer that generates a PCH file. +// This file defines the PCHGenerator, which as a SemaConsumer that generates +// a PCH file. // //===----------------------------------------------------------------------===// -#include "clang/Frontend/ASTConsumers.h" #include "clang/Serialization/ASTWriter.h" #include "clang/Sema/SemaConsumer.h" #include "clang/AST/ASTContext.h"