llvm-project/clang/lib/Parse
Kaelyn Takata b8499f09fa Allow TransformTypos to ignore corrections to a specified VarDecl.
This is needed to prevent a TypoExpr from being corrected to a variable
when the TypoExpr is a subexpression of that variable's initializer.

Also exclude more keywords from the correction candidate pool when the
subsequent token is .* or ->* since keywords like "new" or "return"
aren't valid on the left side of those operators.

Fixes PR23140.

llvm-svn: 236519
2015-05-05 19:17:03 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp Remove unneeded include of DeclCXX.h from libParse. 2014-12-28 01:52:28 +00:00
ParseCXXInlineMethods.cpp Cleanup: no need to pass DefinitionKind into ParseCXXInlineMethodDef 2015-03-23 23:49:41 +00:00
ParseDecl.cpp Batch up access-related diagnostics on enum constants until the whole enum is parsed. 2015-04-30 17:20:30 +00:00
ParseDeclCXX.cpp [MS ABI] Correctly associate align attrs before the class-key 2015-04-19 07:53:29 +00:00
ParseExpr.cpp Allow TransformTypos to ignore corrections to a specified VarDecl. 2015-05-05 19:17:03 +00:00
ParseExprCXX.cpp [Parse] Don't crash on ~A::{ 2015-03-29 14:35:39 +00:00
ParseInit.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
ParseObjc.cpp [Sema] Check availability of ObjC super class and protocols of a container 2015-04-19 20:15:55 +00:00
ParseOpenMP.cpp [OPENMP] Fix crash on private variables not used in OpenMP region. 2015-04-02 07:48:16 +00:00
ParsePragma.cpp [OPENMP] Allow use of macros in OpenMP directives/clauses. 2015-05-05 09:53:25 +00:00
ParseStmt.cpp [OPENMP] Allow to use global variables as lcv in loop-based directives. 2015-04-30 04:23:23 +00:00
ParseStmtAsm.cpp Update for llvm commit r233648. 2015-03-31 00:10:23 +00:00
ParseTemplate.cpp Diagnose function template definitions inside functions 2014-12-15 23:16:32 +00:00
ParseTentative.cpp Revert "Improve declaration / expression disambiguation around ptr-operators, and use" 2015-02-23 22:36:28 +00:00
Parser.cpp Fix the typo in r236044. NFC. 2015-04-28 22:07:05 +00:00
RAIIObjectsForParser.h Batch up access-related diagnostics on enum constants until the whole enum is parsed. 2015-04-30 17:20:30 +00:00