aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <jonas.hahnfeld@cern.ch>2022-04-08 10:30:30 +0200
committerJonas Hahnfeld <jonas.hahnfeld@cern.ch>2022-04-09 12:34:41 +0200
commite4903d8be399864cc978236fc4a28087f91c20fe (patch)
tree9fb2fd6489eb48549158514d46ef0a2af4a458da /clang/lib/Frontend/TestModuleFileExtension.cpp
parentf49a763c4da9a01fcd263f31e4dca72e0d930f11 (diff)
downloadllvm-e4903d8be399864cc978236fc4a28087f91c20fe.zip
llvm-e4903d8be399864cc978236fc4a28087f91c20fe.tar.gz
llvm-e4903d8be399864cc978236fc4a28087f91c20fe.tar.bz2
[CUDA/HIP] Remove argument from module ctor/dtor signatures
In theory, constructors can take arguments when called via .init_array where at least glibc passes in (argc, argv, envp). This isn't used in the generated code and if it was, the first argument should be an integer, not a pointer. For destructors registered via atexit, the function should never take an argument. Differential Revision: https://reviews.llvm.org/D123370
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions