aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Sema/Sema.h
diff options
context:
space:
mode:
authorKaelyn Uhrain <rikka@google.com>2011-10-11 01:02:41 +0000
committerKaelyn Uhrain <rikka@google.com>2011-10-11 01:02:41 +0000
commitfac9467d1676dc05761e12e41e13e01a3a3da52b (patch)
tree12fc43c9043270ebfd6db7342c4c8d1ae1f34f8b /include/clang/Sema/Sema.h
parente1e7862586b6077a68dea05bcdbb67f63be3057d (diff)
Add typo correction for type names.
The main motivation was to do typo correction in C++ "new" statements, though picking it up in other places where type names are expected was pretty much a freebie. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r--include/clang/Sema/Sema.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index c171da820c..55b8f98567 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -873,7 +873,8 @@ public:
bool isClassName = false,
bool HasTrailingDot = false,
ParsedType ObjectType = ParsedType(),
- bool WantNontrivialTypeSourceInfo = false);
+ bool WantNontrivialTypeSourceInfo = false,
+ IdentifierInfo **CorrectedII = 0);
TypeSpecifierType isTagName(IdentifierInfo &II, Scope *S);
bool isMicrosoftMissingTypename(const CXXScopeSpec *SS);
bool DiagnoseUnknownTypeName(const IdentifierInfo &II,