aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-08-12 18:38:26 +0000
committerZachary Turner <zturner@google.com>2016-08-12 18:38:26 +0000
commit18cfbc4b8e3ee176a104084a0feb9fc1f65424d6 (patch)
treeea04d5d19960876d630574f82817dea5e0526248 /llvm/lib/Object/MachOObjectFile.cpp
parent9bc1b230fd2d3506e53f749334b1bb40db6cdca7 (diff)
downloadllvm-18cfbc4b8e3ee176a104084a0feb9fc1f65424d6.zip
llvm-18cfbc4b8e3ee176a104084a0feb9fc1f65424d6.tar.gz
llvm-18cfbc4b8e3ee176a104084a0feb9fc1f65424d6.tar.bz2
Analyze include order on a per-file basis.
The include order check would get notified of all include directives in a depth-first manner. This created the possibility of an include directive from a header file interfering with the sort order of a set of two distinct blocks from the top level cpp file, if that include directive was on just the right line. With this patch we bucket the include directives by the file in which they appear in and process one bucket at a time, so that directives from different files do not get mixed together into the same list. Reviewed By: alexfh Differential Revision: https://reviews.llvm.org/D23434 llvm-svn: 278546
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions