//===--- ParseStmt.cpp - Statement and Block Parser -----------------------===////// The LLVM Compiler Infrastructure//// This file is distributed under the University of Illinois Open Source// License. See LICENSE.TXT for details.////===----------------------------------------------------------------------===////// This file implements the Statement and Block portions of the Parser// interface.////===----------------------------------------------------------------------===//#include"clang/Parse/Parser.h"#include"RAIIObjectsForParser.h"#include"clang/Parse/DeclSpec.h"#include"clang/Parse/Scope.h"#include"clang/Basic/Diagnostic.h"#include"clang/Basic/PrettyStackTrace.h"#include"clang/Basic/SourceManager.h"usingnamespaceclang;//===----------------------------------------------------------------------===//// C99 6.8: Statements and Blocks.//===----------------------------------------------------------------------===///// ParseStatementOrDeclaration - Read 'statement' or 'declaration'./// StatementOrDeclaration:/// statement/// declaration////// statement:/// labeled-statement/// compound-statement/// expression-statement/// selection-statement/// iteration-statement/// jump-statement/// [C++] declaration-statement/// [C++] try-block/// [OBC] objc-throw-statement/// [OBC] objc-try-catch-statement/// [OBC] objc-sync