[LLVMdev] API Change: AnalysisUsage

Chris Lattner sabre at nondot.org
Mon Oct 21 15:05:02 PDT 2002


This is just a note to mention that I just checked in this change (and
fallout from it):
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20021021/000876.html

Which renames:
  AnalysisUsage::preservesAll -> getPreservesAll
  AnalysisUsage::preservesCFG -> setPreservesCFG

to be consistent with the already existing setPreservesAll method.  This
was a very confusing arrangement that Casey recently pointed out.

I fixed all uses of these that are in the CVS repository.  When these
updates reach you, you will have to update any uses of these methods to
call the new name.  As always, let me know if you have any questions.

-Chris

http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list