diff -ru llvm-116392/tools/clang/include/clang/Lex/PreprocessorLexer.h llvm-116392-ConditionalStack/tools/clang/include/clang/Lex/PreprocessorLexer.h
--- llvm-116392/tools/clang/include/clang/Lex/PreprocessorLexer.h	2010-10-13 07:16:35.453569900 +0200
+++ llvm-116392-ConditionalStack/tools/clang/include/clang/Lex/PreprocessorLexer.h	2010-10-13 14:57:57.185845900 +0200
@@ -155,6 +155,10 @@
   /// getFileEntry - Return the FileEntry corresponding to this FileID.  Like
   /// getFileID(), this only works for lexers with attached preprocessors.
   const FileEntry *getFileEntry() const;
+
+  llvm::SmallVector<PPConditionalInfo, 4> getConditionalStack() const {
+    return ConditionalStack;
+  }
 };
 
 }  // end namespace clang
