diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-12-02 23:21:43 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-12-02 23:21:43 +0000 |
commit | 687b5df89d4ba91219df578d02087c68c09a0332 (patch) | |
tree | 72ce07514f390ecac3b02890218d448185cd455e /include/clang | |
parent | 3aaeccc597fa49e5b5aa9c197ef699d2c19ec86b (diff) |
Revert r145697 and dependent patch r145702. It added a dependency from
lib/Analysis to lib/Sema which is cyclical.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/Analysis/Analyses/FormatString.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Analysis/Analyses/FormatString.h b/include/clang/Analysis/Analyses/FormatString.h index 4385fc3af0..b2d45e36cb 100644 --- a/include/clang/Analysis/Analyses/FormatString.h +++ b/include/clang/Analysis/Analyses/FormatString.h @@ -23,8 +23,6 @@ namespace clang { -class Sema; - //===----------------------------------------------------------------------===// /// Common components of both fprintf and fscanf format strings. namespace analyze_format_string { @@ -450,7 +448,7 @@ public: /// will return null if the format specifier does not have /// a matching data argument or the matching argument matches /// more than one type. - ArgTypeResult getArgType(Sema &S) const; + ArgTypeResult getArgType(ASTContext &Ctx) const; const OptionalFlag &hasThousandsGrouping() const { return HasThousandsGrouping; |