[cfe-commits] Better const_cast support

Mike Stump mrs at apple.com
Fri Sep 26 20:50:30 PDT 2008


On Sep 26, 2008, at 5:17 PM, Daniel Dunbar wrote:
> I believe these are do to simultaneous changes in function  
> attributes /
> notes going on in the LLVM tree. Current TOT LLVM is not compiling
> for me either. Investigating.

Easy to fix:

Index: include/llvm/Attributes.h
===================================================================
--- include/llvm/Attributes.h	(revision 56715)
+++ include/llvm/Attributes.h	(working copy)
@@ -16,6 +16,7 @@
  #define LLVM_ATTRIBUTES_H

  #include <string>
+#include <cassert>

  namespace llvm {
  class Type;

if you want.



More information about the cfe-commits mailing list