aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Frontend
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-07 23:24:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-07 23:24:43 +0000
commiteb58d831b283a9fa030a2eccc6e23480108d2fa1 (patch)
tree7b0096ddb2c3a52c97669270e8ad9b6f615c943b /include/clang/Frontend
parent2056048f0f619adadc9a5416a2c4cdf95c58eef7 (diff)
Frontend: Rename hasASTSupport to hasASTFileSupport, which is more accurate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend')
-rw-r--r--include/clang/Frontend/FrontendAction.h4
-rw-r--r--include/clang/Frontend/FrontendActions.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Frontend/FrontendAction.h b/include/clang/Frontend/FrontendAction.h
index 1171f1f95a..9945be79b7 100644
--- a/include/clang/Frontend/FrontendAction.h
+++ b/include/clang/Frontend/FrontendAction.h
@@ -144,8 +144,8 @@ public:
/// hasPCHSupport - Does this action support use with PCH?
virtual bool hasPCHSupport() const { return !usesPreprocessorOnly(); }
- /// hasASTSupport - Does this action support use with AST files?
- virtual bool hasASTSupport() const { return !usesPreprocessorOnly(); }
+ /// hasASTFileSupport - Does this action support use with AST files?
+ virtual bool hasASTFileSupport() const { return !usesPreprocessorOnly(); }
/// hasCodeCompletionSupport - Does this action support use with code
/// completion?
diff --git a/include/clang/Frontend/FrontendActions.h b/include/clang/Frontend/FrontendActions.h
index cee1c1d2be..2e22435422 100644
--- a/include/clang/Frontend/FrontendActions.h
+++ b/include/clang/Frontend/FrontendActions.h
@@ -87,7 +87,7 @@ protected:
virtual void EndSourceFileAction();
- virtual bool hasASTSupport() const { return false; }
+ virtual bool hasASTFileSupport() const { return false; }
public:
FixItAction();
@@ -101,7 +101,7 @@ protected:
virtual bool usesCompleteTranslationUnit() { return false; }
- virtual bool hasASTSupport() const { return false; }
+ virtual bool hasASTFileSupport() const { return false; }
};
class HTMLPrintAction : public ASTFrontendAction {
@@ -170,7 +170,7 @@ public:
virtual bool usesPreprocessorOnly() const;
virtual bool usesCompleteTranslationUnit();
virtual bool hasPCHSupport() const;
- virtual bool hasASTSupport() const;
+ virtual bool hasASTFileSupport() const;
virtual bool hasCodeCompletionSupport() const;
};