Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [NFC][KnownBits] Add getMinValue() / getMaxValue() methods (details)
  2. [clang-format] Add new option to add spaces around conditions Summary: (details)
Commit 9a20c79ddc2523fb68be4d4246d7835c761c382f by lebedev.ri
[NFC][KnownBits] Add getMinValue() / getMaxValue() methods
As it can be seen from accompanying cleanup, it is not unheard of to
write `~Known.Zero` meaning "what maximal value can this KnownBits
produce". But i think `~Known.Zero` isn't *that* self-explanatory, as
compared to a method with a name.
Note that not all `~Known.Zero` places were cleaned up, only those where
this arguably improves things.
The file was modifiedllvm/unittests/Support/KnownBitsTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/IR/ConstantRange.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/include/llvm/Support/KnownBits.h
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Support/KnownBits.cpp
Commit 26748a321e20a7aa952ce8daa4f030c384ae7032 by mitchell
[clang-format] Add new option to add spaces around conditions Summary:
This diff adds a new option SpacesAroundConditions that inserts spaces
inside the braces for conditional statements.
Reviewers: klimek, owenpan, mitchell-stellar, MyDeveloperDay
Patch by: timwoj
Subscribers: rsmmr, cfe-commits
Tags: clang, clang-format
Differential Revision:
The file was modifiedclang/include/clang/Format/Format.h
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/docs/ClangFormatStyleOptions.rst
The file was modifiedclang/lib/Format/Format.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp