Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP lifetime categories #14

Closed
wants to merge 1 commit into from
Closed

Conversation

mgehre
Copy link
Contributor

@mgehre mgehre commented Jun 10, 2019

The test currently fails with

error: 'error' diagnostics seen but not expected:
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 20: 'Owner' attribute takes one argument
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 21: 'Pointer' attribute takes one argument
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 32: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 33: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 35: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 36: 'S' does not refer to a value
error: 'note' diagnostics seen but not expected:
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 8: declared here

The test currently fails with
```
error: 'error' diagnostics seen but not expected:
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 20: 'Owner' attribute takes one argument
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 21: 'Pointer' attribute takes one argument
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 24: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 26: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 27: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 29: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 30: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 32: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 33: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 35: expected '(' for function-style cast or type construction
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 36: 'S' does not refer to a value
error: 'note' diagnostics seen but not expected:
  File /home/gehre/llvm-project/clang/test/SemaCXX/attr-gsl-owner-pointer.cpp Line 8: declared here
```
@asl
Copy link
Collaborator

asl commented Jun 10, 2019

Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM. We do not accept pull requests here.

@asl asl closed this Jun 10, 2019
@mgehre
Copy link
Contributor Author

mgehre commented Jun 10, 2019

Wrong target, sorry for the noise.

@repo-lockdown repo-lockdown bot locked and limited conversation to collaborators Jun 27, 2019
cmtice referenced this pull request May 3, 2023
https://llvm.org/docs/LangRef.html#llvm-powi-intrinsic
The max length of the integer power of `llvm.powi` intrinsic is 32, and
the value can be negative. If we use `int32_t` to store this value, `-Val`
will underflow when it is `INT32_MIN`

The issue was reported in D149033.
PhilippvK pushed a commit to PhilippvK/llvm-project that referenced this pull request May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants