ΒΆclang::SourceLocation findSemiAfterLocation(
clang::SourceLocation loc,
clang::ASTContext& Ctx,
bool IsDecl = false)
clang::SourceLocation findSemiAfterLocation(
clang::SourceLocation loc,
clang::ASTContext& Ctx,
bool IsDecl = false)
Description
'Loc' is the end of a statement range. This returns the location of the semicolon following the statement. If no semicolon is found or the location is inside a macro, the returned source location will be invalid.
Declared at: clang/lib/ARCMigrate/Transforms.h:176
Parameters
- clang::SourceLocation loc
- clang::ASTContext& Ctx
- bool IsDecl = false