aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorBalazs Keri <1.int32@gmail.com>2018-10-19 13:32:20 +0000
committerBalazs Keri <1.int32@gmail.com>2018-10-19 13:32:20 +0000
commit3b30d658dc5a9eb349e94b039c796993c87b8877 (patch)
treebe486ae9f934f636dbec2540b1d7c52bfeef6268 /clang/unittests/Format/FormatTestJava.cpp
parent8d0dd0ba0ecabb8e3f5322101ad87b608ab86fc9 (diff)
downloadllvm-3b30d658dc5a9eb349e94b039c796993c87b8877.zip
llvm-3b30d658dc5a9eb349e94b039c796993c87b8877.tar.gz
llvm-3b30d658dc5a9eb349e94b039c796993c87b8877.tar.bz2
[ASTImporter] Added error handling for AST import.
Summary: The goal of this change is to make the ASTImporter::Import functions return llvm::Expected instead of the imported type. As first part the ASTNodeImporter visit functions are updated to return with llvm::Expected. Various `import` functions are added to ASTNodeImporter to simplify the code and have a common place for interface towards ASTImporter (from ASTNodeImporter). There is some temporary code that is needed before ASTImporter is updated. Reviewers: a.sidorin, a_sidorin, xazax.hun Reviewed By: a_sidorin Subscribers: dkrupp, Szelethus, rnkovacs, martong, jfb, cfe-commits Differential Revision: https://reviews.llvm.org/D51633 llvm-svn: 344783
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions