llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.79k stars 11.9k forks source link

LangRef documentation outdated for DIFile #39151

Closed llvmbot closed 1 year ago

llvmbot commented 5 years ago
Bugzilla Link 39804
Version 7.0
OS All
Reporter LLVM Bugzilla Contributor
CC @JDevlieghere,@walkerkd,@pogo59

Extended Description

The change described here https://reviews.llvm.org/D43043 didn't update the docs.

On http://releases.llvm.org/7.0.0/docs/LangRef.html#difile, it still reads "Valid values for checksumkind: field are: {CSK_None, CSK_MD5, CSK_SHA1}" even though CSK_None is now invalid (clang would print "error: invalid checksum kind 'CSK_None'").

The checksumkind parameter should be marked optional in the docs, and the CSK_None should be removed.

llvmbot commented 1 year ago

@llvm/issue-subscribers-debuginfo

jryans commented 1 year ago

Patch up for review: https://reviews.llvm.org/D158281