terminal/src/types
Leonard Hecker 95cc7d9625
Add noexcept to all FontInfo structs (#11640)
FontInfoBase and it's descendents are missing noexcept annotations, which
virally forces other code to not be noexcept as well during AuditMode checks.
Apart from adding noexcept, this commit also
* Passes std::wstring_view by reference.
* Pass the FillLegacyNameBuffer argument as a simple pointer-to-array,
  allowing us to fill the buffer with a single memcpy.
  (gsl::span's iterators inhibit any internal STL optimizations.)
* Move operator== declarations inside the class to reduce code size.

All other changes are an effect of the virality of noexcept.

This is an offshoot from #11623.

## Validation Steps Performed
* It still compiles ✔️
2021-10-29 14:08:41 +00:00
..
inc Reduce usage of Json::Value throughout Terminal.Settings.Model (#11184) 2021-09-22 16:27:31 +00:00
lib
ut_types
CodepointWidthDetector.cpp
colorTable.cpp
convert.cpp
dirs
Environment.cpp
FocusEvent.cpp
GlyphWidth.cpp
IBaseData.h
IControlAccessibilityInfo.h Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
IInputEvent.cpp
IInputEventStreams.cpp
IUiaData.h [a11y] Ensure buffer is initialized before interacting with it (#11312) 2021-09-23 15:14:03 -07:00
IUiaEventDispatcher.h
IUiaTraceable.h
KeyEvent.cpp
MenuEvent.cpp
ModifierKeyState.cpp
MouseEvent.cpp
precomp.cpp
precomp.h
ScreenInfoUiaProviderBase.cpp [a11y] Ensure buffer is initialized before interacting with it (#11312) 2021-09-23 15:14:03 -07:00
ScreenInfoUiaProviderBase.h
sgrStack.cpp
sources.inc
TermControlUiaProvider.cpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
TermControlUiaProvider.hpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
TermControlUiaTextRange.cpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
TermControlUiaTextRange.hpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
ThemeUtils.cpp
UiaTextRangeBase.cpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
UiaTextRangeBase.hpp Add noexcept to all FontInfo structs (#11640) 2021-10-29 14:08:41 +00:00
UiaTracing.cpp
UiaTracing.h
unicode_width_overrides.xml
Utf16Parser.cpp
utils.cpp Reduce usage of Json::Value throughout Terminal.Settings.Model (#11184) 2021-09-22 16:27:31 +00:00
viewport.cpp
WindowBufferSizeEvent.cpp