llvm-project/clang/lib
Krasimir Georgiev 0fc27ef196 [clang-format] handle trailing comments in function definition detection
A follow-up to
f6bc614546
where we handle the case where the semicolon is followed by a trailing
comment.

Reviewed By: MyDeveloperDay

Differential Revision: https://reviews.llvm.org/D107907
2021-08-12 08:55:54 +02:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
AST [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
ASTMatchers Reapply "Support Attr in DynTypedNode and ASTMatchers." 2021-08-06 22:30:32 +02:00
Analysis [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Basic [PowerPC] Do not define __PRIVILEGED__ 2021-08-11 14:10:22 -05:00
CodeGen CodeGen: No need to check for isExternC if HasStrictReturn is already false 2021-08-11 07:42:48 -07:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [OpenMP]Fix PR50336: Remove temporary files in the offload bundler tool 2021-08-11 08:50:47 -04:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clang-format] handle trailing comments in function definition detection 2021-08-12 08:55:54 +02:00
Frontend Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [X86] AVX512FP16 instructions enabling 1/6 2021-08-10 12:46:01 +08:00
Index [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
IndexSerialization
Interpreter Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
Lex Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
Parse [clang] Implement P0692R1 from C++20 (access checking on specializations and instantiations) 2021-08-10 19:20:50 +04:00
Rewrite [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Sema Simplify dllexport class member code, NFC 2021-08-11 11:42:20 -07:00
Serialization [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
StaticAnalyzer [clang][analyzer] Improve bug report in alpha.security.ReturnPtrRange 2021-08-11 13:04:55 +02:00
Testing
Tooling [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00