|
clang 24.0.0git
|
#include "clang/AST/Stmt.h"#include "clang/Basic/CodeGenOptions.h"#include "clang/Basic/LangOptions.h"#include "llvm/ADT/STLFunctionalExtras.h"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| Top level wrappers for InstallAPI frontend operations. | |
| namespace | clang::CodeGenUtils |
Functions | |
| template<typename LoopStmt> | |
| bool | clang::CodeGenUtils::hasEmptyLoopBody (const LoopStmt &S) |
| bool | clang::CodeGenUtils::checkIfLoopMustProgress (const LangOptions &LangOpts, const CodeGenOptions &CGOpts, ASTContext &Ctx, const Expr *ControllingExpression, bool HasEmptyBody, llvm::function_ref< void()> RemoveMustProgress) |
| Returns true if a loop must make progress, which means the mustprogress attribute can be added to it. | |