]> granicus.if.org Git - clang/commit
Separate the notion of 'context' when recursing down in the parser and actual errors.
authorSamuel Benzaquen <sbenza@google.com>
Thu, 18 Jul 2013 19:47:59 +0000 (19:47 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Thu, 18 Jul 2013 19:47:59 +0000 (19:47 +0000)
commit8a77c20375874c0759a5cd5b4a34e83465d821b2
tree45176780ef65b57680b48debe4ed5c4a326bf2fc
parent38f71e265aadc5e935347cb8ee91c6916922199b
Separate the notion of 'context' when recursing down in the parser and actual errors.

Summary:
Change how error messages are constructed and stored in Diagnostics.
Separate the notion of 'context' when recursing down in the parser and actual errors.
This will simplify adding some new features, like argument overloading and error recovery.

Reviewers: klimek

CC: cfe-commits, revane
Differential Revision: http://llvm-reviews.chandlerc.com/D1168

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186602 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/Dynamic/Diagnostics.h
lib/ASTMatchers/Dynamic/Diagnostics.cpp
lib/ASTMatchers/Dynamic/Marshallers.h
lib/ASTMatchers/Dynamic/Parser.cpp
lib/ASTMatchers/Dynamic/Registry.cpp