[all-commits] [llvm/llvm-project] 5934cd: [TableGen] Add asserts to make sure default values...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Fri Oct 25 10:18:52 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5934cd11ea3e15dd9f13a9ee960012b5b64463ec
https://github.com/llvm/llvm-project/commit/5934cd11ea3e15dd9f13a9ee960012b5b64463ec
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2019-10-25 (Fri, 25 Oct 2019)
Changed paths:
M lldb/include/lldb/Core/PropertiesBase.td
M lldb/utils/TableGen/LLDBPropertyDefEmitter.cpp
Log Message:
-----------
[TableGen] Add asserts to make sure default values match property type
This adds a few asserts to the property TableGen backend to prevent
mismatches between property types and their default values. This
would've prevented a copy-paste mistake we discovered downstream.
More information about the All-commits
mailing list