|
15 | 15 | #ifndef LLVM_OBJECTYAML_DXCONTAINERYAML_H |
16 | 16 | #define LLVM_OBJECTYAML_DXCONTAINERYAML_H |
17 | 17 |
|
18 | | -#include "llvm/Support/Compiler.h" |
19 | 18 | #include "llvm/ADT/StringRef.h" |
20 | 19 | #include "llvm/BinaryFormat/DXContainer.h" |
21 | 20 | #include "llvm/Object/DXContainer.h" |
22 | 21 | #include "llvm/ObjectYAML/YAML.h" |
| 22 | +#include "llvm/Support/Compiler.h" |
23 | 23 | #include "llvm/Support/YAMLTraits.h" |
24 | 24 | #include <array> |
25 | 25 | #include <optional> |
@@ -341,7 +341,8 @@ template <> struct MappingTraits<DXContainerYAML::DXILProgram> { |
341 | 341 | }; |
342 | 342 |
|
343 | 343 | template <> struct MappingTraits<DXContainerYAML::ShaderFeatureFlags> { |
344 | | - LLVM_ABI static void mapping(IO &IO, DXContainerYAML::ShaderFeatureFlags &Flags); |
| 344 | + LLVM_ABI static void mapping(IO &IO, |
| 345 | + DXContainerYAML::ShaderFeatureFlags &Flags); |
345 | 346 | }; |
346 | 347 |
|
347 | 348 | template <> struct MappingTraits<DXContainerYAML::ShaderHash> { |
@@ -369,48 +370,55 @@ template <> struct MappingTraits<DXContainerYAML::ResourceBindInfo> { |
369 | 370 | }; |
370 | 371 |
|
371 | 372 | template <> struct MappingTraits<DXContainerYAML::SignatureElement> { |
372 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::SignatureElement &El); |
| 373 | + LLVM_ABI static void mapping(IO &IO, |
| 374 | + llvm::DXContainerYAML::SignatureElement &El); |
373 | 375 | }; |
374 | 376 |
|
375 | 377 | template <> struct MappingTraits<DXContainerYAML::SignatureParameter> { |
376 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::SignatureParameter &El); |
| 378 | + LLVM_ABI static void mapping(IO &IO, |
| 379 | + llvm::DXContainerYAML::SignatureParameter &El); |
377 | 380 | }; |
378 | 381 |
|
379 | 382 | template <> struct MappingTraits<DXContainerYAML::Signature> { |
380 | 383 | LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::Signature &El); |
381 | 384 | }; |
382 | 385 |
|
383 | 386 | template <> struct MappingTraits<DXContainerYAML::RootSignatureYamlDesc> { |
384 | | - LLVM_ABI static void mapping(IO &IO, |
385 | | - DXContainerYAML::RootSignatureYamlDesc &RootSignature); |
| 387 | + LLVM_ABI static void |
| 388 | + mapping(IO &IO, DXContainerYAML::RootSignatureYamlDesc &RootSignature); |
386 | 389 | }; |
387 | 390 |
|
388 | 391 | template <> |
389 | 392 | struct MappingContextTraits<DXContainerYAML::RootParameterLocationYaml, |
390 | 393 | DXContainerYAML::RootSignatureYamlDesc> { |
391 | | - LLVM_ABI static void mapping(IO &IO, |
392 | | - llvm::DXContainerYAML::RootParameterLocationYaml &L, |
393 | | - DXContainerYAML::RootSignatureYamlDesc &S); |
| 394 | + LLVM_ABI static void |
| 395 | + mapping(IO &IO, llvm::DXContainerYAML::RootParameterLocationYaml &L, |
| 396 | + DXContainerYAML::RootSignatureYamlDesc &S); |
394 | 397 | }; |
395 | 398 |
|
396 | 399 | template <> struct MappingTraits<llvm::DXContainerYAML::RootConstantsYaml> { |
397 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::RootConstantsYaml &C); |
| 400 | + LLVM_ABI static void mapping(IO &IO, |
| 401 | + llvm::DXContainerYAML::RootConstantsYaml &C); |
398 | 402 | }; |
399 | 403 |
|
400 | 404 | template <> struct MappingTraits<llvm::DXContainerYAML::RootDescriptorYaml> { |
401 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::RootDescriptorYaml &D); |
| 405 | + LLVM_ABI static void mapping(IO &IO, |
| 406 | + llvm::DXContainerYAML::RootDescriptorYaml &D); |
402 | 407 | }; |
403 | 408 |
|
404 | 409 | template <> struct MappingTraits<llvm::DXContainerYAML::DescriptorTableYaml> { |
405 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::DescriptorTableYaml &D); |
| 410 | + LLVM_ABI static void mapping(IO &IO, |
| 411 | + llvm::DXContainerYAML::DescriptorTableYaml &D); |
406 | 412 | }; |
407 | 413 |
|
408 | 414 | template <> struct MappingTraits<llvm::DXContainerYAML::DescriptorRangeYaml> { |
409 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::DescriptorRangeYaml &D); |
| 415 | + LLVM_ABI static void mapping(IO &IO, |
| 416 | + llvm::DXContainerYAML::DescriptorRangeYaml &D); |
410 | 417 | }; |
411 | 418 |
|
412 | 419 | template <> struct MappingTraits<llvm::DXContainerYAML::StaticSamplerYamlDesc> { |
413 | | - LLVM_ABI static void mapping(IO &IO, llvm::DXContainerYAML::StaticSamplerYamlDesc &S); |
| 420 | + LLVM_ABI static void mapping(IO &IO, |
| 421 | + llvm::DXContainerYAML::StaticSamplerYamlDesc &S); |
414 | 422 | }; |
415 | 423 |
|
416 | 424 | } // namespace yaml |
|
0 commit comments