diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-11 18:52:41 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2010-08-11 18:52:41 +0000 |
commit | 27372b4f1f402e95dd479ecf40c39ca71c15619f (patch) | |
tree | 94a9a3434fcf0b67836e5528395290dc5e8f344a /lib/Frontend/ASTUnit.cpp | |
parent | 70141c2d11ba555ff5922d8b4a014be2f629e2ec (diff) |
Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do with the breakage.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
-rw-r--r-- | lib/Frontend/ASTUnit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Frontend/ASTUnit.cpp b/lib/Frontend/ASTUnit.cpp index fe4768db7c..bbe2ec5bea 100644 --- a/lib/Frontend/ASTUnit.cpp +++ b/lib/Frontend/ASTUnit.cpp @@ -320,6 +320,9 @@ public: Unit.addTopLevelDecl(D); } } + + // We're not interested in "interesting" decls. + void HandleInterestingDecl(DeclGroupRef) {} }; class TopLevelDeclTrackerAction : public ASTFrontendAction { |