diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2012-05-03 16:53:59 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2012-05-03 16:53:59 +0000 | 
| commit | 6b9a6e390fbb92c40eb9c6ac9e7abbd88dd7a767 (patch) | |
| tree | 2e51705e103e92c7be1b21e8bd8ffd5b5d0e4d52 /lib/AST/StmtProfile.cpp | |
| parent | dbe13110f59f48b4dbb7552b3ac2935acdeece7f (diff) | |
Diffstat (limited to 'lib/AST/StmtProfile.cpp')
| -rw-r--r-- | lib/AST/StmtProfile.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp index e5526cea74afa..e50523ae860be 100644 --- a/lib/AST/StmtProfile.cpp +++ b/lib/AST/StmtProfile.cpp @@ -109,6 +109,11 @@ void StmtProfiler::VisitLabelStmt(const LabelStmt *S) {    VisitDecl(S->getDecl());  } +void StmtProfiler::VisitAttributedStmt(const AttributedStmt *S) { +  VisitStmt(S); +  // TODO: maybe visit attributes? +} +  void StmtProfiler::VisitIfStmt(const IfStmt *S) {    VisitStmt(S);    VisitDecl(S->getConditionVariable()); @@ -758,6 +763,7 @@ void StmtProfiler::VisitCXXUuidofExpr(const CXXUuidofExpr *S) {  void StmtProfiler::VisitCXXThisExpr(const CXXThisExpr *S) {    VisitExpr(S); +  ID.AddBoolean(S->isImplicit());  }  void StmtProfiler::VisitCXXThrowExpr(const CXXThrowExpr *S) { | 
