Go to file
Ilya Biryukov 4b03364d72 [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
2019-08-06 15:46:12 +00:00
clang [AST] Traverse attributes inside DEF_TRAVERSE_DECL macro 2019-08-06 15:46:12 +00:00
clang-tools-extra [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
compiler-rt [compiler-rt] Implement getrandom interception 2019-08-06 08:41:53 +00:00
debuginfo-tests Make nrvo-string test more robust. 2019-06-27 20:38:37 +00:00
libclc Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC" 2019-08-05 17:23:23 +00:00
libcxx [libc++] Use the monorepo in the macos-trunk CI script 2019-08-06 15:28:34 +00:00
libcxxabi [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00
libunwind [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
lld [ELF][ARM] Fix /DISCARD/ of section with .ARM.exidx section 2019-08-06 14:13:38 +00:00
lldb Update LLDB to follow changes in llvm::DWARFDebugNames::NameIndex (4/5) 2019-08-06 13:38:27 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [CMake] Add mapping for IBM XL -qnoeh and -qnortti 2019-08-06 15:08:13 +00:00
openmp [OpenMP] Add support for GOMP_*_nonmonotonic_* functions 2019-08-05 23:23:52 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
pstl [NFC][pstl] Remove stray semi-colon 2019-08-05 21:20:42 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Change /build to /build* in top-level .gitignore. 2019-08-02 02:14:08 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.