From: Artyom Skrobov Date: Tue, 29 Jul 2014 16:10:25 +0000 (+0000) Subject: DataflowWorklist.h - "We should have a description here of what this code does, not... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa3d66d724a1d7db2c096e1fbbebf7b9b5fd7bb5;p=clang DataflowWorklist.h - "We should have a description here of what this code does, not just where it's used." git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214183 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/Analyses/DataflowWorklist.h b/include/clang/Analysis/Analyses/DataflowWorklist.h index dfa00f9dad..2daee81c72 100644 --- a/include/clang/Analysis/Analyses/DataflowWorklist.h +++ b/include/clang/Analysis/Analyses/DataflowWorklist.h @@ -7,7 +7,10 @@ // //===----------------------------------------------------------------------===// // -// DataflowWorklist is used in LiveVariables and UninitializedValues analyses +// DataflowWorklist keeps track of blocks for dataflow analysis. It maintains a +// vector of blocks for priority processing, and falls back upon a reverse +// post-order iterator. It supports both forward (used in UninitializedValues) +// and reverse (used in LiveVariables) analyses. // //===----------------------------------------------------------------------===//