SuccessChanges

Summary

  1. [Clang][Bundler] Error reporting improvements (details)
  2. Add Record::getValueAsOptionalDef(). (details)
  3. [NFC] Add a tablegen node for the root of the AST node hierarchies. (details)
Commit dd501045cdea1c80b6788f0266d2a79f8b412eea by serguei.n.dmitriev
[Clang][Bundler] Error reporting improvements
- Changed FileHandler read/write methods to return llvm::Error
- Using unified way of reporting errors
- Removed trailing '.' from the error messages
Differential Revision: https://reviews.llvm.org/D67031
The file was modifiedclang/test/Driver/clang-offload-bundler.c
The file was modifiedclang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
Commit 27e2c8faec6926fafdbd4d9b5b2f827f002e1c8e by rjmccall
Add Record::getValueAsOptionalDef().
Using `?` as an optional marker is very useful in Clang's AST-node
emitters because otherwise we need a separate class just to encode the
presence or absence of a base node reference.
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/lib/TableGen/Record.cpp
Commit baf91d02da6e68c4ee6723ef68911fcd80ece6a5 by rjmccall
[NFC] Add a tablegen node for the root of the AST node hierarchies.
This is useful for the property databases we want to add for abstract
serialization, since root classes can have interesting properties.
The file was modifiedclang/include/clang/Basic/CommentNodes.td
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp
The file was addedclang/utils/TableGen/ClangASTEmitters.h
The file was modifiedclang/include/clang/Basic/TypeNodes.td
The file was modifiedclang/utils/TableGen/ClangASTNodesEmitter.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/utils/TableGen/ClangTypeNodesEmitter.cpp
The file was modifiedclang/include/clang/Basic/DeclNodes.td
The file was modifiedclang/utils/TableGen/TableGen.cpp