This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Correct name of profile function to Profile in APValue
ClosedPublic

Authored by Tyker on Oct 1 2020, 2:35 AM.

Details

Summary

Capitalize the profile function of APValue such that it can be used by FoldingSetNodeID

Diff Detail

Event Timeline

Tyker created this revision.Oct 1 2020, 2:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2020, 2:35 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Tyker requested review of this revision.Oct 1 2020, 2:35 AM
rsmith accepted this revision.Oct 7 2020, 12:19 PM

Good idea. (My use for this in class type non-type template parameters doesn't directly use APValues as values in a folding set, but that seems like a reasonable use case for this functionality.)

clang/include/clang/AST/APValue.h
369–370

These ones shouldn't be capitalized :)

This revision is now accepted and ready to land.Oct 7 2020, 12:19 PM