diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-14 22:09:26 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-04-14 22:09:26 +0000 |
| commit | 02e85f3bc5fcb784c44851b2d557cdeb63a7ca0b (patch) | |
| tree | a1507fda2ae01672b66da3bafc407e9da2690398 /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | 55858499e21e0541423cfdb2be7eb18e52a40a2c (diff) | |
| download | llvm-02e85f3bc5fcb784c44851b2d557cdeb63a7ca0b.zip llvm-02e85f3bc5fcb784c44851b2d557cdeb63a7ca0b.tar.gz llvm-02e85f3bc5fcb784c44851b2d557cdeb63a7ca0b.tar.bz2 | |
Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291).
llvm-svn: 129541
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index f3b00e3..d53da9f 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -42,6 +42,7 @@ namespace clang { class APValue; class ASTContext; class CXXDestructorDecl; + class CXXForRangeStmt; class CXXTryStmt; class Decl; class LabelDecl; @@ -1694,6 +1695,7 @@ public: void ExitCXXTryStmt(const CXXTryStmt &S, bool IsFnTryBlock = false); void EmitCXXTryStmt(const CXXTryStmt &S); + void EmitCXXForRangeStmt(const CXXForRangeStmt &S); //===--------------------------------------------------------------------===// // LValue Expression Emission |
