diff options
Diffstat (limited to 'include/clang/Edit/Commit.h')
-rw-r--r-- | include/clang/Edit/Commit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/clang/Edit/Commit.h b/include/clang/Edit/Commit.h index aaf6b18..48e3d59 100644 --- a/include/clang/Edit/Commit.h +++ b/include/clang/Edit/Commit.h @@ -11,12 +11,12 @@ #define LLVM_CLANG_EDIT_COMMIT_H #include "clang/Edit/FileOffset.h" -#include "llvm/ADT/StringRef.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/StringRef.h" namespace clang { class LangOptions; - class PreprocessingRecord; + class PPConditionalDirectiveRecord; namespace edit { class EditedSource; @@ -46,7 +46,7 @@ public: private: const SourceManager &SourceMgr; const LangOptions &LangOpts; - const PreprocessingRecord *PPRec; + const PPConditionalDirectiveRecord *PPRec; EditedSource *Editor; bool IsCommitable; @@ -55,7 +55,7 @@ private: public: explicit Commit(EditedSource &Editor); Commit(const SourceManager &SM, const LangOptions &LangOpts, - const PreprocessingRecord *PPRec = 0) + const PPConditionalDirectiveRecord *PPRec = 0) : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0), IsCommitable(true) { } |