Author: kremenek
Date: Wed Nov 12 16:46:33 2008
New Revision: 59187

URL: http://llvm.org/viewvc/llvm-project?rev=59187&view=rev
Log:
Add LexIncludeFilename.

Modified:
    cfe/trunk/include/clang/Lex/PreprocessorLexer.h

Modified: cfe/trunk/include/clang/Lex/PreprocessorLexer.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PreprocessorLexer.h?rev=59187&r1=59186&r2=59187&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/PreprocessorLexer.h (original)
+++ cfe/trunk/include/clang/Lex/PreprocessorLexer.h Wed Nov 12 16:46:33 2008
@@ -61,6 +61,8 @@
   
   PreprocessorLexer() {}
   
+  virtual void IndirectLex(Token& Result) = 0;
+  
 protected:
   
   
//===--------------------------------------------------------------------===//
@@ -99,7 +101,15 @@
     return ConditionalStack.back();
   }
   
-  unsigned getConditionalStackDepth() const { return ConditionalStack.size(); 
}    
+  unsigned getConditionalStackDepth() const { return ConditionalStack.size(); 
} 
+  
+  
//===--------------------------------------------------------------------===//
+  // Misc. lexing methods.
+  
+  /// LexIncludeFilename - After the preprocessor has parsed a #include, lex 
and
+  /// (potentially) macro expand the filename.  If the sequence parsed is not
+  /// lexically legal, emit a diagnostic and return a result EOM token.
+  void LexIncludeFilename(Token &Result);
 };
 
 }  // end namespace clang


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to