Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions clang/lib/Sema/HLSLExternalSemaSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ struct BuiltinTypeMethodBuilder {
public:
~BuiltinTypeMethodBuilder() { finalizeMethod(); }

BuiltinTypeMethodBuilder(BuiltinTypeMethodBuilder &Other) = delete;
BuiltinTypeMethodBuilder &operator=(BuiltinTypeMethodBuilder &Other) = delete;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
BuiltinTypeMethodBuilder(BuiltinTypeMethodBuilder &Other) = delete;
BuiltinTypeMethodBuilder &operator=(BuiltinTypeMethodBuilder &Other) = delete;
BuiltinTypeMethodBuilder(const BuiltinTypeMethodBuilder &Other) = delete;
BuiltinTypeMethodBuilder &operator=(const BuiltinTypeMethodBuilder &Other) = delete;


Expr *getResourceHandleExpr() {
// The first statement added to a method or access to 'this' creates the
// declaration.
Expand Down
Loading