SuccessChanges

Summary

  1. [AST] Traverse attributes inside DEF_TRAVERSE_DECL macro (details)
  2. [Path] Fix bug in make_absolute logic (details)
  3. [compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor (details)
Commit 4b03364d72a5f4e372e631178bd32e0d4f531241 by ibiryukov
[AST] Traverse attributes inside DEF_TRAVERSE_DECL macro
Summary: Instead of traversing inside the TraverseDecl() function.
Previously the attributes were traversed after Travese(Some)Decl
returns.
Logically attributes are properties of particular Decls and should be
traversed alongside other "child" nodes.
None of the tests relied on this behavior, hopefully this is an
indication that the change is relatively safe.
This change started with a discussion on cfe-dev, for details see:
https://lists.llvm.org/pipermail/cfe-dev/2019-July/062899.html
Reviewers: rsmith, gribozavr
Reviewed By: gribozavr
Subscribers: mgorny, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64907
llvm-svn: 368052
The file was addedclang/unittests/AST/RecursiveASTVisitorTest.cpp
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h (diff)
The file was modifiedclang/unittests/AST/CMakeLists.txt (diff)
Commit cb6f2646fd44c5274312c8fa782c4f339dfadad7 by Jonas Devlieghere
[Path] Fix bug in make_absolute logic
This fixes a bug for making path with a //net style root absolute. I
discovered the bug while writing a test case for the VFS, which uses
these paths because they're both legal absolute paths on Windows and
Unix.
Differential revision: https://reviews.llvm.org/D65675
llvm-svn: 368053
The file was modifiedllvm/unittests/Support/Path.cpp (diff)
The file was modifiedllvm/lib/Support/Path.cpp (diff)
Commit 6c619aadc4ccabdf2d0e5635a133a2764cc0fb71 by mmoroz
[compiler-rt] Rename FuzzedDataProvider.h to .hpp and other minor
changes.
Summary:
.hpp makes more sense for this header as it's C++ only, plus it contains
the actual implementation.
Reviewers: Dor1s
Reviewed By: Dor1s
Subscribers: kubamracek, dberris, mgorny, delcypher, #sanitizers,
llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D65812
llvm-svn: 368054
The file was modifiedcompiler-rt/lib/sanitizer_common/scripts/check_lint.sh (diff)
The file was modifiedcompiler-rt/lib/fuzzer/utils/FuzzedDataProvider.h (diff)
The file was removedcompiler-rt/include/fuzzer/FuzzedDataProvider.h
The file was addedcompiler-rt/include/fuzzer/FuzzedDataProvider.hpp
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzedDataProviderUnittest.cpp (diff)
The file was modifiedcompiler-rt/include/CMakeLists.txt (diff)